Inconsistency with Cirq for pulling back existing job results from different providers
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Riproduci il comportamento segnalato confrontando service.run() con i risultati di un job esistente per IonQ e Honeywell. Esamina i tipi di risultato restituiti e i metodi di conversione disponibili. Fai quindi in modo che entrambi i provider espongano un formato di risultato coerente e verifica che un job Honeywell esistente possa essere convertito in un CirqResult come un job IonQ.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Consistent behavior for service.run() job
When using service.run(), we see that the resulting output is consistent across providers:
IonQ

Honeywell

Calling service.run against different providers both return a CirqResult.
Inconsistent behavior for job.results() of existing job
However, when pulling back an existing job, we see inconsistent behavior:

For IonQ and Honeywell, job.results() returns the Raw Result format from the provider, rather than a consistent microsoft Result format that contains counts/probabilities.
In addition, it does not seem possible to get existing jobs back into the same format as if I were calling service.run(). For IonQ, I can use to_cirq_result to get back the result similar to when I called service.run().
If trying the same thing for honeywell, I get an error that dict object has no attribute to_cirq_result:

This means that even though honeywell service.run() returned a CirqResult, it is not possible to use similar method to get out a CirqResult from an existing job.
- Lingua principale
- Python
- Stelle
- 160
- Fork
- 113
- Merge medio
- 6g 23h
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/azure-quantum-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
Export types Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
microsoft/azure-quantum-python#650 · 1 commento ·
-
azure-quantum
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
Tutte le issue di microsoft/azure-quantum-python
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·