Spin expectation value 2026-10-14
For spin one-half, choose the normalized spin eigenstates with . The spin one-half along an axis pure state in the plane isIts norm is one because the two eigenstates are orthogonal and . Applying the Born rule to a projective measurement givesConsequently the expectation value, second moment, and variance areAt , the outcome probabilities are and , the mean is , and the variance is . Every individual outcome remains . At , the mean is zero and the variance is maximal, . At either pole, one outcome has probability one and the variance vanishes.
Spin expectation value between the two possible outcomes
. Original calculated Born rule distributions at three preparation angles. Bar heights are outcome probabilities; the dashed orange line marks the expectation value, whose horizontal position is usually not an allowed outcome. Spin values are expressed in units of the reduced Planck constant. No bars represent experimental observations. Source. Details.The diagonal mixed state has the same probabilities, expectation value, and variance as . It is nevertheless a different quantum state for : the displayed pure state has , while has . A single component's mean does not reveal all relative quantum phases or establish purity of a density operator.
Spin measurement 2026-10-18
For a spin one-half system, an ideal projective measurement along a unit vector measures . Its eigenvalues are , corresponding to physical spin angular momentum components , and its orthogonal projections are . For density matrix , the Born rule and the Pauli matrix multiplication law give the displayed probabilities. Thus a spin measurement along one direction tests only that component of the Bloch vector; measurements along three independent directions determine the entire density matrix.
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 areThe 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]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.9.1: stabilizers, syndromes and logical operators
. State-selective fluorescence detection Created 2026-10-25 Updated 2026-11-05
A readout in which one logical quantum state is coupled to an optical cycling transition and scatters many photons, while another is dark. An ideal bright/dark record implements a projective measurement in the logical basis. Neglecting that record removes their relative quantum coherence. Missed photons, off-resonant excitation and pumping out of the logical subspace qualify the ideal model.
Stern-Gerlach spin measurement 2026-10-25
The ideal projective measurement of a spin-one-half component along a unit axis . The two outcomes have Born rule probabilities . For an input with Bloch vector , they are . This model distinguishes a mathematical spin measurement from engineering a literal free-electron beam splitter.
Three-qubit bit-flip syndrome table 2026-10-14
Measure the commuting stabilizer generators and in that order. Use error syndrome bit for eigenvalue and bit for eigenvalue . For the Pauli X gate on physical qubit , every row holds for arbitrary normalized . This ordered parity-check convention follows [ref]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.1
:| Error | State before recovery | eigenvalues | Error syndrome | Recovery |
|---|---|---|---|---|
Each pair of computational basis words within a row has the same two parities. Consequently the projective measurement reveals the row without distinguishing its two amplitudes. For example, becomes under . Both checks give with probability one, and applying restores both coefficients exactly, including the relative phase .
One implementation uses two quantum ancillas initialized to . Two controlled-NOT gates from data qubits 1 and 2 to the first quantum ancilla write their parity; two more from data qubits 2 and 3 to the second quantum ancilla write the other parity. Measuring only the quantum ancillas in the computational basis gives . Measuring the individual data qubits instead would reveal the encoded computational basis value and destroy the unknown quantum superposition. The existing coherent syndrome extraction for the three-qubit repetition code uses the alternative ordered checks , so its bit labels differ from this table.
The recovery also handles coherent errors. Put . Their images of the code are mutually orthogonal, giving , the Knill--Laflamme condition for this family. For any linear combination , its component in sector is . Measuring that error syndrome has probability on the normalized erroneous state, and recovery returns . More generally one recovery quantum channel corrects every noise quantum channel whose Kraus operators belong to this span. The assumption concerns the whole jointly correctable family; it does not extend to the span of arbitrary single-site Pauli errors. [ref]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.2: correction of an error span
.A fully computed coherent example is the unitary operator . At it givesThe error syndromes and occur with probabilities and , independently of . Doing nothing for and applying for restores the same logical qubit in both branches; the scalar in the second branch is an irrelevant global phase. This is an example of linearity of coherent quantum error correction, rather than an assumption that the original error was a classical random bit flip.
Time-evolution operator Created 2026-10-03 Updated 2026-10-18
The time-evolution operator maps an initial quantum state to its state at a later time. For a time-independent Hamiltonian operator , it is the unitary operator .
More generally, write . The time-evolution operator obeysFor a constant self-adjoint Hamiltonian operator, . With zero as the initial time, this gives the group law . Successive evolution is reversible; a measurement followed by conditioning on an outcome is a separate operation described by projective measurement.
For a time-dependent Hamiltonian operator, the defining equation is . In finite dimension, a continuous Hermitian still gives unitary time evolution, sinceThe solution is a time-ordered exponential, with later factors acting on the left. One may replace it by when at all times; independently changing pulse axes generally requires time ordering.[ref]
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 givesThe 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 givesThus 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]
https://cs.uwaterloo.ca/~watrous/TQI/TQI.3.pdf. Watrous, The Theory of Quantum Information, §3.1, Theorem 3.4 and Proposition 3.5
For a worked example with commuting density operators, take a qubit withTheir 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.
For , a projective measurement of the number of ones in one party's local qubits gives a common type class of size . The conditional pure state is . It can be converted exactly and deterministically to a uniform common-label state of any dimension : one party measures an -element subset with Kraus operator , and all parties relabel their common retained labels after receiving . Choosing gives independent GHZ states. Stirling's formula and the weak law of large numbers give in probability. Measuring every local bit separately would instead destroy the coherence and leave a product state.
After a computational-basis projective measurement, an observer who lacks the result assigns a diagonal density matrix. If the observer's preparation prior has mean , the assignment is the displayed matrix. No outcome record and no stated prior do not logically force ; that value follows from a symmetric or maximum-entropy ignorance convention. An observer who knows the preparation instead uses .
Unitary dilation of a measurement instrument 2026-10-14
For Kraus operators satisfying , the map is an isometry. Implement it by a unitary operator on the system and a quantum ancilla, initially in an extra unused state . Projecting the output quantum ancilla onto gives joint unnormalized state . The outcome probability is , and the conditional system state is divided by this probability. The unused level can be merged into the first orthogonal projection without changing any outcome on the prepared state, giving a complete projective measurement with exactly the original outcome labels.
// Target: quantum-theory.bigb
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]
https://cs.uwaterloo.ca/~watrous/TQI/TQI.3.pdf. Watrous, The Theory of Quantum Information, Theorem 3.4, equations (3.16)–(3.19)
The same optimum has a classical description. For any finite-outcome POVM , let and . ThenThe 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]
https://cs.uwaterloo.ca/~watrous/TQI/TQI.3.pdf. Watrous, The Theory of Quantum Information, §3.1.1, Proposition 3.5 and the discussion following Theorem 3.4
For quantum state discrimination with equal prior probabilities, declare on outcome and on outcome . Directly averaging the two conditional success probabilities givesOptimizing 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.
Wave function collapse 2026-11-05
Wave function collapse describes the conditional change of a quantum state associated with a measurement outcome. For an ideal projective measurement with projector , the outcome probability is and the conditional state is when , according to the Lüders rule.
If the outcome is ignored, the state becomes , which is generally a mixture rather than any one conditional state. These are different information conditions. General measurement instruments can produce other state changes with the same outcome probabilities, so the ideal projection rule is a specified measurement model. Its physical interpretation is part of the quantum measurement problem.

