Skip to content

Commit

Permalink
Fixed documentation typo regarding the number of CNOT gates for the s…
Browse files Browse the repository at this point in the history
…teane code (#334)

## Description

Fixed type regarding the number of CNOT gates for the steane code

## Checklist:

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.
  • Loading branch information
lsschmid authored Nov 28, 2024
1 parent ef2c8ff commit 2399ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/StatePrep.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"id": "a648f3c7-1002-423d-99b9-f4d15b0d4cc3",
"metadata": {},
"source": [
"We see that the minimal number of CNOTs required to prepare the logical $|0\\rangle_L$ circuit of the Steane code is $7$.\n",
"We see that the minimal number of CNOTs required to prepare the logical $|0\\rangle_L$ circuit of the Steane code is $8$.\n",
"\n",
"## Synthesizing FT state preparation circuits\n",
"The circuit above is not fault-tolerant. For example, an $X$ error on qubit $q_1$ before the last CNOT propagates to a weight $2$ X error on $q_1$ and $q_2$. This is to be expected since we apply two-qubit gates between the qubits of a single logical qubit. \n",
Expand Down

0 comments on commit 2399ab9

Please sign in to comment.