Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Recursive explicit lift of all disjoint exchange-monomial Hamiltonians

Open
QAlgorithms.Papers.Independent.Advance50.P49.recursive_monomial_lift

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

prove2quantum

Use the physical register Hn=(C2)⊗n\mathcal H_n=(\mathbb C^2)^{\otimes n}Hn​=(C2)⊗n. Rotational invariance means commuting with U⊗nU^{\otimes n}U⊗n for every one-qubit unitary UUU. The legal spins are j=n/2−rj=n/2-rj=n/2−r, r=0,…,⌊n/2⌋r=0,\ldots,\lfloor n/2\rfloorr=0,…,⌊n/2⌋, and Πj\Pi_jΠj​ is the actual spectral projector of J2J^2J2 at j(j+1)j(j+1)j(j+1). Write Rab=(XaXb+YaYb+ZaZb)/2R_{ab}=(X_aX_b+Y_aY_b+Z_aZ_b)/2Rab​=(Xa​Xb​+Ya​Yb​+Za​Zb​)/2 and Vk,vk\mathcal V_k,\mathfrak v_kVk​,vk​ for the group of finite compositions of kkk-local invariant gates and its generated real Lie algebra, including scalar phases. Exchange-only circuits contain finite products of e−itRabe^{-itR_{ab}}e−itRab​ with real ttt. Set C0=IC_0=IC0​=I and, for even l>0l>0l>0, Cl=(l/2)!−1∑i1,…,il distinctRi1i2⋯Ril−1ilC_l=(l/2)!^{-1}\sum_{i_1,\ldots,i_l\ \mathrm{distinct}}R_{i_1i_2}\cdots R_{i_{l-1}i_l}Cl​=(l/2)!−1∑i1​,…,il​ distinct​Ri1​i2​​⋯Ril−1​il​​. Extend Cl=0C_l=0Cl​=0 above 2⌊n/2⌋2\lfloor n/2\rfloor2⌊n/2⌋. Its sector eigenvalue is cl(j)=Tr⁡(ClΠj)/Tr⁡(Πj)c_l(j)=\operatorname{Tr}(C_l\Pi_j)/\operatorname{Tr}(\Pi_j)cl​(j)=Tr(Cl​Πj​)/Tr(Πj​). All body-index sums below are over even indices.

For real coefficient functions hlh_lhl​ on ordered injective wire tuples, let H=∑l=22⌊n/2⌋∑ihl(i)Ri1i2⋯Ril−1ilH=\sum_{l=2}^{2\lfloor n/2\rfloor}\sum_{\mathbf i}h_l(\mathbf i)R_{i_1i_2}\cdots R_{i_{l-1}i_l}H=∑l=22⌊n/2⌋​∑i​hl​(i)Ri1​i2​​⋯Ril−1​il​​; there is no arbitrary identity term. Lift each standard monomial using

Q~2=Q2⊗I,Q~l=Ql⊗I−Ql−2⊗Rab+12Q~l−2(l≥4),\widetilde Q_2=Q_2\otimes I,\qquad \widetilde Q_l=Q_l\otimes I-Q_{l-2}\otimes R_{ab}+\tfrac12\widetilde Q_{l-2}\quad(l\ge4),Q​2​=Q2​⊗I,Q​l​=Ql​⊗I−Ql−2​⊗Rab​+21​Q​l−2​(l≥4),

then permute its data wires and extend linearly to the prescribed H~\widetilde HH. It is Hermitian, has a finite real exchange Lie expression, and

H~(ψ⊗∣00⟩)=(Hψ)⊗∣00⟩for every ψ.\widetilde H(\psi\otimes|00\rangle)=(H\psi)\otimes|00\rangle\quad\text{for every }\psi.H(ψ⊗∣00⟩)=(Hψ)⊗∣00⟩for every ψ.

For each physical even l≥4l\ge4l≥4, the difference Ql⊗I−Ql−2⊗RabQ_l\otimes I-Q_{l-2}\otimes R_{ab}Ql​⊗I−Ql−2​⊗Rab​ itself has a finite exchange Lie expression. The statement retains I35–I36: in the four-term I32 template, replace its four first exchanges R12,R23,R13,R35R_{12},R_{23},R_{13},R_{35}R12​,R23​,R13​,R35​ by T(R12−R45),T(R23−R15),T(R13−R45),T(R35−R12)T(R_{12}-R_{45}),T(R_{23}-R_{15}),T(R_{13}-R_{45}),T(R_{35}-R_{12})T(R12​−R45​),T(R23​−R15​),T(R13​−R45​),T(R35​−R12​), respectively. For any TTT supported away from the six template wires, the result is 4T(R12R34−R34R56)4T(R_{12}R_{34}-R_{34}R_{56})4T(R12​R34​−R34​R56​). This is the recursive first-bracket substitution and carries no complexity bound.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P49
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P49

open scoped Classical Matrix ComplexConjugate Matrix.Norms.Frobenius

open MeasureTheory

attribute [local instance 100] LieRing.ofAssociativeRing

-- Specialize the frozen generic aliases without declaring new aliases.

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

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

-- The frozen support predicate takes the support before the operator.

local notation "WireSupported" => QAlgorithms.Papers.Independent.Information100.P69.Supported

/-- PDF pp.33–35, I25–I37: the explicit monomial lift, finite Lie expressions,
the recursive Q-lift, and the actual first-bracket substitution of I35/I36. -/
theorem recursive_monomial_lift (n : ℕ) :
    (∀ h : (l : ℕ) → (Fin l ↪ Fin n) → ℝ,
      (liftMonomialHamiltonian n h).IsHermitian ∧
      (∃ e : ExchangeExpr (n+2), e.eval = Complex.I • liftMonomialHamiltonian n h) ∧
      ∀ psi : Vec n, act (liftMonomialHamiltonian n h) (tensorState psi (zeroKet 2)) =
        tensorState (act (monomialHamiltonian n h) psi) (zeroKet 2)) ∧
    (∀ l : ℕ, Even l → 4 ≤ l → l ≤ n →
      (∃ e : ExchangeExpr (n+2), e.eval = Complex.I •
        (registerTensor (standardQ n l) (1 : Op 2) -
          registerTensor (standardQ n (l-2)) (heisenbergExchange (0 : Fin 2) 1))) ∧
      liftQ n l = registerTensor (standardQ n l) (1 : Op 2) -
        registerTensor (standardQ n (l-2)) (heisenbergExchange (0 : Fin 2) 1) + (1/2 : ℂ) • liftQ n (l-2)) ∧
    (∀ (N : ℕ) (w : Fin 6 ↪ Fin N) (T : Op N) (s : Finset (Fin N)),
      WireSupported s T → (∀ q : Fin 6, w q ∉ s) →
      commutatorTemplate w (fun a => T*(templateSeeds w a-templateComplements w a)) =
        (4 : ℂ) • (T*(heisenbergExchange (w 0) (w 1)*heisenbergExchange (w 2) (w 3) -
          heisenbergExchange (w 2) (w 3)*heisenbergExchange (w 4) (w 5)))) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P49

end
Source
Rotationally-Invariant Circuits: Universality with the exchange interaction and two ancilla qubits, arXiv:2202.01963v1, PDF p. 35, Recursive explicit lift of all disjoint exchange-monomial Hamiltonians
Read-back

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

For every natural number nnn, use Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n, ordinary matrix action, concatenated-register tensor products ⊠\boxtimes⊠, and Eab=12(XaXb+YaYb+ZaZb)E_{ab}=\tfrac12(X_aX_b+Y_aY_b+Z_aZ_b)Eab​=21​(Xa​Xb​+Ya​Yb​+Za​Zb​) for the Pauli matrices on wires a,ba,ba,b. For an injection ι:{0,…,l−1}↪{0,…,n−1}\iota:\{0,\ldots,l-1\}\hookrightarrow\{0,\ldots,n-1\}ι:{0,…,l−1}↪{0,…,n−1}, define Mι=∏a=0⌊l/2⌋−1Eι(2a),ι(2a+1)M_\iota=\prod_{a=0}^{\lfloor l/2\rfloor-1}E_{\iota(2a),\iota(2a+1)}Mι​=∏a=0⌊l/2⌋−1​Eι(2a),ι(2a+1)​, in increasing order of aaa; define Qn,lQ_{n,l}Qn,l​ to be this product for the initial lll wires if l≤nl\leq nl≤n, and zero otherwise. For r≥1r\geq1r≥1, put

Ln,2r=2−r(2Qn,2⊠I+∑a=2r2a(Qn,2a⊠I−Qn,2a−2⊠Eanc)),Eanc=12(X⊗X+Y⊗Y+Z⊗Z).L_{n,2r}=2^{-r}\left(2Q_{n,2}\boxtimes I+ \sum_{a=2}^{r}2^a \bigl(Q_{n,2a}\boxtimes I-Q_{n,2a-2}\boxtimes E_{\mathrm{anc}}\bigr)\right), \qquad E_{\mathrm{anc}}=\tfrac12(X\otimes X+Y\otimes Y+Z\otimes Z).Ln,2r​=2−r(2Qn,2​⊠I+a=2∑r​2a(Qn,2a​⊠I−Qn,2a−2​⊠Eanc​)),Eanc​=21​(X⊗X+Y⊗Y+Z⊗Z).

For each injection ι\iotaι, the definition selects a permutation pιp_\iotapι​ of the nnn wires that sends each initial index q<lq<lq<l to ι(q)\iota(q)ι(q), if such a permutation exists, and otherwise uses the identity permutation; let Sp∣x⟩=∣x∘p−1⟩S_p|x\rangle=|x\circ p^{-1}\rangleSp​∣x⟩=∣x∘p−1⟩. For every family of real coefficients hl(ι)h_l(\iota)hl​(ι), with coefficients supplied for every natural lll and every such injection, define

Hh=∑r=1⌊n/2⌋ ∑ι:{0,…,2r−1}↪{0,…,n−1}h2r(ι)Mι,H~h=∑r=1⌊n/2⌋ ∑ιh2r(ι)(Spι⊠I)Ln,2r(Spι⊠I)†.H_h=\sum_{r=1}^{\lfloor n/2\rfloor}\ \sum_{\iota:\{0,\ldots,2r-1\}\hookrightarrow\{0,\ldots,n-1\}} h_{2r}(\iota)M_\iota,\qquad \widetilde H_h=\sum_{r=1}^{\lfloor n/2\rfloor}\ \sum_\iota h_{2r}(\iota)(S_{p_\iota}\boxtimes I)L_{n,2r}(S_{p_\iota}\boxtimes I)^\dagger .Hh​=r=1∑⌊n/2⌋​ ι:{0,…,2r−1}↪{0,…,n−1}∑​h2r​(ι)Mι​,Hh​=r=1∑⌊n/2⌋​ ι∑​h2r​(ι)(Spι​​⊠I)Ln,2r​(Spι​​⊠I)†.

The first assertion is that H~h\widetilde H_hHh​ is Hermitian, that iH~hi\widetilde H_hiHh​ has a finite expression built from zero and generators iEabiE_{ab}iEab​ with a≠ba\ne ba=b, using addition, arbitrary real scalar multiplication, and brackets [A,B]=AB−BA[A,B]=AB-BA[A,B]=AB−BA, and that H~h(ψ⊠∣02⟩)=(Hhψ)⊠∣02⟩\widetilde H_h(\psi\boxtimes|0_2\rangle)=(H_h\psi)\boxtimes|0_2\rangleHh​(ψ⊠∣02​⟩)=(Hh​ψ)⊠∣02​⟩ for every ψ∈Hn\psi\in\mathcal H_nψ∈Hn​, without a normalization assumption. The second assertion is that for every even lll with 4≤l≤n4\leq l\leq n4≤l≤n, the matrix i(Qn,l⊠I−Qn,l−2⊠Eanc)i(Q_{n,l}\boxtimes I-Q_{n,l-2}\boxtimes E_{\mathrm{anc}})i(Qn,l​⊠I−Qn,l−2​⊠Eanc​) has such a finite expression, and

Ln,l=Qn,l⊠I−Qn,l−2⊠Eanc+12Ln,l−2.L_{n,l}=Q_{n,l}\boxtimes I-Q_{n,l-2}\boxtimes E_{\mathrm{anc}}+\tfrac12L_{n,l-2}.Ln,l​=Qn,l​⊠I−Qn,l−2​⊠Eanc​+21​Ln,l−2​.

The third assertion quantifies over every natural NNN, injection w:{0,…,5}↪{0,…,N−1}w:\{0,\ldots,5\}\hookrightarrow\{0,\ldots,N-1\}w:{0,…,5}↪{0,…,N−1}, matrix TTT on HN\mathcal H_NHN​, and set sss of its wire indices: if WireSupported⁡(s,T)\operatorname{WireSupported}(s,T)WireSupported(s,T) holds and w(q)∉sw(q)\notin sw(q)∈/s for every qqq, then, writing Rab=Ew(a),w(b)R_{ab}=E_{w(a),w(b)}Rab​=Ew(a),w(b)​, F=(R01,R12,R02,R24)F=(R_{01},R_{12},R_{02},R_{24})F=(R01​,R12​,R02​,R24​), G=(R34,R04,R34,R01)G=(R_{34},R_{04},R_{34},R_{01})G=(R34​,R04​,R34​,R01​), and

Cw(A)=−[[[[A0,R12],R23],R34],R40]−[[[[A1,R23],R34],R45],R51]−[[A2,R12],R13]+[[A3,R34],R35],\mathcal C_w(A)= -[[[[A_0,R_{12}],R_{23}],R_{34}],R_{40}] -[[[[A_1,R_{23}],R_{34}],R_{45}],R_{51}] -[[A_2,R_{12}],R_{13}] +[[A_3,R_{34}],R_{35}],Cw​(A)=−[[[[A0​,R12​],R23​],R34​],R40​]−[[[[A1​,R23​],R34​],R45​],R51​]−[[A2​,R12​],R13​]+[[A3​,R34​],R35​],

one has Cw((T(Fa−Ga))a=03)=4T(R01R23−R23R45)\mathcal C_w\bigl((T(F_a-G_a))_{a=0}^3\bigr)=4T(R_{01}R_{23}-R_{23}R_{45})Cw​((T(Fa​−Ga​))a=03​)=4T(R01​R23​−R23​R45​). The definition of the predicate WireSupported⁡\operatorname{WireSupported}WireSupported is not supplied. The theorem includes n=0,1n=0,1n=0,1, for which both coefficient sums are empty and equal zero; the second assertion has no eligible lll when n<4n<4n<4, and the third has no eligible injection when N<6N<6N<6.

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

    Confirmed by the moderator at approval.

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