Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§V Eqs.(102)–(110): isotropic ansatz and parameter reduction

Open
QAlgorithms.Papers.Independent.Extend50.P01.heisenberg_ansatz

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

prove2quantum

Let N=2k≥2N=2k\ge2N=2k≥2 and consider p≥0p\ge0p≥0 layers, each consisting of one shared YYY mixer, one even-bond anisotropic Heisenberg block and one odd-bond block. Let αm\alpha_mαm​ be the mixer angle and βm,a,γm,a\beta_{m,a},\gamma_{m,a}βm,a​,γm,a​ the three even/odd anisotropies. Under normalized collective SU(2)SU(2)SU(2) twirling, each layer is exactly

e−iβˉmHevene−iγˉmHodd,βˉm=βm,X+βm,Y+βm,Z3,γˉm=γm,X+γm,Y+γm,Z3,e^{-i\bar\beta_mH_{\rm even}}e^{-i\bar\gamma_mH_{\rm odd}},\qquad \bar\beta_m=\frac{\beta_{m,X}+\beta_{m,Y}+\beta_{m,Z}}3,\quad\bar\gamma_m=\frac{\gamma_{m,X}+\gamma_{m,Y}+\gamma_{m,Z}}3,e−iβˉ​m​Heven​e−iγˉ​m​Hodd​,βˉ​m​=3βm,X​+βm,Y​+βm,Z​​,γˉ​m​=3γm,X​+γm,Y​+γm,Z​​,

with isotropic bond Hamiltonians; the YYY mixer vanishes. The complete products give equal states on the normalized singlet-product input. Every pair of real reduced angles is attainable. There are 2p2p2p named real coordinates instead of 7p7p7p, without a minimal-dimension assertion.

Formalization Note The repeated whole-block product printed in Eqs.(102),(110) is replaced by the one-block-per-layer construction described in the prose and Eq.(103).

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 p.18, Eqs.(102)–(110): exact reduction to two average coordinates per layer.
SOURCE CORRECTION: the printed product over i repeats whole even/odd blocks N times; use
one block per layer as specified by the prose and Eq.(103). Original interleaving is not equated. -/
theorem heisenberg_ansatz (k p : ℕ) (hk : 1 ≤ k) (mu : Measure SU2)
    [Measure.IsHaarMeasure mu] [IsProbabilityMeasure mu] (theta : Fin p → Fin 7 → ℝ) :
    (∀ j, twirledHeisenbergLayer (2 * k) mu (theta j) =
      isotropicLayer (2 * k) (reduceHeisenberg (theta j) 0) (reduceHeisenberg (theta j) 1)) ∧
    act ((List.ofFn (fun j => twirledHeisenbergLayer (2 * k) mu (theta j))).prod) (singletProduct k) =
      act ((List.ofFn (fun j => isotropicLayer (2 * k)
        (reduceHeisenberg (theta j) 0) (reduceHeisenberg (theta j) 1))).prod) (singletProduct k) ∧
    (∀ b : Fin p → Fin 2 → ℝ, ∃ t : Fin p → Fin 7 → ℝ, ∀ j, reduceHeisenberg (t j) = b j) ∧
    Fintype.card (HeisenbergParameters p false) = 7 * p ∧
    Fintype.card (HeisenbergParameters p true) = 2 * p := by sorry

end QAlgorithms.Papers.Independent.Extend50.P01

end
Source
Exploiting symmetry in variational quantum machine learning, arXiv:2205.06217v1, PDF p. 18, §V Eqs.(102)–(110): isotropic ansatz and parameter reduction
Read-back

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

For all natural numbers k,pk,pk,p with k≥1k\ge1k≥1, every measure μ\muμ on the special unitary group of Boolean-indexed complex matrices that is both a Haar measure and a probability measure, and every array of real parameters θj,a\theta_{j,a}θj,a​, 0≤j<p0\le j<p0≤j<p, 0≤a<70\le a<70≤a<7, put N=2kN=2kN=2k, bj=(θj,1+θj,2+θj,3)/3b_j=(\theta_{j,1}+\theta_{j,2}+\theta_{j,3})/3bj​=(θj,1​+θj,2​+θj,3​)/3, and cj=(θj,4+θj,5+θj,6)/3c_j=(\theta_{j,4}+\theta_{j,5}+\theta_{j,6})/3cj​=(θj,4​+θj,5​+θj,6​)/3. Let Xi,Yi,ZiX_i,Y_i,Z_iXi​,Yi​,Zi​ denote the Pauli matrices acting on wire iii, with identity elsewhere, and set Bε(a,b,c)=∑i mod 2=ε(aXiXi+1 mod N+bYiYi+1 mod N+cZiZi+1 mod N)B_\varepsilon(a,b,c)=\sum_{i\bmod2=\varepsilon}(aX_iX_{i+1\bmod N}+bY_iY_{i+1\bmod N}+cZ_iZ_{i+1\bmod N})Bε​(a,b,c)=∑imod2=ε​(aXi​Xi+1modN​+bYi​Yi+1modN​+cZi​Zi+1modN​). Define T(A)=∫C(CN(U),A) dμ(U)\mathcal T(A)=\int\mathcal C(C_N(U),A)\,d\mu(U)T(A)=∫C(CN​(U),A)dμ(U), using the code’s collective matrix CN(U)C_N(U)CN​(U) and matrix operation conjugate, whose defining bodies are not supplied, and define

Tj=e−iθj,0T(∑iYi)e−iT(B0(θj,1,θj,2,θj,3))e−iT(B1(θj,4,θj,5,θj,6)),Ij=e−ibjB0(1,1,1)e−icjB1(1,1,1).T_j= e^{-\mathrm i\theta_{j,0}\mathcal T(\sum_iY_i)} e^{-\mathrm i\mathcal T(B_0(\theta_{j,1},\theta_{j,2},\theta_{j,3}))} e^{-\mathrm i\mathcal T(B_1(\theta_{j,4},\theta_{j,5},\theta_{j,6}))}, \qquad I_j=e^{-\mathrm i b_jB_0(1,1,1)}e^{-\mathrm i c_jB_1(1,1,1)}.Tj​=e−iθj,0​T(∑i​Yi​)e−iT(B0​(θj,1​,θj,2​,θj,3​))e−iT(B1​(θj,4​,θj,5​,θj,6​)),Ij​=e−ibj​B0​(1,1,1)e−icj​B1​(1,1,1).

The theorem asserts Tj=IjT_j=I_jTj​=Ij​ for every jjj, and

(T0T1⋯Tp−1) sk=(I0I1⋯Ip−1) sk,(T_0T_1\cdots T_{p-1})\,s_k=(I_0I_1\cdots I_{p-1})\,s_k,(T0​T1​⋯Tp−1​)sk​=(I0​I1​⋯Ip−1​)sk​,

where, for a Boolean string zzz of length 2k2k2k, sk(z)s_k(z)sk​(z) is the product over 0≤r<k0\le r<k0≤r<k of 000 if z2r=z2r+1z_{2r}=z_{2r+1}z2r​=z2r+1​, −1/2-1/\sqrt2−1/2​ if z2rz_{2r}z2r​ is true and the pair differs, and 1/21/\sqrt21/2​ otherwise. It also asserts that every array b:{0,…,p−1}→{0,1}→Rb:\{0,\ldots,p-1\}\to\{0,1\}\to\mathbb Rb:{0,…,p−1}→{0,1}→R has a seven-parameter array ttt satisfying (tj,1+tj,2+tj,3)/3=bj,0(t_{j,1}+t_{j,2}+t_{j,3})/3=b_{j,0}(tj,1​+tj,2​+tj,3​)/3=bj,0​ and (tj,4+tj,5+tj,6)/3=bj,1(t_{j,4}+t_{j,5}+t_{j,6})/3=b_{j,1}(tj,4​+tj,5​+tj,6​)/3=bj,1​ for every jjj, and that the parameter-index sets have cardinalities 7p7p7p and 2p2p2p, respectively. The case p=0p=0p=0 is included: the products are identities, the indexed equalities are vacuous, and both cardinalities are zero.

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