Skip to content

Commit 9ae3b5f

Browse files
abbycrossbeckykd
andauthored
first-pass through tutorials for copyediting (#3004)
Includes work that will close #2992 In addition to a general copyedit: - [x] remove mention of channel=ibm_quantum - [ ] remove kyiv and sherbrooke (and rerun on new QPUs where necessary) - [x] update to new filenames - [x] update to new titles - [x] update metadata with new titles --------- Co-authored-by: Rebecca Dimock <[email protected]> Co-authored-by: Rebecca Dimock <[email protected]>
1 parent f0cd468 commit 9ae3b5f

34 files changed

+521
-583
lines changed

docs/guides/functions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
},
263263
{
264264
"cell_type": "code",
265-
"execution_count": 5,
265+
"execution_count": null,
266266
"id": "9b9a7a3c-cc98-4c19-93cd-f59793515c70",
267267
"metadata": {},
268268
"outputs": [
@@ -281,7 +281,7 @@
281281
"job = ibm_cf.run(\n",
282282
" pubs=[(circuit, observable)],\n",
283283
" instance=instance,\n",
284-
" backend_name=backend_name, # E.g. \"ibm_kyiv\"\n",
284+
" backend_name=backend_name, # E.g. \"ibm_fez\"\n",
285285
")\n",
286286
"\n",
287287
"job.job_id"

docs/guides/get-qpu-information.ipynb

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "cb8aed01-2218-4524-b769-94e3f481b25f",
5+
"id": "b58546f5-fe44-488d-b402-b723a5eff5f4",
66
"metadata": {},
77
"source": [
88
"# Get backend information with Qiskit\n",
@@ -21,7 +21,7 @@
2121
},
2222
{
2323
"cell_type": "markdown",
24-
"id": "3eccac60-3e0f-4f55-ad2d-f19620105ad3",
24+
"id": "8e0f7648-b359-4492-b88d-26566ca78af6",
2525
"metadata": {
2626
"tags": [
2727
"version-info"
@@ -42,15 +42,15 @@
4242
},
4343
{
4444
"cell_type": "markdown",
45-
"id": "fb232c67-5b12-4125-b786-aca54bd734c2",
45+
"id": "d3be18e3-d1b5-49c4-a82e-c3e5ecbd5491",
4646
"metadata": {},
4747
"source": [
4848
"This page explains how to use Qiskit to find information about your available backends."
4949
]
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "915e21a1-edd8-40a8-a230-2105a024b81c",
53+
"id": "76d675eb-ad62-4436-9649-7cb6837e16f0",
5454
"metadata": {},
5555
"source": [
5656
"## List backends\n",
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"cell_type": "markdown",
67-
"id": "5a858078-ac19-4ee8-9642-d8d08c8ee58c",
67+
"id": "8a169a1d-0a02-41cd-89b0-5d606114866d",
6868
"metadata": {},
6969
"source": [
7070
"<LegacyContent>\n",
@@ -78,17 +78,15 @@
7878
{
7979
"cell_type": "code",
8080
"execution_count": 1,
81-
"id": "1dfa3af8-686d-420c-8b58-b8e687816fec",
81+
"id": "ad5d41fc-2bb5-4a32-b8bb-8dbc48ef2337",
8282
"metadata": {},
8383
"outputs": [
8484
{
8585
"data": {
8686
"text/plain": [
8787
"[<IBMBackend('ibm_brisbane')>,\n",
8888
" <IBMBackend('ibm_sherbrooke')>,\n",
89-
" <IBMBackend('ibm_torino')>,\n",
90-
" <IBMBackend('ibm_kyiv')>,\n",
91-
" <IBMBackend('test_eagle_us-east')>]"
89+
" <IBMBackend('ibm_torino')>]"
9290
]
9391
},
9492
"execution_count": 1,
@@ -107,7 +105,7 @@
107105
},
108106
{
109107
"cell_type": "markdown",
110-
"id": "2e3a18e2-1130-4fb6-a57d-d7226b4268b7",
108+
"id": "88565803-2450-45e1-9075-720d9c57681e",
111109
"metadata": {},
112110
"source": [
113111
"The [`QiskitRuntimeService.backend()`](../api/qiskit-ibm-runtime/qiskit-runtime-service#backend) method (note that this is singular: *backend*) takes the name of the backend as the input parameter and returns an [`IBMBackend`](../api/qiskit-ibm-runtime/ibm-backend) instance representing that particular backend:"
@@ -116,7 +114,7 @@
116114
{
117115
"cell_type": "code",
118116
"execution_count": 2,
119-
"id": "25a40e79-a494-40e6-9558-17f4418a0efc",
117+
"id": "cd1fd069-fe00-4865-8ee5-ba788fa405ba",
120118
"metadata": {},
121119
"outputs": [
122120
{
@@ -136,7 +134,7 @@
136134
},
137135
{
138136
"cell_type": "markdown",
139-
"id": "3ba97c22-330f-4eed-8e44-e538f94c2974",
137+
"id": "4bcbb09a-30c0-4b7e-af9f-71a501fc1c47",
140138
"metadata": {},
141139
"source": [
142140
"## Filter backends\n",
@@ -152,21 +150,19 @@
152150
},
153151
{
154152
"cell_type": "code",
155-
"execution_count": 3,
156-
"id": "dbadd7dd-1272-4973-9ad8-5fd5a40ea008",
153+
"execution_count": 2,
154+
"id": "f9611008-cae5-451b-98a8-a59ae281b33e",
157155
"metadata": {},
158156
"outputs": [
159157
{
160158
"data": {
161159
"text/plain": [
162160
"[<IBMBackend('ibm_brisbane')>,\n",
163161
" <IBMBackend('ibm_sherbrooke')>,\n",
164-
" <IBMBackend('ibm_torino')>,\n",
165-
" <IBMBackend('ibm_kyiv')>,\n",
166-
" <IBMBackend('test_eagle_us-east')>]"
162+
" <IBMBackend('ibm_torino')>]"
167163
]
168164
},
169-
"execution_count": 3,
165+
"execution_count": 2,
170166
"metadata": {},
171167
"output_type": "execute_result"
172168
}
@@ -177,25 +173,25 @@
177173
},
178174
{
179175
"cell_type": "markdown",
180-
"id": "b2d15581-56d8-4719-8e35-a8cbf0abd0c3",
176+
"id": "89f7fe95-5fcd-4838-a26a-0ca4aa0882e4",
181177
"metadata": {},
182178
"source": [
183179
"Use these keyword arguments to filter by any attribute in backend configuration ([JSON schema](https://github.com/Qiskit/ibm-quantum-schemas/blob/main/schemas/backend_configuration_schema.json)) or status ([JSON schema](https://github.com/Qiskit/ibm-quantum-schemas/blob/main/schemas/backend_status_schema.json)). A similar method is [`QiskitRuntimeService.least_busy()`](../api/qiskit-ibm-runtime/qiskit-runtime-service#least_busy), which takes the same filters as `backends()` but returns the backend that matches the filters and has the least number of jobs pending in the queue:"
184180
]
185181
},
186182
{
187183
"cell_type": "code",
188-
"execution_count": 4,
189-
"id": "061ef5dc-cd72-4f7a-b4a0-c7cbaffd4169",
184+
"execution_count": 3,
185+
"id": "89d7a8c6-05e8-4ef8-8e50-bc5ead67a436",
190186
"metadata": {},
191187
"outputs": [
192188
{
193189
"data": {
194190
"text/plain": [
195-
"<IBMBackend('ibm_kyiv')>"
191+
"<IBMBackend('ibm_torino')>"
196192
]
197193
},
198-
"execution_count": 4,
194+
"execution_count": 3,
199195
"metadata": {},
200196
"output_type": "execute_result"
201197
}
@@ -206,7 +202,7 @@
206202
},
207203
{
208204
"cell_type": "markdown",
209-
"id": "4dc42491-6a03-4e49-bd26-905187edd45b",
205+
"id": "9ab8d5ff-b8ce-4562-8226-95f88bae9438",
210206
"metadata": {},
211207
"source": [
212208
"## Static backend information\n",
@@ -219,7 +215,7 @@
219215
{
220216
"cell_type": "code",
221217
"execution_count": 5,
222-
"id": "7c963d4f-9792-4d76-97c8-93aa95c6f791",
218+
"id": "a42c128e-6559-498b-a313-8f1be787ab23",
223219
"metadata": {},
224220
"outputs": [
225221
{
@@ -245,15 +241,15 @@
245241
},
246242
{
247243
"cell_type": "markdown",
248-
"id": "cf5b994a-2434-43df-8e37-c063f1fbe3ce",
244+
"id": "48237011-bd39-4481-8df7-5264620aa6f3",
249245
"metadata": {},
250246
"source": [
251247
"For a full list of attributes, see the [`IBMBackend` API documentation](/docs/api/qiskit-ibm-runtime/ibm-backend)."
252248
]
253249
},
254250
{
255251
"cell_type": "markdown",
256-
"id": "fe84b143-8a73-4bd9-b6a4-b3a023e72964",
252+
"id": "c7c38144-478e-4c31-b050-82078de0f505",
257253
"metadata": {},
258254
"source": [
259255
"## Dynamic backend information\n",
@@ -269,7 +265,7 @@
269265
{
270266
"cell_type": "code",
271267
"execution_count": 6,
272-
"id": "f1a82580-cd98-4654-94d2-eec8ccc9f7ad",
268+
"id": "94da1ff9-d491-4d78-8720-29141ab1dddf",
273269
"metadata": {},
274270
"outputs": [
275271
{
@@ -289,7 +285,7 @@
289285
},
290286
{
291287
"cell_type": "markdown",
292-
"id": "f96efd0b-3d35-4ab5-b7b1-ef182c6eed31",
288+
"id": "1d3002ef-e196-4d02-b0d7-b84d1a75ce30",
293289
"metadata": {},
294290
"source": [
295291
"### Instruction properties\n",
@@ -300,7 +296,7 @@
300296
{
301297
"cell_type": "code",
302298
"execution_count": 7,
303-
"id": "582de91f-62b4-464c-b9c8-f84af948a06a",
299+
"id": "dc15db13-bf2a-4934-8ef6-cacfb953fde6",
304300
"metadata": {},
305301
"outputs": [
306302
{
@@ -320,7 +316,7 @@
320316
},
321317
{
322318
"cell_type": "markdown",
323-
"id": "d5da7085-163f-4cdc-930a-4fc00832480a",
319+
"id": "2d304e9f-6e76-4876-bbb2-b6b768f3f9e3",
324320
"metadata": {},
325321
"source": [
326322
"The following cell shows the properties for a measurement operation (including the readout error) on qubit 0."
@@ -329,7 +325,7 @@
329325
{
330326
"cell_type": "code",
331327
"execution_count": 8,
332-
"id": "f6b9e34e-2ef7-4340-8e33-828dd18c8e9d",
328+
"id": "810d55d0-2f60-4bce-a1c2-254e2b989b90",
333329
"metadata": {},
334330
"outputs": [
335331
{
@@ -349,7 +345,7 @@
349345
},
350346
{
351347
"cell_type": "markdown",
352-
"id": "2385a454-d097-4f63-925f-8609433f3bd7",
348+
"id": "4ba1c604-b4b9-498d-ac29-9cb3a9644e09",
353349
"metadata": {},
354350
"source": [
355351
"## Next steps\n",

docs/guides/instances.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ print(service.instances())
111111
# Optional: Specify it at service level.
112112
# This becomes the default unless overwritten.
113113
service = QiskitRuntimeService(channel='ibm_quantum', instance="hub1/group1/project1")
114-
backend1 = service.backend("ibm_kyiv")
114+
backend1 = service.backend("ibm_fez")
115115

116116
# Optional: Specify it at the backend level, which overwrites the service-level specification when this backend is used.
117-
backend2 = service.backend("ibm_kyiv", instance="hub2/group2/project2")
117+
backend2 = service.backend("ibm_fez", instance="hub2/group2/project2")
118118

119119
sampler1 = SamplerV2(mode=backend1) # this will use hub1/group1/project1
120120
sampler2 = SamplerV2(mode=backend2) # this will use hub2/group2/project2

docs/guides/q-ctrl-optimization-solver.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
},
306306
{
307307
"cell_type": "code",
308-
"execution_count": 12,
308+
"execution_count": null,
309309
"id": "16c66d64",
310310
"metadata": {},
311311
"outputs": [],
@@ -315,7 +315,7 @@
315315
" problem=problem_as_str,\n",
316316
" problem_type=\"maxcut\",\n",
317317
" instance=instance,\n",
318-
" backend_name=backend_name, # E.g. \"ibm_kyiv\"\n",
318+
" backend_name=backend_name, # E.g. \"ibm_fez\"\n",
319319
")"
320320
]
321321
},
@@ -540,7 +540,7 @@
540540
"mvc_job = solver.run(\n",
541541
" problem=srepr(cost_function),\n",
542542
" instance=instance,\n",
543-
" backend_name=backend_name, # E.g. \"ibm_kyiv\"\n",
543+
" backend_name=backend_name, # E.g. \"ibm_fez\"\n",
544544
")"
545545
]
546546
},

docs/guides/q-ctrl-performance-management.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
},
246246
{
247247
"cell_type": "code",
248-
"execution_count": 6,
248+
"execution_count": null,
249249
"id": "26952e1f",
250250
"metadata": {},
251251
"outputs": [],
@@ -255,7 +255,7 @@
255255
" primitive=\"estimator\",\n",
256256
" pubs=estimator_pubs,\n",
257257
" instance=instance,\n",
258-
" backend_name=backend_name, # E.g. \"ibm_kyiv\", or omit to default to the least busy device\n",
258+
" backend_name=backend_name,\n",
259259
")"
260260
]
261261
},
@@ -397,11 +397,9 @@
397397
"- ibm_cleveland\n",
398398
"- ibm_fez\n",
399399
"- ibm_kawasaki\n",
400-
"- ibm_kyiv\n",
401400
"- ibm_nazca\n",
402401
"- ibm_quebec\n",
403402
"- ibm_rensselaer\n",
404-
"- ibm_sherbrooke\n",
405403
"- ibm_strasbourg\n",
406404
"- ibm_torino\n",
407405
"\n",
@@ -488,7 +486,7 @@
488486
},
489487
{
490488
"cell_type": "code",
491-
"execution_count": 11,
489+
"execution_count": null,
492490
"id": "2595df84",
493491
"metadata": {},
494492
"outputs": [],
@@ -498,7 +496,7 @@
498496
" primitive=\"sampler\",\n",
499497
" pubs=sampler_pubs,\n",
500498
" instance=instance,\n",
501-
" backend_name=backend_name, # Such as \"ibm_kyiv\", or omit to default to the least busy device\n",
499+
" backend_name=backend_name,\n",
502500
")"
503501
]
504502
},

docs/guides/serverless-run-first-workload.ipynb

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,18 +141,10 @@
141141
},
142142
{
143143
"cell_type": "code",
144-
"execution_count": 3,
144+
"execution_count": null,
145145
"id": "ebefb5ac-c8a8-4350-b16f-0677f0e412e5",
146146
"metadata": {},
147-
"outputs": [
148-
{
149-
"name": "stdout",
150-
"output_type": "stream",
151-
"text": [
152-
"ibm_kyiv\n"
153-
]
154-
}
155-
],
147+
"outputs": [],
156148
"source": [
157149
"from qiskit_ibm_runtime import QiskitRuntimeService\n",
158150
"\n",

0 commit comments

Comments
 (0)