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
6 changes: 3 additions & 3 deletions docs/guides/DAG-representation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down Expand Up @@ -146,7 +146,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 0x7f1ca06de8d0>, 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 0x7f3a97146f90>, 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 @@ -177,7 +177,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 0x7f1c9ee9d650>, None])\n",
"op: Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f3a971e5c90>, 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
2 changes: 1 addition & 1 deletion docs/guides/bit-ordering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down
14 changes: 7 additions & 7 deletions docs/guides/build-noise-models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"id": "fd07a3db-1aa2-4884-98db-6f68765c3edc",
"metadata": {},
"source": [
"source": [
"---\n",
"title: Build noise models\n",
"description: Learn how to build noise models for error management.\n",
Expand Down Expand Up @@ -37,8 +37,8 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit-ibm-runtime~=0.46.1\n",
"qiskit[all]~=2.4.2\n",
"qiskit-ibm-runtime~=0.47.0\n",
"qiskit-aer~=0.17\n",
"```\n",
"</AccordionItem>\n",
Expand Down Expand Up @@ -523,7 +523,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 @@ -570,7 +570,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 @@ -745,7 +745,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['measure', 'cx', 'reset', 'u2', 'u3', 'u1']\n",
" Instructions with noise: ['u2', 'u1', 'u3', 'reset', 'cx', 'measure']\n",
" All-qubits errors: ['reset', 'measure', 'u1', 'u2', 'u3', 'cx']\n"
]
}
Expand Down Expand Up @@ -855,7 +855,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u2', 'u3']\n",
" Instructions with noise: ['cx', 'measure', 'reset', 'u2', 'u3']\n",
" Instructions with noise: ['u2', 'u3', 'reset', 'cx', 'measure']\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
2 changes: 1 addition & 1 deletion docs/guides/circuit-library.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down
12 changes: 6 additions & 6 deletions docs/guides/circuit-transpilation-settings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit-ibm-runtime~=0.46.1\n",
"qiskit[all]~=2.4.2\n",
"qiskit-ibm-runtime~=0.47.0\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down Expand Up @@ -179,7 +179,7 @@
{
"data": {
"text/plain": [
"'ibm_marrakesh'"
"'ibm_fez'"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -386,9 +386,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"0.985\n",
"0.989\n",
"0.988\n"
"0.680\n",
"0.986\n",
"0.990\n"
]
}
],
Expand Down
20 changes: 10 additions & 10 deletions docs/guides/classical-feedforward-and-control-flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down Expand Up @@ -89,7 +89,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/101aaa8f-7061-4924-9b50-806d7e1ab728-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/f0f191a7-d59d-415f-a11b-9f39e431269b-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 1,
Expand Down Expand Up @@ -135,7 +135,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/1f6737fe-bc45-4d0c-b7b4-1096e2d7e14a-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/d40249f1-d951-49e4-9ee9-662d3568f32f-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -182,7 +182,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/37ec3fa6-04b5-4165-b8d2-bae5fd238331-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/6ccfd81b-0bda-409e-bd9a-116848df631b-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -228,7 +228,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/fc2bc3c3-eab1-41f0-b696-5e8b30155d55-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/04b82e33-7c95-4042-a5e9-d00ff075ca02-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -276,7 +276,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/a5d43b4c-c538-4f34-8cf3-92c2c0d26fdd-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/6aaba57e-7841-47d3-8f31-f922cb2b81f7-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -329,7 +329,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/53a26ce5-3564-47a0-8803-c9c46db86923-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/c6c91715-7a98-46a8-885e-92d3d1f99557-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 6,
Expand Down Expand Up @@ -374,7 +374,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/174a9675-3c8b-4b5e-808e-f7e0f8b9c805-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/c26465ff-5d3e-4799-8c68-c327abff5694-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 7,
Expand Down Expand Up @@ -488,7 +488,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/d2fdf38a-e874-4de1-9a79-08aab97f9ecc-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/a5d808f5-d424-4133-a557-89d2f2a2c853-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 9,
Expand Down Expand Up @@ -524,7 +524,7 @@
{
"data": {
"text/plain": [
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/f76db731-afa1-4777-9482-25376aa86175-0.avif\" alt=\"Output of the previous code cell\" />"
"<Image src=\"/docs/images/guides/classical-feedforward-and-control-flow/extracted-outputs/953fa3ca-f542-47ea-9cf2-36a616ecb7f7-0.svg\" alt=\"Output of the previous code cell\" />"
]
},
"execution_count": 10,
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/common-parameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit-ibm-runtime~=0.46.1\n",
"qiskit[all]~=2.4.2\n",
"qiskit-ibm-runtime~=0.47.0\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/construct-circuits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/create-transpiler-plugin.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down Expand Up @@ -556,7 +556,7 @@
{
"data": {
"text/plain": [
"['ag', 'bm', 'default', 'greedy', 'layers', 'lnn', 'rb_default']"
"['rb_default', 'ag', 'bm', 'default', 'greedy', 'layers', 'lnn']"
]
},
"execution_count": 7,
Expand Down
18 changes: 9 additions & 9 deletions docs/guides/custom-backend.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down Expand Up @@ -115,7 +115,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "b346f50b-b127-4074-99fc-7c53e3fbc022",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -404,10 +404,10 @@
"output_type": "stream",
"text": [
"Post-Transpilation: \n",
"CZ gates: 146\n",
"CZ gates: 182\n",
"ECR gates: 6\n",
"SX gates: 302\n",
"RZ gates: 250\n"
"SX gates: 327\n",
"RZ gates: 186\n"
]
}
],
Expand Down Expand Up @@ -586,10 +586,10 @@
"name": "stdout",
"output_type": "stream",
"text": [
"CZ gates: 834\n",
"X gates: 18\n",
"SX gates: 1534\n",
"RZ gates: 1150\n"
"CZ gates: 872\n",
"X gates: 21\n",
"SX gates: 1629\n",
"RZ gates: 1180\n"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/custom-transpiler-pass.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"We recommend using these versions or newer.\n",
"\n",
"```\n",
"qiskit[all]~=2.4.0\n",
"qiskit[all]~=2.4.2\n",
"```\n",
"</AccordionItem>\n",
"</Accordion>"
Expand Down
Loading