Error Correction
Pauli Errors
The basic error types X, Z and Y: bit flips, phase flips and both together, from which all single-qubit errors are built.
Definition
Pauli errors are the three basic kinds of single-qubit error: the bit flip X, the phase flip Z, and the combination Y. Because any single-qubit error can be written as a combination of these and the identity, quantum error-correcting codes are designed to detect and correct them.
In depth
An X error swaps |0⟩ and |1⟩, a Z error flips the sign of |1⟩, and a Y error does both, up to a phase, since Y = iXZ. The three-qubit bit-flip code corrects X errors only, and a rotated version corrects Z errors only. Shor's nine-qubit code combines them to correct any single-qubit Pauli error.
The digitisation idea matters. Suppose a qubit suffers a small over-rotation by an angle ε about the X axis, giving cos(ε/2) I − i sin(ε/2) X. A syndrome measurement collapses this into either no error, with probability cos²(ε/2), or a full X error, with probability sin²(ε/2), and the code then corrects the full X. So a continuous error becomes a discrete one.
A common noise model in simulations is depolarising noise: with probability p the qubit suffers a random Pauli error, X, Y or Z each with probability p/3. This model is simple and gives useful estimates of code performance, though real devices also show leakage, crosstalk and correlated errors, discussed in our hardware lessons.
Technical Definition
Any single-qubit error operator E can be expanded as E = aI + bX + cY + dZ. When a stabilizer code measures its syndrome, this superposition of errors collapses to one definite Pauli error or none. This digitisation of errors is why correcting only X and Z errors suffices to correct any single-qubit error, including small continuous rotations.
Visual Explanation: An Analogy
Think of the possible ways a coin can go wrong: it could flip heads to tails, or it could be slightly tilted in a way that only matters when combined with other coins. Pauli errors are the standard list of the first kind and the second, and everything else is a mix of them.
Key facts
| Item | Detail |
|---|---|
| Types | X (bit flip), Z (phase flip), Y (both) |
| Relation | Y = iXZ |
| Digitisation | Syndrome measurement turns continuous errors into Pauli errors |
| Depolarising noise | Each Pauli with probability p/3 |
Where the idea comes from
The digitisation of errors was a key insight of the 1995 and 1996 papers by Shor, Steane, and Calderbank and Shor, which showed that correcting a discrete set of errors suffices.
Real-World Use Cases
- Defining the error models in which codes are analysed
- Building stabilizer codes that detect X and Z errors separately
- Modelling noise in simulations and benchmarks
How it differs from related ideas
- Classical bits suffer only flips, while qubits also suffer phase errors.
- Coherent errors, such as small rotations, are not random flips but become effectively random after syndrome measurement.
Common Misconceptions
- Real errors are not only discrete flips. Error correction works because measuring a syndrome turns continuous errors into discrete Pauli ones.
- A Z error does not change the probabilities of 0 and 1, but it can still ruin a computation by changing interference.
Frequently asked questions
What are the three Pauli errors?
X, Y and Z, plus the identity for no error.
Why only Paulis?
Any single-qubit error is a combination of them, and syndrome measurement collapses it to one.
What is depolarising noise?
A model in which a random Pauli error occurs with some probability.
Related Terms
- Pauli Gates (X, Y, Z)
- Stabilizer Code
- Quantum Error Correction
- Three-Qubit Bit-Flip Code
- Syndrome Measurement
- Decoherence