You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Qiskit Runtime service on IBM Quantum Platform
32
32
33
+
| :warning: The ibm_quantum channel option is deprecated and will be sunset on 1 July. For help migrating to the ibm_cloud channel, read the [migration guide.](https://quantum.cloud.ibm.com/docs/migration-guides/classic-iqp-to-cloud-iqp)
34
+
|:---------------------------|
35
+
33
36
You will need your IBM Quantum API token to authenticate with the runtime service:
34
37
35
38
1. Create an IBM Quantum account or log in to your existing account by visiting the [IBM Quantum login page].
36
39
37
-
1. Copy (and optionally regenerate) your API token from your
40
+
2. Copy (and optionally regenerate) your API token from your
38
41
[IBM Quantum account page].
39
42
40
43
### Qiskit Runtime service on IBM Cloud
@@ -60,8 +63,9 @@ from qiskit_ibm_runtime import QiskitRuntimeService
| :warning: The ibm_quantum channel option is deprecated and will be sunset on 1 July. For help migrating to the ibm_cloud channel, read the [migration guide.](https://quantum.cloud.ibm.com/docs/migration-guides/classic-iqp-to-cloud-iqp)
105
-
|:---------------------------|
106
-
107
105
## Primitives
108
106
109
107
All quantum applications and algorithms level are fundamentally built using these steps:
@@ -281,23 +279,23 @@ This code returns `Job result is [4.] at theta = 1.575674623307102` using only n
281
279
282
280
Access to IBM Quantum Platform channel is controlled by the instances (previously called providers) to which you are assigned. An instance is defined by a hierarchical organization of hub, group, and project. A hub is the top level of a given hierarchy (organization) and contains within it one or more groups. These groups are in turn populated with projects. The combination of hub/group/project is called an instance. Users can belong to more than one instance at any time.
283
281
284
-
> **_NOTE:_** IBM Cloud instances are different from IBM Quantum Platform instances. IBM Cloud does not use the hub/group/project structure for user management. To view and create IBM Cloud instances, visit the [IBM Cloud Quantum Instances page](https://cloud.ibm.com/quantum/instances).
282
+
> **_NOTE:_** IBM Cloud instances are different from IBM Quantum Platform classic instances. IBM Cloud does not use the hub/group/project structure for user management. To view and create IBM Cloud instances, visit the [IBM Cloud Quantum Instances page](https://cloud.ibm.com/quantum/instances).
285
283
286
284
To view a list of your instances, visit your [account settings page](https://www.quantum.ibm.com/account) or use the `instances()` method.
287
285
288
286
You can specify an instance when initializing the service or provider, or when picking a backend:
289
287
290
288
```python
291
289
# Optional: List all the instances you can access.
292
-
service = QiskitRuntimeService(channel='ibm_quantum')
290
+
service = QiskitRuntimeService(channel='ibm_cloud')
293
291
print(service.instances())
294
292
295
293
# Optional: Specify the instance at service level. This becomes the default unless overwritten.
296
-
service = QiskitRuntimeService(channel='ibm_quantum', instance="hub1/group1/project1")
294
+
service = QiskitRuntimeService(channel='ibm_cloud', instance="IBM_CLOUD_INSTANCE")
297
295
backend1 = service.backend("ibmq_manila")
298
296
299
297
# Optional: Specify the instance at the backend level, which overwrites the service-level specification when this backend is used.
0 commit comments