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

Use get_run_status instead of get_run to retrieve status #13

Merged
merged 2 commits into from
May 24, 2022

Conversation

freetonik
Copy link
Member

IQM Client 3.2 introduced a new function get_run_status which returns the status of a job, but, unlike get_run, returns status only, and never returns measurement results.

Previously, qiskit-on-iqm's IQMJob.status() function would return the status, but if the status was ready, it would also save the measurement results in memory behind the scenes. As a result, the consequent IQMJob.result() function would return the results instantaneously, without calling the client.

With the current change, IQMJob.status() uses the new function of IQM Client, and thus does not save results behind the scenes when user requests the status.

@freetonik freetonik merged commit 6a0c5eb into main May 24, 2022
@freetonik freetonik deleted the COMP-331-status-request branch May 24, 2022 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants