Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Necessary phase constraints for k-local realizability

Open
QAlgorithms.Papers.Independent.Advance50.P49.phase_locality

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.

If V∈VkV\in\mathcal V_kV∈Vk​ for a natural locality bound kkk, then for every even l>kl>kl>k,

Φl(V)=0(mod2π).\Phi_l(V)=0\pmod{2\pi}.Φl​(V)=0(mod2π).

The zero extension covers lll above the physical range. Hence a nonzero such phase certifies nonmembership in Vk\mathcal V_kVk​. This is a necessary condition on a single endpoint, with no converse asserted here.

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.4,26: an exact necessary condition at a fixed unitary endpoint. -/
theorem phase_locality (n k : ℕ) (V : Op n) (hV : V ∈ localGroup n k) :
    ∀ l : ℕ, Even l → k<l → 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. 26, Necessary phase constraints for k-local realizability
Read-back

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

For every pair of natural numbers n,kn,kn,k, including 000, let Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n, and suppose VVV belongs to the multiplicative monoid generated by operators AAA that are unitary, commute with every R⊗nR^{\otimes n}R⊗n for unitary 2×22\times22×2 matrices RRR, and admit a finite wire set sss with ∣s∣≤k|s|\le k∣s∣≤k satisfying WireSupported⁡(s,A)\operatorname{WireSupported}(s,A)WireSupported(s,A). The definition of this last predicate is not present in the supplied code; monoid generation means finite products, including the empty product III. Define 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)​, 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, using the standard Pauli matrices on individual wires. Put Eab=12∑ασα(a)σα(b)E_{ab}=\frac12\sum_\alpha\sigma_\alpha^{(a)}\sigma_\alpha^{(b)}Eab​=21​∑α​σα(a)​σα(b)​. For even ℓ\ellℓ, let Cn,ℓ=1(ℓ/2)!∑ι∏q=0ℓ/2−1Eι(2q),ι(2q+1)C_{n,\ell}=\frac1{(\ell/2)!}\sum_\iota\prod_{q=0}^{\ell/2-1}E_{\iota(2q),\iota(2q+1)}Cn,ℓ​=(ℓ/2)!1​∑ι​∏q=0ℓ/2−1​Eι(2q),ι(2q+1)​, summed over injections of ℓ\ellℓ indices into the nnn wires, and 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​)⌋. 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​)] when ℓ\ellℓ is even and ℓ≤2⌊n/2⌋\ell\le2\lfloor n/2\rfloorℓ≤2⌊n/2⌋, and zero otherwise, with brackets denoting reduction modulo 2π2\pi2π. Then, for every even natural number ℓ\ellℓ satisfying k<ℓk<\ellk<ℓ, Bℓ(V)=0B_\ell(V)=0Bℓ​(V)=0. There is no assumption that k≤nk\le nk≤n.

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