Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lambda characterization and singular Gaussian normal form

Open
QAlgorithms.Papers.Independent.Intake100.P22.gaussian_operator_characterization

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

prove2quantum

Fix a finite number n≥0n\ge0n≥0 of fermionic modes. Let C2n=End⁡(C2n)\mathcal C_{2n}=\operatorname{End}(\mathbb C^{2^n})C2n​=End(C2n) have Hermitian Majorana generators cac_aca​ satisfying cacb+cbca=2δabIc_ac_b+c_bc_a=2\delta_{ab}Ica​cb​+cb​ca​=2δab​I. The symbol map ω\omegaω sends each ordered Majorana monomial linearly to the corresponding ordered Grassmann monomial; it is not multiplicative. Gaussian states, operators, and maps have the meanings of Definitions 1–3 of the paper. All maps act on the full complex operator algebra, including its odd sector.

Let X∈C2nX\in\mathcal C_{2n}X∈C2n​, and put Λ=∑a=12nca⊗ca\Lambda=\sum_{a=1}^{2n}c_a\otimes c_aΛ=∑a=12n​ca​⊗ca​ in the ordinary two-copy tensor algebra. Then

X is Gaussian⟺X is even and [Λ,X⊗X]=0.X\text{ is Gaussian}\quad\Longleftrightarrow\quad X\text{ is even and }[\Lambda,X\otimes X]=0.X is Gaussian⟺X is even and [Λ,X⊗X]=0.

Moreover, each Gaussian XXX has 0≤k≤n0\le k\le n0≤k≤n, C∈CC\in\mathbb CC∈C, an invertible complex 2n×2n2n\times2n2n×2n matrix TTT, and a complex skew matrix MMM, with μ=Tθ\mu=T\thetaμ=Tθ, such that

ω(X,θ)=C(∏a=12kμa)exp⁡ ⁣(i2∑a,b=2k+12nMabμaμb).\omega(X,\theta)=C\left(\prod_{a=1}^{2k}\mu_a\right)\exp\!\left(\frac i2\sum_{a,b=2k+1}^{2n}M_{ab}\mu_a\mu_b\right).ω(X,θ)=C(a=1∏2k​μa​)exp​2i​a,b=2k+1∑2n​Mab​μa​μb​​.

Gaussian operators here are the closure of the nonzero-trace exponential-symbol operators in finite-dimensional topology. The zero operator is included. The two clauses give an intrinsic characterization and a form covering singular operators.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P22
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Intake100.P22

open QAlgorithms.Papers.Independent.Advance50.P19
  (CARSystem Major monomial wick totalFermionParity)

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.5-7, Theorem 1: the Lambda characterization and the complete
singular normal form with an even prefix and a general complex GL matrix.
Zero is included by C=0 and k=0; no nonzero-trace hypothesis is imposed. -/
theorem gaussian_operator_characterization {n : ℕ} (s : CARSystem n) (X : Op (Qubits n)) :
    (GaussianOperator s X ↔ InSector s 0 X ∧
      lambdaOp s * Matrix.kronecker X X - Matrix.kronecker X X * lambdaOp s = 0) ∧
    (GaussianOperator s X → ∃ (k : ℕ) (C : ℂ)
      (T M : Matrix (Major n) (Major n) ℂ),
      k ≤ n ∧ T.det ≠ 0 ∧ M.transpose = -M ∧ majoranaSymbol s X = singularForm k C T M) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P22

end
Source
Lagrangian representation for fermionic linear optics, arXiv:quant-ph/0404180v2, PDF p. 5, Theorem 1: nonsingular symmetry characterization and singular normal form
Read-back

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

Let n≥0n\ge0n≥0, Qn={0,1}nQ_n=\{0,1\}^nQn​={0,1}n, and let c0,…,c2n−1c_0,\ldots,c_{2n-1}c0​,…,c2n−1​ be Hermitian matrices on CQn\mathbb C^{Q_n}CQn​ satisfying cacb+cbca=2δabIc_a c_b+c_b c_a=2\delta_{ab}Ica​cb​+cb​ca​=2δab​I. Put r=2nr=2nr=2n, let cSc_ScS​ denote the increasing ordered product with c∅=Ic_\varnothing=Ic∅​=I, and define X^=2−n∑Str⁡(cS†X)θS\widehat X=2^{-n}\sum_S\operatorname{tr}(c_S^\dagger X)\theta_SX=2−n∑S​tr(cS†​X)θS​ in the exterior algebra on rrr variables, where θa2=0\theta_a^2=0θa2​=0, θaθb=−θbθa\theta_a\theta_b=-\theta_b\theta_aθa​θb​=−θb​θa​, and exp⁡∧(q)=∑j=0rqj/j!\exp_\wedge(q)=\sum_{j=0}^{r}q^j/j!exp∧​(q)=∑j=0r​qj/j!. Let Gs\mathcal G_sGs​ be the closure, in the finite-dimensional matrix topology, of the set of matrices YYY for which tr⁡Y≠0\operatorname{tr}Y\ne0trY=0 and there exists a complex skew-symmetric matrix NNN such that

Y^=tr⁡Y2nexp⁡∧ ⁣(i2∑a,bNabθaθb).\widehat Y=\frac{\operatorname{tr}Y}{2^n} \exp_\wedge\!\left(\frac{i}{2}\sum_{a,b}N_{ab}\theta_a\theta_b\right).Y=2ntrY​exp∧​​2i​a,b∑​Nab​θa​θb​​.

For every complex matrix XXX on CQn\mathbb C^{Q_n}CQn​, with Λ=∑a=0r−1ca⊗ca\Lambda=\sum_{a=0}^{r-1}c_a\otimes c_aΛ=∑a=0r−1​ca​⊗ca​,

X∈Gs⟺(tr⁡(cS†X)=0 for every odd-cardinality S) and Λ(X⊗X)−(X⊗X)Λ=0.X\in\mathcal G_s \quad\Longleftrightarrow\quad \left(\operatorname{tr}(c_S^\dagger X)=0\ \text{for every odd-cardinality }S\right) \ \text{and}\ \Lambda(X\otimes X)-(X\otimes X)\Lambda=0.X∈Gs​⟺(tr(cS†​X)=0 for every odd-cardinality S) and Λ(X⊗X)−(X⊗X)Λ=0.

Moreover, if X∈GsX\in\mathcal G_sX∈Gs​, there exist an integer 0≤k≤n0\le k\le n0≤k≤n, a scalar C∈CC\in\mathbb CC∈C, an invertible complex r×rr\times rr×r matrix TTT, and a complex skew-symmetric matrix MMM such that, writing μa=∑bTabθb\mu_a=\sum_bT_{ab}\theta_bμa​=∑b​Tab​θb​,

X^=C(∏a=02k−1μa)exp⁡∧ ⁣(i2∑a,b=02k≤a, 2k≤br−1Mabμaμb).\widehat X =C\left(\prod_{a=0}^{2k-1}\mu_a\right) \exp_\wedge\!\left(\frac{i}{2} \sum_{\substack{a,b=0\\2k\le a,\ 2k\le b}}^{r-1} M_{ab}\mu_a\mu_b\right).X=C(a=0∏2k−1​μa​)exp∧​​2i​a,b=02k≤a, 2k≤b​∑r−1​Mab​μa​μb​​.

The product is in increasing order and is 111 when k=0k=0k=0; CCC may be zero, XXX need not have nonzero trace, and n=0n=0n=0 is included.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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