|q⟩ Bad Qubits

beginner · Physics · Observables, Operators & Measurement

Eigenvalues as Outcomes

Every time you measure a physical quantity in quantum mechanics — position, energy, spin, or any other observable — nature is making a choice from a specific list of allowed values. The rule that defines that list is the eigenvalue postulate: the only possible results of a measurement are the eigenvalues of the operator that represents the observable.

Observables are Hermitian operators

An observable is represented by a Hermitian (self-adjoint) operator A^\hat{A}, meaning A^†=A^\hat{A}^\dagger = \hat{A}. The Hermitian condition is not just mathematical tidiness — it guarantees that all eigenvalues are real, which is essential because measurement results are real numbers.

The eigenvalue equation is

A^ ∣ψn⟩=an ∣ψn⟩,\hat{A}\,|\psi_n\rangle = a_n\,|\psi_n\rangle,

where ana_n is the nn-th eigenvalue and ∣ψn⟩|\psi_n\rangle is the corresponding eigenvector (eigenstate). The statement of the measurement postulate is:

A measurement of A^\hat{A} on any state yields one of the values a1,a2,…a_1, a_2, \ldots — never anything in between.

Why Hermitian operators have real eigenvalues

Suppose A^ ∣ψ⟩=a∣ψ⟩\hat{A}\,|\psi\rangle = a|\psi\rangle with ∣ψ⟩≠0|\psi\rangle \neq 0. Taking the inner product with ∣ψ⟩|\psi\rangle from the left:

a=⟨ψ∣A^∣ψ⟩⟨ψ∣ψ⟩.a = \frac{\langle\psi|\hat{A}|\psi\rangle}{\langle\psi|\psi\rangle}.

Because A^†=A^\hat{A}^\dagger = \hat{A}, the numerator satisfies ⟨ψ∣A^∣ψ⟩=⟨ψ∣A^∣ψ⟩∗\langle\psi|\hat{A}|\psi\rangle = \langle\psi|\hat{A}|\psi\rangle^*, so it is real, and therefore a∈Ra \in \mathbb{R}. This proof requires no special assumptions about ∣ψ⟩|\psi\rangle — it works for every eigenvector.

A concrete example: the Pauli-Z operator

The Pauli-Z operator

σz=(100−1)\sigma_z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}

represents the zz-component of spin for a spin-12\tfrac{1}{2} particle (up to the factor ℏ/2\hbar/2). Its characteristic equation is

(1−λ)(−1−λ)=0  ⟹  λ2=1  ⟹  λ=±1.(1 - \lambda)(-1 - \lambda) = 0 \implies \lambda^2 = 1 \implies \lambda = \pm 1.

Measuring the spin of any qubit state along zz can therefore return only +1+1 or −1-1, in units of ℏ/2\hbar/2. This is the origin of the binary nature of spin measurement: the operator has exactly two eigenvalues.

The general recipe for finding eigenvalues

For a finite-dimensional operator with matrix representation AA, eigenvalues satisfy the characteristic equation

det⁡(A−λI)=0.\det(A - \lambda I) = 0.

For a 2×22 \times 2 Hermitian matrix

A=(abb∗d)A = \begin{pmatrix} a & b \\ b^* & d \end{pmatrix}

the characteristic equation expands to

λ2−(a+d) λ+(ad−∣b∣2)=0,\lambda^2 - (a + d)\,\lambda + (ad - |b|^2) = 0,

which is a quadratic in λ\lambda with real coefficients (since a,d∈Ra, d \in \mathbb{R} for Hermitian AA). Its discriminant is (a−d)2+4∣b∣2≥0(a - d)^2 + 4|b|^2 \geq 0, confirming the two roots are always real.

From eigenvalues to probabilities

Knowing the eigenvalues tells you what can happen; the Born rule tells you how often. If the system is in state ∣Ψ⟩|\Psi\rangle just before measurement, the probability of obtaining eigenvalue ana_n is

pn=∣⟨ψn∣Ψ⟩∣2,p_n = |\langle\psi_n|\Psi\rangle|^2,

where ∣ψn⟩|\psi_n\rangle is the normalized eigenstate. The probabilities sum to 1 because the eigenstates form a complete orthonormal basis (a consequence of the spectral theorem for Hermitian operators). After measurement, the state collapses to ∣ψn⟩|\psi_n\rangle.

Try it

This is a numerical exercise — your code should return a number.

Consider the Hermitian operator with matrix representation

A=(5335).A = \begin{pmatrix} 5 & 3 \\ 3 & 5 \end{pmatrix}.

Its measurement outcomes are its eigenvalues. The characteristic equation is

det⁡(A−λI)=(5−λ)2−9=0.\det(A - \lambda I) = (5 - \lambda)^2 - 9 = 0.

Expanding, (5−λ)2=9(5 - \lambda)^2 = 9, so 5−λ=±35 - \lambda = \pm 3, giving λ=8\lambda = 8 or λ=2\lambda = 2. Both are real, confirming AA is Hermitian (it equals its own transpose, and all entries are real). A measurement of this observable can return only 88 or 22 — no other value is possible.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.