Normalizing positive density operators #
A positive matrix with positive trace can be normalized to a density matrix. The same formula sends the zero matrix to zero; it does not assign a state to an impossible measurement branch. Multiplying the normalized matrix by its original trace recovers every positive matrix, including the zero matrix. These are original bridges for supported probabilistic continuations.
Main definitions #
Cslib.Quantum.normalizeDensity: divide a matrix by the real part of its trace.
Main results #
Cslib.Quantum.isDensityMatrix_normalizeDensity: positive nonzero mass gives a density matrix.Cslib.Quantum.trace_smul_normalizeDensity: recover a positive matrix from its weight and normalized value, including the null case.
theorem Cslib.Quantum.isDensityMatrix_normalizeDensity {ι : Type u_1} [Fintype ι] {ρ : Matrix ι ι ℂ} (hρ : ρ.PosSemidef) (h : 0 < ρ.trace.re) :
A positive matrix with positive mass normalizes to a density matrix.
theorem Cslib.Quantum.trace_smul_normalizeDensity {ι : Type u_1} [Fintype ι] {ρ : Matrix ι ι ℂ} (hρ : ρ.PosSemidef) :
A positive matrix is its mass times its normalized value, even when its mass is zero.