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.
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 dStep 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_diagonalStep 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 iAuthoritative 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.
2 direct connections
- Related resultEvery Finite-Dimensional Mixed State Has a Purificationis related toSpectral Decomposition of a Finite Quantum State
- Related resultPurity One Characterizes Pure Quantum Statesis related toSpectral Decomposition of a Finite Quantum State
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 connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
MState.spectralDecompositionQuantumInfo.Finite.MState6bd0b4b99d3dsorryAx reportedThe 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.



