Pauli errors and error-basis expansion
Expand physical qubit noise in an operator basis while distinguishing coherent rotations, stochastic channels, and leakage.
On this page
The question for today
What you’ll understand
- Derive Pauli expansion coefficients using the trace inner product.
- Distinguish an operator amplitude from a classical error probability.
- State the noise and Hilbert-space assumptions behind a correctable error set.
An imperfect qubit need not suffer a literal classical bit flip. A small detuning can rotate its phase continuously, and entanglement with an unobserved environment can turn a pure state into a mixture. Quantum error correction becomes manageable because operators on a finite Hilbert space have finite bases. This mathematical reduction identifies which error components a code must handle; it does not assert that every physical fault occurs independently or that every possible disturbance is correctable.
Four matrices span qubit operators
Use the computational basis and the Pauli matrices , with . They are orthogonal under the trace inner product: multiplying two equal Paulis gives trace two, while distinct ones give trace zero. Therefore even a nonunitary two-by-two matrix has a unique expansion in these four operators. Complex coefficients are allowed. Hermitian matrices have real coefficients, but a Kraus operator describing one environmental outcome generally need not be Hermitian.
For several qubits, tensor products of the four matrices form an operator basis. The weight of a Pauli string counts its nonidentity factors, rather than the number of negative signs or imaginary coefficients. An interaction confined to one specified qubit expands in identity and the three Paulis on that site. A joint interaction on many sites can require high-weight strings. Finite basis size alone supplies no useful bound on those components or on their correlations across successive operations.
A rotation is not a sampled Pauli
A coherent phase error is a unitary rotation with a definite relative phase between its identity and phase-flip components. Replacing it by a random phase flip discards interference terms in the density operator. The two descriptions can agree for a particular measured probability and disagree for a different observable or for repeated applications. A fixed small overrotation accumulates its angle on repetition; independently sampled faults instead accumulate probabilities according to their specified stochastic process.
A general channel on the retained qubit can be written as a sum over Kraus operators, each expanded in the Pauli basis. Trace preservation constrains the entire Kraus set. It does not turn the expansion coefficients of an individual operator into four probabilities. A Pauli channel is the special case with nonnegative weights multiplying Pauli conjugations. Such a model may be justified by deliberate randomization or an approximation, but the justification must accompany any numerical error-rate calculation.
Correct a span, then audit the model
If one recovery corrects every operator in an error set and all their linear combinations on a code, an unknown superposition of those errors is covered. This is why a code correcting arbitrary single-site Pauli errors can correct an arbitrary qubit error on one site. The requirement concerns one common recovery, including cross terms between errors; separately finding an inverse for each known error is insufficient when the actual error is unknown.
The conclusion stops at the modeled Hilbert space and error support. Leakage into an additional energy level is not an operator acting solely within a two-dimensional qubit space. Reset errors, correlated crosstalk, and environment memory require corresponding models. Nor does correcting one error imply correcting two simultaneous errors. Before counting failures, state whether locations are independent, whether the channel is coherent or stochastic, and whether initialization and readout are included. These assumptions become part of the eventual protection claim.
Work it through
Resolve a coherent phase rotation
A qubit begins in and undergoes . Find the Pauli amplitudes and the probability of the outcome in an ideal X measurement.
Substitute half the angle: the identity amplitude is and the Z amplitude is . Their relative complex phase remains part of one unitary operator.
Because , the output is . These two states are orthonormal X eigenstates, so this measurement directly resolves their squared amplitudes.
The negative outcome has probability . Nevertheless the state remains pure. Its Bloch coordinates are , whereas random Z with probability one quarter gives .
The amplitudes are square-root-three over two and minus i over two; the negative X probability is one quarter, without conversion of the rotation into a stochastic channel.
The living notebook
Explore the model
Interactive lab · quantum
Coherent phase keeps a pure state
For each fresh run Reset and set both controls. Compare mixing angle with phase against mixing angle with phase . Predict equal basis probabilities but Bloch coordinates changing from to . The lab represents one pure qubit, not a noise mixture or error-correction circuit.
- Probability |0⟩
- 71.1%
- Probability |1⟩
- 28.9%
- Bloch (x, y, z)
- 0.78, 0.45, 0.42
A normalized two-level pure state, not an interacting field simulation. Playback adds one radian per second to the relative phase; basis probabilities stay fixed. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forEqual computational-basis probabilities can conceal a coherent phase rotation; the lab does not implement Kraus noise.
Pause & reason
Check your understanding
Your turn
Try it yourself
Expand in . Check the two off-diagonal entries explicitly and decide whether A itself can be a unitary error.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Match the diagonal sum and difference first. Keep the factor of i in the Y matrix when matching the off-diagonal entries.
Compare with the solution
The diagonal entries give and . Their off-diagonal counterparts give and , so . Indeed . The first column has squared norm thirteen, so A is not unitary. This expansion is a statement about an operator basis, not a claim that A alone is a normalized physical channel.
Keep the idea
Take it with you
- Pauli expansion is exact within the declared qubit Hilbert space.
- Coherent amplitudes and stochastic error probabilities carry different information.
- Correctability depends on a common recovery and an explicit error set.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.