Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 20: full-unitary covariance and a two-dimensional program

Open
QAlgorithms.Papers.Independent.Extend50.P21.full_unitary_example

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

prove2quantum

All Hilbert spaces are nonzero and finite dimensional over C\mathbb CC. Channels are completely positive and trace preserving (CPTP), density operators are positive semidefinite with trace one, and pure programs are unit vectors. The normalized, reference-first Choi operator is cT=(idd1⊗T)(∣Ω⟩⟨Ω∣)c_T=(\mathrm{id}_{d_1}\otimes T)(|\Omega\rangle\langle\Omega|)cT​=(idd1​​⊗T)(∣Ω⟩⟨Ω∣), where ∣Ω⟩=d1−1/2∑i∣i,i⟩|\Omega\rangle=d_1^{-1/2}\sum_i|i,i\rangle∣Ω⟩=d1−1/2​∑i​∣i,i⟩, with two input-sized factors before TTT acts. Let d≥2d\ge2d≥2 and let UUU be the defining representation of U(d)U(d)U(d). The tensor representation U‾⊗U\overline U\otimes UU⊗U has the trivial irreducible and an irreducible of dimension d2−1d^2-1d2−1, each once. Its covariant CPTP maps are exactly

Tα(A)=αtr⁡(A)Id/d+(1−α)A,0≤α≤d2d2−1.T_\alpha(A)=\alpha\operatorname{tr}(A)I_d/d+(1-\alpha)A,\qquad 0\le\alpha\le\frac{d^2}{d^2-1}.Tα​(A)=αtr(A)Id​/d+(1−α)A,0≤α≤d2−1d2​.

Their Choi operators are αId2/d2+(1−α)∣Ω⟩⟨Ω∣\alpha I_{d^2}/d^2+(1-\alpha)|\Omega\rangle\langle\Omega|αId2​/d2+(1−α)∣Ω⟩⟨Ω∣, the segment with endpoints ∣Ω⟩⟨Ω∣|\Omega\rangle\langle\Omega|∣Ω⟩⟨Ω∣ and (I−∣Ω⟩⟨Ω∣)/(d2−1)(I-|\Omega\rangle\langle\Omega|)/(d^2-1)(I−∣Ω⟩⟨Ω∣)/(d2−1). One fixed exact measure-and-prepare processor for the whole class has program dimension two and pure programs. The channel characterization is attributed to [26,40]; the processor is the paper application.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P21
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Manifold ContDiff

open QAlgorithms

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible EquivalentModels)

open QAlgorithms.Papers.Independent.Information100.P69 (diamond)

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

open QAlgorithms.Papers.Independent.Information100.P60 (wernerHolevo)

namespace QAlgorithms.Papers.Independent.Extend50.P21

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- PDF pp.10--11, Example 20: the full depolarizing segment and a two-dimensional
measure-and-prepare program. d>=2 excludes the vanishing second summand. -/
theorem full_unitary_example (d : ℕ) (hd : 2 ≤ d) :
    (∃ U : ContinuousUnitaryRep (Matrix.unitaryGroup (Fin d) ℂ) (Fin d),
      (∀ W : Matrix.unitaryGroup (Fin d) ℂ, U.mat W = (W : Matrix (Fin d) (Fin d) ℂ)) ∧ Irreducible U.mat ∧
      ∃ D : TensorIsotypicDecomposition U U, D.count = 2 ∧ ∃ k : Fin D.count,
        D.degree k = 1 ∧ (∀ g, (D.component k).mat g = 1) ∧
        (∀ l, D.copies l = 1) ∧ (∀ l, l ≠ k → D.degree l = d ^ 2 - 1)) ∧
    (∀ T : Superop (Fin d) (Fin d), T ∈ fullUnitaryClass d ↔
      ∃ alpha : ℝ, 0 ≤ alpha ∧ alpha ≤ (d : ℝ) ^ 2 / ((d : ℝ) ^ 2 - 1) ∧
        T = depolarizing d alpha) ∧
    (∀ alpha : ℝ, 0 ≤ alpha → alpha ≤ (d : ℝ) ^ 2 / ((d : ℝ) ^ 2 - 1) →
      normalizedChoi (depolarizing d alpha) =
      (alpha / (d : ℝ) ^ 2 : ℝ) • (1 : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) +
        (1 - alpha) • omegaDensity d) ∧
    (choiSet (fullUnitaryClass d) = convexHull ℝ
      {omegaDensity d, (((d : ℝ) ^ 2 - 1)⁻¹) • (1 - omegaDensity d)}) ∧
    (∃ processor : Superop (Fin d × Fin 2) (Fin d),
      PureImplements processor (fullUnitaryClass d) 0 ∧
      FiniteMeasurePrepareProcessor processor (fullUnitaryClass d)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P21

end
Source
Programmability of covariant quantum channels, arXiv:2012.00717v2, PDF p. 10, Example 20: full-unitary covariance and a two-dimensional program
Read-back

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

For every natural number d≥2d\ge2d≥2, the following assertions all hold. Here MdM_dMd​ denotes the complex d×dd\times dd×d matrices, IdI_dId​ their identity, A†A^\daggerA† the conjugate transpose, and a density matrix means a positive semidefinite matrix of trace 111. A channel means a map admitting a finite Kraus representation T(A)=∑j=0m−1KjAKj†T(A)=\sum_{j=0}^{m-1}K_jAK_j^\daggerT(A)=∑j=0m−1​Kj​AKj†​, with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. First, there exists a continuous group homomorphism U:U(d)→MdU:\mathrm U(d)\to M_dU:U(d)→Md​ whose values satisfy both unitary identities and whose representation space has positive dimension, such that U(W)=WU(W)=WU(W)=W for every W∈U(d)W\in\mathrm U(d)W∈U(d); its only complex linear subspaces invariant under every U(W)U(W)U(W) are the zero subspace and the whole space. Moreover, there exists a decomposition of the representation U‾⊗U\overline U\otimes UU⊗U with exactly two components: explicitly, there are natural numbers rℓ,mℓ>0r_\ell,m_\ell>0rℓ​,mℓ​>0, continuous unitary representations RℓR_\ellRℓ​ on Crℓ\mathbb C^{r_\ell}Crℓ​, and a matrix SSS from ⨁ℓ(Crℓ⊗Cmℓ)\bigoplus_\ell(\mathbb C^{r_\ell}\otimes\mathbb C^{m_\ell})⨁ℓ​(Crℓ​⊗Cmℓ​) to Cd⊗Cd\mathbb C^d\otimes\mathbb C^dCd⊗Cd, with S†S=IS^\dagger S=IS†S=I, SS†=ISS^\dagger=ISS†=I, and

(U(g)‾⊗U(g))S=S⨁ℓ(Rℓ(g)⊗Imℓ)for every g∈U(d).(\overline{U(g)}\otimes U(g))S =S\bigoplus_\ell(R_\ell(g)\otimes I_{m_\ell}) \quad\text{for every }g\in\mathrm U(d).(U(g)​⊗U(g))S=Sℓ⨁​(Rℓ​(g)⊗Imℓ​​)for every g∈U(d).

Each RℓR_\ellRℓ​ has only trivial invariant subspaces, and distinct components admit no invertible intertwiner: there are no matrices A,BA,BA,B with AB=IAB=IAB=I, BA=IBA=IBA=I, and Rℓ(g)A=ARℓ′(g)R_\ell(g)A=AR_{\ell'}(g)Rℓ​(g)A=ARℓ′​(g) for every ggg. One of the two components, indexed by some kkk, has rk=1r_k=1rk​=1 and Rk(g)=1R_k(g)=1Rk​(g)=1 for every ggg; both multiplicities are mℓ=1m_\ell=1mℓ​=1, and every ℓ≠k\ell\ne kℓ=k has rℓ=d2−1r_\ell=d^2-1rℓ​=d2−1. Second, define Cd\mathcal C_dCd​ to be the channels T:Md→MdT:M_d\to M_dT:Md​→Md​ satisfying T(WAW†)=WT(A)W†T(WAW^\dagger)=WT(A)W^\daggerT(WAW†)=WT(A)W† for every unitary WWW and every matrix AAA. For every map T:Md→MdT:M_d\to M_dT:Md​→Md​,

T∈Cd  ⟺  ∃α∈R,0≤α≤d2d2−1andT(A)=(1−α)A+αdtr⁡(A)Id for every A.T\in\mathcal C_d \iff \exists\alpha\in\mathbb R,\quad 0\le\alpha\le\frac{d^2}{d^2-1} \quad\text{and}\quad T(A)=(1-\alpha)A+\frac{\alpha}{d}\operatorname{tr}(A)I_d \ \text{for every }A.T∈Cd​⟺∃α∈R,0≤α≤d2−1d2​andT(A)=(1−α)A+dα​tr(A)Id​ for every A.

Third, writing this last map as DαD_\alphaDα​, defining J(T)(i,b),(j,c)=T(Eij)bc/dJ(T)_{(i,b),(j,c)}=T(E_{ij})_{bc}/dJ(T)(i,b),(j,c)​=T(Eij​)bc​/d, and setting Ωd=J(id)\Omega_d=J(\mathrm{id})Ωd​=J(id), every α\alphaα in the displayed interval satisfies

J(Dα)=αd2Id2+(1−α)Ωd.J(D_\alpha)=\frac{\alpha}{d^2}I_{d^2}+(1-\alpha)\Omega_d.J(Dα​)=d2α​Id2​+(1−α)Ωd​.

Fourth,

{J(T):T∈Cd}=conv⁡R{Ωd,Id2−Ωdd2−1}.\{J(T):T\in\mathcal C_d\} =\operatorname{conv}_{\mathbb R} \left\{\Omega_d,\frac{I_{d^2}-\Omega_d}{d^2-1}\right\}.{J(T):T∈Cd​}=convR​{Ωd​,d2−1Id2​−Ωd​​}.

Finally, there exists a channel P:M2d→Md\mathcal P:M_{2d}\to M_dP:M2d​→Md​ such that every T∈CdT\in\mathcal C_dT∈Cd​ has a unit vector ψ∈C2\psi\in\mathbb C^2ψ∈C2 with 12∥Pψ−T∥⋄≤0\tfrac12\|\mathcal P_\psi-T\|_\diamond\le021​∥Pψ​−T∥⋄​≤0, where Pψ(A)=P(A⊗ψψ†)\mathcal P_\psi(A)=\mathcal P(A\otimes\psi\psi^\dagger)Pψ​(A)=P(A⊗ψψ†). Here ∥Δ∥⋄\|\Delta\|_\diamond∥Δ∥⋄​ is defined as the supremum of ∥(idd⊗Δ)(X)∥1\|(\mathrm{id}_d\otimes\Delta)(X)\|_1∥(idd​⊗Δ)(X)∥1​ over all complex matrices XXX on Cd⊗Cd\mathbb C^d\otimes\mathbb C^dCd⊗Cd with ∥X∥1≤1\|X\|_1\le1∥X∥1​≤1, without requiring XXX to be a density matrix, and ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​. This same processor admits a finite description with some positive number sss of outcomes, positive semidefinite matrices Fj∈M2F_j\in M_2Fj​∈M2​ summing to I2I_2I2​, and targets Tj∈CdT_j\in\mathcal C_dTj​∈Cd​, such that for every A∈MdA\in M_dA∈Md​ and every B∈M2B\in M_2B∈M2​,

P(A⊗B)=∑j=0s−1tr⁡(FjB) Tj(A).\mathcal P(A\otimes B)=\sum_{j=0}^{s-1}\operatorname{tr}(F_jB)\,T_j(A).P(A⊗B)=j=0∑s−1​tr(Fj​B)Tj​(A).
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