How do I get the names of all currently available IBMQ devices?
Asked
Active
Viewed 2,588 times
7
2 Answers
9
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! :)

Lena
- 2,597
- 5
- 24
5
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()])

luciano
- 5,763
- 1
- 12
- 34
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. – RSW Sep 21 '22 at 06:41The combination of hub/group/project is called a provider
. – RSW Sep 21 '22 at 07:07