Computing Library › Quantum Foundations
Quantum Foundations

The Uncertainty Principle in Quantum Computing

Noncommuting observables cannot be simultaneously sharp, a constraint that shapes measurement, gate design, and quantum protocols.

Beyond position and momentum

The uncertainty principle in its general form says that for observables A and B, the product of their standard deviations is bounded below by half the magnitude of the expectation of their commutator: Delta A Delta B >= (1/2)|<[A,B]>|. For qubits the relevant observables are Pauli operators, and their pairwise noncommutation, [X,Y]=2iZ and cyclic, means no state can have sharp values of X and Z at once. This is the everyday uncertainty of quantum computing.

The Bloch-sphere view

Kronos motion — design envelope

A qubit's Pauli expectation values are the components of its Bloch vector, whose length is at most one. A state sharp in Z sits at a pole, where X and Z expectations are zero, so measuring X gives a random result. There is no state simultaneously definite in two different Pauli directions. Complementary bases, like the Z and X eigenbases, are maximally incompatible: certainty in one forces complete randomness in the other.

python
import numpy as np
zero=np.array([1,0])
X=np.array([[0,1],[1,0]])
# |0> is sharp in Z but X-expectation is 0 -> X outcome fully random
print((zero@X@zero).real, '-> 50/50 in X basis')

Entropic uncertainty

A modern, operationally cleaner statement uses entropies rather than variances: the uncertainties of measuring in two bases, quantified by Shannon entropy, must sum to at least a bound set by the bases' overlap. Entropic uncertainty relations are robust, apply directly to finite-dimensional systems, and extend to a form conditioned on quantum memory, which is the backbone of security proofs for quantum key distribution.

Consequences for computing

Uncertainty underlies why measurement disturbs a state, why non-orthogonal states cannot be perfectly distinguished, and why no-cloning holds. It is a resource for security: an eavesdropper cannot measure in an unknown basis without introducing detectable disturbance. It also constrains readout strategy, since choosing a measurement basis commits to learning some observables at the cost of randomizing complementary ones, a tradeoff central to tomography and metrology.