Quantum states · PhysLib theorem

Spectral Decomposition of a Finite Quantum State

Every finite PhysLib mixed state admits an eigenket expansion of its density operator as a probability-weighted sum of pure-state projectors.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

PhysLib chooses normalized eigenvectors of the Hermitian density operator and reconstructs the matrix as the finite sum of its eigenvalue probabilities times the associated rank-one projectors.

Context

Why it matters

The spectral decomposition is the central finite-dimensional structure theorem for density matrices and gives a direct bridge from operator spectra to ensembles of pure states.

Inside the proof

Proof architecture

The proof specializes the Hermitian spectral theorem to a normalized positive density matrix, packages each eigenvector as a ket, and rewrites the diagonalization as a finite pure-state sum.

Step 1

Choose normalized eigenkets

Rows of the density operator's eigenvector unitary have unit norm, so PhysLib packages each one as a valid ket.

psi_i = eigenvector_i(rho)

Show the Lean ingredients
Matrix.unitaryGroup_row_normρ.M.H.eigenvectorUnitaryKet d

Step 2

Apply Hermitian diagonalization

The Hermitian spectral theorem expresses the density operator as a unitary change of basis around its real diagonal eigenvalue matrix.

rho = U diag(lambda_i) U*

Show the Lean ingredients
ρ.M.H.spectral_theoremUnitary.conjStarAlgAut_applyMatrix.mul_diagonal

Step 3

Reassemble pure projectors

Expanding the matrix entries identifies every diagonal spectral component with the pure-state projector of its eigenket.

rho = sum_i lambda_i |psi_i><psi_i|

Show the Lean ingredients
HermitianMat.mat_finset_sumMState.pureρ.spectrum i

Authoritative formal type

Exact PhysLib statement

MState.spectralDecomposition.{u_1} {d : Type u_1} [Fintype d] [DecidableEq d] (ρ : MState d) : ∃ ψs, ↑ρ = ∑ i, ↑(ρ.spectrum i) • ↑(MState.pure (ψs i))

This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.

Recorded connections

How this result fits

A one-step view of the published results directly connected to this page.

Current resultSpectral Decomposition of a Finite Quantum State
2 direct connections

Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.

Open this result in the full theorem map2 direct connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationMState.spectralDecomposition
Source moduleQuantumInfo.Finite.MState
Source footprint17 nonempty lines in this declaration · 1228 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab