Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix D: exact one-erasure averaged channel

Open
QAlgorithms.Papers.Independent.Extend50.P09.su_oneErasure_average

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

prove2quantum

Fix an integer d≥2d\ge2d≥2. For n≥2n\ge2n≥2 let λ\lambdaλ partition n−1n-1n−1 with at most ddd rows, and let lλ,rλl_\lambda,r_\lambdalλ​,rλ​ be the actual Schur and Specht module dimensions. Append the physical isotypic embedding of ILλ/lλ⊗∣ψλ⟩⟨ψλ∣I_{L_\lambda}/l_\lambda\otimes|\psi_\lambda\rangle\langle\psi_\lambda|ILλ​​/lλ​⊗∣ψλ​⟩⟨ψλ​∣, where ψλ\psi_\lambdaψλ​ is a fixed unit Specht vector, to one logical ddd-level system. Conjugate by Haar measure on the determinant-one commutant of the collective SU(d)SU(d)SU(d) action and erase one fixed known site. Errors mean optimal CPTP recovery measured in root-fidelity purified distance, with normalized Choi input and a decoder chosen before the worst reference-entangled input.

For every logical operator XXX, the ensemble-averaged single erased-qudit output channel is exactly

Cn(X)=Xn+n−1nTr⁡(X)Idd.\mathcal C_n(X)=\frac Xn+\frac{n-1}{n}\operatorname{Tr}(X)\frac{I_d}{d}.Cn​(X)=nX​+nn−1​Tr(X)dId​​.

For every reference-logical operator YRLY^{RL}YRL its reference extension is

(idR⊗Cn)(Y)=Yn+n−1nTr⁡L(Y)⊗Idd.(\mathrm{id}_R\otimes\mathcal C_n)(Y)=\frac Yn+\frac{n-1}{n}\operatorname{Tr}_L(Y)\otimes\frac{I_d}{d}.(idR​⊗Cn​)(Y)=nY​+nn−1​TrL​(Y)⊗dId​​.

This is an equality of the averaged physical channel, independent of λ\lambdaλ after constructing its allowed ancilla, and is not an equality for each individual encoding unitary.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P09
Formal statement
noncomputable section

open scoped Matrix Matrix.Norms.Elementwise ComplexConjugate ENNReal ComplexOrder

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Extend50.P09

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact generic definitions from the pinned accepted library.

open QAlgorithms.Papers.Independent.Information100.P22 (Op mixed bell)

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

open QAlgorithms.Papers.Independent.Advance50.P02 (negLog)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixBorel

/-- Appendix D, PDF p.22, (D12)–(D14): equality of the averaged
one-erasure CHANNEL, for every operator, with its full reference extension.
The reference factor is its actual marginal, not always I/d. -/
theorem su_oneErasure_average (d n : ℕ) (hd : 2 ≤ d) (hn : 2 ≤ n)
    (lam : Schur.Partition d (n-1))
    (psi : EuclideanSpace ℂ (Fin (rdim lam))) (hpsi : IsState psi)
    (mu : Measure (Op (CovariantWord d n))) (hmu : IsCommutantHaarLaw (SUGroup d n) mu) :
    (∀ X : Op (Fin d), ∀ a b : Fin d,
      firstTrace (show 1 ≤ n by omega)
        (∫ V, appendUnitaryEncoder (show 1 ≤ n by omega) (suAncilla lam psi) V (logicalMatrix X) ∂mu)
        (fun _ => a) (fun _ => b) = oneErasureMeanChannel d n X a b) ∧
    (∀ X : Op (Fin d × Fin d),
      idTensorSuperop (R := Fin d) (oneErasureMeanChannel d n) X =
        (n : ℂ)⁻¹ • X + (((n : ℂ)-1)/(n : ℂ)) •
          Matrix.kronecker (traceRight X) (mixed (Fin d))) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P09

end
Source
Near-optimal covariant quantum error-correcting codes from random unitaries with symmetries, arXiv:2112.01498v2, PDF p. 12, Appendix D: exact one-erasure averaged channel
Read-back

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

For every d,n∈Nd,n\in\mathbb Nd,n∈N with d,n≥2d,n\ge2d,n≥2, every Young diagram λ\lambdaλ with m=n−1m=n-1m=n−1 cells and at most ddd rows, every unit vector ψ∈Crλ\psi\in\mathbb C^{r_\lambda}ψ∈Crλ​, and every probability measure μ\muμ on matrices on length-nnn words supported in the sense μ(Gc)=0\mu(\mathcal G^c)=0μ(Gc)=0 on

G={V:V†V=I, det⁡V=1, VU⊗n=U⊗nV whenever U†U=I, det⁡U=1},\mathcal G=\{V:V^\dagger V=I,\ \det V=1,\ VU^{\otimes n}=U^{\otimes n}V \text{ whenever }U^\dagger U=I,\ \det U=1\},G={V:V†V=I, detV=1, VU⊗n=U⊗nV whenever U†U=I, detU=1},

with (V↦WV)∗μ=μ(V\mapsto WV)_*\mu=\mu(V↦WV)∗​μ=μ for each W∈GW\in\mathcal GW∈G, both following assertions hold. First, for every complex d×dd\times dd×d matrix XXX, tracing the last n−1n-1n−1 sites out of ∫V(X⊗Aλ,ψ)V† dμ(V)\int V(X\otimes A_{\lambda,\psi})V^\dagger\,d\mu(V)∫V(X⊗Aλ,ψ​)V†dμ(V), and identifying a length-one word with its sole letter, gives

Md,n(X)=1nX+n−1ntr⁡(X)1dId.\mathcal M_{d,n}(X)=\frac1nX+\frac{n-1}{n}\operatorname{tr}(X)\frac1dI_d.Md,n​(X)=n1​X+nn−1​tr(X)d1​Id​.

Second, for every complex matrix ZZZ indexed by {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2, applying Md,n\mathcal M_{d,n}Md,n​ separately to each block with fixed first row and column coordinates gives

(id⊗Md,n)(Z)=1nZ+n−1n(Tr⁡2Z)⊗1dId,(Tr⁡2Z)a,b=∑cZ(a,c),(b,c).(\mathrm{id}\otimes\mathcal M_{d,n})(Z) =\frac1nZ+\frac{n-1}{n}\left(\operatorname{Tr}_{2}Z\right)\otimes\frac1dI_d, \qquad (\operatorname{Tr}_{2}Z)_{a,b}=\sum_c Z_{(a,c),(b,c)}.(id⊗Md,n​)(Z)=n1​Z+nn−1​(Tr2​Z)⊗d1​Id​,(Tr2​Z)a,b​=c∑​Z(a,c),(b,c)​.

Here the ancilla is specified by the following construction. Number the cells of every diagram ν\nuν of size mmm and height at most ddd using the chosen bijection with {0,…,m−1}\{0,\ldots,m-1\}{0,…,m−1}; let Rν,Cν⊆SmR_\nu,C_\nu\subseteq S_mRν​,Cν​⊆Sm​ preserve rows and columns. Let Sν\mathcal S_\nuSν​ be the range of the matrix Yν(g,h)=∑a∈Rν,b∈Cνsgn⁡(b)1g=habY_\nu(g,h)=\sum_{a\in R_\nu,b\in C_\nu}\operatorname{sgn}(b)\mathbf1_{g=hab}Yν​(g,h)=∑a∈Rν​,b∈Cν​​sgn(b)1g=hab​, let rν=dim⁡Sνr_\nu=\dim\mathcal S_\nurν​=dimSν​, and let Hν\mathcal H_\nuHν​ be the range of ∑a∈Rν,b∈Cνsgn⁡(b)Tab\sum_{a\in R_\nu,b\in C_\nu}\operatorname{sgn}(b)T_{ab}∑a∈Rν​,b∈Cν​​sgn(b)Tab​, where Tg(y,x)=1y=x∘g−1T_g(y,x)=\mathbf1_{y=x\circ g^{-1}}Tg​(y,x)=1y=x∘g−1​, with ℓν=dim⁡Hν\ell_\nu=\dim\mathcal H_\nuℓν​=dimHν​. For the prescribed orthonormal bases sν,rs_{\nu,r}sν,r​ and hν,lh_{\nu,l}hν,l​ of these spaces, set

Yx,(ν,r,l)=∑gsν,r(g)(Tghν,l)(x),D=f(Y†Y)Y†,f(u)=(u)−1,Y_{x,(\nu,r,l)}=\sum_gs_{\nu,r}(g)(T_gh_{\nu,l})(x),\qquad D=f(Y^\dagger Y)Y^\dagger,\quad f(u)=(\sqrt u)^{-1},Yx,(ν,r,l)​=g∑​sν,r​(g)(Tg​hν,l​)(x),D=f(Y†Y)Y†,f(u)=(u​)−1,

and wl(x)=∑rD(λ,r,l),x‾ψrw_l(x)=\sum_r\overline{D_{(\lambda,r,l),x}}\psi_rwl​(x)=∑r​D(λ,r,l),x​​ψr​. Then Aλ,ψ=ℓλ−1∑l∣wl⟩⟨wl∣A_{\lambda,\psi}=\ell_\lambda^{-1}\sum_l|w_l\rangle\langle w_l|Aλ,ψ​=ℓλ−1​∑l​∣wl​⟩⟨wl​∣, with zero reciprocals interpreted as zero. The unit-vector hypothesis is impossible when rλ=0r_\lambda=0rλ​=0. Both conclusions quantify over all indicated matrices X,ZX,ZX,Z, including matrices that are not density matrices.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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