Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Spectral decomposition

Spectral decomposition expresses a normal operator through orthogonal eigenspace projectors and its eigenvalues.

Also called spectral theorem

Edition released Coverage: Overview · Technical · Research
On this page

Definition and value

A finite-dimensional normal operator satisfies AA-dagger=A-dagger A and can be diagonalized by a unitary. It has A=sum_j lambda_j P_j, where the P_j are orthogonal projectors onto distinct eigenspaces. Hermitian and unitary operators are important subclasses. This decomposition defines functions of operators, including square roots, logarithms and exponentials, by acting on eigenvalues.

For a positive operator rho, sqrt(rho)=sum_j sqrt(lambda_j)P_j. An elementwise square root of matrix entries is generally a different object and should not be used in fidelity formulas.

Fully solved example

Let rho=[[0.5,0.3],[0.3,0.5]]. Its eigenvectors are |+> and |-> with eigenvalues 0.8 and 0.2. Hence sqrt(rho)=sqrt(0.8)|+><+|+sqrt(0.2)|-><-|. In computational coordinates this is one half times [[sqrt(0.8)+sqrt(0.2),sqrt(0.8)-sqrt(0.2)],[sqrt(0.8)-sqrt(0.2),sqrt(0.8)+sqrt(0.2)]]. Squaring recovers rho exactly.

The entropy follows from the same eigenvalues: S(rho)=h_2(0.2), approximately 0.721928 bits. Reading the diagonal entries as probabilities would instead give one bit and would confuse a Z measurement distribution with the state's spectrum.

Limits and distinctions

The theorem's finite-dimensional version is straightforward, but unbounded operators in infinite dimensions need domain conditions and spectral measures. A general nonnormal matrix may require a different decomposition and can have numerically unstable eigenvectors.

Projectors, not arbitrary choices of basis vectors inside a degenerate subspace, are the invariant objects. A function f(A) assigns one value f(lambda) to the entire corresponding eigenspace. Matrix logarithms require care at zero eigenvalues and with branch choices for nonpositive operators.

Spectral projectors can be obtained without choosing eigenvectors

Let A = 2I₃+J, where J is the three-by-three matrix with every entry equal to one. The normalized vector |b⟩ = (1,1,1)/√3 obeys J|b⟩ = 3|b⟩. Every vector orthogonal to |b⟩ has components summing to zero and is annihilated by J. Thus A has eigenvalue five on |b⟩ and eigenvalue two on its two-dimensional orthogonal complement.

Writing P = |b⟩⟨b| = J/3 gives A = 5P+2(I−P). Solving this equation for the projectors yields P = (A−2I)/3 and I−P = (5I−A)/3. These formulas recover the complete spectral subspaces directly from A. No arbitrary basis inside the degenerate eigenvalue-two subspace is needed.

More generally, if a Hermitian matrix has distinct eigenvalues λ₁,…,λ_r, then the projector for λ_j is Πₖ≠ⱼ(A−λ_k I)/(λ_j−λ_k). On an eigenvector with eigenvalue λ_j every factor is one; on an eigenvector associated with any other eigenvalue one factor vanishes. This polynomial construction depends on distinct spectral values, not on how often each value occurs.

A complete time-evolution calculation from two projectors

Use dimensionless time τ and define U(τ) = exp(-iAτ). Spectral calculus gives U(τ) = exp(-2iτ)(I−P)+exp(-5iτ)P. Starting from |0⟩, the return amplitude is [2exp(-2iτ)+exp(-5iτ)]/3. The amplitude for each of |1⟩ and |2⟩ is [exp(-5iτ)−exp(-2iτ)]/3.

The two transition probabilities are each 4 sin²(3τ/2)/9. The return probability is [5+4cos(3τ)]/9. Adding the three probabilities gives one for every time, while the relative phase between the two spectral sectors creates the oscillation. The common phase exp(-2iτ) cancels from these probabilities.

When 3τ = π, the computational probabilities are (1,4,4)/9. The system never transfers all population from |0⟩ to either one of the other two basis states under this particular Hamiltonian. The symmetric couplings and the preserved dark component restrict what its evolution can do. Large off-diagonal transition amplitudes in a matrix exponential do not imply arbitrary state-to-state control.

Degeneracy changes the probability of a measured eigenvalue

Measuring A on |0⟩ gives eigenvalue five with probability ⟨0|P|0⟩ = 1/3 and eigenvalue two with probability 2/3. The mean is 5/3+4/3 = 3. The second moment is 25/3+8/3 = 11, so the variance is 11−3² = 2. These moments also follow directly from the 00 entries of A and A².

Now use ρ = A/9 as a density operator. Its eigenvalues are 5/9 once and 2/9 twice, all nonnegative and summing to one. A measurement of A reports the value five with probability 5/9 and the value two with probability 4/9. The two equal density eigenvalues must be added when their associated states lead to the same reported observable value.

If a further measurement resolves an orthonormal basis within the eigenvalue-two sector, it produces more detailed records. That refinement does not change the coarse probability 4/9, but it can change the state update when the fine record is later discarded. A spectral decomposition of an observable specifies its eigenspaces; an implementation may supply additional information within them.

The minimal polynomial summarizes the two-sector structure

For this A, (A−5I)(A−2I) = zero, so every polynomial in A reduces to a linear combination of I and A. Expanding gives A² = 7A−10I, which supplies a recurrence for higher powers without repeated full matrix multiplication. For example, A³ = 39A−70I. Its 00 entry is 47, matching the third measurement moment 5³/3+2·2³/3 = 47 on |0⟩. The characteristic polynomial is (λ−5)(λ−2)², while the minimal polynomial uses each distinct factor only once. The doubled eigenvalue contributes to multiplicity and traces, but does not require an additional factor in the minimal polynomial of a Hermitian matrix. This is another place where counting eigenvectors and counting distinct spectral values lead to different formulas.

Functions of the same operator share its spectral structure

The positive square root of ρ is √(5/9)P+√(2/9)(I−P), and its purity is (5/9)²+2(2/9)² = 11/27. Its base-two entropy is H₂(5/9)+4/9, where H₂ is binary entropy. The extra 4/9 accounts for the equal split of the eigenvalue-two sector into two eigenvectors of the density operator.

For scalar functions f and g defined on the spectrum, f(A)g(A) = (fg)(A). Orthogonal projectors remove cross terms, leaving f(λ_j)g(λ_j) on each spectral sector. The same reasoning gives f(A)† = f*(A). A real-valued function on a Hermitian spectrum therefore yields another Hermitian operator, whereas a phase-valued function of modulus one yields a unitary.

There are many scalar functions that agree on the finite spectrum and consequently give the same matrix function. Values between eigenvalues do not affect f(A). When an approximation to a function is used, only its errors at the actual eigenvalues determine the exact operator error for this fixed Hermitian matrix; uncertainty about the spectrum may require a larger interval bound.

The rank-one bright sector and rank-two dark sector each acquire their own phase. In the population example with weights (1, 4, 4)/9, an individual density eigenvalue is different from the total probability assigned to a degenerate measurement outcome.

Sources

  • John Watrous · · Textbook material · cs.uwaterloo.ca
    Verification scope

    The Theory of Quantum Information, Chapter 1: Mathematical preliminaries
    John Watrous · · Textbook material · cs.uwaterloo.ca

    Citation identity checked ·

    Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.

    The Theory of Quantum Information: Chapter 1, Mathematical preliminaries
    John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.ca

    Selected text checked ·

    Chapter introduction, finite-dimensional linear-algebra definitions and Caratheodory theorem were inspected. The author explicitly describes the chapter as review material, not a primary source for all mathematical results.

    Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.