I am following this qiskit workshop from https://colab.research.google.com/github/mtreinish/qiskit-workshop/blob/master/Workshop.ipynb . After adding my API key I had encountered the error 'IBMQFactory' object has no attribute 'load_accounts' when running qiskit.IBMQ.load_accounts(). How do I fix this?


2 Answers 2


IBMQ.load_accounts() was deprecated and removed in Qiskit 0.14. Please use IBMQ.load_account().


I also came across with the same issue. However when I added my account token as follows, it worked.

token = 'Your token'
provider = IBMQ.load_account()
device = provider.get_backend('ibmq_16_melbourne')

You can get your IBM Q token via : https://quantum-computing.ibm.com/account

Hope this helped, let me know if it didn't.


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.