Purity Pythagoras Decomposition
Abstract
Pairwise orthogonal basis measurements split density-matrix purity excess into visible probability energy and orthogonal residual mass.
Theorem 1.1 (The complex matrix inner product is a trace pairing).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.matrix_inner_eq_trace_conjTranspose_mul (✓ std3). ∎
Source. Repository-derived.
Commentary.
The Hilbert–Schmidt inner product of two square complex matrices is the trace of the conjugate transpose of the first times the second. This identity applies in every natural dimension, including zero.
Theorem 1.2 (Products of Hermitian matrices have real trace).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.trace_mul_real_of_hermitian (✓ std3). ∎
Source. Repository-derived.
Commentary.
The two Hermitian factors need not commute. Taking the conjugate of their product trace reverses their order, and cyclicity of trace restores the original value. Thus the complex trace is its real part embedded into the complex numbers.
Theorem 1.3 (Centering removes the squared scalar trace component).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.centered_hermitian_norm_sq (✓ std3). ∎
Source. Repository-derived.
Commentary.
For a Hermitian matrix in nonzero dimension, subtracting trace(H)/d times the identity removes exactly (real trace H) squared divided by d from its squared Hilbert–Schmidt norm. The trace is real and the remaining matrix has trace zero.
Theorem 1.4 (Measurement energy is the sum of squared trace coordinates).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.traceZero_measurement_norm_sq (✓ std3). ∎
Source. Repository-derived.
Commentary.
A trace-zero Hermitian matrix X is a Hermitian matrix with trace zero, represented by its underlying matrix X.1.1. For a complete rank-one record context, its measured matrix is the sum of P_j X P_j. The rank-one compression identity expresses this as a sum of trace coordinates times P_j, and these projectors are orthonormal in the Hilbert–Schmidt inner product. Its squared norm is therefore the sum of squared real trace coordinates.
Theorem 1.5 (Orthogonal contexts split every trace-zero Hermitian matrix).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.traceZero_context_pythagoras (✓ std3). ∎
Source. Repository-derived.
Commentary.
Each context is a family of normalized Hermitian rank-one idempotents resolving the identity. A record context has pairwise orthogonal projectors. Assume that the measurement images of distinct contexts are mutually orthogonal for the real Hilbert–Schmidt inner product; this is the expanded hypothesis below. The underlying trace-zero Hermitian matrix then splits into the sum of all measured components and their orthogonal residual. The formula expands each measured component as its compression sum and the residual as the original matrix minus the sum of these components. No positivity or trace-one assumption is imposed on the input.
Lemma 1.6 (Every visible measurement is orthogonal to the residual).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.measurement_inner_residualVector (✓ std3). ∎
Source. Repository-derived.
Commentary.
Let C be a finite family of complete rank-one record measurements on the trace-zero Hermitian space. Assume the ranges of the corresponding real orthogonal projections are pairwise orthogonal.
For any chosen context, projected test vector, and state, the real Hilbert–Schmidt inner product of that visible component with the state minus the sum of all visible components is zero. Thus the defined residual lies in the orthogonal complement of every visible measurement image.
Symmetry and idempotence identify the selected context’s contribution with its pairing against the original state, while pairwise orthogonality removes every cross-context contribution.
Theorem 1.7 (Purity excess splits into visible and residual mass).
Proof. Machine-checked in Lean as D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.purity_pythagoras_decomposition (✓ std3). ∎
Source. Repository-derived.
Commentary.
Let rho be a positive semidefinite complex matrix of trace one in dimension d. Centering it by the maximally mixed state produces a trace-zero Hermitian vector whose squared Hilbert–Schmidt norm is the real trace purity minus the inverse dimension.
For each complete rank-one record context, the squared norm of its visible projection is the sum over outcomes of the squared Born probability deviations from the uniform value. Pairwise orthogonality makes these visible energies add without cross terms.
The preceding residual-orthogonality result then gives an exact Pythagorean split: purity excess equals the double sum of visible probability energies plus the squared norm of the remaining component. The family need not be tomographically complete; any unseen mass is retained by the nonnegative residual term.
References
- Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.centered_hermitian_norm_sq - Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.matrix_inner_eq_trace_conjTranspose_mul - Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.measurement_inner_residualVector - Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.purity_pythagoras_decomposition - Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.traceZero_context_pythagoras - Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.traceZero_measurement_norm_sq - Truth anchor:
D5/S3/Quantum/Tomography/PurityPythagorasDecomposition.trace_mul_real_of_hermitian - Dependency: D5/S3/Quantum/Fibers/TraceZeroReadoutOrthogonalEquivalence
- Dependency: D5/S3/Quantum/Measurement/BasisMeasurementProjection