Quantum state ray 2026-10-14
A quantum state ray is the equivalence class of nonzero vectors in a complex Hilbert space under multiplication by a nonzero complex number. Its span is a one-dimensional linear subspace, but the zero vector is not a state representative. A unit vector fixes the norm and leaves a global phase free. [ref]
For a nonzero representative , the associated pure state density operator is
Replacing by multiplies both numerator and denominator by , so the quotient is unchanged. In particular, for every POVM effect ,
This proves that a global phase changes no measurement probability. Changing the relative quantum phase of two nonzero components can change the density operator, as the following comparison shows.
Quantum theory Created 2026-09-24 Updated 2026-10-13
Quantum theory supplies a common language for quantum mechanics, measurement in quantum mechanics, and quantum information: prepare a quantum state, transform it, and ask which experimental outcomes occur. In a finite-dimensional idealization, a pure state is a normalized vector of complex numbers. Its entries are probability amplitudes; the Born rule turns their squared magnitudes into probabilities. Between measurements, an isolated system evolves by a unitary operator, preserving its norm and inner products. A quantum circuit makes this evolution explicit as a sequence of quantum gates.
The extra information carried by quantum phases is essential. Relative quantum phases affect how probability amplitudes add when different contributions reach the same output. Their interference can enhance one outcome and cancel another. A global phase, multiplying the entire quantum state by the same complex factor of magnitude one, changes neither these relative phases nor observable predictions. The Hadamard gate below provides a small experiment in which this distinction becomes a deterministic change of output.
Quantum coherence describes this capacity to interfere relative to a specified orthonormal basis. In a density matrix, it appears in off-diagonal entries; a diagonal mixed state retains the populations but lacks that basis coherence. Thus matching the probabilities of one measurement need not match the predictions of a later experiment. Baumgratz, Cramer, and Plenio made this basis-dependent viewpoint precise in their resource framework for quantum coherence. [ref].
This makes quantum information an operational question: which distinctions can a preparation, an available unitary operator, and measurement in quantum mechanics reveal? Amplitude amplification illustrates how carefully arranged interference converts a weakly represented answer into a likely observable result. Preserving the relevant quantum coherence throughout the computation is part of the physical task. [ref].
Qubit state Created 2026-09-24 Updated 2026-10-14
A qubit state specifies measurement probabilities, rather than a pre-existing answer to every possible measurement. For a pure state, normalized vectors differing by a global phase represent the same physical state:
Equivalently, the pure state is a ray: the one-dimensional complex linear subspace spanned by any nonzero representative. Dividing a nonzero vector by its norm fixes its length, but leaves the global phase free. The density operator is unchanged because . In contrast, multiplying only one nonzero component by changes a relative quantum phase and can change measurement probabilities. [ref].
After choosing a global phase, every pure state of a qubit can be written
At or , the parameter does not distinguish physical states: only one component survives. Elsewhere it is the relative quantum phase. The corresponding unit Bloch vector is on the existing Bloch sphere. Its angles describe a space of states; for a photon polarization qubit they are not the photon's position or direction of travel. [ref].
The Born rule in the computational basis gives and . These probabilities discard . In the Hadamard basis , adding or subtracting the probability amplitudes instead gives
This last equality follows by substituting the angular representative. In the basis , the same calculation gives
Thus both the real and imaginary parts of quantum coherence can be observed, using different measurement settings. For example, and both give , but the first gives and the second . A global phase could never cause this difference.
Figure 1.
Identical computational-basis probabilities can hide different relative phases and coherence
. Exact model probabilities for , compared with the incoherent mixture . Each curve requires repeated preparations measured in the indicated basis; these are not experimental data. Details.
For a general qubit state, write its density matrix in the computational basis as
These are exactly the Hermitian, unit-trace, positive semidefinite constraints. Positivity means every eigenvalue is nonnegative, not that every matrix entry is nonnegative. The general definition is given in density matrix. [ref].
For this two-by-two matrix, the explicit constraint follows from its determinant, : with trace one, a nonnegative determinant and real eigenvalues rule out a negative eigenvalue. Its eigenvalues are
The pure states have and eigenvalues ; the mixed states have strict inequality and two positive eigenvalues. For a normalized representative, and . A statistical preparation , with and , averages probabilities, rather than adding probability amplitudes. Such a preparation is mixed if the positive-weight vectors do not all represent the same ray. A reduced density matrix of an entangled pair can also be mixed even when the pair has a pure state. [ref].
For a concrete check, the pure state and the mixed state obtained by preparing with probability and with probability have
Both have trace one and the same computational-basis measurement probabilities. Their eigenvalues are respectively and ; the respective values of their purity of a density operator are and . Their Hadamard basis plus probabilities are respectively and . By contrast, setting would give determinant and eigenvalue : normalized diagonal entries alone do not make a valid qubit state.
The same constraints become especially beautiful in the Bloch ball representation. With the Pauli matrices and the identity operator ,
The eigenvalues are , so the Bloch sphere is precisely the pure state boundary, and is the maximally mixed centre. For each axis , the Born rule gives . This unifies a geometric picture, matrix positivity, and experimental frequencies in one description. For the equatorial family in the phase diagram, and ; replacing it by erases the transverse components and every fringe. See quantum state tomography for how independent ensembles measured along the three axes estimate these components. [ref].
Rotation about the x-axis 2026-10-07
The rotation gate about the Pauli X gate axis commutes with . The J gate convention gives , differing from the standard axis rotation only by global phase.
To identify the physical channel of a single-qubit unitary gate, prepare each of the three positive Pauli matrix eigenstates and estimate each output Pauli expectation. Their nine means are
They determine the Bloch vector rotation , hence the channel on all states. If two gates have the same channel, their relative unitary commutes with all three Pauli matrices: commuting with forces it diagonal and commuting with forces equal diagonal entries. Thus they differ by a scalar global phase, proving uniqueness up to that phase. This procedure needs no controlled gate or eigenstate of the unknown gate. Estimating its bounded measurement means to error with fixed confidence uses order repetitions. It determines the relative eigenphases but cannot determine an overall eigenvalue phase from uncontrolled gate access alone.
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]:
ErrorState before recovery eigenvaluesError syndromeRecovery
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.
Figure 1.
Parity checks identify a bit flip without reading the logical amplitudes
. Details.
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].
A fully computed coherent example is the unitary operator . At it gives
The 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.
A path graph state on three qubits simulates two successive gates . Measure vertex one in the equatorial qubit measurement basis , then vertex two at angle , obtaining bits . Two one-bit teleportations and leave vertex three in , up to global phase. A computational output bit is corrected to ; the factor affects only phase. Adaptive sign choice is required for general angles, although the final bit correction is purely classical.
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.
Vector normalization 2026-10-14
Vector normalization converts a nonzero vector in a normed vector space into a unit vector. Absolute homogeneity of a norm gives
The direction is unchanged by multiplying by a positive real scalar. For , and ; for a negative real scalar, . Thus and normalize to the same unit vector, while normalizes to its negative. This decomposition is useful for specifying a direction independently of a force, velocity or displacement magnitude.
In a complex normed vector space, a nonzero complex scalar instead gives . The remaining complex argument is not removed by normalization. For a pure quantum state, vectors differing only by this overall global phase represent the same physical state; vector normalization alone does not identify them.
Wave function 2026-10-13
A wavefunction is the position representation of a pure state. In the one-dimensional model used here, takes values in the complex numbers, and the Born rule gives
The probability density has units of inverse length; the wavefunction has units of inverse square root of length. A value of at a point is not itself a probability: probabilities come from an integral over a region. For the infinite square well ground state, , whereas the probability of the exact single point is zero. The interesting question is how much probability a finite interval contains.
Two wavefunctions differing only by a global phase represent the same pure state. Relative quantum phases between components of a quantum superposition affect matter-wave interference, so retaining the full complex number amplitude is essential. This scalar description covers a particle without active spin degrees of freedom; a general Electron wavefunction can have two spin components, with the position probability density obtained by adding the squared modulus of each component.
Wavefunction normalization Created 2026-10-06 Updated 2026-10-14
Wavefunction normalization makes the total Born rule probability equal to one. In an orthonormal basis of energy eigenstates, is normalized precisely when .
For a proposed infinite square well mode , the integral of its squared modulus is . Thus wavefunction normalization requires ; choosing real and positive fixes a convenient global phase. For the equal quantum superposition , orthogonality makes the integrated cross term zero, leaving . The cross term can nevertheless be nonzero locally: normalization constrains total probability, not the shape of its probability density.