Skip to content

Commit c971e4e

Browse files
beckykdfrankharkinsabbycross
authored
Update backends (#3657)
Closes #3654 FYI @abbycross --------- Co-authored-by: Frank Harkins <[email protected]> Co-authored-by: ABBY CROSS <[email protected]>
1 parent a2d5542 commit c971e4e

File tree

45 files changed

+178
-207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+178
-207
lines changed

docs/guides/qpu-information.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ To access the details page, select [Compute resources](https://quantum.cloud.ibm
8484

8585
To find your available QPUs, open the [Compute resources](https://quantum.cloud.ibm.com/computers) page (make sure you are signed in). Note that your selected region might impact the QPUs listed. Click a QPU to view its details.
8686

87-
You can also view your available QPUs by using the [backends API.](/docs/api/qiskit-ibm-runtime/qiskit-runtime-service#backends)
87+
You can also view your available QPUs by using the [backends API.](/docs/api/qiskit-ibm-runtime/qiskit-runtime-service#backends) For example, the following code will return all of the backends that the specified instance (`my_instance`) can access:
88+
89+
```python
90+
QiskitRuntimeService(instance="my_instance_CRN")
91+
service.backend()
92+
```
8893

8994
## View QPU configuration
9095

docs/guides/visualize-results.ipynb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "1adb4ac8-f331-485b-89f5-e4ec20a6855f",
5+
"id": "7e6b2936-3a18-4917-9c47-30e2d4ce5775",
66
"metadata": {},
77
"source": [
88
"# Visualize results"
99
]
1010
},
1111
{
1212
"cell_type": "markdown",
13-
"id": "6efd5b06-c754-4b34-a14d-e404c9e920cb",
13+
"id": "06a4399f-bca6-4c2e-9128-1494017d0249",
1414
"metadata": {
1515
"tags": [
1616
"version-info"
@@ -32,7 +32,7 @@
3232
},
3333
{
3434
"cell_type": "markdown",
35-
"id": "b446771a-caf4-4b59-8e8c-1d115249b818",
35+
"id": "e8d0138c-fd97-49c2-88a5-1929a5a09258",
3636
"metadata": {},
3737
"source": [
3838
"## Plot histogram <a name='histogram'></a>\n",
@@ -53,7 +53,7 @@
5353
{
5454
"cell_type": "code",
5555
"execution_count": 1,
56-
"id": "03592c4f-8a0a-4c0b-81f6-658f57d33ee4",
56+
"id": "5cf67f92-a86d-496d-9e13-0d8a841c8dfa",
5757
"metadata": {},
5858
"outputs": [],
5959
"source": [
@@ -71,7 +71,7 @@
7171
{
7272
"cell_type": "code",
7373
"execution_count": 2,
74-
"id": "2ff2c2d1-185f-4183-b80a-b5b599411245",
74+
"id": "938e8206-d7e8-447d-b798-b7c2507f8901",
7575
"metadata": {},
7676
"outputs": [
7777
{
@@ -103,7 +103,7 @@
103103
{
104104
"cell_type": "code",
105105
"execution_count": 3,
106-
"id": "3b41d6da-1bca-4b82-ac84-b5b811b7d430",
106+
"id": "57d8053e-d030-460d-9c1f-772e53b1a49b",
107107
"metadata": {},
108108
"outputs": [
109109
{
@@ -123,7 +123,7 @@
123123
},
124124
{
125125
"cell_type": "markdown",
126-
"id": "330e0fcb-ce13-4ad2-855e-4e0b8665cf76",
126+
"id": "e3a68e3d-21e6-45a0-bc40-f9a2214dd5b3",
127127
"metadata": {},
128128
"source": [
129129
"### Options when plotting a histogram\n",
@@ -141,7 +141,7 @@
141141
{
142142
"cell_type": "code",
143143
"execution_count": 4,
144-
"id": "7f456bcc-94a8-4522-9be2-77ea91045c1f",
144+
"id": "bd70e13f-5c52-42fb-8dde-980b15e3604a",
145145
"metadata": {},
146146
"outputs": [
147147
{
@@ -178,7 +178,7 @@
178178
},
179179
{
180180
"cell_type": "markdown",
181-
"id": "2a3d185d-96ce-4a91-890f-b8e3d7f31eb0",
181+
"id": "019ee04e-0730-4536-94cc-7e2b50d921e1",
182182
"metadata": {},
183183
"source": [
184184
"## Plotting estimator results\n",
@@ -191,7 +191,7 @@
191191
{
192192
"cell_type": "code",
193193
"execution_count": 5,
194-
"id": "35e07a46-8423-44ff-abad-7c10c72291a5",
194+
"id": "17c9893a-d1bf-4726-b444-6dce1d56805f",
195195
"metadata": {},
196196
"outputs": [
197197
{
@@ -264,7 +264,7 @@
264264
},
265265
{
266266
"cell_type": "markdown",
267-
"id": "d0e52ff0-96d5-45fb-b5df-38f43fd19ecc",
267+
"id": "a520f049-c2ee-4f14-8039-b5be671f25ae",
268268
"metadata": {},
269269
"source": [
270270
"The following cell uses the estimated [standard error](https://en.wikipedia.org/wiki/Standard_error) of each result and adds them as error bars. See the [`bar` plot documentation](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.bar.html) for a full description of the plot."
@@ -273,7 +273,7 @@
273273
{
274274
"cell_type": "code",
275275
"execution_count": 6,
276-
"id": "6f122049-0b5a-49e8-bde4-d99d91f4b77c",
276+
"id": "4eb79f4b-36b5-4797-a1a0-67d881d46ca4",
277277
"metadata": {},
278278
"outputs": [
279279
{

docs/tutorials/advanced-techniques-for-qaoa.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"Before starting this tutorial, be sure you have the following installed:\n",
4949
"- Qiskit SDK v1.0 or later, with visualization support ( `pip install 'qiskit[visualization]'` )\n",
5050
"- Qiskit Runtime v0.22 or later (`pip install qiskit-ibm-runtime`)\n",
51-
"- Rustworkx graph library (`pip install rustworkx`)\n",
5251
"- Python SAT (`pip install python-sat`)"
5352
]
5453
},

docs/tutorials/approximate-quantum-compilation-for-time-evolution.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"\n",
3535
"* Qiskit SDK v1.0 or later, with visualization support (`pip install 'qiskit[visualization]'`)\n",
3636
"* Qiskit Runtime v0.22 or later (`pip install qiskit-ibm-runtime`)\n",
37-
"* AQC-Tensor Qiskit addon (`pip install 'qiskit-addon-aqc-tensor[aer,quimb-jax]'`)\n",
38-
"* rustworkx v0.15 or later (`pip install rustworkx`)"
37+
"* AQC-Tensor Qiskit addon (`pip install 'qiskit-addon-aqc-tensor[aer,quimb-jax]'`)"
3938
]
4039
},
4140
{

docs/tutorials/circuit-transpilation-settings.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"metadata": {},
77
"source": [
88
"# Compare transpiler settings\n",
9-
"*Usage estimate: under one minute on ibm_nazca (NOTE: This is an estimate only. Your runtime might vary.)*"
9+
"*Usage estimate: under one minute on an Eagle r3 processor (NOTE: This is an estimate only. Your runtime might vary.)*"
1010
]
1111
},
1212
{
@@ -93,7 +93,7 @@
9393
{
9494
"data": {
9595
"text/plain": [
96-
"'ibm_kyoto'"
96+
"'ibm_brisbanse'"
9797
]
9898
},
9999
"execution_count": 28,

docs/tutorials/grovers-algorithm.ipynb

Lines changed: 61 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"metadata": {},
77
"source": [
88
"# Grover's algorithm\n",
9-
"*Usage estimate: under one minute on ibm_nairobi (NOTE: This is an estimate only. Your runtime might vary.)*"
9+
"*Usage estimate: under one minute on Eagle r3 processor (NOTE: This is an estimate only. Your runtime might vary.)*"
1010
]
1111
},
1212
{
@@ -114,14 +114,14 @@
114114
},
115115
{
116116
"cell_type": "code",
117-
"execution_count": null,
117+
"execution_count": 2,
118118
"id": "6e419a8a",
119119
"metadata": {},
120120
"outputs": [
121121
{
122122
"data": {
123123
"text/plain": [
124-
"'ibm_cusco'"
124+
"'ibm_brisbane'"
125125
]
126126
},
127127
"execution_count": 2,
@@ -173,6 +173,54 @@
173173
"oracle.draw(output=\"mpl\", style=\"iqp\")"
174174
]
175175
},
176+
{
177+
"cell_type": "code",
178+
"execution_count": 4,
179+
"id": "7baca7e2-99fc-4089-b5d8-30da56816a6a",
180+
"metadata": {},
181+
"outputs": [
182+
{
183+
"data": {
184+
"text/plain": [
185+
"<Image src=\"/docs/images/tutorials/grovers-algorithm/extracted-outputs/7baca7e2-99fc-4089-b5d8-30da56816a6a-0.avif\" alt=\"Output of the previous code cell\" />"
186+
]
187+
},
188+
"execution_count": 4,
189+
"metadata": {},
190+
"output_type": "execute_result"
191+
}
192+
],
193+
"source": [
194+
"marked_states = [\"011\", \"100\"]\n",
195+
"\n",
196+
"oracle = grover_oracle(marked_states)\n",
197+
"oracle.draw(output=\"mpl\", style=\"iqp\")"
198+
]
199+
},
200+
{
201+
"cell_type": "code",
202+
"execution_count": 5,
203+
"id": "d3a26fc9-9090-4527-a749-a412661260b6",
204+
"metadata": {},
205+
"outputs": [
206+
{
207+
"data": {
208+
"text/plain": [
209+
"<Image src=\"/docs/images/tutorials/grovers-algorithm/extracted-outputs/d3a26fc9-9090-4527-a749-a412661260b6-0.avif\" alt=\"Output of the previous code cell\" />"
210+
]
211+
},
212+
"execution_count": 5,
213+
"metadata": {},
214+
"output_type": "execute_result"
215+
}
216+
],
217+
"source": [
218+
"marked_states = [\"011\", \"100\"]\n",
219+
"\n",
220+
"oracle = grover_oracle(marked_states)\n",
221+
"oracle.draw(output=\"mpl\", style=\"iqp\")"
222+
]
223+
},
176224
{
177225
"attachments": {},
178226
"cell_type": "markdown",
@@ -186,7 +234,7 @@
186234
},
187235
{
188236
"cell_type": "code",
189-
"execution_count": 4,
237+
"execution_count": 6,
190238
"id": "283d5265",
191239
"metadata": {},
192240
"outputs": [
@@ -196,7 +244,7 @@
196244
"<Image src=\"/docs/images/tutorials/grovers-algorithm/extracted-outputs/283d5265-0.avif\" alt=\"Output of the previous code cell\" />"
197245
]
198246
},
199-
"execution_count": 4,
247+
"execution_count": 6,
200248
"metadata": {},
201249
"output_type": "execute_result"
202250
}
@@ -217,7 +265,7 @@
217265
},
218266
{
219267
"cell_type": "code",
220-
"execution_count": 5,
268+
"execution_count": 7,
221269
"id": "f4c3d4b5",
222270
"metadata": {},
223271
"outputs": [],
@@ -241,7 +289,7 @@
241289
},
242290
{
243291
"cell_type": "code",
244-
"execution_count": 6,
292+
"execution_count": 8,
245293
"id": "4933ae44",
246294
"metadata": {},
247295
"outputs": [
@@ -251,7 +299,7 @@
251299
"<Image src=\"/docs/images/tutorials/grovers-algorithm/extracted-outputs/4933ae44-0.avif\" alt=\"Output of the previous code cell\" />"
252300
]
253301
},
254-
"execution_count": 6,
302+
"execution_count": 8,
255303
"metadata": {},
256304
"output_type": "execute_result"
257305
}
@@ -277,7 +325,7 @@
277325
},
278326
{
279327
"cell_type": "code",
280-
"execution_count": 7,
328+
"execution_count": 9,
281329
"id": "c9a3020e",
282330
"metadata": {},
283331
"outputs": [
@@ -287,7 +335,7 @@
287335
"<Image src=\"/docs/images/tutorials/grovers-algorithm/extracted-outputs/c9a3020e-0.avif\" alt=\"Output of the previous code cell\" />"
288336
]
289337
},
290-
"execution_count": 7,
338+
"execution_count": 9,
291339
"metadata": {},
292340
"output_type": "execute_result"
293341
}
@@ -315,7 +363,7 @@
315363
},
316364
{
317365
"cell_type": "code",
318-
"execution_count": 8,
366+
"execution_count": 10,
319367
"id": "0eb154d4",
320368
"metadata": {},
321369
"outputs": [],
@@ -338,7 +386,7 @@
338386
},
339387
{
340388
"cell_type": "code",
341-
"execution_count": 9,
389+
"execution_count": 11,
342390
"id": "a5ef9913",
343391
"metadata": {},
344392
"outputs": [
@@ -348,7 +396,7 @@
348396
"<Image src=\"/docs/images/tutorials/grovers-algorithm/extracted-outputs/a5ef9913-0.avif\" alt=\"Output of the previous code cell\" />"
349397
]
350398
},
351-
"execution_count": 9,
399+
"execution_count": 11,
352400
"metadata": {},
353401
"output_type": "execute_result"
354402
}

docs/tutorials/hello-world.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@
327327
"\n",
328328
" # Use the following code instead if you want to run on a simulator:\n",
329329
"\n",
330-
" from qiskit_ibm_runtime.fake_provider import FakeAlmadenV2\n",
331-
" backend = FakeAlmadenV2()\n",
330+
" from qiskit_ibm_runtime.fake_provider import FakeFez\n",
331+
" backend = FakeFez()\n",
332332
" estimator = Estimator(backend)\n",
333333
"\n",
334334
" # Convert to an ISA circuit and layout-mapped observables.\n",

docs/tutorials/multi-product-formula.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"* Qiskit Runtime v0.22 or later (`pip install qiskit-ibm-runtime`)\n",
8383
"* MPF Qiskit addons (`pip install qiskit_addon_mpf`)\n",
8484
"* Qiskit addons utils (`pip install qiskit_addon_utils`)\n",
85-
"* Rustworkx graph library (`pip install rustworkx`)\n",
8685
"* Quimb library (`pip install quimb`)\n",
8786
"* Qiskit Quimb library (`pip install qiskit-quimb`)\n",
8887
"* Numpy v0.21 for compatibility across packages (`pip install numpy==0.21`)"

docs/tutorials/operator-back-propagation.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"{/* cspell:ignore simeq // This in an equation and isn't being ignored correctly */}\n",
99
"\n",
1010
"# Operator backpropagation (OBP) for estimation of expectation values\n",
11-
"*Usage estimate: 16 minutes on ibm_nazca (NOTE: This is an estimate only. Your runtime might vary.)*"
11+
"*Usage estimate: 16 minutes on an Eagle r3 processor (NOTE: This is an estimate only. Your runtime might vary.)*"
1212
]
1313
},
1414
{
@@ -68,8 +68,7 @@
6868
"- Qiskit SDK 1.2 or later (`pip install qiskit`)\n",
6969
"- Qiskit Runtime 0.28 or later (`pip install qiskit-ibm-runtime`)\n",
7070
"- OBP Qiskit addon (`pip install qiskit-addon-obp`)\n",
71-
"- Qiskit addon utils (`pip install qiskit-addon-utils`)\n",
72-
"- rustworkx 0.15 or later (`pip install rustworkx`)"
71+
"- Qiskit addon utils (`pip install qiskit-addon-utils`)"
7372
]
7473
},
7574
{

docs/tutorials/pauli-correlation-encoding-for-qaoa.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"\n",
1010
"# Pauli Correlation Encoding to reduce Maxcut requirements\n",
1111
"\n",
12-
"*Usage estimate: 30 minutes on ibm_sherbrooke (NOTE: This is an estimate only. Your runtime might vary.)*"
12+
"*Usage estimate: 30 minutes on an Eagle r3 processor (NOTE: This is an estimate only. Your runtime might vary.)*"
1313
]
1414
},
1515
{
@@ -60,8 +60,7 @@
6060
"\n",
6161
"Before starting this tutorial, be sure you have the following installed:\n",
6262
"- Qiskit SDK v1.0 or later, with visualization support ( `pip install 'qiskit[visualization]'` )\n",
63-
"- Qiskit Runtime 0.22 or later (`pip install qiskit-ibm-runtime`)\n",
64-
"- Rustworkx graph library (`pip install rustworkx`)"
63+
"- Qiskit Runtime 0.22 or later (`pip install qiskit-ibm-runtime`)"
6564
]
6665
},
6766
{

0 commit comments

Comments
 (0)