Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Inconsistency with Cirq for pulling back existing job results from different providers

Aperta
#223 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

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

azure-quantum bug cirq enhancement help wanted python

Consistent behavior for service.run() job

When using service.run(), we see that the resulting output is consistent across providers:

IonQ

image

Honeywell

image

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:
image

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:
image

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/azure-quantum-python

Tutte le issue di microsoft/azure-quantum-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.