Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, explicit complementary Weyl-channel block construction

Open
QAlgorithms.Papers.Independent.Bridge50.P05.complementaryBlockConstruction

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(ϕ)​.

Let λ:Z→[0,∞)\lambda:Z\to[0,\infty)λ:Z→[0,∞) satisfy ∑x,yλx,y2=1\sum_{x,y}\lambda_{x,y}^2=1∑x,y​λx,y2​=1. Write indices cyclically as 1,…,d1,\ldots,d1,…,d, with ddd representing residue zero. Reorder the actual Kraus family as Ks,r=λ1−r,1−sW(1−r,1−s)K_{s,r}=\lambda_{1-r,1-s}W_{(1-r,1-s)}Ks,r​=λ1−r,1−s​W(1−r,1−s)​. Define

Ds=diag⁡r(λ1−r,1−s),W~(s,r),(t,u)=(DsU1−tV1−s)r,u.D_s=\operatorname{diag}_r(\lambda_{1-r,1-s}),\qquad\widetilde W_{(s,r),(t,u)}=(D_sU^{1-t}V^{1-s})_{r,u}.Ds​=diagr​(λ1−r,1−s​),W(s,r),(t,u)​=(Ds​U1−tV1−s)r,u​.

Then Φ(X)=∑s,rKs,rXKs,r∗\Phi(X)=\sum_{s,r}K_{s,r}XK_{s,r}^*Φ(X)=∑s,r​Ks,r​XKs,r∗​ is a channel. Its complementary Kraus rows satisfy K~t((s,r),u)=Ks,r(t,u)=(DsU1−tV1−s)r,u\widetilde K_t((s,r),u)=K_{s,r}(t,u)=(D_sU^{1-t}V^{1-s})_{r,u}Kt​((s,r),u)=Ks,r​(t,u)=(Ds​U1−tV1−s)r,u​. For the same dilation A(t,(s,r)),u=Ks,r(t,u)A_{(t,(s,r)),u}=K_{s,r}(t,u)A(t,(s,r)),u​=Ks,r​(t,u), define the complementary map independently by tracing out the output HHH. On every operator,

Φ~(X)=Tr⁡H(AXA∗)=W~(Id⊗X)W~∗.\widetilde\Phi(X)=\operatorname{Tr}_H(AXA^*)=\widetilde W(I_d\otimes X)\widetilde W^*.Φ(X)=TrH​(AXA∗)=W(Id​⊗X)W∗.

Here W~\widetilde WW is d2×d2d^2\times d^2d2×d2 and each K~t\widetilde K_tKt​ is d2×dd^2\times dd2×d. This is the explicit block construction for the actual complementary channel, with a canonical nonnegative Kraus-amplitude choice.

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 3, PDF pp.11--13: explicit complementary Weyl-channel blocks.
The target complement is independently computed from the same actual Kraus dilation;
I in I tensor X has dimension d and Wtilde has dimension d². -/
theorem complementaryBlockConstruction (lam : WeylLabel d → ℝ)
    (hlam : ∀ z, 0 ≤ lam z) (hnorm : ∑ z, lam z ^ 2 = 1) :
    IsChannel (krausApply (reorderedKraus lam)) ∧
    (∀ t : ZMod d, rowKraus (reorderedKraus lam) t =
      fun sr u =>
        let M : Op (ZMod d) := diagonalBlock lam sr.1 * W (1 - t, 1 - sr.1)
        M sr.2 u) ∧
    (∀ X : Op (ZMod d),
      complementaryChannel (indexedKrausDilation (reorderedKraus lam)) X =
        complementBlock lam * ((1 : Op (ZMod d)) ⊗ₖ X) * (complementBlock lam)ᴴ) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P05

end
Source
On Weyl-covariant channels, arXiv:quant-ph/0510148v3, PDF p. 10, §3, explicit complementary Weyl-channel block construction
Read-back

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

For every nonzero natural number ddd, put I=Z/dZI=\mathbb Z/d\mathbb ZI=Z/dZ, let Sxy=1S_{xy}=1Sxy​=1 when x=y+1x=y+1x=y+1 and 000 otherwise, let C=diag⁡(e2πixval/d)C=\operatorname{diag}(e^{2\pi i x^{\mathrm{val}}/d})C=diag(e2πixval/d), and write Wu,v=SuvalCvvalW_{u,v}=S^{u^{\mathrm{val}}}C^{v^{\mathrm{val}}}Wu,v​=SuvalCvval. Let λ:I2→R\lambda:I^2\to\mathbb Rλ:I2→R satisfy λ(z)≥0\lambda(z)\ge0λ(z)≥0 for every zzz and ∑z∈I2λ(z)2=1\sum_{z\in I^2}\lambda(z)^2=1∑z∈I2​λ(z)2=1. Define

Fs,r=λ(1−r,1−s)W1−r,1−s,Ds=diag⁡(λ(1−r,1−s))r∈I,H(s,r),(t,u)=(DsW1−t,1−s)r,u,F_{s,r}=\lambda(1-r,1-s)W_{1-r,1-s},\qquad D_s=\operatorname{diag}\bigl(\lambda(1-r,1-s)\bigr)_{r\in I}, \qquad H_{(s,r),(t,u)}=(D_sW_{1-t,1-s})_{r,u},Fs,r​=λ(1−r,1−s)W1−r,1−s​,Ds​=diag(λ(1−r,1−s))r∈I​,H(s,r),(t,u)​=(Ds​W1−t,1−s​)r,u​,

where all label arithmetic is in III. Then the map X↦∑s,rFs,rXFs,r∗X\mapsto\sum_{s,r}F_{s,r}XF_{s,r}^*X↦∑s,r​Fs,r​XFs,r∗​ is a channel, meaning that it admits a finite Kraus representation whose Kraus matrices satisfy ∑αEα∗Eα=I\sum_\alpha E_\alpha^*E_\alpha=I∑α​Eα∗​Eα​=I. For every t∈It\in It∈I, the row-reshuffled Kraus matrix RtR_tRt​, defined by Rt((s,r),u)=Fs,r(t,u)R_t((s,r),u)=F_{s,r}(t,u)Rt​((s,r),u)=Fs,r​(t,u), satisfies Rt((s,r),u)=(DsW1−t,1−s)r,uR_t((s,r),u)=(D_sW_{1-t,1-s})_{r,u}Rt​((s,r),u)=(Ds​W1−t,1−s​)r,u​ for every s,r,us,r,us,r,u. Finally, for every X∈MI(C)X\in M_I(\mathbb C)X∈MI​(C),

Tr⁡I(VXV∗)=H(I⊗X)H∗,V(t,(s,r)),u=Fs,r(t,u),\operatorname{Tr}_{I}(VXV^*)=H(I\otimes X)H^*, \qquad V_{(t,(s,r)),u}=F_{s,r}(t,u),TrI​(VXV∗)=H(I⊗X)H∗,V(t,(s,r)),u​=Fs,r​(t,u),

where the partial trace on the left sums over the first, III-indexed factor; equivalently, its ((s,r),(t,u))((s,r),(t,u))((s,r),(t,u)) entry is tr⁡(Fs,rXFt,u∗)\operatorname{tr}(F_{s,r}XF_{t,u}^*)tr(Fs,r​XFt,u∗​). The statement includes d=1d=1d=1 and permits individual values of λ\lambdaλ to be zero.

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