Skip to content

Commit 0941e25

Browse files
Stabilizers demo typos (#1627)
I caught a few typos as I was reading the demo. Nothing major, but would be nice to fix them anyways. Co-authored-by: Paul Finlay <50180049+doctorperceptron@users.noreply.github.com>
1 parent 7e608d5 commit 0941e25

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

demonstrations_v2/tutorial_stabilizer_codes/demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
State-of-the-art quantum devices, such as IBM's Condor and Atom Computing's optical lattices, contain more than
66
a thousand qubits. Does this qubit count suffice for valuable quantum algorithms with clear speedups?
77
The reality is that there is more to the story than the sheer number of qubits. As we currently stand, quantum
8-
devices are still prone to errors that increase with device size. For this reason, **quantum error correction**--one of the most important domains in the universe of quantum computing--has
8+
devices are still prone to errors that increase with device size. For this reason, **quantum error correction**-one of the most important domains in the universe of quantum computing-has
99
been gaining traction.
1010
1111
Quantum error correction is implemented through **error correction codes,** which come in many varieties that address different error types.
@@ -506,7 +506,7 @@ def classify_pauli(operator, logical_ops, generators, n_wires):
506506
# -----------------------------------
507507
#
508508
# The 5-qubit code, also called as Laflamme's code [#Laflamme1996]_, holds a special place as the smallest
509-
# error correcting code capable of correcting arbitrary Pauli Errors--unwanted applications of :math:`X,` :math:`Y,` or :math:`Z`
509+
# error correcting code capable of correcting arbitrary Pauli Errors---unwanted applications of :math:`X,` :math:`Y,` or :math:`Z`
510510
# gates on a single qubit. In this section, we will build and implement the complete error correction procedure
511511
# starting from its stabilizer generators:
512512
#
@@ -558,7 +558,7 @@ def classify_pauli(operator, logical_ops, generators, n_wires):
558558
#
559559
# \vert \bar{1}\rangle = X_1 X_2 X_3 X_4 X_5 \vert \bar{0} \rangle.
560560
#
561-
# The logical operators bit-flip and phase-flip are for this code are :math:`\bar{X}= X^{\otimes 5}` and :math:`\bar{Z}=Z^{\otimes 5}.``
561+
# The logical operators bit-flip and phase-flip are for this code are :math:`\bar{X}= X^{\otimes 5}` and :math:`\bar{Z}=Z^{\otimes 5}.`
562562
#
563563
# Let us implement this encoding circuit in PennyLane.
564564

demonstrations_v2/tutorial_stabilizer_codes/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"executable_stable": true,
1212
"executable_latest": true,
1313
"dateOfPublication": "2025-08-19T09:00:00+00:00",
14-
"dateOfLastModification": "2025-10-15T00:00:00+00:00",
14+
"dateOfLastModification": "2025-12-19T00:00:00+00:00",
1515
"categories": [
1616
"Algorithms",
1717
"Quantum Computing",

0 commit comments

Comments
 (0)