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

Check real hardware path on IBMQ tutorial #2642

Open
cosenal opened this issue Jan 17, 2025 · 1 comment
Open

Check real hardware path on IBMQ tutorial #2642

cosenal opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Comments

@cosenal
Copy link
Contributor

cosenal commented Jan 17, 2025

Set variable USE_REAL_HARDWARE to True in https://mitiq.readthedocs.io/en/stable/examples/ibmq-backends.html and check whether the notebook runs correctly. Notice that backend.run has been sunsetted, so this may require updating the way we use the Qiskit API.

@cosenal cosenal added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation labels Jan 17, 2025
@bdg221
Copy link
Collaborator

bdg221 commented Jan 23, 2025

The following error is seen due to the backend.run deprecation:

IBMBackendApiError: 'Error submitting job: \'404 Client Error: Not Found for url: https://api.quantum.ibm.com/runtime/jobs. {"errors":[{"code":1211,"message":"Program not found.","solution":"Make sure you use a valid program name, such as \\\'sampler\\\' or \\\'estimator\\\'. Qiskit Runtime no longer supports the \\\'backend.run\\\' interface. Refer to the migration guide (https://docs.quantum.ibm.com/migration-guides/qiskit-runtime) for instructions to migrate to the primitives.","more_info":"https://docs.quantum-computing.ibm.com/errors"}]}\''

The following files have this issue:

Image

NOTE!!!!
pennylane-ibmq-backends.md includes a TODO for when Pennylane supports Qiskit 1.0. When cleaning up code for using IBM hardware, it would make sense to also complete this TODO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants