0
$\begingroup$

enter image description here

please in need some help I want to get a list of the providers in Qiskit and i use the command providers.backends() yet it says provider not defined. any suggestions. thank you

$\endgroup$

2 Answers 2

1
$\begingroup$

Well try doing this as it worked for me

IBMQ.save_account("your_API_id", overwrite=True)
provider = IBMQ.load_account()
provider.backends()
$\endgroup$
0
$\begingroup$

You need to load your IBMQ account first.

IBMQ.save_account("your IBMQ credentials")
provider = IBMQ.load_account()
provider.backends()

For more details on loading your IBMQ account checkout this video.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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