Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§V Eqs.(97)–(98): parity twirling removes the extra Y mixer

Open
QAlgorithms.Papers.Independent.Extend50.P01.tfim_qaoa_symmetrization

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

prove2quantum

On a positive-length periodic chain, let P=⨂iXiP=\bigotimes_iX_iP=⨂i​Xi​ and TP(A)=(A+PAP)/2T_P(A)=(A+PAP)/2TP​(A)=(A+PAP)/2. For every site,

TP(Yi)=0,TP(Xi)=Xi,TP(ZiZi+1)=ZiZi+1.T_P(Y_i)=0,\qquad T_P(X_i)=X_i,\qquad T_P(Z_iZ_{i+1})=Z_iZ_{i+1}.TP​(Yi​)=0,TP​(Xi​)=Xi​,TP​(Zi​Zi+1​)=Zi​Zi+1​.

For any p≥0p\ge0p≥0 layers and real shared parameters αm,βm,γm\alpha_m,\beta_m,\gamma_mαm​,βm​,γm​, replacing the generators in the source's QAOA-prime product by their twirls therefore gives exactly the standard QAOA matrix product and its state on ∣+⟩⊗N|+\rangle^{\otimes N}∣+⟩⊗N, with βm,γm\beta_m,\gamma_mβm​,γm​ unchanged. Exponents have no half-angle factor. This is a generator and ansatz identity, without an optimizer or exact-recovery claim.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P01
Formal statement
noncomputable section

open scoped Matrix Kronecker ComplexConjugate Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P01

attribute [local instance] Classical.propDecidable Classical.decEq

-- PDF pp.3,8: reuse the accepted operator type, exp(-itH), and A X A†.
-- Notation specializes the imported interfaces without introducing duplicate declarations.

local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))

local notation "evolve" => QAlgorithms.Papers.Independent.Information100.P32.evolution

local notation "conjugate" => QAlgorithms.conjSuperop

-- PDF pp.3,10–11: the imported quadratic form is Re(psi† A psi).

local notation "expectation" => QAlgorithms.Papers.Independent.Information100.P21.quad

-- PDF pp.5,16–19: accepted active-wire operator, with identities on all spectators.

local notation "onWire" => QAlgorithms.Papers.Independent.Advance50.P49.onWire

-- PDF p.5: the imported phase-free Pauli tensor uses 0=I,1=X,2=Y,3=Z.

local notation "pauliWord" => QAlgorithms.Papers.Independent.Gap48.P33.pauliWord

local notation "parity" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P69.matrixPower pauliX n)

/-- PDF p.17, Eqs.(97),(98): twirling deletes exactly the Y mixer, preserving beta and gamma. -/
theorem tfim_qaoa_symmetrization (N p : ℕ) (hN : 1 ≤ N)
    (alpha beta gamma : Fin p → ℝ) :
    (∀ i : Fin N, involutionTwirl (parity N) (onWire i pauliY) = 0 ∧
      involutionTwirl (parity N) (onWire i pauliX) = onWire i pauliX ∧
      involutionTwirl (parity N) (onWire i pauliZ * onWire (nextSite i) pauliZ) =
        onWire i pauliZ * onWire (nextSite i) pauliZ) ∧
    twirledQaoa alpha beta gamma = (qaoa beta gamma : Op N) ∧
    act (twirledQaoa (n := N) alpha beta gamma) (plusState N) = act (qaoa beta gamma) (plusState N) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P01

end
Source
Exploiting symmetry in variational quantum machine learning, arXiv:2205.06217v1, PDF p. 17, §V Eqs.(97)–(98): parity twirling removes the extra Y mixer
Read-back

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

For every natural number N≥1N\ge1N≥1, every natural number ppp, and all real families α,β,γ\alpha,\beta,\gammaα,β,γ indexed by 0,…,p−10,\ldots,p-10,…,p−1, let ΠN\Pi_NΠN​ denote parity N and C(V,A)\mathcal C(V,A)C(V,A) denote conjugate V A, whose defining formulas are not supplied, and put T(A)=12(A+C(ΠN,A))\mathcal T(A)=\tfrac12(A+\mathcal C(\Pi_N,A))T(A)=21​(A+C(ΠN​,A)). With Xj,Yj,ZjX_j,Y_j,Z_jXj​,Yj​,Zj​ the standard Pauli operators on wire jjj, identity elsewhere, and j+=j+1 mod Nj^+=j+1\bmod Nj+=j+1modN, the theorem asserts, for every j<Nj<Nj<N,

T(Yj)=0,T(Xj)=Xj,T(ZjZj+)=ZjZj+.\mathcal T(Y_j)=0,\qquad \mathcal T(X_j)=X_j,\qquad \mathcal T(Z_jZ_{j^+})=Z_jZ_{j^+}.T(Yj​)=0,T(Xj​)=Xj​,T(Zj​Zj+​)=Zj​Zj+​.

Writing HY=∑j<NYjH_Y=\sum_{j<N}Y_jHY​=∑j<N​Yj​, HX=∑j<NXjH_X=\sum_{j<N}X_jHX​=∑j<N​Xj​, and HZZ=∑j<NZjZj+H_{ZZ}=\sum_{j<N}Z_jZ_{j^+}HZZ​=∑j<N​Zj​Zj+​, it also asserts the exact matrix equality

∏m=0p−1(e−iαmT(HY)e−iβmT(HX)e−iγmT(HZZ))=∏m=0p−1(e−iβmHXe−iγmHZZ),\prod_{m=0}^{p-1} \left(e^{-i\alpha_m\mathcal T(H_Y)} e^{-i\beta_m\mathcal T(H_X)} e^{-i\gamma_m\mathcal T(H_{ZZ})}\right) = \prod_{m=0}^{p-1}\left(e^{-i\beta_mH_X}e^{-i\gamma_mH_{ZZ}}\right),m=0∏p−1​(e−iαm​T(HY​)e−iβm​T(HX​)e−iγm​T(HZZ​))=m=0∏p−1​(e−iβm​HX​e−iγm​HZZ​),

and equality of these matrices applied to the vector whose every bit-string amplitude is 2−N/22^{-N/2}2−N/2. Both products have increasing mmm from left to right; for p=0p=0p=0 both are the identity. The case N=1N=1N=1, where ZjZj+=IZ_jZ_{j^+}=IZj​Zj+​=I, is included.

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

    Confirmed by the moderator at approval.

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