Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

l-body phases are group homomorphisms

Open
QAlgorithms.Papers.Independent.Advance50.P49.phase_composition

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 every even l≥0l\ge0l≥0 and invariant unitaries V,WV,WV,W,

Φl(WV)=Φl(W)+Φl(V)(mod2π),Φl(I)=0.\Phi_l(WV)=\Phi_l(W)+\Phi_l(V)\pmod{2\pi},\qquad \Phi_l(I)=0.Φl​(WV)=Φl​(W)+Φl​(V)(mod2π),Φl​(I)=0.

For l>2⌊n/2⌋l>2\lfloor n/2\rfloorl>2⌊n/2⌋, the phase is identically zero. This is the additive-angle form of the group-character statement, including l=0l=0l=0.

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 p.25, G12: every even-body phase, including l=0, is a group character. -/
theorem phase_composition (n l : ℕ) (hl : Even l) :
    bodyPhase (1 : Op n) l = 0 ∧
    (∀ V W : Op n, SymUnitary V → SymUnitary W →
      bodyPhase (W*V) l = bodyPhase W l + bodyPhase V l) ∧
    (2*(n/2)<l → ∀ V : Op n, bodyPhase V l=0) := 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. 25, l-body phases are group homomorphisms
Read-back

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

For all natural numbers n,ℓn,\elln,ℓ, with ℓ\ellℓ even, work on Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n. Let Sn={0,…,⌊n/2⌋}S_n=\{0,\ldots,\lfloor n/2\rfloor\}Sn​={0,…,⌊n/2⌋}, sj=n/2−js_j=n/2-jsj​=n/2−j, Jα=12∑qσα(q)J_\alpha=\frac12\sum_q\sigma_\alpha^{(q)}Jα​=21​∑q​σα(q)​ for the standard Pauli matrices, Ctot=∑αJα2C_{\mathrm{tot}}=\sum_\alpha J_\alpha^2Ctot​=∑α​Jα2​, and Pj=∏r∈Sn, r≠j(sj(sj+1)−sr(sr+1))−1(Ctot−sr(sr+1)I)P_j=\prod_{r\in S_n,\ r\ne j}(s_j(s_j+1)-s_r(s_r+1))^{-1}(C_{\mathrm{tot}}-s_r(s_r+1)I)Pj​=∏r∈Sn​, r=j​(sj​(sj​+1)−sr​(sr​+1))−1(Ctot​−sr​(sr​+1)I), in increasing rrr. With Eab=12∑ασα(a)σα(b)E_{ab}=\frac12\sum_\alpha\sigma_\alpha^{(a)}\sigma_\alpha^{(b)}Eab​=21​∑α​σα(a)​σα(b)​, define Cn,ℓC_{n,\ell}Cn,ℓ​, for even ℓ\ellℓ, as 1/(ℓ/2)!1/(\ell/2)!1/(ℓ/2)! times the sum over injections ι:{0,…,ℓ−1}↪{0,…,n−1}\iota:\{0,\ldots,\ell-1\}\hookrightarrow\{0,\ldots,n-1\}ι:{0,…,ℓ−1}↪{0,…,n−1} of the ordered products ∏q=0ℓ/2−1Eι(2q),ι(2q+1)\prod_{q=0}^{\ell/2-1}E_{\iota(2q),\iota(2q+1)}∏q=0ℓ/2−1​Eι(2q),ι(2q+1)​. Put eℓj=⌊Re⁡(tr⁡(Cn,ℓPj)/tr⁡Pj)⌋e_{\ell j}=\left\lfloor\operatorname{Re}\bigl(\operatorname{tr}(C_{n,\ell}P_j)/\operatorname{tr}P_j\bigr)\right\rflooreℓj​=⌊Re(tr(Cn,ℓ​Pj​)/trPj​)⌋, and define Bℓ(A)=∑jeℓj[arg⁡det⁡(APj+I−Pj)]B_\ell(A)=\sum_j e_{\ell j}[\arg\det(AP_j+I-P_j)]Bℓ​(A)=∑j​eℓj​[argdet(APj​+I−Pj​)] if ℓ≤2⌊n/2⌋\ell\le2\lfloor n/2\rfloorℓ≤2⌊n/2⌋, and Bℓ(A)=0B_\ell(A)=0Bℓ​(A)=0 otherwise, with angles taken modulo 2π2\pi2π. Then Bℓ(I)=0B_\ell(I)=0Bℓ​(I)=0; for every pair of operators V,WV,WV,W that are unitary and each commute with every R⊗nR^{\otimes n}R⊗n, for unitary 2×22\times22×2 matrices RRR, one has

Bℓ(WV)=Bℓ(W)+Bℓ(V);B_\ell(WV)=B_\ell(W)+B_\ell(V);Bℓ​(WV)=Bℓ​(W)+Bℓ​(V);

and, if 2⌊n/2⌋<ℓ2\lfloor n/2\rfloor<\ell2⌊n/2⌋<ℓ, then Bℓ(V)=0B_\ell(V)=0Bℓ​(V)=0 for every operator VVV, without a unitarity or commutation hypothesis on this last VVV. Both n=0n=0n=0 and ℓ=0\ell=0ℓ=0 are included, and empty products are identities.

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