-
Notifications
You must be signed in to change notification settings - Fork 146
Description
URL to the relevant tutorial
URL: https://quantum.cloud.ibm.com/docs/en/tutorials/hello-world
Section : Step 3. Execute using the quantum primitives
Box: Alternative: run the example using a simulator
Select all that apply
- new content request
- typo
- code bug
- out-of-date content
- broken link
- other
Describe the fix or the content request.
As it stands, the code in the Hello world tutorial produces the following bug in the noise simulation section (Alternative: run the example using a simulator):
BasicProviderError: 'Number of qubits 156 is greater than maximum (24) for "basic_simulator".'
The issue in the code is that it is using a fake backend with more than 24 qubits. However, the actual problem in the tutorial is that it does not mention installing Qiskit Aer which would solve the bug without explicitly changing the code.
I suggest simply adding a box/statement that tells the user that Qiskit Aer is required for that section (specifically to run large fake backends).
For completeness, this has already been mentioned in the closed #1125 issue.
These are the relevant package versions I am using:
with bug
qiskit==2.2.1
qiskit-ibm-runtime==0.43.0
WITHOUT bug
qiskit==2.2.1
qiskit-ibm-runtime==0.43.0
qiskit-aer==0.17.2
For new content requests - if the request is accepted, do you want to write the content?
I will write (or already have written) a draft of the proposed content
Metadata
Metadata
Assignees
Labels
Type
Projects
Status