Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gaussian maps preserve both parity sectors

Open
QAlgorithms.Papers.Independent.Intake100.P22.gaussian_map_parity

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.

For any Gaussian map EEE, even and odd operators remain in their respective sectors:

X even⇒E(X) even,X odd⇒E(X) odd.X\text{ even}\Rightarrow E(X)\text{ even},\qquad X\text{ odd}\Rightarrow E(X)\text{ odd}.X even⇒E(X) even,X odd⇒E(X) odd.

Each sector is defined by the degrees of the ordered Majorana expansion. Positivity and trace preservation are not required. This allows the fermionic map calculus to retain information on the entire operator algebra.

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 p.8, Lemma 3: preservation of both parity sectors. -/
theorem gaussian_map_parity {n : ℕ} (s : CARSystem n)
    (E : Superop (Qubits n) (Qubits n)) (hE : GaussianMap s E) :
    ParityPreserving s E := by sorry

end QAlgorithms.Papers.Independent.Intake100.P22

end
Source
Lagrangian representation for fermionic linear optics, arXiv:quant-ph/0404180v2, PDF p. 8, Lemma 3: Gaussian maps preserve parity
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, r=2nr=2nr=2n, and let c0,…,cr−1c_0,\ldots,c_{r-1}c0​,…,cr−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. Define X^(θ)=2−n∑Str⁡(cS†X)θS\widehat X(\theta)=2^{-n}\sum_S\operatorname{tr}(c_S^\dagger X)\theta_SX(θ)=2−n∑S​tr(cS†​X)θS​, where cSc_ScS​ and θS\theta_SθS​ are increasing ordered products and empty products are identities. Suppose EEE is a map from complex matrices on CQn\mathbb C^{Q_n}CQn​ to themselves, is complex linear, and admits complex matrices A,B,DA,B,DA,B,D and a scalar CCC, with AT=−AA^{\mathsf T}=-AAT=−A and DT=−DD^{\mathsf T}=-DDT=−D, such that for every XXX,

E(X)^(θ)=C I ⁣[exp⁡∧ ⁣(i2∑a,bAabθaθb+i∑a,bBabθaηb+i2∑a,bDabηaηb+i∑aηaζa)X^(ζ)].\widehat{E(X)}(\theta) =C\,\mathcal I\!\left[ \exp_\wedge\!\left( \frac{i}{2}\sum_{a,b}A_{ab}\theta_a\theta_b +i\sum_{a,b}B_{ab}\theta_a\eta_b +\frac{i}{2}\sum_{a,b}D_{ab}\eta_a\eta_b +i\sum_a\eta_a\zeta_a\right)\widehat X(\zeta)\right].E(X)​(θ)=CI​exp∧​​2i​a,b∑​Aab​θa​θb​+ia,b∑​Bab​θa​ηb​+2i​a,b∑​Dab​ηa​ηb​+ia∑​ηa​ζa​​X(ζ)​.

The generators θ,η,ζ\theta,\eta,\zetaθ,η,ζ anticommute and square to zero, exp⁡∧(q)=∑j=03rqj/j!\exp_\wedge(q)=\sum_{j=0}^{3r}q^j/j!exp∧​(q)=∑j=03r​qj/j!, substitution preserves increasing monomial order, and I\mathcal II assigns to θS\theta_SθS​ the coefficient of θSη0⋯ηr−1ζ0⋯ζr−1\theta_S\eta_0\cdots\eta_{r-1}\zeta_0\cdots\zeta_{r-1}θS​η0​⋯ηr−1​ζ0​⋯ζr−1​. Then, for each p∈{0,1}p\in\{0,1\}p∈{0,1} and every matrix XXX, if X^\widehat XX has zero coefficient on every θS\theta_SθS​ with ∣S∣ mod 2≠p|S|\bmod2\ne p∣S∣mod2=p, the same is true of E(X)^\widehat{E(X)}E(X)​. This includes n=0n=0n=0, where the odd sector consists only of the zero matrix.

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