Stabilizer code Created 2026-09-24 Updated 2026-10-14
A stabilizer code is the common eigenspace of a stabilizer group , an abelian subgroup of the Pauli group excluding . Choose independent stabilizer generators on physical qubits. They are commuting Hermitian operators, each squaring to . The stabilizer subspace and its orthogonal projector are
The stabilizer-projector formula gives , so logical qubits remain. Independent here means that no nonempty product of the chosen stabilizer generators is . Excluding is necessary: a vector cannot simultaneously be fixed by and unless it is zero.
For the three-qubit bit-flip repetition code, take and , with the Pauli Z gate on site and identities elsewhere. The stabilizer group is . Both stabilizer generators have eigenvalue exactly on the span of and , giving dimensions for one logical qubit. A projective measurement of these checks distinguishes four orthogonal two-dimensional sectors rather than eight individual computational basis states.
A Pauli error that anticommutes with a stabilizer generator changes that check's sign, producing an error syndrome. A Pauli operator commuting with every check can still act on the logical qubits; the centralizer of a stabilizer group describes these possibilities. Thus the number of checks determines the encoded dimension, while the quantum code distance determines protection against arbitrary local errors. The five-qubit error correcting code, for instance, has four stabilizer generators and quantum code distance three; the three-qubit bit-flip repetition code has two checks but quantum code distance one because a single phase flip is unflagged. [ref].
For and normalized , filtering by succeeds with
The inequality follows by replacing each nonnegative by its minimum and using . Equality holds exactly when all occupied eigenvectors belong to the minimum-eigenvalue eigenspace. If , success is positive exactly for inputs outside the kernel of .
A real symmetric tensor of the special orthogonal group transforms as . If its vacuum expectation value has distinct eigenvalues with multiplicities , its stabilizer subgroup is : each transformation preserves each eigenspace and the product of the block determinants is one. Its identity component is . Thus a scalar multiple of the identity preserves the whole group, whereas a tensor with simple spectrum preserves only diagonal signs with total sign one. A tracelessness condition constrains the eigenvalues but does not change this stabilizer formula.
Trace distance Created 2026-09-24 Updated 2026-10-14
How different can two preparations look to someone who can perform any measurement in quantum mechanics? The trace distance answers this question for density operators on the same finite-dimensional vector space:
Here is the absolute value of an operator, and is its trace norm. Because is Hermitian, its trace norm is the sum of the absolute values of its eigenvalues; it is not the sum of the absolute values of its matrix entries. The factor gives
The trace distance is a metric: it is symmetric, vanishes exactly when , and obeys the triangle inequality. Identical preparations have trace distance zero; preparations with orthogonal occupied eigenspaces have trace distance one and can be identified perfectly in a single measurement in quantum mechanics.
Operationally, the trace distance is the largest total variation distance between the outcome probability distributions obtainable by a POVM. Equivalently, the variational characterization of trace distance says it is the largest possible probability gap for one event in a binary measurement in quantum mechanics. For one copy of either known preparation, each chosen with prior probability , the Holevo–Helstrom theorem gives
Thus trace distance zero leaves only guessing, while trace distance one permits perfect quantum state discrimination. The optimum ranges over measurements; different measurement bases can expose different amounts of distinguishability. [ref]
For a worked example with commuting density operators, take a qubit with
Their difference has eigenvalues , so . Measuring in the computational basis produces outcome probability distributions and , whose total variation distance is also . Guessing on outcome zero and on outcome one succeeds with probability . A projective measurement in the Hadamard basis instead produces for both preparations and gives no discrimination advantage.
The trace-distance contraction under quantum channels ensures that a common quantum channel, including the partial trace, cannot increase the trace distance. This makes trace distance a useful error measure: if , every event in every measurement in quantum mechanics has a probability gap at most . Losing access to a subsystem can hide distinguishability, but cannot create more of it.
Tripotent linear operator Created 2026-10-25 Updated 2026-10-31
For a linear operator on a real vector space, the identity gives an explicit eigenspace decomposition
Indeed, the linear operators
sum to . Their images lie respectively in the eigenspaces for , , and , since , , and . On each of these eigenspaces, its corresponding is the identity and the other two vanish, which proves uniqueness of the decomposition. Thus a finite-dimensional tripotent linear operator admits a diagonalization with diagonal entries in . The condition is equivalent to the presence of a nonzero eigenspace, and is equivalent to a nonzero kernel.
The zero-total- eigenspace of two spin one-half systems stores one logical qubit. Both basis states satisfy , so every collective dephasing rotation acts as the identity operator on their span. Also and , so simultaneous Pauli Z gates preserve every encoded density matrix. For independent rotations, the logical amplitudes instead acquire phases and , which generally alter their relative phase. The code is not a two-dimensional decoherence-free subspace for arbitrary collective rotations about all axes; the invariant two-spin singlet alone is only one-dimensional.
Variational characterization of trace distance Created 2026-09-28 Updated 2026-10-14
The variational characterization of trace distance turns a matrix distance into the best possible binary experiment. For density operators on the same finite-dimensional vector space,
An operator with is an effect of a POVM: both and are positive operators. The Born rule assigns the first outcome probabilities and . Their signed gap is , where . Since , replacing by reverses this gap, explaining the equality with the absolute-value maximum.
One optimal is the spectral projector onto the positive eigenspaces of . In the spectral decomposition of , this choice includes all positive eigenvalues and excludes all negative eigenvalues. Their positive sum equals the trace distance by the spectral-parts formula for trace distance. Any zero eigenspace can be assigned to either outcome without changing the gap. This is the effect selected by the equal-prior Holevo–Helstrom theorem. [ref]
The same optimum has a classical description. For any finite-outcome POVM , let and . Then
The expression is the total variation distance of the entire outcome probability distributions; the expression for is the gap for one event. Grouping outcomes in gives the single effect . Conversely, an effect gives the binary POVM , whose two probability gaps are opposites, so their total variation distance is . Thus the optimum over all POVMs is already attained by one binary projective measurement. [ref]
For quantum state discrimination with equal prior probabilities, declare on outcome and on outcome . Directly averaging the two conditional success probabilities gives
Optimizing this expression gives . For the diagonal example in trace distance, gives a gap . For zero versus plus, that same effect gives only , while the effect in Helstrom measurement for the zero and plus states gives the larger gap . The trace-distance-preserving binary measurement depends on the pair of preparations; a fixed measurement basis does not generally attain the trace distance for every pair.
A weight-space decomposition expresses a Lie algebra representation as a direct sum of simultaneous eigenspaces for a Cartan subalgebra. Each summand is the weight space for its weight. In complex finite-dimensional representations of a semisimple Lie algebra, the simple coroots act as commuting diagonalizable operators, giving this decomposition.