Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2, maximal-cyclic twirl is complete dephasing (2.20)–(2.23)

Open
QAlgorithms.Papers.Independent.Bridge50.P05.cyclicDephasing

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

prove2quantum

Let d≥1d\ge1d≥1, H=CZdH=\mathbb C^{\mathbb Z_d}H=CZd​, and Z=Zd×ZdZ=\mathbb Z_d\times\mathbb Z_dZ=Zd​×Zd​. In the specified orthonormal basis let W(x,y)=UxVyW_{(x,y)}=U^xV^yW(x,y)​=UxVy, where Uek=ek+1Ue_k=e_{k+1}Uek​=ek+1​ and Vek=e2πik/dekVe_k=e^{2\pi i k/d}e_kVek​=e2πik/dek​. Write fX(z)=Tr⁡(XWz∗)/df_X(z)=\operatorname{Tr}(XW_z^*)/dfX​(z)=Tr(XWz∗​)/d. All spaces are finite dimensional. The norm ∥X∥2=Tr⁡(X∗X)\|X\|_2=\sqrt{\operatorname{Tr}(X^*X)}∥X∥2​=Tr(X∗X)​ is the Hilbert–Schmidt norm, and ν2(Φ)=sup⁡ρ≥0,Tr⁡ρ=1∥Φ(ρ)∥2\nu_2(\Phi)=\sup_{\rho\ge0,\operatorname{Tr}\rho=1}\|\Phi(\rho)\|_2ν2​(Φ)=supρ≥0,Trρ=1​∥Φ(ρ)∥2​ is the maximal output norm. A map in W1(H)W_1(H)W1​(H) is complex linear, Weyl covariant and satisfies Φ(I)=I\Phi(I)=IΦ(I)=I; it need not be positive or completely positive. Its computed symbol is ϕ(z)=fΦ(Wz)(z)\phi(z)=f_{\Phi(W_z)}(z)ϕ(z)=fΦ(Wz​)​(z). Put m(ϕ)=max⁡z≠0∣ϕ(z)∣2m(\phi)=\max_{z\ne0}|\phi(z)|^2m(ϕ)=maxz=0​∣ϕ(z)∣2 and Emax⁡(ϕ)={z≠0:∣ϕ(z)∣2=m(ϕ)}E_{\max}(\phi)=\{z\ne0:|\phi(z)|^2=m(\phi)\}Emax​(ϕ)={z=0:∣ϕ(z)∣2=m(ϕ)}. At d=1d=1d=1, explicitly set m=0m=0m=0 and Emax⁡=∅E_{\max}=\varnothingEmax​=∅. Write S(ϕ)=d−1/21+(d−1)m(ϕ)S(\phi)=d^{-1/2}\sqrt{1+(d-1)m(\phi)}S(ϕ)=d−1/21+(d−1)m(ϕ)​.

The alternating pairing is [u,v]=uxvy−uyvx∈Zd[u,v]=u_xv_y-u_yv_x\in\mathbb Z_d[u,v]=ux​vy​−uy​vx​∈Zd​. A subset is degenerate when this pairing vanishes for every pair of its elements. A maximal degenerate subgroup is inclusion maximal among degenerate subsets. For a unit vector ψ\psiψ, define Gψ={z:∃c∈C, Wzψ=cψ}G_\psi=\{z:\exists c\in\mathbb C,\ W_z\psi=c\psi\}Gψ​={z:∃c∈C, Wz​ψ=cψ}. Let G(z)G(z)G(z) be the additive subgroup generated by zzz.

For an additive subgroup G≤ZG\le ZG≤Z, let J(x,y)=(y,−x)J(x,y)=(y,-x)J(x,y)=(y,−x), χ(γ,z)=exp⁡(2πi(γxzx+γyzy)/d)\chi(\gamma,z)=\exp(2\pi i(\gamma_xz_x+\gamma_yz_y)/d)χ(γ,z)=exp(2πi(γx​zx​+γy​zy​)/d), and G⊥={γ:χ(γ,z)=1 for every z∈G}G^\perp=\{\gamma:\chi(\gamma,z)=1\text{ for every }z\in G\}G⊥={γ:χ(γ,z)=1 for every z∈G}. The symbol ϕG,a,b\phi_{G,a,b}ϕG,a,b​ is 111 at zero, a+ba+ba+b on G∖{0}G\setminus\{0\}G∖{0}, and bbb off GGG. Define ΨG(X)=d−1∑z∈G⊥WJzXWJz∗\Psi_G(X)=d^{-1}\sum_{z\in G^\perp}W_{Jz}XW_{Jz}^*ΨG​(X)=d−1∑z∈G⊥​WJz​XWJz∗​ and ΦG,a,b(X)=aΨG(X)+bX+(1−a−b)Tr⁡(X)I/d\Phi_{G,a,b}(X)=a\Psi_G(X)+bX+(1-a-b)\operatorname{Tr}(X)I/dΦG,a,b​(X)=aΨG​(X)+bX+(1−a−b)Tr(X)I/d.

Let G=G(z0)G=G(z_0)G=G(z0​) have order ddd. There are an orthonormal common eigenbasis {hj:j∈Zd}\{h_j:j\in\mathbb Z_d\}{hj​:j∈Zd​} for all WzW_zWz​, z∈Gz\in Gz∈G, and a common scalar c0c_0c0​ of modulus one, such that

Wz0hj=c0e2πij/dhj,ΨG(X)=∑j∣hj⟩⟨hj∣X∣hj⟩⟨hj∣.W_{z_0}h_j=c_0e^{2\pi i j/d}h_j,\qquad\Psi_G(X)=\sum_j|h_j\rangle\langle h_j|X|h_j\rangle\langle h_j|.Wz0​​hj​=c0​e2πij/dhj​,ΨG​(X)=j∑​∣hj​⟩⟨hj​∣X∣hj​⟩⟨hj​∣.

Equivalently, if BBB has columns hjh_jhj​ and Δ\DeltaΔ deletes all off-diagonal entries in the coordinate basis, then ΨG(X)=BΔ(B∗XB)B∗\Psi_G(X)=B\Delta(B^*XB)B^*ΨG​(X)=BΔ(B∗XB)B∗. This identifies maximal cyclic twirling with complete dephasing while retaining the generator’s possible common spectral phase.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P05
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P05

open scoped BigOperators Matrix Kronecker ComplexConjugate ComplexOrder ENNReal

open QAlgorithms.Papers.Independent.Information100.P34 (cyclicPhase weyl dephasing)

open QAlgorithms.Papers.Independent.Information100.P08 (IsPure)

open QAlgorithms.Papers.Independent.Gap48.P36 (WeylLabel)

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

open QAlgorithms.Papers.Independent.Information100.P50 (schattenNorm)

open QAlgorithms.Papers.Independent.Claimed50.P48
  (nu superopTensor UniversalMultiplicative rowKraus indexedKrausDilation)

open QAlgorithms.Papers.Independent.Information100.P67 (complementaryChannel)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {d : ℕ} [NeZero d]

/-- Section 2, PDF pp.9--10, (2.20)--(2.23): maximal cyclic twirling is
complete dephasing in a common orthonormal eigenbasis. The generator spectrum
has an unrestricted common phase, not necessarily d-th roots of unity. -/
theorem cyclicDephasing (z : WeylLabel d)
    (hcard : (AddSubgroup.zmultiples z : Set (WeylLabel d)).ncard = d) :
    ∃ B : Matrix.unitaryGroup (ZMod d) ℂ, ∃ c0 : ℂ, ‖c0‖ = 1 ∧
      (∀ j : ZMod d,
        act (W z) (act (B : Op (ZMod d)) (ket j)) =
          (c0 * cyclicPhase d j) • act (B : Op (ZMod d)) (ket j)) ∧
      (∀ g ∈ AddSubgroup.zmultiples z, ∀ j : ZMod d,
        ∃ c : ℂ, act (W g) (act (B : Op (ZMod d)) (ket j)) = c • act (B : Op (ZMod d)) (ket j)) ∧
      (∀ X, subgroupTwirl (AddSubgroup.zmultiples z) X =
        ∑ j : ZMod d, pureDensity (act (B : Op (ZMod d)) (ket j)) * X *
          pureDensity (act (B : Op (ZMod d)) (ket j))) ∧
      (∀ X, subgroupTwirl (AddSubgroup.zmultiples z) X =
        (B : Op (ZMod d)) * dephasing ((B : Op (ZMod d))ᴴ * X * (B : Op (ZMod d))) * (B : Op (ZMod d))ᴴ) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P05

end
Source
On Weyl-covariant channels, arXiv:quant-ph/0510148v3, PDF p. 9, §2, maximal-cyclic twirl is complete dephasing (2.20)–(2.23)
Read-back

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

For every nonzero natural number ddd and z∈L=(Z/dZ)2z\in L=(\mathbb Z/d\mathbb Z)^2z∈L=(Z/dZ)2, assume that H={nz:n∈Z}H=\{nz:n\in\mathbb Z\}H={nz:n∈Z} has exactly ddd elements. Define ω(j)=e2πijval/d\omega(j)=e^{2\pi i j^{\mathrm{val}}/d}ω(j)=e2πijval/d, Wg=Sg1valCg2valW_g=S^{g_1^{\mathrm{val}}}C^{g_2^{\mathrm{val}}}Wg​=Sg1val​Cg2val​, where Sxy=1S_{xy}=1Sxy​=1 when x=y+1x=y+1x=y+1 and 000 otherwise and C=diag⁡(ω(x))C=\operatorname{diag}(\omega(x))C=diag(ω(x)), and set

H⊥={g:g1h1+g2h2=0 ∀h∈H},TH(X)=1d∑g∈H⊥W(g2,−g1)XW(g2,−g1)∗.H^\perp=\{g:g_1h_1+g_2h_2=0\ \forall h\in H\}, \qquad T_H(X)=\frac1d\sum_{g\in H^\perp}W_{(g_2,-g_1)}XW_{(g_2,-g_1)}^*.H⊥={g:g1​h1​+g2​h2​=0 ∀h∈H},TH​(X)=d1​g∈H⊥∑​W(g2​,−g1​)​XW(g2​,−g1​)∗​.

There exist a unitary matrix BBB indexed by Z/dZ\mathbb Z/d\mathbb ZZ/dZ and c0∈Cc_0\in\mathbb Cc0​∈C with ∣c0∣=1|c_0|=1∣c0​∣=1 such that, writing vj=Bejv_j=Be_jvj​=Bej​ for the image of the standard basis vector eje_jej​, one has Wzvj=c0ω(j)vjW_zv_j=c_0\omega(j)v_jWz​vj​=c0​ω(j)vj​ for every jjj; for every g∈Hg\in Hg∈H and every jjj, there exists c∈Cc\in\mathbb Cc∈C with Wgvj=cvjW_gv_j=cv_jWg​vj​=cvj​; and, for every matrix XXX,

TH(X)=∑j(vjvj∗)X(vjvj∗)=B Δ(B∗XB) B∗,T_H(X)=\sum_j(v_jv_j^*)X(v_jv_j^*) =B\,\Delta(B^*XB)\,B^*,TH​(X)=j∑​(vj​vj∗​)X(vj​vj∗​)=BΔ(B∗XB)B∗,

where Δ(Y)\Delta(Y)Δ(Y) retains the diagonal entries of YYY and sets all off-diagonal entries to zero. The subgroup-size hypothesis excludes z=0z=0z=0 when d>1d>1d>1, but includes d=1d=1d=1.

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