Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit 7a56ab3

Browse files
committed
added TOC to CNOT-Dihedral RB tutorial
1 parent 0383734 commit 7a56ab3

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

qiskit/advanced/ignis/5d_cnot_dihedral_rb.ipynb

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,12 @@
2323
"\n",
2424
"This notebook gives an example for how to use the ``ignis.verification.randomized_benchmarking`` module in order to perform interleaved RB.\n",
2525
"\n",
26-
"This notebook contains the following steps.\n",
26+
"## Table of Contents\n",
2727
"\n",
28-
"1) Select the parameters for the non-Clifford CNOT-Dihedral RB and generate the RB sequences.\n",
29-
"\n",
30-
"2) Execute the RB circuits using Qiskit Aer Simulator (with some noise model).\n",
31-
"\n",
32-
"3) Fit the results and calculate the fidelity.\n",
33-
"\n",
34-
"4) Possible generalizations: generate non-Clifford CNOT-Dihedral RB sequences for interleaved RB and purity RB."
28+
"1. [Select the parameters and generate CNOT-Dihedral RB sequences](#gen_RB_seq)\n",
29+
"2. [Execute CNOT-Dihedral RB sequences](#ex_RB_seq)\n",
30+
"3. [Fit CNOT-Dihedral RB results](#fit_RB)\n",
31+
"4. [Generate interleaved and purity CNOT-Dihedral RB sequnces](#int_pur_RB)"
3532
]
3633
},
3734
{
@@ -58,7 +55,7 @@
5855
"cell_type": "markdown",
5956
"metadata": {},
6057
"source": [
61-
"## 1.1) Select the parameters of the non-Clifford CNOT-Dihedral RB run\n",
58+
"## 1.1) Select the parameters of the non-Clifford CNOT-Dihedral RB run <a name='gen_RB_seq'></a>\n",
6259
"\n",
6360
"First, we need to choose the regular RB parameters:\n",
6461
"\n",
@@ -236,7 +233,7 @@
236233
"cell_type": "markdown",
237234
"metadata": {},
238235
"source": [
239-
"## 2) Define the noise model and execute the RB circuits\n",
236+
"## 2) Define the noise model and execute the RB circuits <a name='ex_RB_seq'></a>\n",
240237
"\n",
241238
"We define a noise model for the simulator. To simulate decay, we add depolarizing error probabilities to the CNOT and U gates."
242239
]
@@ -350,7 +347,7 @@
350347
"cell_type": "markdown",
351348
"metadata": {},
352349
"source": [
353-
"## 3) Fit the results\n",
350+
"## 3) Fit the CNOT-Dihedral RB results <a name='fit_RB'></a>\n",
354351
"\n",
355352
"We fit the results of the non-Clifford CNOT-Dihedral Z RB circuits and the non-Clifford CNOT-Dihedral X RB circuits into an exponentially decaying function and obtain the Errors per group element $\\alpha_Z$ and $\\alpha_R$ of the Z and X sequences respectively."
356353
]
@@ -583,7 +580,7 @@
583580
"cell_type": "markdown",
584581
"metadata": {},
585582
"source": [
586-
"## 4.1) Generating interleaved non-Clifford cnot-dihedral sequences\n",
583+
"## 4.1) Generate interleaved non-Clifford cnot-dihedral sequences <a name='int_pur_RB'></a>\n",
587584
"\n",
588585
"We provide the same parameters as before including a list of interleaved gated.\n",
589586
"\n",
@@ -825,7 +822,7 @@
825822
"cell_type": "markdown",
826823
"metadata": {},
827824
"source": [
828-
"## 4.2) Generating purity non-Clifford cnot-dihedral sequences\n",
825+
"## 4.2) Generate purity non-Clifford cnot-dihedral sequences\n",
829826
"\n",
830827
"We provide the same parameters as before and the following parameter for purity rb.\n",
831828
"\n",

0 commit comments

Comments
 (0)