Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Global-phase transformation law and observability

Open
QAlgorithms.Papers.Independent.Advance50.P49.phase_global_transformation

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 invariant unitary VVV, define Φl(V)=∑jcl(j)arg⁡det⁡(V∣Hj)\Phi_l(V)=\sum_jc_l(j)\arg\det(V|_{\mathcal H_j})Φl​(V)=∑j​cl​(j)argdet(V∣Hj​​) modulo 2π2\pi2π. For every real α\alphaα and every even l≥0l\ge0l≥0,

Φl(eiαV)=Φl(V)+2nα δl0(mod2π),Φ0(V)=arg⁡det⁡V.\Phi_l(e^{i\alpha}V)=\Phi_l(V)+2^n\alpha\,\delta_{l0}\pmod{2\pi},\qquad \Phi_0(V)=\arg\det V.Φl​(eiαV)=Φl​(V)+2nαδl0​(mod2π),Φ0​(V)=argdetV.

Consequently every positive even-body phase is unchanged by global phase and defines a physical projective-unitary invariant. The paper's observability claim is exactly this invariance; no experimental resource bound is asserted.

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,24, G6: global-phase transformation, including Φ_0=arg det V.
Positive-body phases therefore descend to physical global-phase classes. -/
theorem phase_global_transformation (n : ℕ) (V : Op n) (hV : SymUnitary V) :
    bodyPhase V 0 = ((Complex.arg (Matrix.det V) : ℝ) : Real.Angle) ∧
    ∀ (l : ℕ) (alpha : ℝ), Even l →
      bodyPhase (Complex.exp (Complex.I*alpha) • V) l = bodyPhase V l +
        if l=0 then ((2^n : ℕ) • (alpha : Real.Angle)) else 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. 24, Global-phase transformation law and observability
Read-back

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

For every natural number nnn, including 000, and every operator VVV on Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n, assume VVV is unitary and commutes with R⊗nR^{\otimes n}R⊗n for every unitary 2×22\times22×2 matrix RRR, where the tensor power has entries ∏qRxqyq\prod_qR_{x_qy_q}∏q​Rxq​yq​​. To define the phases, 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)​, and Ctot=∑α=X,Y,ZJα2C_{\mathrm{tot}}=\sum_{\alpha=X,Y,Z}J_\alpha^2Ctot​=∑α=X,Y,Z​Jα2​, using the standard Pauli matrices acting on the indicated wire. Set 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. Write Eab=12∑α=X,Y,Zσα(a)σα(b)E_{ab}=\frac12\sum_{\alpha=X,Y,Z}\sigma_\alpha^{(a)}\sigma_\alpha^{(b)}Eab​=21​∑α=X,Y,Z​σα(a)​σα(b)​, and, for even ℓ\ellℓ, let Cn,ℓC_{n,\ell}Cn,ℓ​ be 1/(ℓ/2)!1/(\ell/2)!1/(ℓ/2)! times the sum, over all injections ι:{0,…,ℓ−1}↪{0,…,n−1}\iota:\{0,\ldots,\ell-1\}\hookrightarrow\{0,\ldots,n-1\}ι:{0,…,ℓ−1}↪{0,…,n−1}, of ∏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)​; set it to zero for odd ℓ\ellℓ. Define 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

Bℓ(A)={∑j∈Sneℓj [arg⁡det⁡(APj+I−Pj)],ℓ even and ℓ≤2⌊n/2⌋,0,otherwise,B_\ell(A)= \begin{cases} \displaystyle\sum_{j\in S_n}e_{\ell j}\,[\arg\det(AP_j+I-P_j)], &\ell\text{ even and }\ell\le2\lfloor n/2\rfloor,\\ 0,&\text{otherwise}, \end{cases}Bℓ​(A)=⎩⎨⎧​j∈Sn​∑​eℓj​[argdet(APj​+I−Pj​)],0,​ℓ even and ℓ≤2⌊n/2⌋,otherwise,​

where brackets mean reduction modulo 2π2\pi2π. Then B0(V)=[arg⁡det⁡V]B_0(V)=[\arg\det V]B0​(V)=[argdetV], and, for every natural number ℓ\ellℓ and real number α\alphaα, if ℓ\ellℓ is even,

Bℓ(eiαV)=Bℓ(V)+{2n[α],ℓ=0,0,ℓ≠0.B_\ell(e^{i\alpha}V)=B_\ell(V)+ \begin{cases} 2^n[\alpha],&\ell=0,\\ 0,&\ell\ne0. \end{cases}Bℓ​(eiαV)=Bℓ​(V)+{2n[α],0,​ℓ=0,ℓ=0.​

Multiplication of an angle by the natural number 2n2^n2n means repeated addition; empty products in the definitions are identities, including when n=0n=0n=0.

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