I'm having trouble running the following cell:

enter image description here

The system told me "The 'ibmq_qasm_simulator' backend is not installed in your system." I'm so confused. Is there a way I can install this backend in my system? Thanks!

enter image description here


The ibmq_qasm_simulator is a cloud-based simulator. You need to say

from qiskit import IBMQ
provider = IBMQ.load_account()
sim = provider.backends.ibmq_qasm_simulator
  • $\begingroup$ Thank you for your response! Should I add those lines in front of the second line? I just tried that but it still shows the same error. $\endgroup$ – ZR- Jun 11 '20 at 22:54
  • $\begingroup$ Replace all the lines that say basicaer with these $\endgroup$ – Paul Nation Jun 11 '20 at 23:02
  • $\begingroup$ It still doesn't work. 'PARTIAL COMPLETED , ERROR: QasmSimulator: Insufficient memory for 31-qubit circuit using "statevector" method. You could try using the "matrix_product_state" or "extended_stabilizer" method instead.' $\endgroup$ – ZR- Jun 11 '20 at 23:08
  • $\begingroup$ Your circuit seems to be too big for the default simulator, although it should go to 32 qubits. You would have to dm me me the job id for me to figure out why. $\endgroup$ – Paul Nation Jun 11 '20 at 23:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.