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

ExperimentData uses deprecated backend.retrieve_job method #1093

Closed
wshanks opened this issue Mar 19, 2023 · 2 comments · Fixed by #1092
Closed

ExperimentData uses deprecated backend.retrieve_job method #1093

wshanks opened this issue Mar 19, 2023 · 2 comments · Fixed by #1092
Labels
bug Something isn't working

Comments

@wshanks
Copy link
Collaborator

wshanks commented Mar 19, 2023

Informations

  • Qiskit Experiments version: 9e0bed4
  • Python version: 3.10
  • Operating system: Fedora Linux 37

What is the current behavior?

ExperimentData._retrieve_data uses the deprecated backend.retrieve_job() method:

https://github.com/Qiskit/qiskit-experiments/blob/main/qiskit_experiments/framework/experiment_data.py#L951

retrieve_job was moved to a different interface according to qiskit-ibm-provider's release notes.

The deprecated API usage should be updated. We should decide which workflow to support. The documentation currently suggests reloading the job data outside of the qiskit-experiments API here. We could decide that something like that is the supported path or we could try to restore the automatic reloading of data from job ids.

@wshanks wshanks added the bug Something isn't working label Mar 19, 2023
@wshanks wshanks changed the title ExperimentData uses some deprecated backend.retrieve_job method ExperimentData uses deprecated backend.retrieve_job method Mar 19, 2023
@yaelbh
Copy link
Collaborator

yaelbh commented Mar 19, 2023

@gadial Is this issue addressed in #1092 ?

@gadial
Copy link
Contributor

gadial commented Mar 20, 2023

@gadial Is this issue addressed in #1092 ?

Not yet, but I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants