Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Standard purification and real unitary symmetries

Open
QAlgorithms.Papers.Independent.Extend50.P30.purificationSymmetries

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let ρ\rhoρ be any positive semidefinite matrix on a finite computational-basis space and OOO any real unitary matrix. Define the standard, possibly unnormalized purification by row-first vectorization, ∣Ψ⟩=∑ij(ρ1/2)ij∣i,j⟩|\Psi\rangle=\sum_{ij}(\rho^{1/2})_{ij}|i,j\rangle∣Ψ⟩=∑ij​(ρ1/2)ij​∣i,j⟩. No trace-one or invertibility assumption is made, and ρ=0\rho=0ρ=0 is allowed.

(O⊗O)∣Ψ⟩=∣Ψ⟩  ⟺  ρO=Oρ.(O\otimes O)|\Psi\rangle=|\Psi\rangle\iff\rho O=O\rho.(O⊗O)∣Ψ⟩=∣Ψ⟩⟺ρO=Oρ.

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.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
Formal statement
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
Source
Schur-Weyl Duality for the Clifford Group with Applications: Property Testing, a Robust Hudson Theorem, and de Finetti Representations, arXiv:1712.08628v3, PDF p. 57, lemma-7.5
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every finite index type III with decidable equality, every positive semidefinite complex matrix ρ\rhoρ indexed by III, and every unitary matrix OOO indexed by III whose entries all have zero imaginary part, let r∈CI×Ir\in\mathbb C^{I\times I}r∈CI×I have coordinates r(i,j)=(ρ)ijr_{(i,j)}=(\sqrt{\rho})_{ij}r(i,j)​=(ρ​)ij​, where ρ\sqrt{\rho}ρ​ is obtained by applying the real square-root function through continuous functional calculus. Then

(O⊗O)r=r⟺ρO=Oρ.(O\otimes O)r=r\quad\Longleftrightarrow\quad \rho O=O\rho.(O⊗O)r=r⟺ρO=Oρ.

Here matrix action is ordinary matrix-vector multiplication and the vector norm is the Euclidean norm. No trace or normalization condition is imposed on ρ\rhoρ. The statement includes the empty index type III.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me