|q⟩ Bad Qubits

intermediate · Physics · Operators, Eigenvalues & Spectral Theorem

Hermitian Operators

Of all the operator families in quantum mechanics, Hermitian operators are the ones you measure. Every physical observable — energy, position, momentum, spin component — is represented by a Hermitian operator, and the reason is a single clean theorem: Hermitian operators have real eigenvalues. Measurement outcomes are real numbers, so the operators that produce them must be Hermitian.

Definition

An operator AA is Hermitian (or self-adjoint in finite dimensions) if it equals its own adjoint:

A=A†.A = A^\dagger.

In terms of matrix elements in any orthonormal basis, using (A†)ij=Aji‾(A^\dagger)_{ij} = \overline{A_{ji}} from the previous lesson, this reads

Aij=Aji‾for all i,j.A_{ij} = \overline{A_{ji}} \qquad \text{for all } i, j.

Two immediate consequences of this symmetry:

For example,

A=(21−i1+i3)A = \begin{pmatrix} 2 & 1-i \\ 1+i & 3 \end{pmatrix}

is Hermitian: the diagonal is real, and 1+i‾=1−i\overline{1+i} = 1-i matches the reflected entry. The three Pauli matrices X,Y,ZX, Y, Z are all Hermitian, as is the identity.

Hermitian operators have real eigenvalues

This is the property that makes them physical. Suppose A∣ψ⟩=λ∣ψ⟩A|\psi\rangle = \lambda|\psi\rangle with ∣ψ⟩≠0|\psi\rangle \neq 0. Take the inner product with ⟨ψ∣\langle\psi|:

⟨ψ∣A∣ψ⟩=λ ⟨ψ∣ψ⟩.\langle\psi|A|\psi\rangle = \lambda\,\langle\psi|\psi\rangle.

Now take the complex conjugate of the left side. Using ⟨ψ∣A∣ψ⟩=⟨ψ∣A†∣ψ⟩‾\langle\psi|A|\psi\rangle = \overline{\langle\psi|A^\dagger|\psi\rangle} and A†=AA^\dagger = A,

⟨ψ∣A∣ψ⟩‾=⟨ψ∣A†∣ψ⟩=⟨ψ∣A∣ψ⟩,\overline{\langle\psi|A|\psi\rangle} = \langle\psi|A^\dagger|\psi\rangle = \langle\psi|A|\psi\rangle,

so ⟨ψ∣A∣ψ⟩\langle\psi|A|\psi\rangle is real. Since ⟨ψ∣ψ⟩>0\langle\psi|\psi\rangle > 0 is also real and positive, λ=⟨ψ∣A∣ψ⟩/⟨ψ∣ψ⟩\lambda = \langle\psi|A|\psi\rangle / \langle\psi|\psi\rangle is real. Every eigenvalue of a Hermitian operator is real.

Eigenvectors for distinct eigenvalues are orthogonal

A second key fact: if A∣ψ⟩=λ∣ψ⟩A|\psi\rangle = \lambda|\psi\rangle and A∣ϕ⟩=μ∣ϕ⟩A|\phi\rangle = \mu|\phi\rangle with λ≠μ\lambda \neq \mu (both real), then ⟨ϕ∣ψ⟩=0\langle\phi|\psi\rangle = 0. Compute ⟨ϕ∣A∣ψ⟩\langle\phi|A|\psi\rangle two ways:

⟨ϕ∣A∣ψ⟩=λ ⟨ϕ∣ψ⟩,⟨ϕ∣A∣ψ⟩=⟨Aϕ∣ψ⟩=μ ⟨ϕ∣ψ⟩,\langle\phi|A|\psi\rangle = \lambda\,\langle\phi|\psi\rangle, \qquad \langle\phi|A|\psi\rangle = \langle A\phi|\psi\rangle = \mu\,\langle\phi|\psi\rangle,

where the second line uses A=A†A = A^\dagger and the reality of μ\mu. Subtracting, (λ−μ)⟨ϕ∣ψ⟩=0(\lambda - \mu) \langle\phi|\psi\rangle = 0, and since λ≠μ\lambda \neq \mu we conclude ⟨ϕ∣ψ⟩=0\langle\phi|\psi\rangle = 0. Eigenstates with different eigenvalues are automatically orthogonal — the seed of the spectral theorem two lessons ahead.

Hermitian versus symmetric

Over the real numbers, "Hermitian" reduces to symmetric (A⊤=AA^\top = A): there is nothing to conjugate. The conjugation only does work for complex matrices. A real symmetric matrix is therefore a special case of a Hermitian matrix, which is why real-valued classical problems (vibrations, networks) inherit the same real-spectrum, orthogonal-eigenvector structure.

Try it

Decide whether the operator A=(21−i1+i3)A = \begin{pmatrix} 2 & 1-i \\ 1+i & 3 \end{pmatrix} is Hermitian by checking Aij=Aji‾A_{ij} = \overline{A_{ji}} for every entry. Return a boolean.

Run your code to see the quantum state.

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