Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3: tensor-product law for l-body phases

Open
QAlgorithms.Papers.Independent.Advance50.P49.phase_tensor_product

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.

Let VA,VBV_A,V_BVA​,VB​ be invariant unitaries on nA,nBn_A,n_BnA​,nB​ qubits. For every even l≥0l\ge0l≥0,

Φl(VA⊗VB)=2nBΦl(VA)+2nAΦl(VB)(mod2π).\Phi_l(V_A\otimes V_B)=2^{n_B}\Phi_l(V_A)+2^{n_A}\Phi_l(V_B)\pmod{2\pi}.Φl​(VA​⊗VB​)=2nB​Φl​(VA​)+2nA​Φl​(VB​)(mod2π).

Each phase is extended by zero beyond the physical range of its own register. In particular tensoring with a one-qubit identity doubles the phase. This transports phase constraints under ancillary identity factors without dividing modular angles.

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.25–26, Proposition 3/G13: each factor is multiplied by the dimension
of the other subsystem. No division of modular phases is performed. -/
theorem phase_tensor_product (nA nB l : ℕ) (hl : Even l)
    (VA : Op nA) (VB : Op nB) (hA : SymUnitary VA) (hB : SymUnitary VB) :
    bodyPhase (registerTensor VA VB) l =
      (2^nB : ℕ) • bodyPhase VA l + (2^nA : ℕ) • bodyPhase VB l := 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, Proposition 3: tensor-product law for l-body phases
Read-back

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

For all natural numbers nA,nB,ℓn_A,n_B,\ellnA​,nB​,ℓ, including zero values, assume ℓ\ellℓ is even, and let VA,VBV_A,V_BVA​,VB​ be operators on HnA,HnB\mathcal H_{n_A},\mathcal H_{n_B}HnA​​,HnB​​, respectively, where Hm=C{0,1}m\mathcal H_m=\mathbb C^{\{0,1\}^m}Hm​=C{0,1}m. Assume each VVV is unitary and commutes with R⊗mR^{\otimes m}R⊗m for every unitary 2×22\times22×2 matrix RRR on its register. For each register size mmm, define Sm={0,…,⌊m/2⌋}S_m=\{0,\ldots,\lfloor m/2\rfloor\}Sm​={0,…,⌊m/2⌋}, sj=m/2−js_j=m/2-jsj​=m/2−j, Jα=12∑qσα(q)J_\alpha=\frac12\sum_q\sigma_\alpha^{(q)}Jα​=21​∑q​σα(q)​, Ctot=∑α=X,Y,ZJα2C_{\mathrm{tot}}=\sum_{\alpha=X,Y,Z}J_\alpha^2Ctot​=∑α=X,Y,Z​Jα2​, and Pm,j=∏r∈Sm, r≠j(sj(sj+1)−sr(sr+1))−1(Ctot−sr(sr+1)I)P_{m,j}=\prod_{r\in S_m,\ r\ne j}(s_j(s_j+1)-s_r(s_r+1))^{-1}(C_{\mathrm{tot}}-s_r(s_r+1)I)Pm,j​=∏r∈Sm​, r=j​(sj​(sj​+1)−sr​(sr​+1))−1(Ctot​−sr​(sr​+1)I), ordered by increasing rrr, using standard Pauli matrices on the indicated wires. Put Eab=12∑ασα(a)σα(b)E_{ab}=\frac12\sum_\alpha\sigma_\alpha^{(a)}\sigma_\alpha^{(b)}Eab​=21​∑α​σα(a)​σα(b)​, and define Cm,ℓ=1(ℓ/2)!∑ι∏q=0ℓ/2−1Eι(2q),ι(2q+1)C_{m,\ell}=\frac1{(\ell/2)!}\sum_\iota\prod_{q=0}^{\ell/2-1}E_{\iota(2q),\iota(2q+1)}Cm,ℓ​=(ℓ/2)!1​∑ι​∏q=0ℓ/2−1​Eι(2q),ι(2q+1)​, summing over injections of ℓ\ellℓ indices into the mmm wires. Let em,ℓ,j=⌊Re⁡(tr⁡(Cm,ℓPm,j)/tr⁡Pm,j)⌋e_{m,\ell,j}=\left\lfloor\operatorname{Re}\bigl(\operatorname{tr}(C_{m,\ell}P_{m,j})/\operatorname{tr}P_{m,j}\bigr)\right\rfloorem,ℓ,j​=⌊Re(tr(Cm,ℓ​Pm,j​)/trPm,j​)⌋, and let Bℓ(m)(V)B_\ell^{(m)}(V)Bℓ(m)​(V) be ∑jem,ℓ,j[arg⁡det⁡(VPm,j+I−Pm,j)]\sum_j e_{m,\ell,j}[\arg\det(VP_{m,j}+I-P_{m,j})]∑j​em,ℓ,j​[argdet(VPm,j​+I−Pm,j​)] when ℓ≤2⌊m/2⌋\ell\le2\lfloor m/2\rfloorℓ≤2⌊m/2⌋, and zero otherwise; brackets mean angles modulo 2π2\pi2π. Define VA⊗VBV_A\otimes V_BVA​⊗VB​ on the concatenated register by (VA⊗VB)xy=(VA)xAyA(VB)xByB(V_A\otimes V_B)_{xy}=(V_A)_{x_Ay_A}(V_B)_{x_By_B}(VA​⊗VB​)xy​=(VA​)xA​yA​​(VB​)xB​yB​​, where xA,yAx_A,y_AxA​,yA​ are the first nAn_AnA​ bits and xB,yBx_B,y_BxB​,yB​ are the remaining nBn_BnB​ bits. Then

Bℓ(nA+nB)(VA⊗VB)=2nBBℓ(nA)(VA)+2nABℓ(nB)(VB),B_\ell^{(n_A+n_B)}(V_A\otimes V_B) =2^{n_B}B_\ell^{(n_A)}(V_A)+2^{n_A}B_\ell^{(n_B)}(V_B),Bℓ(nA​+nB​)​(VA​⊗VB​)=2nB​Bℓ(nA​)​(VA​)+2nA​Bℓ(nB​)​(VB​),

where the natural-number coefficients act by repeated angle addition. In particular, each factor’s phase is defined to be zero when ℓ\ellℓ exceeds that factor’s cutoff.

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