Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions docs/guides/DAG-representation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,21 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.1.1\n",
"qiskit[all]~=2.2.3\n",
"```\n",
"</details>"
]
Expand Down Expand Up @@ -132,7 +139,7 @@
"[DAGOpNode(op=Instruction(name='h', num_qubits=1, num_clbits=0, params=[]), qargs=(<Qubit register=(3, \"q\"), index=0>,), cargs=()),\n",
" DAGOpNode(op=Instruction(name='cx', num_qubits=2, num_clbits=0, params=[]), qargs=(<Qubit register=(3, \"q\"), index=0>, <Qubit register=(3, \"q\"), index=1>), cargs=()),\n",
" DAGOpNode(op=Instruction(name='measure', num_qubits=1, num_clbits=1, params=[]), qargs=(<Qubit register=(3, \"q\"), index=0>,), cargs=(<Clbit register=(3, \"c\"), index=0>,)),\n",
" DAGOpNode(op=Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7fb77e27f5d0>, None]), qargs=(<Qubit register=(3, \"q\"), index=1>,), cargs=(<Clbit register=(3, \"c\"), index=0>, <Clbit register=(3, \"c\"), index=1>, <Clbit register=(3, \"c\"), index=2>))]"
" DAGOpNode(op=Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f78282bfcd0>, None]), qargs=(<Qubit register=(3, \"q\"), index=1>,), cargs=(<Clbit register=(3, \"c\"), index=0>, <Clbit register=(3, \"c\"), index=1>, <Clbit register=(3, \"c\"), index=2>))]"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -163,7 +170,7 @@
"output_type": "stream",
"text": [
"node name: if_else\n",
"op: Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7fb77e27f5d0>, None])\n",
"op: Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f78282bfcd0>, None])\n",
"qargs: (<Qubit register=(3, \"q\"), index=1>,)\n",
"cargs: (<Clbit register=(3, \"c\"), index=0>, <Clbit register=(3, \"c\"), index=1>, <Clbit register=(3, \"c\"), index=2>)\n",
"condition: (ClassicalRegister(3, 'c'), 2)\n"
Expand Down
40 changes: 24 additions & 16 deletions docs/guides/add-job-tags.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,22 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit-ibm-runtime~=0.40.1\n",
"qiskit[all]~=2.2.3\n",
"qiskit-ibm-runtime~=0.43.1\n",
"```\n",
"</details>"
]
Expand All @@ -49,7 +57,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 1,
"id": "74a7a1ea-f2ae-4b8c-9499-af52840c2e74",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -100,15 +108,15 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 2,
"id": "205ceaf7-f79d-4452-b4b0-9688e39a4564",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"['sampler-example', 'experiment-2025', '127-qubit']\n"
"['experiment-2025', 'sampler-example', '127-qubit']\n"
]
}
],
Expand All @@ -132,26 +140,26 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 3,
"id": "b6db503e-46ef-406e-9420-ef73446df564",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<RuntimeJobV2('d38l3pkgenls73cf263g', 'sampler')>,\n",
" <RuntimeJobV2('d36s55gitjus73f5li10', 'sampler')>,\n",
" <RuntimeJobV2('d36s4mkda4cs73a8994g', 'sampler')>,\n",
" <RuntimeJobV2('d36rs9o0sqis73982e4g', 'sampler')>,\n",
" <RuntimeJobV2('d36rptsgenls73cda9n0', 'sampler')>,\n",
" <RuntimeJobV2('d36rohkgenls73cda87g', 'sampler')>,\n",
" <RuntimeJobV2('d36rnr0itjus73f5l4m0', 'sampler')>,\n",
" <RuntimeJobV2('d36rnp0itjus73f5l4j0', 'sampler')>,\n",
" <RuntimeJobV2('d35f3joitjus73f49ds0', 'sampler')>,\n",
" <RuntimeJobV2('d35bsn80sqis7396img0', 'sampler')>]"
"[<RuntimeJobV2('d4vr9uteastc73cii4n0', 'sampler')>,\n",
" <RuntimeJobV2('d4mjv12v0j9c73e6dclg', 'sampler')>,\n",
" <RuntimeJobV2('d4c2e8fnmdfs73aedgl0', 'sampler')>,\n",
" <RuntimeJobV2('d42r485o35ts73c743g0', 'sampler')>,\n",
" <RuntimeJobV2('d3nkieg3qtks738eg8t0', 'sampler')>,\n",
" <RuntimeJobV2('d3ed8g1b641c738j6vdg', 'sampler')>,\n",
" <RuntimeJobV2('d38q4qcda4cs73aa79v0', 'sampler')>,\n",
" <RuntimeJobV2('d38q14g0sqis739a0ing', 'sampler')>,\n",
" <RuntimeJobV2('d38pumcgenls73cf8c4g', 'sampler')>,\n",
" <RuntimeJobV2('d38pr3cgenls73cf88i0', 'sampler')>]"
]
},
"execution_count": 21,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
9 changes: 8 additions & 1 deletion docs/guides/bit-ordering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,21 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.1.1\n",
"qiskit[all]~=2.2.3\n",
"```\n",
"</details>"
]
Expand Down
27 changes: 15 additions & 12 deletions docs/guides/build-noise-models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
Expand Down Expand Up @@ -328,15 +335,11 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Kraus([[[-9.74679434e-01+1.19363805e-16j,\n",
" 0.00000000e+00+0.00000000e+00j],\n",
" [ 0.00000000e+00+0.00000000e+00j,\n",
" -9.74679434e-01+0.00000000e+00j]],\n",
"Kraus([[[-9.74679434e-01+0.j, 0.00000000e+00+0.j],\n",
" [ 0.00000000e+00+0.j, -9.74679434e-01+0.j]],\n",
"\n",
" [[ 0.00000000e+00+0.00000000e+00j,\n",
" 4.69834045e-18-2.23606798e-01j],\n",
" [-2.26855945e-17-2.23606798e-01j,\n",
" 5.03721386e-33+4.96506831e-17j]]],\n",
" [[ 0.00000000e+00+0.j, 2.23606798e-01+0.j],\n",
" [ 2.23606798e-01+0.j, -4.96506831e-17+0.j]]],\n",
" input_dims=(2,), output_dims=(2,))\n"
]
}
Expand Down Expand Up @@ -510,7 +513,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['u3', 'u1', 'u2']\n",
" Instructions with noise: ['u1', 'u3', 'u2']\n",
" All-qubits errors: ['u1', 'u2', 'u3']\n"
]
}
Expand Down Expand Up @@ -557,7 +560,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['u3', 'u1', 'u2']\n",
" Instructions with noise: ['u1', 'u3', 'u2']\n",
" Qubits with noise: [0]\n",
" Specific qubit errors: [('u1', (0,)), ('u2', (0,)), ('u3', (0,))]\n"
]
Expand Down Expand Up @@ -732,7 +735,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['cx', 'measure', 'reset', 'u1', 'u3', 'u2']\n",
" Instructions with noise: ['measure', 'u3', 'reset', 'cx', 'u1', 'u2']\n",
" All-qubits errors: ['reset', 'measure', 'u1', 'u2', 'u3', 'cx']\n"
]
}
Expand Down Expand Up @@ -842,7 +845,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u2', 'u3']\n",
" Instructions with noise: ['cx', 'measure', 'reset', 'u3', 'u2']\n",
" Instructions with noise: ['measure', 'u3', 'reset', 'cx', 'u2']\n",
" Qubits with noise: [0, 1, 2, 3]\n",
" Specific qubit errors: [('reset', (0,)), ('reset', (1,)), ('reset', (2,)), ('reset', (3,)), ('measure', (0,)), ('measure', (1,)), ('measure', (2,)), ('measure', (3,)), ('u2', (0,)), ('u2', (1,)), ('u2', (2,)), ('u2', (3,)), ('u3', (0,)), ('u3', (1,)), ('u3', (2,)), ('u3', (3,)), ('cx', (0, 0)), ('cx', (0, 1)), ('cx', (0, 2)), ('cx', (0, 3)), ('cx', (1, 0)), ('cx', (1, 1)), ('cx', (1, 2)), ('cx', (1, 3)), ('cx', (2, 0)), ('cx', (2, 1)), ('cx', (2, 2)), ('cx', (2, 3)), ('cx', (3, 0)), ('cx', (3, 1)), ('cx', (3, 2)), ('cx', (3, 3))]\n"
]
Expand Down
9 changes: 8 additions & 1 deletion docs/guides/circuit-library.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.1.1\n",
"qiskit[all]~=2.2.3\n",
"```\n",
"</details>"
]
Expand Down
34 changes: 15 additions & 19 deletions docs/guides/classical-feedforward-and-control-flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,22 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.1.1\n",
"qiskit[all]~=2.2.3\n",
"qiskit-ibm-runtime~=0.43.1\n",
"```\n",
"</details>"
]
Expand Down Expand Up @@ -67,14 +75,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "60924bfa-50ed-4d9d-a17b-9d64f2cc053f",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/60924bfa-50ed-4d9d-a17b-9d64f2cc053f-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/60924bfa-50ed-4d9d-a17b-9d64f2cc053f-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 1,
Expand Down Expand Up @@ -122,7 +130,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/20f0640a-a3f7-41b3-aada-b66bc89b0555-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/20f0640a-a3f7-41b3-aada-b66bc89b0555-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -169,7 +177,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/98e8f552-4169-42a3-8182-e14e9ffb59e2-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/98e8f552-4169-42a3-8182-e14e9ffb59e2-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -279,7 +287,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/d0f0abdb-50d5-408d-a704-a1a555acdd85-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/d0f0abdb-50d5-408d-a704-a1a555acdd85-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -311,23 +319,11 @@
"id": "555e5491-de0e-49fe-b919-9ab51bed00ef",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"management.get:WARNING:2025-10-28 10:10:23,538: Loading default saved account\n",
"qiskit_runtime_service.__init__:WARNING:2025-10-28 10:10:32,937: Instance was not set at service instantiation. Free and trial plan instances will be prioritized. Based on the following filters: (tags: None, region: us-east, eu-de), and available plans: (internal, premium), the available account instances are: Documentation premium fleet, Documentation internal fleet, Documentation premium fleet, Documentation internal fleet. If you need a specific instance set it explicitly either by using a saved account with a saved default instance or passing it in directly to QiskitRuntimeService().\n",
"qiskit_runtime_service.backends:WARNING:2025-10-28 10:10:32,939: Loading instance: Documentation premium fleet, plan: premium\n",
"qiskit_runtime_service.backends:WARNING:2025-10-28 10:10:34,963: Loading instance: Documentation internal fleet, plan: internal\n",
"qiskit_runtime_service.backends:WARNING:2025-10-28 10:10:35,402: Loading instance: Documentation premium fleet, plan: premium\n",
"qiskit_runtime_service.backends:WARNING:2025-10-28 10:10:37,875: Loading instance: Documentation internal fleet, plan: internal\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[<IBMBackend('ibm_brussels')>, <IBMBackend('ibm_aachen')>, <IBMBackend('ibm_strasbourg')>, <IBMBackend('test_eagle_eu-de')>, <IBMBackend('ibm_fez')>, <IBMBackend('ibm_brisbane')>, <IBMBackend('ibm_pittsburgh')>, <IBMBackend('ibm_marrakesh')>, <IBMBackend('ibm_kingston')>, <IBMBackend('ibm_torino')>, <IBMBackend('ibmq_dublin')>, <IBMBackend('test_eagle_us-east')>, <IBMBackend('ibm_pinguino2')>, <IBMBackend('test_heron_pok_1')>, <IBMBackend('ibm_pinguino3')>, <IBMBackend('ibm_pinguino1')>]\n"
"[<IBMBackend('ibm_pittsburgh')>, <IBMBackend('ibm_fez')>, <IBMBackend('ibm_torino')>, <IBMBackend('ibm_marrakesh')>, <IBMBackend('ibm_kingston')>]\n"
]
}
],
Expand Down
11 changes: 9 additions & 2 deletions docs/guides/common-parameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,22 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.1.1\n",
"qiskit-ibm-runtime~=0.40.1\n",
"qiskit[all]~=2.2.3\n",
"qiskit-ibm-runtime~=0.43.1\n",
"```\n",
"</details>"
]
Expand Down
9 changes: 8 additions & 1 deletion docs/guides/configure-error-mitigation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,21 @@
]
},
"source": [
"{/*\n",
" DO NOT EDIT THIS CELL!!!\n",
" This cell's content is generated automatically by a script. Anything you add\n",
" here will be removed next time the notebook is run. To add new content, create\n",
" a new cell before or after this one.\n",
"*/}\n",
"\n",
"<details>\n",
"<summary><b>Package versions</b></summary>\n",
"\n",
"The code on this page was developed using the following requirements.\n",
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit-ibm-runtime~=0.40.1\n",
"qiskit-ibm-runtime~=0.43.1\n",
"```\n",
"</details>"
]
Expand Down
Loading