Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Occupation projectors have the FLO Gaussian integral representation

Open
QAlgorithms.Papers.Independent.Intake100.P22.flo_measurement_representation

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 a mode 1≤j≤n1\le j\le n1≤j≤n and outcome ϵ∈{0,1}\epsilon\in\{0,1\}ϵ∈{0,1}, put Pj,0=ajaj†P_{j,0}=a_ja_j^\daggerPj,0​=aj​aj†​, Pj,1=aj†ajP_{j,1}=a_j^\dagger a_jPj,1​=aj†​aj​ and Ej,ϵ(X)=Pj,ϵXPj,ϵE_{j,\epsilon}(X)=P_{j,\epsilon}XP_{j,\epsilon}Ej,ϵ​(X)=Pj,ϵ​XPj,ϵ​. Write ∑a′\sum_a'∑a′​ for the sum excluding 2j−1,2j2j-1,2j2j−1,2j, and set

Sj,ϵ(θ,η)=i(−1)ϵ(θ2j−1θ2j−η2j−1η2j)+i∑a′θaηa.S_{j,\epsilon}(\theta,\eta)=i(-1)^\epsilon(\theta_{2j-1}\theta_{2j}-\eta_{2j-1}\eta_{2j})+i\sum_a'\theta_a\eta_a.Sj,ϵ​(θ,η)=i(−1)ϵ(θ2j−1​θ2j​−η2j−1​η2j​)+ia∑′​θa​ηa​.

Then Ej,ϵE_{j,\epsilon}Ej,ϵ​ is Gaussian and, for every operator XXX,

ω(Ej,ϵ(X),θ)=12∫eSj,ϵ(θ,η)+iηTμω(X,μ) Dη Dμ.\omega(E_{j,\epsilon}(X),\theta)=\frac12\int e^{S_{j,\epsilon}(\theta,\eta)+i\eta^T\mu}\omega(X,\mu)\,D\eta\,D\mu.ω(Ej,ϵ​(X),θ)=21​∫eSj,ϵ​(θ,η)+iηTμω(X,μ)DηDμ.

For a Gaussian input density, division of the output by its positive outcome trace gives a Gaussian density. This supplies the measurement part of the Lagrangian FLO representation.

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.11, Eq.(51): both occupation projectors have the stated Lagrangian
kernel on all operators. The source's phrase "Gaussian state" for the output
requires division by the positive outcome trace. -/
theorem flo_measurement_representation {n : ℕ} (s : CARSystem n) (j : Fin n)
    (outcome : Bool) :
    GaussianMap s (conjSuperop (modeProjector s j outcome)) ∧
    (∀ X : Op (Qubits n), majoranaSymbol s (conjSuperop (modeProjector s j outcome) X) =
      measurementEval j outcome (majoranaSymbol s X)) ∧
    (∀ rho : Op (Qubits n), FermionicGaussianState s rho →
      let Y := conjSuperop (modeProjector s j outcome) rho
      0 < Y.trace.re → FermionicGaussianState s (normalizeComplexTrace Y)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P22

end
Source
Lagrangian representation for fermionic linear optics, arXiv:quant-ph/0404180v2, PDF p. 11, §VIII, Eq.(51): Lagrangian FLO measurement representation (seed paper result)
Read-back

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

For every natural number nnn, let Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n, and let sss supply Hermitian matrices γa\gamma_aγa​, a<d=2na<d=2na<d=2n, satisfying γaγb+γbγa=2δabI\gamma_a\gamma_b+\gamma_b\gamma_a=2\delta_{ab}Iγa​γb​+γb​γa​=2δab​I. For every j<nj<nj<n and Boolean outcome ooo, put a=2ja=2ja=2j, b=2j+1b=2j+1b=2j+1, εfalse=1\varepsilon_{\mathrm{false}}=1εfalse​=1, εtrue=−1\varepsilon_{\mathrm{true}}=-1εtrue​=−1, P=12(I+εoiγaγb)P=\tfrac12(I+\varepsilon_o i\gamma_a\gamma_b)P=21​(I+εo​iγa​γb​), and Φ(X)=PXP†\Phi(X)=PXP^\daggerΦ(X)=PXP†. Define the symbol of any matrix by σs(X)(S)=2−ntr⁡(γS†X)\sigma_s(X)(S)=2^{-n}\operatorname{tr}(\gamma_S^\dagger X)σs​(X)(S)=2−ntr(γS†​X), where γS\gamma_SγS​ is the increasing ordered product of its indexed matrices and γ∅=I\gamma_\varnothing=Iγ∅​=I. Symbols are interpreted in the exterior algebra on ordered anticommuting, square-zero generators; write Eq(Q)=∑k=0qQk/k!E_q(Q)=\sum_{k=0}^{q}Q^k/k!Eq​(Q)=∑k=0q​Qk/k!. In 3d3d3d generators arranged as consecutive blocks θ,η,ζ\theta,\eta,\zetaθ,η,ζ, write f(ζ)=∑Sf(S)ζSf(\zeta)=\sum_S f(S)\zeta_Sf(ζ)=∑S​f(S)ζS​, and let JJJ extract the coefficient containing a specified θ\thetaθ-subset and every η\etaη- and ζ\zetaζ-generator. The theorem asserts all of the following: Φ\PhiΦ is complex linear, meaning Φ(uX+vY)=uΦ(X)+vΦ(Y)\Phi(uX+vY)=u\Phi(X)+v\Phi(Y)Φ(uX+vY)=uΦ(X)+vΦ(Y) for all matrices X,YX,YX,Y and scalars u,vu,vu,v, and there exist complex d×dd\times dd×d matrices A0,B0,D0A_0,B_0,D_0A0​,B0​,D0​ and a complex scalar ccc, with A0T=−A0A_0^{\mathsf T}=-A_0A0T​=−A0​ and D0T=−D0D_0^{\mathsf T}=-D_0D0T​=−D0​, such that for every XXX,

σs(Φ(X))=c J ⁣(E3d ⁣(i2∑r,t<d(A0)rtθrθt+i∑r,t<d(B0)rtθrηt+i2∑r,t<d(D0)rtηrηt+i∑r<dηrζr)σs(X)(ζ));\sigma_s(\Phi(X)) =c\,J\!\left(E_{3d}\!\left( \frac{i}{2}\sum_{r,t<d}(A_0)_{rt}\theta_r\theta_t +i\sum_{r,t<d}(B_0)_{rt}\theta_r\eta_t +\frac{i}{2}\sum_{r,t<d}(D_0)_{rt}\eta_r\eta_t +i\sum_{r<d}\eta_r\zeta_r\right)\sigma_s(X)(\zeta)\right);σs​(Φ(X))=cJ​E3d​​2i​r,t<d∑​(A0​)rt​θr​θt​+ir,t<d∑​(B0​)rt​θr​ηt​+2i​r,t<d∑​(D0​)rt​ηr​ηt​+ir<d∑​ηr​ζr​​σs​(X)(ζ)​;

also, for every matrix XXX, the explicit identity

σs(Φ(X))=12J ⁣(E3d ⁣(εoi(θaθb−ηaηb)+i∑r<dr≠a,bθrηr+i∑r<dηrζr)σs(X)(ζ))\sigma_s(\Phi(X)) =\frac12J\!\left(E_{3d}\!\left( \varepsilon_o i(\theta_a\theta_b-\eta_a\eta_b) +i\sum_{\substack{r<d\\r\ne a,b}}\theta_r\eta_r +i\sum_{r<d}\eta_r\zeta_r\right)\sigma_s(X)(\zeta)\right)σs​(Φ(X))=21​J​E3d​​εo​i(θa​θb​−ηa​ηb​)+ir<dr=a,b​∑​θr​ηr​+ir<d∑​ηr​ζr​​σs​(X)(ζ)​

holds; finally, if ρ\rhoρ is positive semidefinite with trace 111 and there exists a real skew-symmetric matrix MMM such that σs(ρ)=2−nEd(i2∑r,t<dMrtξrξt)\sigma_s(\rho)=2^{-n}E_d(\tfrac{i}{2}\sum_{r,t<d}M_{rt}\xi_r\xi_t)σs​(ρ)=2−nEd​(2i​∑r,t<d​Mrt​ξr​ξt​), then, writing Y=PρP†Y=P\rho P^\daggerY=PρP†, the condition Re⁡tr⁡Y>0\operatorname{Re}\operatorname{tr}Y>0RetrY>0 implies that (tr⁡Y)−1Y(\operatorname{tr}Y)^{-1}Y(trY)−1Y is positive semidefinite with trace 111 and has a symbol of that same form for some real skew-symmetric matrix. The quantified j<nj<nj<n cannot exist when n=0n=0n=0, and the last implication imposes no conclusion for an outcome with nonpositive real trace.

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