Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Bistochasticity criterion and homogeneous covariance action

Open
QAlgorithms.Papers.Independent.Intake100.P22.bistochasticity_criterion

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.

A map is bistochastic here when it is trace preserving on all operators and satisfies E(I)=IE(I)=IE(I)=I. For a Gaussian map with parameters (A,B,D,C)(A,B,D,C)(A,B,D,C),

E is bistochastic⟺A=D=0, C=1.E\text{ is bistochastic}\quad\Longleftrightarrow\quad A=D=0,\ C=1.E is bistochastic⟺A=D=0, C=1.

For every regular Gaussian input with complex covariance MMM, the output is regular and its covariance is

M′=BMBT.M'=BMB^T.M′=BMBT.

No complete-positivity hypothesis is part of this statement. The result identifies exactly when the affine covariance term disappears.

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.9: bistochasticity is TP plus unitality; CP is not assumed. -/
theorem bistochasticity_criterion {n : ℕ} (s : CARSystem n)
    (E : Superop (Qubits n) (Qubits n)) (K : GrassmannKernel n) (hE : HasGrassmannKernel s E K) :
    (Bistochastic E ↔ K.A = 0 ∧ K.D = 0 ∧ K.C = 1) ∧
    (Bistochastic E → ∀ X M, RegularWith s X M →
      RegularWith s (E X) (K.B * M * K.B.transpose) ∧
        regularCorrelation s (E X) = K.B * M * K.B.transpose) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P22

end
Source
Lagrangian representation for fermionic linear optics, arXiv:quant-ph/0404180v2, PDF p. 9, §VI: bistochasticity criterion and homogeneous covariance action
Read-back

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

For every natural number nnn, including 000, let Q={0,1}nQ=\{0,1\}^nQ={0,1}n, J={0,…,2n−1}J=\{0,\ldots,2n-1\}J={0,…,2n−1}, and let s=(ca)s=(c_a)s=(ca​) consist of Hermitian complex matrices on CQ\mathbb C^QCQ with cacb+cbca=2δabIc_ac_b+c_bc_a=2\delta_{ab}Ica​cb​+cb​ca​=2δab​I. Set cS=∏a∈Sincreasingcac_S=\prod_{a\in S}^{\mathrm{increasing}}c_acS​=∏a∈Sincreasing​ca​, including c∅=Ic_\varnothing=Ic∅​=I, and X^=∑S⊆J2−ntr⁡(cS†X)θS\widehat X=\sum_{S\subseteq J}2^{-n}\operatorname{tr}(c_S^\dagger X)\theta_SX=∑S⊆J​2−ntr(cS†​X)θS​. Exterior generators anticommute and have square zero; in rrr generators, exp⁡∧,r(q)=∑k=0rqk/k!\exp_{\wedge,r}(q)=\sum_{k=0}^{r}q^k/k!exp∧,r​(q)=∑k=0r​qk/k!. Let EEE be any map on complex Q×QQ\times QQ×Q matrices, and let K=(AK,BK,DK,CK)K=(A_K,B_K,D_K,C_K)K=(AK​,BK​,DK​,CK​), where the first three entries are complex J×JJ\times JJ×J matrices, AK,DKA_K,D_KAK​,DK​ are skew under ordinary transpose, and CK∈CC_K\in\mathbb CCK​∈C. Assume EEE is complex linear and, for every XXX,

E(X)^=CK[ηJξJ] ⁣[exp⁡∧,6n ⁣(i2∑a,b(AK)abθaθb+i∑a,b(BK)abθaηb+i2∑a,b(DK)abηaηb+i∑aηaξa)X^(ξ)],\widehat{E(X)} =C_K[\eta_J\xi_J]\!\left[ \exp_{\wedge,6n}\!\left( \frac{i}{2}\sum_{a,b}(A_K)_{ab}\theta_a\theta_b +i\sum_{a,b}(B_K)_{ab}\theta_a\eta_b +\frac{i}{2}\sum_{a,b}(D_K)_{ab}\eta_a\eta_b +i\sum_a\eta_a\xi_a\right)\widehat X(\xi)\right],E(X)​=CK​[ηJ​ξJ​]​exp∧,6n​​2i​a,b∑​(AK​)ab​θa​θb​+ia,b∑​(BK​)ab​θa​ηb​+2i​a,b∑​(DK​)ab​ηa​ηb​+ia∑​ηa​ξa​​X(ξ)​,

with generator blocks ordered θ,η,ξ\theta,\eta,\xiθ,η,ξ, and the bracket extracting all generators in the last two blocks. Then the conjunction of tr⁡E(X)=tr⁡X\operatorname{tr}E(X)=\operatorname{tr}XtrE(X)=trX for every XXX and E(I)=IE(I)=IE(I)=I is equivalent to AK=0A_K=0AK​=0, DK=0D_K=0DK​=0, and CK=1C_K=1CK​=1. If this conjunction holds, then for every complex XXX and complex J×JJ\times JJ×J matrix MMM satisfying tr⁡X≠0\operatorname{tr}X\ne0trX=0, MT=−MM^{\mathsf T}=-MMT=−M, and

X^=tr⁡X2nexp⁡∧,2n ⁣(i2∑a,bMabθaθb),\widehat X=\frac{\operatorname{tr}X}{2^n} \exp_{\wedge,2n}\!\left(\frac{i}{2}\sum_{a,b}M_{ab}\theta_a\theta_b\right),X=2ntrX​exp∧,2n​​2i​a,b∑​Mab​θa​θb​​,

the matrix N=BKMBKTN=B_KMB_K^{\mathsf T}N=BK​MBKT​ is skew under transpose, tr⁡E(X)≠0\operatorname{tr}E(X)\ne0trE(X)=0, E(X)^=(tr⁡E(X)/2n)exp⁡∧,2n(i2∑a,bNabθaθb)\widehat{E(X)}=(\operatorname{tr}E(X)/2^n)\exp_{\wedge,2n}(\frac{i}{2}\sum_{a,b}N_{ab}\theta_a\theta_b)E(X)​=(trE(X)/2n)exp∧,2n​(2i​∑a,b​Nab​θa​θb​), and

i2tr⁡E(X)tr⁡ ⁣(E(X)(cacb−cbca))=Nab(a,b∈J).\frac{i}{2\operatorname{tr}E(X)} \operatorname{tr}\!\left(E(X)(c_ac_b-c_bc_a)\right)=N_{ab} \quad(a,b\in J).2trE(X)i​tr(E(X)(ca​cb​−cb​ca​))=Nab​(a,b∈J).

The assumptions on EEE do not include positivity, and the quantified XXX need not be density matrices. Empty products have value 111, so the statement also covers n=0n=0n=0.

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