צפייה בפרטי Backend
Package versions
The code on this page was developed using the following requirements. We recommend using these versions or newer.
qiskit-ibm-runtime~=0.46.1
דף זה מסביר כיצד למצוא מידע על ה-Backends הזמינים שלך.
רשום או סנן Backends
רשום את ה-Backends הזמינים לך
ניתן להשתמש ב-Qiskit או ב-IBM Quantum Platform כדי לצפות ברשימת ה-Backends הזמינים לך, או לחפש Backend ספציפי.
ל-QPUs המתארחים ב-IBM Cloud® יש שמות המתחילים ב-ibm_*. לכל ה-QPUs ניתן שם של עיר - לדוגמה, ibm_kingston. שם זה אינו מציין היכן ה-QPU הפיזי מתארח.
- View backends with Qiskit
- View backends on IBM Quantum Platform
Use the QiskitRuntimeService.backends() method, as shown in the next code block. This method returns a list of IBMBackend instances.
To run the following code, be sure you have already authenticated to the service. See Set up your IBM Cloud account for more details.
To search for a specific backend, use the QiskitRuntimeService.backend() method (note that this is singular: backend), which takes the name of the backend as the input parameter and returns an IBMBackend instance representing that particular backend:
To view the backends you have access to, navigate to the list of backends on the Compute resources page (note that your selected region might impact the QPUs listed). Click the filter icon and choose either "All my instances" or a specific instance name to see the available QPUs.
# Added by doQumentation — required packages for this notebook
!pip install -q qiskit-ibm-runtime
# Initialize your account
from qiskit_ibm_runtime import QiskitRuntimeService
service = QiskitRuntimeService()
service.backends()
[<IBMBackend('ibm_boston')>,
<IBMBackend('ibm_pittsburgh')>,
<IBMBackend('ibm_fez')>,
<IBMBackend('ibm_marrakesh')>,
<IBMBackend('ibm_kingston')>,
<IBMBackend('ibm_miami')>]
service.backend("ibm_fez")
<IBMBackend('ibm_fez')>
# Optionally pass in an instance, region, or both, to
# further filter the backends.
service = QiskitRuntimeService()
service.backends(simulator=False, operational=True, min_num_qubits=100)
[<IBMBackend('ibm_boston')>,
<IBMBackend('ibm_pittsburgh')>,
<IBMBackend('ibm_fez')>,
<IBMBackend('ibm_marrakesh')>,
<IBMBackend('ibm_kingston')>,
<IBMBackend('ibm_miami')>]
If you are logged in to a specific instance or region, or if you initialized the service with a specific instance or region by using QiskitRuntimeService(), only the backends available to you on that instance or region are returned.