Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9: exact localized two-level X, Y and Z evolutions

Open
QAlgorithms.Papers.Independent.Intake100.P83.lemma9

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

prove2quantum

Let GGG be an Abelian group and let AAA be a finite nonempty orthonormal on-site basis, with d=∣A∣d=|A|d=∣A∣. For each a∈Aa\in Aa∈A, let χa:G→C\chi_a:G\to\mathbb Cχa​:G→C be a unit-modulus character, so that u(g)=diag⁡(χa(g))u(g)=\operatorname{diag}(\chi_a(g))u(g)=diag(χa​(g)) and the physical action on nnn sites is Un(g)=u(g)⊗nU_n(g)=u(g)^{\otimes n}Un​(g)=u(g)⊗n. Write Vn,k\mathcal V_{n,k}Vn,k​ for the exact finite products of individually GGG-invariant unitaries acting on at most kkk arbitrary named sites. A product string r∈Anr\in A^nr∈An has character χr=∏jχrj\chi_r=\prod_j\chi_{r_j}χr​=∏j​χrj​​; a charge sector is the full span of all strings with the same character.

Assume 2≤k≤n2\le k\le n2≤k≤n. Let r≠sr\ne sr=s have equal charge and Hamming distance at most kkk. Define operators on the full system, zero outside the indicated two-level space, by

X=∣r⟩⟨s∣+∣s⟩⟨r∣,Y=i(∣r⟩⟨s∣−∣s⟩⟨r∣),Z=∣r⟩⟨r∣−∣s⟩⟨s∣.X=|r\rangle\langle s|+|s\rangle\langle r|,\qquad Y=i(|r\rangle\langle s|-|s\rangle\langle r|),\qquad Z=|r\rangle\langle r|-|s\rangle\langle s|.X=∣r⟩⟨s∣+∣s⟩⟨r∣,Y=i(∣r⟩⟨s∣−∣s⟩⟨r∣),Z=∣r⟩⟨r∣−∣s⟩⟨s∣.

Then for every 0≤θ<2π0\le\theta<2\pi0≤θ<2π,

eiθX, eiθY, eiθZ∈Vn,k.e^{i\theta X},\ e^{i\theta Y},\ e^{i\theta Z}\in\mathcal V_{n,k}.eiθX, eiθY, eiθZ∈Vn,k​.

The sign of YYY is the paper's sign, and Z=(i/2)[X,Y]Z=(i/2)[X,Y]Z=(i/2)[X,Y]. This isolates two-level evolutions without disturbing the other basis vectors.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P83
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate Matrix Kronecker Manifold ContDiff

attribute [local instance] Classical.propDecidable

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

namespace QAlgorithms.Papers.Independent.Intake100.P83

variable {A G : Type*} [Fintype A] [DecidableEq A]

/-- PDF pp.13-14 Lemma 9 and Eq.(33): all three localized two-level evolutions, with
Y = +i(|r><s|-|s><r|), are exactly synthesizable for k >= 2. -/
theorem lemma9 [CommGroup G] [Nonempty A] (chi : A → G → ℂ) (hchi : IsOnsite chi)
    (n k : ℕ) (hk : 2 ≤ k) (hkn : k ≤ n) (r s : Words A n)
    (hrs : r ≠ s) (hcharge : sameCharge chi n r s) (hdistance : hammingDist r s ≤ k) :
    ∀ theta ∈ Set.Ico (0 : ℝ) (2 * Real.pi),
      positiveImaginaryEvolution (twoX r s) theta ∈ symmetricLocalGroup chi n k ∧
      positiveImaginaryEvolution (twoY r s) theta ∈ symmetricLocalGroup chi n k ∧
      positiveImaginaryEvolution (twoZ r s) theta ∈ symmetricLocalGroup chi n k := by sorry

end QAlgorithms.Papers.Independent.Intake100.P83

end
Source
Theory of Quantum Circuits with Abelian Symmetries, arXiv:2302.12466v3, PDF p. 13, Lemma 9: localized two-level X,Y,Z evolution
Read-back

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

Let GGG be a commutative group and AAA a nonempty finite alphabet, with decidable equality. Suppose χ:A×G→C\chi:A\times G\to\mathbb Cχ:A×G→C satisfies, for every a∈Aa\in Aa∈A and g,h∈Gg,h\in Gg,h∈G, χ(a,1)=1\chi(a,1)=1χ(a,1)=1, χ(a,gh)=χ(a,g)χ(a,h)\chi(a,gh)=\chi(a,g)\chi(a,h)χ(a,gh)=χ(a,g)χ(a,h), and ∣χ(a,g)∣=1|\chi(a,g)|=1∣χ(a,g)∣=1. Let n,k∈Nn,k\in\mathbb Nn,k∈N satisfy 2≤k≤n2\le k\le n2≤k≤n, and let r,s:{0,…,n−1}→Ar,s:\{0,\ldots,n-1\}\to Ar,s:{0,…,n−1}→A be distinct words that differ at at most kkk positions and have equal character products, meaning ∏jχ(rj,g)=∏jχ(sj,g)\prod_j\chi(r_j,g)=\prod_j\chi(s_j,g)∏j​χ(rj​,g)=∏j​χ(sj​,g) for every g∈Gg\in Gg∈G. Write Er,s=∣r⟩⟨s∣E_{r,s}=|r\rangle\langle s|Er,s​=∣r⟩⟨s∣, where ∣r⟩|r\rangle∣r⟩ is the coordinate basis vector, and set Xr,s=Er,s+Es,rX_{r,s}=E_{r,s}+E_{s,r}Xr,s​=Er,s​+Es,r​, Yr,s=i(Er,s−Es,r)Y_{r,s}=i(E_{r,s}-E_{s,r})Yr,s​=i(Er,s​−Es,r​), and Zr,s=Er,r−Es,sZ_{r,s}=E_{r,r}-E_{s,s}Zr,s​=Er,r​−Es,s​. Then, for every real θ\thetaθ with 0≤θ<2π0\le\theta<2\pi0≤θ<2π, each of exp⁡(iθXr,s)\exp(i\theta X_{r,s})exp(iθXr,s​), exp⁡(iθYr,s)\exp(i\theta Y_{r,s})exp(iθYr,s​), and exp⁡(iθZr,s)\exp(i\theta Z_{r,s})exp(iθZr,s​) is an exact finite product of unitary matrices BBB satisfying both of the following conditions: BBB commutes, for every g∈Gg\in Gg∈G, with the diagonal matrix whose entry at a word xxx is ∏jχ(xj,g)\prod_j\chi(x_j,g)∏j​χ(xj​,g); and there exist a natural number ℓ≤k\ell\le kℓ≤k, an injection f:{0,…,ℓ−1}↪{0,…,n−1}f:\{0,\ldots,\ell-1\}\hookrightarrow\{0,\ldots,n-1\}f:{0,…,ℓ−1}↪{0,…,n−1}, and a matrix CCC on ℓ\ellℓ-letter words such that Bx,y=Cx∘f,y∘fB_{x,y}=C_{x\circ f,y\circ f}Bx,y​=Cx∘f,y∘f​ when xxx and yyy agree outside the image of fff, and Bx,y=0B_{x,y}=0Bx,y​=0 otherwise. Here “finite product” means Bm−1⋯B0B_{m-1}\cdots B_0Bm−1​⋯B0​ for a finite list of such matrices, including the identity obtained from the empty list; support on zero sites is permitted.

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