The displayed Bernstein-Vazirani algorithm prepares its ancilla qubit in the computational-basis state before the first Hadamard gate. At the function oracle it is therefore the eigenstate of the Pauli X gate, which enables phase kickback. Preparing instead yields at the function oracle; target flips leave this state unchanged, so the data contain no information about .
The Hadamard-conjugated linear oracle makes the more general statement transparent. With zero data and initial ancilla qubit , the full fixed quantum circuit outputs
For nonzero , the correct data outcome has probability . To obtain exact identification for all , this preparation must have , so it is up to global phase. This is a condition on the prescribed preparation circuit: any alternative quantum state preparation that supplies at the function oracle is equivalent.
An isolated qubit that acquires only a global phase has unchanged measurement probabilities. To reveal the Berry phase, use two coherent paths of a Mach-Zehnder interferometer, represented by a path qubit. In one arm the internal spin one-half qubit follows the loop; in the reference arm it stays in its starting energy eigenstate. Assume equal arm amplitudes, identical final internal states, cancelled relative dynamical phases, and calibrated fixed apparatus phases. In the model above, hold the reference Hamiltonian operator at its initial value for the same duration. Both arms then have energy eigenvalue and acquire the same dynamical phase , so their relative dynamical phase vanishes in the ideal limit of the adiabatic theorem.
The joint quantum state before recombination then factors as
The Berry phase is now a relative quantum phase between the two paths. The calibrated plus output projects onto . The Born rule gives
For the Berry phase of a Bloch-sphere latitude, the plus-port probabilities at are respectively . This ideal Mach-Zehnder interferometer measurement cannot distinguish from or by itself; scanning a known reference phase can resolve the sign. An uncancelled relative dynamical phase would shift the fringe as well.
Choose the computational basis , for a spin one-half qubit. On the Bloch sphere, let and use the normalized quantum state
This is the eigenstate of , where are the Pauli matrices. To make it an instantaneous ground state, take the model Hamiltonian operator with constant . Its energy eigenvalues are and , so its spectral gap is everywhere. The spin points along ; this explicit convention fixes the sign of the Berry phase.
Keep the polar angle fixed and increase the azimuth from to , slowly enough for the adiabatic theorem. The state vector written above is periodic in . Directly differentiating gives
Thus the azimuthal Berry connection is and its line integral is
The north polar cap has oriented solid angle , positive for increasing . Reversing the loop reverses the Berry phase. The opposite spin eigenstate has the opposite Berry phase modulo .
Figure 1.
A 60-degree latitude on the Bloch sphere encloses a north polar cap of solid angle pi
. Details.
At , the solid angle is and the Berry phase is . At , the solid angle is and the Berry phase is . At , the loop collapses and . At , the same expression gives : the Bloch vector stays at the south pole, while this representative is . Its winding is only a choice of global phase, so the physically relevant phase factor is again one. The displayed formula is a continuous, unwrapped representative, not a unique real-valued observable.
Clifford group (quantum computing) Created 2026-10-25 Updated 2026-11-05
The group of unitary Clifford gates, defined by normalization of the Pauli group. For a single qubit, and generate its usual finite gate group, and modulo global phase its action permutes the six Pauli eigenstates. On multiple qubits, one adds an entangling controlled-NOT gate. This quantum-computing use of the name is distinct from groups attached to a general Clifford algebra.
Choose the qubit computational basis , also called the basis, and the Hadamard basis , also called the basis. Compare a coherent preparation of with choosing or at random with equal probabilities and discarding that label:
These are original ideal preparation models. Their -basis probabilities are both , because their quantum state populations agree. Their -basis probabilities are respectively and . Indeed , whereas . The missing off-diagonal quantum coherence therefore changes a prediction that the common populations cannot determine.
Figure 1.
Coherent preparation and random mixing agree in the Z basis but differ in the X basis
. Original ideal qubit preparation and detection branches. The random-choice branches are mutually exclusive trials; forgetting the label averages probabilities without recombining probability amplitudes. Each measurement branch uses a fresh preparation. The displayed Born rule probabilities assume ideal detection and are not measured counts or the apparatus of the experiment below. Details.
For a relative quantum phase , the coherent family instead has
The last formula follows by adding or subtracting the two probability amplitudes before taking the squared modulus. At , the state is and the outcomes switch to , while the outcomes remain . In contrast, changes both components by the same global phase and retains the outcomes . In photon polarization, the identification , makes and the two orthogonal diagonal linear polarizations; these labels describe measurement bases, not spatial axes for photon spin.
Figure 2.
A circle of global-phase representatives gives one state, while a relative sign changes X outcomes
. Original ideal model. The top circle is the complex number multiplying the entire vector; it is not a Bloch sphere or a path through distinct physical states. All its representatives map to the same density operator. Below, changing the relative quantum phase from zero to gives different density operators and complementary -basis probabilities. No experimental observations are plotted. Details.
Even perfect statistics in one basis cannot certify a preparation. The above data fit both density matrices. Conversely, distinct preparation histories can yield the same quantum state:
The off-diagonal terms cancel in the right-hand ensemble. Every measurement on the qubit alone then has identical probabilities for those two histories. A retained classical label would allow conditioning on different members of the quantum state ensemble; it is extra information beyond the unlabelled density operator.
Collective dephasing Created 2026-10-25 Updated 2026-11-05
Correlated dephasing caused by the same fluctuating rotation on all qubits. Averaging over the unknown angle suppresses quantum coherence between sectors with different total eigenvalues. Within one eigenspace, however, every state acquires the same global phase, so its density matrix is preserved. Such an eigenspace is a decoherence-free subspace for this noise model. The assumption concerns the shared rotation; independent local phase noise generally destroys this protection.
For and any two-by-two unitary matrix, expand the two columns of . The equal-index coefficients cancel, and the coefficient of is the determinant. Its modulus is one, so a common change of qubit basis preserves the spin singlet state up to a global phase. The density projector is exactly invariant.
Complex scalar charge operator Created 2026-10-07 Updated 2026-11-05
For the global phase transformation , the Noether current is . The Klein-Gordon equation gives . With zero vacuum charge, its normal-ordered charge is . Thus , and . Particle and antiparticle creation carry opposite charges while both increase energy.
Conditional environment overlap Created 2026-10-07 Updated 2026-11-05
For a pure state with normalized environment states, the upper-right device reduced density matrix entry is . Distinguishability of the conditional environment states suppresses device coherence. States differing only by a global phase have unit-modulus overlap and do not cause quantum decoherence.
Diagonal two-qubit phase entanglement criterion Created 2026-10-14 Updated 2026-10-25
A diagonal two-qubit gate with entries is a product of local diagonal gates, up to global phase, exactly when modulo . This follows by factoring the two-by-two array of phases; its determinant vanishes precisely in that case. If the determinant is nonzero, applying the gate to produces an entangled state by the two-qubit product-state determinant criterion. In particular is local, whereas is the entangling Controlled-Z gate.
Endpoint control of an XX spin chain Created 2026-10-14 Updated 2026-11-05
In the single-excitation subspace, take a connected real nearest-neighbor hopping matrix with every coupling nonzero and endpoint control . Endpoint commutators isolate the first transition, then propagate along the chain to generate both off-diagonal skew-Hermitian directions and adjacent diagonal differences. These generate . For , supplies the central direction, giving . For the algebra is , which still gives full state controllability but omits an arbitrary global phase. A broken coupling separates an unreachable chain component.
Energy eigenspace Created 2026-09-24 Updated 2026-10-14
The energy eigenspace at is the vector subspace
where is the Hamiltonian operator and is the identity operator. It is nonzero exactly when is an energy eigenvalue. Its dimension is the multiplicity of that energy eigenvalue; degenerate energy levels have multiplicity greater than one. The ground-state subspace is , and its dimension is the ground-state degeneracy. A vector in an energy eigenspace need not be one of a specially chosen orthonormal basis of energy eigenstates.
Linearity makes the useful point immediate: if and , then . Every normalized nonzero combination stays in the same energy eigenspace. For a time-independent Hamiltonian operator, its evolution is multiplication by the common global phase , so it is a stationary state. A quantum superposition within a degenerate energy eigenspace can change spatial shape when its coefficients are chosen differently, but its density does not subsequently beat under this unchanged Hamiltonian operator.
Across distinct energy eigenspaces, relative quantum phases evolve. For orthonormal eigenfunctions of the Hamiltonian operator with energy eigenvalues , an equal-weight quantum superposition has
and position probability density
The interference term can change local probabilities even though the Born rule assigns the same time-independent probability to each energy measurement outcome. Orthogonality makes its integral zero, preserving wavefunction normalization. This pure state is not a stationary state; some particular measurement distributions may nevertheless remain constant. An incoherent mixed state with the same energy populations has no such interference term.
Figure 1.
An excited energy eigenstate can be stationary while a two-energy superposition beats
. Exact infinite square well densities, not measured data, with and . The left panel shows the unchanged density of the second energy eigenstate at three times. The right panel shows a coherent equal-weight quantum superposition at ; its energy populations remain . The dashed curve is the density of the corresponding incoherent mixed state. Details.
For the pictured infinite square well, and the interference repeats after . At , direct integration gives ; halfway through the period it is . This is a moving expectation value, rather than a trajectory of an individual particle. The distinction between an energy eigenspace and a combination of different energy eigenspaces is what makes the different behavior possible.
Energy eigenstate Created 2026-09-24 Updated 2026-10-14
An energy eigenstate is a quantum state represented by an eigenvector of the Quantum Hamiltonian. For a time-independent Quantum Hamiltonian, a normalized eigenfunction with energy eigenvalue evolves according to the Schrödinger equation as
Here is the reduced Planck constant. The changing factor is a global phase, so this is a stationary state: its position probability density is constant. For example, the second infinite square well mode has two density lobes separated by a node of a standing wave at ; both lobes stay fixed while its quantum phase rotates. An ideal energy measurement returns with probability one, but a position measurement still has a distribution. Stationary density does not describe a particle sitting at the peak of a lobe. Distinct energy eigenvalues accumulate different quantum phases, making their quantum superposition behave differently.
Suppose a constant Hamiltonian operator has a complete discrete orthonormal basis of energy eigenstates, . Expanding an initial pure state and applying the time-evolution operator term by term gives
A projective measurement resolving these basis vectors therefore assigns the same Born rule probability to each label at every time. An energy measurement groups labels sharing the same energy eigenvalue: is also constant. If , their probability amplitude ratio instead evolves as
Only energy differences enter this relative quantum phase. Adding a constant to the Hamiltonian operator multiplies the entire pure state by , a global phase, and leaves the density operator unchanged.
For a fixed observable , the expectation value can nevertheless vary:
Terms joining distinct energy eigenvalues can oscillate; diagonal terms cannot. If , these terms between different energies vanish, so the expectation value is constant. This distinguishes conservation of energy from the stronger claim that every observable is stationary.
An energy eigenstate has only a global phase evolution and is a stationary state. A quantum superposition entirely within one degenerate energy eigenspace is also an energy eigenstate and is stationary. For a general density operator in finite dimension, stationarity under a constant Hamiltonian operator means : differentiating proves necessity, and commuting through the exponential proves sufficiency. Merely fixing the diagonal energy populations does not fix the off-diagonal quantum coherence.
Equality case of the Heisenberg uncertainty relation Created 2026-09-24 Updated 2026-10-14
Equality in the Heisenberg uncertainty relation requires the centred vectors and to be imaginary scalar multiples, where , and are the expectation values. Thus, for some ,
In the position representation, using the momentum operator turns this into a first-order differential equation, whose normalizable solutions are
Hence the quantum states saturating the Heisenberg uncertainty relation are these Gaussian wave packets, with arbitrary position and momentum means and global phase. Their width is . A Gaussian wave packet with an additional quadratic quantum phase need not saturate this product bound.
Exact variational solution in a two-level system Created 2026-09-24 Updated 2026-10-14
In a two-level system, let the Hamiltonian operator have matrix in the orthonormal basis . The normalized real trial quantum states and their Rayleigh quotient are
The excited-state probability amplitude is , so its probability is . Thus , with equality if and only if the excited-state probability amplitude vanishes: . The remaining quantum state is up to a global phase. At the trial energy is ; at it is . These are upper bounds on the ground-state energy, even though neither is a minimizing trial.
Figure 1.
Two-level variational energy is twice the excited-level probability and reaches zero only when the excited amplitude vanishes
. Details.
The real trial family contains the ground state, so it attains the exact minimum despite not covering every complex quantum state. More generally, a family covering all normalized vectors in a two-dimensional Hilbert space gives the exact lowest eigenvalue of any Hermitian matrix by minimizing its Rayleigh quotient. For a complex trial with , the same calculation gives : a relative quantum phase cannot change this diagonal Hamiltonian energy. This finite example is the weighted mean proof of the variational method with just two energy eigenstates.
Expectation value Created 2026-09-24 Updated 2026-10-14
The expectation value of a quantum observable is the expected value of its measurement outcome random variable in a specified quantum state. It predicts the mean of outcomes from many identical quantum state preparations. It need not equal any one possible outcome: for a spin one-half particle, equal probabilities of and give mean zero even though zero is never an outcome of that spin component. Here is the reduced Planck constant.
Let be a Hermitian operator on a finite-dimensional Hilbert space, and let be a normalized pure state, . The spectral theorem writes
The are distinct real eigenvalues, are orthogonal projections onto their eigenspaces, and is the identity operator. For an ideal projective measurement of , the Born rule and the expectation value give
Thus the expectation value is a probability-weighted average of eigenvalues, including all vectors in a degenerate eigenspace in its . In an orthonormal eigenbasis, , this is , where repeated are allowed. The weighted average lies between the smallest and largest eigenvalues; it can lie in a gap between them. The statistical meaning and operator expression are connected in this way in the authored treatment of average energies.[ref]
If a nonzero vector has not been normalized, use ; the denominator is essential. A global phase cancels between the bra and ket, so and have the same expectation value and outcome probabilities.
The outcome variance measures the spread about this mean, whereas the quantum uncertainty is its standard deviation:
For a pure state, zero variance means that lies entirely in one eigenspace. That eigenspace need not be one-dimensional. Knowing only a mean generally does not determine the entire outcome probability distribution.
For a mixed state, the same formulas use its density matrix , a positive operator with trace one:
A pure state is the special case . For a quantum state ensemble , the expectation value is . This linearity is useful when preparations vary between trials; different quantum state ensembles can have the same density matrix.
These formulas require no operator-domain qualifications in finite dimension. For an unbounded self-adjoint operator, the spectral theorem instead gives a spectral probability measure; a finite mean requires an integrable absolute first moment, and finite variance requires a finite second moment. Writing as an operator inner product additionally requires in the operator domain of . The quadratic form of a positive quantum Hamiltonian explains the useful wider form-domain version.
For density operators on the same finite-dimensional Hilbert space, quantum fidelity measures how close their quantum states are. This article uses the unsquared convention:
Each square root is the positive square root of an operator, and is the trace norm. Quantum fidelity is symmetric in its inputs; it is one exactly when , and zero exactly when , meaning that the support of a positive operator for one state is orthogonal to that for the other. Larger quantum fidelity means greater similarity. The separate squared quantum fidelity is . [ref]
For two normalized pure states, quantum fidelity is the magnitude of their inner product, . Thus compared with itself has , while and have . For , comparison with gives , , and trace distance by the pure-state trace distance and fidelity identity.
Why compare density operators rather than their entries? A change of coordinates should not make the same physical preparations look more or less alike. Unitary invariance of trace distance and fidelity makes quantum fidelity independent of a common basis choice. Multiplying a pure state vector by a global phase leaves its density operator unchanged, so its quantum fidelity with the original state is one. These features make quantum fidelity useful for checking whether quantum channels, state preparations, and Schumacher compression preserve a target quantum state.
The connection to Uhlmann's theorem supplies another beautiful interpretation: quantum fidelity is the largest absolute inner product between pure vectors obtained from a purification of a density operator for each state, using a sufficiently large common reference space. Uhlmann's 1976 paper extended transition probability to algebraic states, including those of a C-star algebra; for density operators its transition probability corresponds to our squared quantum fidelity. The measurement characterization of quantum fidelity gives a complementary description directly in terms of observable outcome statistics. [ref]
For fixed , a Clifford gate permutes the finite Pauli group by conjugation. Its action is determined by the images of , so there are finitely many possible such actions. If two unitary operators induce the same action, their quotient commutes with every and is diagonal in the computational basis. Commutation with every equates diagonal entries at bit strings differing in one position; those flips connect all strings, so the quotient is a scalar. A unitary scalar is a global phase. Thus the Clifford group modulo global phase is finite and cannot approximate every unitary arbitrarily well. This proves the obstruction for any fixed number of wires, rather than relying solely on a one-qubit picture.[ref]