A topological stabilizer code is a quantum stabilizer code whose local commuting checks are arranged on a spatial lattice and whose logical information is encoded in global structure. Local errors create detectable syndrome patterns; a nontrivial logical operator typically requires a sufficiently extended chain or surface.
The toric code is a central example: products of Pauli operators around vertices and faces define the stabilizers, while noncontractible loops act on encoded qubits. Protection depends on code distance and an appropriate decoder, not on topology alone guaranteeing error-free storage.
Toric code Created 2026-09-24 Updated 2026-11-05
The toric code is a stabilizer code with a qubit on every edge of a two-dimensional lattice on a torus. A vertex check multiplies Pauli operators on its incident edges, while a face check multiplies Pauli operators around its boundary:
The checks commute because a vertex and face share either zero or two edges. The code is their common eigenspace, equivalently the space of ground states of
On the torus, gives two redundant checks. The remaining independent checks leave a four-dimensional code space, encoding two logical qubits. Products of Pauli operators around noncontractible loops act on that information. [ref]
A violated vertex or face check is an excitation. Open strings create pairs of excitations at their endpoints; closed noncontractible strings can change a logical state without creating local excitations. The electric and magnetic excitations are bosons with mutual full-braiding phase , while their composite is a fermion. [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 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.
For qubit density operators, the trace distance has a particularly simple geometry. Write their Bloch vectors as in the Bloch ball:
where is the identity operator and denotes the Pauli matrices. This Bloch vector representation includes both pure states on the Bloch sphere and mixed states in the interior of the Bloch ball. [ref]
The Pauli matrix multiplication law gives . Hence the two eigenvalues of are , and their absolute sum gives
The trace distance is half the straight-line Euclidean distance between the Bloch vectors, not the angular or surface distance along the Bloch sphere. Opposite Bloch vectors have trace distance one; the centre is at trace distance from every pure state.
For the pure states and , the Bloch vectors are and . Their straight-line separation is , so
These Bloch vectors are perpendicular, but the pure states are not orthogonal: . The Helstrom measurement for the zero and plus states measures along the difference direction , rather than along either input Bloch vector.
Figure 1.
Trace distance is half a Bloch-vector chord, and the optimal zero-versus-plus measurement follows the difference direction
. Details.
For the pure qubit , subtracting the output of dephasing channel leaves a Hermitian matrix with zero diagonal and off-diagonal modulus . Its two eigenvalues are that number and its negative, giving the displayed trace distance. For real , this is .
Trapped-ion internal and motional states Created 2026-10-18 Updated 2026-10-25
An internal qubit uses two distinguishable electronic or hyperfine structure quantum states, denoted . The ion's centre-of-mass motion has a different Hilbert space. In one approximately harmonic direction, a number state has energy , where denotes a motional angular frequency, not ordinary frequency. The tensor product of quantum systems gives . Cooling towards prepares motion; it does not automatically prepare the internal qubit. Nor does the ground state mean a stationary point particle: zero-point energy and position spread remain.
For several ions, Coulomb forces couple their displacements into collective normal modes. Each selected normal mode has its own quantum harmonic oscillator number states, while each ion retains internal qubit states. A pulse addressing one ion can change a shared mode. This supplies a route to correlations between distant internal quantum states; it also makes residual motional excitation and unwanted excitation of other normal modes relevant. A single-ion pulse calculation alone establishes no experimental multi-ion quantum gate performance.
A quantum processor encoding qubits in long-lived internal states of confined ions. Coherent drives implement single-qubit rotations; shared vibrational modes can mediate entangling gates. Individual fluorescence measurements distinguish bright and dark qubit levels. Mode crowding and residual spin-motion entanglement complicate gates as a single chain grows.
Trine qubit POVM 2026-10-14
Choose three pure qubit states whose unit Bloch vectors are coplanar, sum to zero and have pairwise angle degrees. The three effects sum to the identity, giving a POVM. If an input is the state orthogonal to or to , outcome one excludes the first input and outcome two excludes the second. Each conclusive outcome has probability one half on its corresponding input; the third outcome is inconclusive with probability one half on either input. This gives unambiguous quantum state discrimination, rather than identification on every trial.
Trine state ensemble 2026-10-25
Three equally weighted pure qubit states with coplanar unit Bloch vectors separated by degrees. One example is , with and . The roots-of-unity identity cancels the average off-diagonal matrix entries, so .
This is an ensemble of preparation states, whereas a trine qubit POVM consists of measurement effects . The POVM–ensemble duality for the maximally mixed state relates them but does not identify their operational roles.
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.
Two-bit remote state preparation on a graph-state path Created 2026-10-14 Updated 2026-11-05
Alice holds the first two qubits and Bob the third of a three-vertex graph-state wire. Alice measures at and , with outcomes , and sends these two bits. Bob applies , the inverse of the known Pauli frame , obtaining up to global phase. Bob need not know the angles. Every branch succeeds, with branch probability , and no postselection is needed. Alice's measurements and Bob's corrections constitute local operations and classical communication on the previously shared entangled resource.
Two-level sudden quench 2026-10-14
Take an isolated two-level system, or a spin one-half qubit, with Pauli matrices . Let and . The initial and final Hamiltonian operators are
The energy gaps are . Prepare the initial ground state , with energy eigenvalue . A final orthonormal eigenbasis is
Direct matrix multiplication gives and . The unchanged initial quantum state is . Its new probability amplitudes are the inner products ; the Born rule gives . The angle between the real amplitude vectors is , whereas the Hamiltonian axis on the Bloch sphere rotates through .
Figure 1.
Fixed quantum state, rotated eigenbasis, and sudden-quench Born rule probabilities
. Original two-level sudden quench calculation. The left panel shows real amplitude coordinates, not spatial directions or the Bloch sphere. Dashed perpendicular projections give signed probability amplitudes; the right panel squares them. At , the final ground state and excited-state probabilities are and . Source. Details.
At , and , so the final energy measurement gives with probability and with probability . At the initial ground state remains the final ground state; at it is the final excited energy eigenstate. These statements are about the new energy labels, not an instantaneous physical rotation of the quantum state.
Two-outcome LOCC dilution of a Bell pair Created 2026-10-14 Updated 2026-10-20
Let and . Starting from the Bell state , Alice applies the measurement in quantum mechanics with Kraus operators displayed above. Completeness follows from . Each outcome has probability . The normalized outputs are and . Communicating the outcome allows both parties to apply a Pauli X gate in the second branch, making both outputs equal to the first. Thus this LOCC protocol deterministically converts one Bell pair into any two-qubit pure state with these Schmidt coefficients, after appropriate local unitary operations. It includes the product state endpoint without postselection.
Two-qubit gate Created 2026-10-07 Updated 2026-11-05
A two-qubit gate is a unitary operator on two qubit lines, extended by the identity on the others. It may be entangling, as a CNOT gate is, or a product of local operations. In a Hamiltonian simulation model allowing arbitrary two-qubit gates, the exponential of a Hermitian term supported on two lines counts as one such gate. Compiling it into a fixed discrete universal quantum gate set introduces a separate approximation cost.
For normalized pure states , a two-member quantum state ensemble gives the maximally mixed state of a qubit exactly when its members are orthogonal and equally probable. To prove necessity, take expectation values of its density matrix in the two members: and . Hence and the overlap vanishes. Sufficiency is the resolution of the identity in an orthonormal basis.
Unary quantum clock Created 2026-10-06 Updated 2026-11-05
A unary quantum clock represents step of a -gate circuit by . Clock strings are orthogonal, and adjacent legal strings differ at one qubit. Local patterns around that change permit a history-subspace propagation Hamiltonian with bounded locality.
The rotation-invariant average of pure qubit states is uniform area measure on the Bloch sphere, induced by Haar measure on unitary transformations. For a uniformly distributed unit Bloch vector , rotational symmetry gives and . Uniform polar angle without the factor is a different distribution.
Uniform quantum superposition Created 2026-09-29 Updated 2026-11-05
A uniform quantum superposition assigns the same probability amplitude to each computational-basis state. For qubits, there are such states.
The uniform quantum superposition of all -bit strings is
The factor follows from normalization: squared amplitudes must sum to one. This state is the product state , so a large number of nonzero basis amplitudes does not by itself imply entanglement. A computational-basis measurement returns one string with probability ; it does not reveal all amplitudes. [ref]
Universal NOT gate 2026-10-25
The ideal universal NOT map sends every qubit Bloch vector to , taking a pure state to its orthogonal pure state. It is a trace-preserving positive map but not a quantum channel: applied to one half of a Bell state, it produces an operator with a negative eigenvalue. A physical approximation can reverse all directions with factor using the equal mixture of conjugations by the three Pauli matrices. The isotropic qubit map complete-positivity bound proves that a larger uniform reversal is impossible among such isotropic maps.
Walsh-Hadamard transform Created 2026-09-29 Updated 2026-11-05
On qubits, the Walsh-Hadamard transform satisfies
where the dot product is evaluated modulo two.