Quantum Computing Asked by SANGEETHA PAULRAJ on March 1, 2021
When I type this: IBMQ.load_account()
, I am getting this error. What does this mean, and how can I rectify it?
NameError Traceback (most recent call last)
<ipython-input-2-beb09c0bf764> in <module>
----> 1 IBMQ.load_account()
NameError: name 'IBMQ' is not defined
Please check you have qiskit-ibmq-provider
installed. You can do this by running pip show qiskit-ibmq-provider
in a terminal. If this returns a warning that it isn't installed, you can then install it using the command pip install qiskit-ibmq-provider
.
Then go back to your code and make sure you have the statement from qiskit import IBMQ
before this line of code.
That should take care of things.
Answered by met927 on March 1, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP