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

multiple tutorials broken when using real hardware #2634

Open
natestemen opened this issue Jan 13, 2025 · 1 comment
Open

multiple tutorials broken when using real hardware #2634

natestemen opened this issue Jan 13, 2025 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation tech debt Technical Debt that should be paid off!

Comments

@natestemen
Copy link
Member

natestemen commented Jan 13, 2025

Many of the tutorials are run on simulators, but have a variable that allow the reader to change the execution path to a quantum device. E.g. variable USE_REAL_HARDWARE in https://mitiq.readthedocs.io/en/stable/examples/ibmq-backends.html
This path is not tested by our documentation and is likely broken for multiple examples since IBM has started deprecating some functionality.

First thing we need to do is figure out which examples are broken so we can fix them.

@natestemen natestemen added documentation Improvements or additions to documentation tech debt Technical Debt that should be paid off! labels Jan 13, 2025
@bdg221 bdg221 self-assigned this Feb 7, 2025
@bdg221
Copy link
Collaborator

bdg221 commented Feb 7, 2025

This is actually a bit more complicated than initially anticipated. With the removal of backend.run(), the new proposed method uses qiskit_ibm_runtime. Specifically, it uses SamplerV2 or EstimatorV2 from qiskit_ibm_runtime. Currently, the requirements/requirements-qiskit.txt has qiskit-ibm-runtime~=0.20.0. Unfortunately, 0.20.0 does not include SamplerV2 or EstimatorV2 primatives. The earliest version that includes those primatives is 0.21.1 and the latest version if 0.35.0.

I have found some dependency conflicts and I am doing more testing to determine the specific versions of packages that will be required to be able to run the tutorials on IBM's hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation tech debt Technical Debt that should be paid off!
Projects
None yet
Development

No branches or pull requests

2 participants