Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§V Eqs.(111)–(113): D4-symmetric TTT-LTFIM and shared orbit gates

Open
QAlgorithms.Papers.Independent.Extend50.P01.geometric_ltfim

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

prove2quantum

Use the fixed nine-site graph of Fig.12: eight contour edges, four center-to-edge spokes, and four center-to-corner diagonals. For each family AAA, put HA=∑(i,j)∈AZiZjH_A=\sum_{(i,j)\in A}Z_iZ_jHA​=∑(i,j)∈A​Zi​Zj​. The Hamiltonian

H=Hcont+12Hinside+32Hdiag+∑iXi+∑iZiH=H_{\rm cont}+\tfrac12H_{\rm inside}+\tfrac32H_{\rm diag}+\sum_iX_i+\sum_iZ_iH=Hcont​+21​Hinside​+23​Hdiag​+i∑​Xi​+i∑​Zi​

is invariant under the board D4D_4D4​ wire action, as is the normalized input ∣+⟩⊗9|+\rangle^{\otimes9}∣+⟩⊗9. Twirling each local Pauli generator yields its average over the corresponding vertex orbit, and twirling each edge interaction yields its average over the corresponding edge orbit. Consequently complete shared ZZ/X/Z orbit layers commute with the group. For ppp layers there are 9p9p9p named real coordinates, versus 34p34p34p in the unrestricted per-edge/per-site family. These are syntactic coordinate counts, without independence, minimality, or an X-parity sector 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)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P01.su2MeasurableSpace

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P01.su2BorelSpace

local notation "collective" => (fun (n : ℕ) (V : SU2) => QAlgorithms.Papers.Independent.Information100.P69.matrixPower (Subtype.val V) n)

/-- PDF pp.19–20, Fig.12 and Eqs.(111)–(113): D4 Hamiltonian and orbit-gate invariance,
with 34p versus 9p syntactic real parameter slots. No parity-sector claim is made. -/
theorem geometric_ltfim (p : ℕ) :
    IsState (plusState 9) ∧
    (∀ s ∈ boardGroup, conjugate (wireMatrix s) latticeHamiltonian = latticeHamiltonian ∧
      act (wireMatrix s) (plusState 9) = plusState 9 ∧
      ∀ theta, Commute (latticeLayer theta) (wireMatrix s)) ∧
    (∀ (a : Fin 3) (i : Fin 9), boardTwirl (onWire i (axis a)) = orbitLocal (axis a) (vertexClass i)) ∧
    (∀ c (e : Fin 9 × Fin 9), e ∈ latticeEdges c →
      boardTwirl (onWire e.1 pauliZ * onWire e.2 pauliZ) = orbitInteraction c) ∧
    Fintype.card (LatticeOriginalParameters p) = 34 * p ∧
    Fintype.card (LatticeSymmetricParameters p) = 9 * p := by sorry

end QAlgorithms.Papers.Independent.Extend50.P01

end
Source
Exploiting symmetry in variational quantum machine learning, arXiv:2205.06217v1, PDF p. 20, §V Eqs.(111)–(113): D4-symmetric TTT-LTFIM and shared orbit gates
Read-back

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

For every natural number ppp, including p=0p=0p=0, consider the complex Euclidean space indexed by bit strings b:{0,…,8}→{false,true}b:\{0,\ldots,8\}\to\{\mathrm{false},\mathrm{true}\}b:{0,…,8}→{false,true}. Write X,Y,ZX,Y,ZX,Y,Z for the Pauli matrices, with false\mathrm{false}false preceding true\mathrm{true}true, and let AiA_iAi​ denote a one-qubit matrix AAA acting on wire iii: its entry at bit strings b,b′b,b'b,b′ is Abi,bi′∏r≠i1br=br′A_{b_i,b'_i}\prod_{r\ne i}\mathbf1_{b_r=b'_r}Abi​,bi′​​∏r=i​1br​=br′​​. Define the ordered edge sets

E0={(0,1),(2,3),(4,5),(6,7),(0,7),(2,1),(4,3),(6,5)},E1={(1,8),(3,8),(5,8),(7,8)},E2={(8,0),(8,2),(8,4),(8,6)},\begin{aligned} E_0&=\{(0,1),(2,3),(4,5),(6,7),(0,7),(2,1),(4,3),(6,5)\},\\ E_1&=\{(1,8),(3,8),(5,8),(7,8)\},\\ E_2&=\{(8,0),(8,2),(8,4),(8,6)\}, \end{aligned}E0​E1​E2​​={(0,1),(2,3),(4,5),(6,7),(0,7),(2,1),(4,3),(6,5)},={(1,8),(3,8),(5,8),(7,8)},={(8,0),(8,2),(8,4),(8,6)},​

the vertex classes V0={8}V_0=\{8\}V0​={8}, V1={0,2,4,6}V_1=\{0,2,4,6\}V1​={0,2,4,6}, V2={1,3,5,7}V_2=\{1,3,5,7\}V2​={1,3,5,7}, and c(i)c(i)c(i) by i∈Vc(i)i\in V_{c(i)}i∈Vc(i)​. Put Jc=∑(u,v)∈EcZuZvJ_c=\sum_{(u,v)\in E_c}Z_uZ_vJc​=∑(u,v)∈Ec​​Zu​Zv​, and define

H=J0+12J1+32J2+∑i=08Xi+∑i=08Zi,∣+⟩(b)=(1/2)9.H=J_0+\tfrac12J_1+\tfrac32J_2+\sum_{i=0}^{8}X_i+\sum_{i=0}^{8}Z_i, \qquad |+\rangle(b)=(1/\sqrt2)^9.H=J0​+21​J1​+23​J2​+i=0∑8​Xi​+i=0∑8​Zi​,∣+⟩(b)=(1/2​)9.

Let GGG be the subgroup of permutations of {0,…,8}\{0,\ldots,8\}{0,…,8} generated by

R=((0 2)(2 4)(4 6))((1 3)(3 5)(5 7)),F=(0 2)(7 3)(6 4),R=((0\,2)(2\,4)(4\,6))((1\,3)(3\,5)(5\,7)), \qquad F=(0\,2)(7\,3)(6\,4),R=((02)(24)(46))((13)(35)(57)),F=(02)(73)(64),

where permutation products mean composition. For s∈Gs\in Gs∈G, let WsW_sWs​ be the matrix with entry 111 at (b,b′)(b,b')(b,b′) exactly when bi=bs−1(i)′b_i=b'_{s^{-1}(i)}bi​=bs−1(i)′​ for every iii, and entry 000 otherwise, and define

T(A)=1∣G∣∑s∈GWsAWs†.\mathcal T(A)=\frac1{|G|}\sum_{s\in G}W_sAW_s^\dagger.T(A)=∣G∣1​s∈G∑​Ws​AWs†​.

For every real parameter vector θ=(θ0,…,θ8)\theta=(\theta_0,\ldots,\theta_8)θ=(θ0​,…,θ8​), define

L(θ)=exp⁡ ⁣(−i2∑c=02θc+6∑i∈VcZi)exp⁡ ⁣(−i2∑c=02θc+3∑i∈VcXi)exp⁡ ⁣(−i2∑c=02θcJc).L(\theta)= \exp\!\left(-\frac{\mathrm i}{2}\sum_{c=0}^{2}\theta_{c+6}\sum_{i\in V_c}Z_i\right) \exp\!\left(-\frac{\mathrm i}{2}\sum_{c=0}^{2}\theta_{c+3}\sum_{i\in V_c}X_i\right) \exp\!\left(-\frac{\mathrm i}{2}\sum_{c=0}^{2}\theta_cJ_c\right).L(θ)=exp(−2i​c=0∑2​θc+6​i∈Vc​∑​Zi​)exp(−2i​c=0∑2​θc+3​i∈Vc​∑​Xi​)exp(−2i​c=0∑2​θc​Jc​).

The declaration asserts jointly that ∥ ∣+⟩∥=1\|\,|+\rangle\|=1∥∣+⟩∥=1; that every s∈Gs\in Gs∈G satisfies WsHWs†=HW_sHW_s^\dagger=HWs​HWs†​=H, Ws∣+⟩=∣+⟩W_s|+\rangle=|+\rangleWs​∣+⟩=∣+⟩, and L(θ)Ws=WsL(θ)L(\theta)W_s=W_sL(\theta)L(θ)Ws​=Ws​L(θ) for every θ\thetaθ; that for each A∈{X,Y,Z}A\in\{X,Y,Z\}A∈{X,Y,Z} and every wire iii,

T(Ai)=1∣Vc(i)∣∑j∈Vc(i)Aj;\mathcal T(A_i)=\frac1{|V_{c(i)}|}\sum_{j\in V_{c(i)}}A_j;T(Ai​)=∣Vc(i)​∣1​j∈Vc(i)​∑​Aj​;

that for every c∈{0,1,2}c\in\{0,1,2\}c∈{0,1,2} and every ordered pair (u,v)∈Ec(u,v)\in E_c(u,v)∈Ec​,

T(ZuZv)=1∣Ec∣Jc;\mathcal T(Z_uZ_v)=\frac1{|E_c|}J_c;T(Zu​Zv​)=∣Ec​∣1​Jc​;

and that the finite sets {0,…,p−1}×((E0∪E1∪E2)⊔({0,1}×{0,…,8}))\{0,\ldots,p-1\}\times\bigl((E_0\cup E_1\cup E_2)\sqcup(\{0,1\}\times\{0,\ldots,8\})\bigr){0,…,p−1}×((E0​∪E1​∪E2​)⊔({0,1}×{0,…,8})) and {0,…,p−1}×{0,…,8}\{0,\ldots,p-1\}\times\{0,\ldots,8\}{0,…,p−1}×{0,…,8} have cardinalities 34p34p34p and 9p9p9p, respectively.

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