Skip to content

Commit faecd6f

Browse files
miamicoabbycross
andauthored
Fix real-time benchmarking tutorial warnings (#3896)
Add text to explain the possibility of warnings arising in the execution of qubit characterization experiments --------- Co-authored-by: ABBY CROSS <[email protected]>
1 parent f5761b3 commit faecd6f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/tutorials/real-time-benchmarking-for-qubit-selection.ipynb

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"Before starting this tutorial, be sure you have the following installed:\n",
4747
"\n",
4848
"- Qiskit SDK v1.0 or later, with visualization support ( `pip install 'qiskit[visualization]'` )\n",
49-
"- Qiskit Runtime 0.29 or later ( `pip install qiskit-ibm-runtime` )\n",
50-
"- Qiskit Experiments 0.7 or later ( `pip install qiskit-experiments` )\n",
49+
"- Qiskit Runtime v0.29 or later ( `pip install qiskit-ibm-runtime` )\n",
50+
"- Qiskit Experiments v0.7 or later ( `pip install qiskit-experiments` )\n",
5151
"- Rustworkx graph library (`pip install rustworkx`)"
5252
]
5353
},
@@ -142,7 +142,7 @@
142142
"id": "16948f21-a39b-4444-bf02-5f81331825c4",
143143
"metadata": {},
144144
"source": [
145-
"### Setting up backend and coupling map"
145+
"### Set up backend and coupling map"
146146
]
147147
},
148148
{
@@ -218,7 +218,7 @@
218218
"\n",
219219
"#### Single-qubit and two-qubit randomized benchmarking\n",
220220
"\n",
221-
"[Randomized benchmarking](https://qiskit-community.github.io/qiskit-experiments/manuals/verification/randomized_benchmarking.html) is a popular protocol for characterizing the error rate of\n",
221+
"[Randomized benchmarking (RB)](https://qiskit-community.github.io/qiskit-experiments/manuals/verification/randomized_benchmarking.html) is a popular protocol for characterizing the error rate of\n",
222222
"quantum processors. An RB experiment consists of the generation of random Clifford\n",
223223
"circuits on the given qubits such that the unitary computed by the circuits is the\n",
224224
"identity. After running the circuits, the number of shots resulting in an error (that is, an output different from the ground state) are counted, and from this data one can infer error estimates for the quantum device, by calculating the Error Per Clifford."
@@ -498,7 +498,11 @@
498498
"source": [
499499
"### Execute a quantum circuit with real-time qubit selection\n",
500500
"\n",
501-
"In this section, we'll investigate the importance of having updated information on qubit properties of the QPU for optimal results. First, we'll carry out a full suite of QPU characterization experiments ($T_1$, $T_2$, SPAM, single-qubit RB and two-qubit RB), which we can then use to update the backend properties. This allows the pass manager to select qubits for the execution based on fresh information about the QPU, possibly improving execution performances. Second, we execute the Bell pair circuit and we compare the fidelity obtained after selecting the qubits with update QPU properties to the fidelity we obtained before when we use the default reported properties for qubit selection."
501+
"In this section, we'll investigate the importance of having updated information on qubit properties of the QPU for optimal results. First, we'll carry out a full suite of QPU characterization experiments ($T_1$, $T_2$, SPAM, single-qubit RB and two-qubit RB), which we can then use to update the backend properties. This allows the pass manager to select qubits for the execution based on fresh information about the QPU, possibly improving execution performances. Second, we execute the Bell pair circuit and we compare the fidelity obtained after selecting the qubits with update QPU properties to the fidelity we obtained before when we use the default reported properties for qubit selection.\n",
502+
"\n",
503+
"<Admonition type=\"caution\">\n",
504+
"Note that some of the characterization experiments might fail when the fitting routine cannot fit a curve to the measured data. If you see warnings coming from these experiments, inspect them to understand which characterization failed on which qubits, and try adjusting the parameters of the experiment (like the times for $T_1$, $T_2$, or the number lengths of RB experiments).\n",
505+
"</Admonition>"
502506
]
503507
},
504508
{

0 commit comments

Comments
 (0)