Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xinyi-joffre opened this issue Jan 25, 2022 · 0 comments
Labels
azure-quantum bug Something isn't working cirq enhancement New feature or request help wanted Extra attention is needed python Pull requests that update Python code

Comments

@xinyi-joffre
Copy link
Collaborator

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.

@guenp guenp added azure-quantum cirq enhancement New feature or request help wanted Extra attention is needed python Pull requests that update Python code labels Jan 25, 2022
@ricardo-espinoza ricardo-espinoza added the bug Something isn't working label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-quantum bug Something isn't working cirq enhancement New feature or request help wanted Extra attention is needed python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

3 participants