How do I get the names of all currently available IBMQ devices?
2 Answers
You can see the backends you can access directly on the IBM Quantum tools by going on the top left corner of the page, click and then go to Quantum Services, and click on "Yours".
Now, via Qiskit, you can do this, for example to access the open provider and get the backend ibmq_athens
:
from qiskit import IBMQ
IBMQ.load_account()
provider = IBMQ.get_provider(hub='ibm-q', group='open', project='main')
print(provider.backends())
backend = provider.get_backend('ibmq_athens')
Hope this helps, tell me if you need more details on something! :)
If you have only one provider (which is the most common case) you can print all your backend names like this:
from qiskit import IBMQ
IBMQ.load_account()
print([backend.name() for backend in IBMQ.providers()[0].backends()])
backends
as IBMQ devices. Backends are organised byproviders
which have the formhub/group/project
. I wish some answers could cover this as well for clarity for beginners. $\endgroup$The combination of hub/group/project is called a provider
. $\endgroup$