Standard purification and real unitary symmetries
OpenQAlgorithms.Papers.Independent.Extend50.P30.purificationSymmetriesLet be any positive semidefinite matrix on a finite computational-basis space and any real unitary matrix. Define the standard, possibly unnormalized purification by row-first vectorization, . No trace-one or invertibility assumption is made, and is allowed.
This gives the source's standard purification and real unitary symmetries in the fixed computational-basis and phase conventions.
Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
noncomputable section
open scoped BigOperators ComplexConjugate Matrix
namespace QAlgorithms.Papers.Independent.Extend50.P30
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)
attribute [local instance] Classical.propDecidable
open scoped ComplexOrder in
/-- PDF p.57, Lemma 7.5: no trace normalization, so rho=0 is allowed; row-first vectorization. -/
theorem purificationSymmetries {I : Type*} [Fintype I] [DecidableEq I]
(rho O : Matrix I I ℂ) (hrho : rho.PosSemidef)
(hO : O ∈ Matrix.unitaryGroup I ℂ) (hreal : ∀ i j, (O i j).im = 0) :
QAlgorithms.act (Matrix.kronecker O O) (rowVectorize (cfc Real.sqrt rho)) =
rowVectorize (cfc Real.sqrt rho) ↔ rho * O = O * rho := by sorry
end QAlgorithms.Papers.Independent.Extend50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every finite index type with decidable equality, every positive semidefinite complex matrix indexed by , and every unitary matrix indexed by whose entries all have zero imaginary part, let have coordinates , where is obtained by applying the real square-root function through continuous functional calculus. Then
Here matrix action is ordinary matrix-vector multiplication and the vector norm is the Euclidean norm. No trace or normalization condition is imposed on . The statement includes the empty index type .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.