Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered CPTP/Kraus realization (4.7), (4.9), (4.15), and §4.4

Open
QAlgorithms.Papers.Independent.Advance50.P21.partialSwap_kraus

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

prove2quantum

Let d≥1d\ge1d≥1, a∈[0,1]a\in[0,1]a∈[0,1], S∣i,j⟩=∣j,i⟩S|i,j\rangle=|j,i\rangleS∣i,j⟩=∣j,i⟩, and Ua=a I+i1−a SU_a=\sqrt a\,I+i\sqrt{1-a}\,SUa​=a​I+i1−a​S. The matrix UaU_aUa​ is unitary. Define Ea(X)=Tr⁡2(UaXUa†)\mathcal E_a(X)=\operatorname{Tr}_2(U_aXU_a^\dagger)Ea​(X)=Tr2​(Ua​XUa†​) and

Ak=a (I⊗⟨k∣)+i1−a (⟨k∣⊗I),k=1,…,d.A_k=\sqrt a\,(I\otimes\langle k|)+i\sqrt{1-a}\,(\langle k|\otimes I),\qquad k=1,\ldots,d.Ak​=a​(I⊗⟨k∣)+i1−a​(⟨k∣⊗I),k=1,…,d.

Then

∑kAk†Ak=I,Ea(X)=∑kAkXAk†\sum_k A_k^\dagger A_k=I,\qquad\mathcal E_a(X)=\sum_k A_kXA_k^\daggerk∑​Ak†​Ak​=I,Ea​(X)=k∑​Ak​XAk†​

for every joint operator XXX. Consequently Ea\mathcal E_aEa​ is completely positive and trace preserving, including on entangled inputs. This is the full ddd-Kraus realization, separate from the product-state formula.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P21
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P21

open scoped BigOperators Matrix ComplexConjugate

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P26 (Mat)

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

open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)

open QAlgorithms.Papers.Independent.Dependency50.P16 (simplex orderedSpectrum majorizedBy)

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

open QAlgorithms.Papers.Independent.Information100.P49 (thermalEntropy)

open QAlgorithms.Papers.Independent.Claimed50.P11 (thermalEntropyInverse)

/-- PDF pp.9–11, (4.7),(4.9),(4.15): unitary realization and d normalized Kraus operators.
The operator equality holds on arbitrary joint operators, including entangled states. -/
theorem partialSwap_kraus {d : ℕ} (hd : 0 < d) (a : ℝ)
    (ha : a ∈ Set.Icc (0 : ℝ) 1) :
    partialSwapUnitary d a ∈ Matrix.unitaryGroup (Fin d × Fin d) ℂ ∧
    IsKrausFamily (partialSwapKraus d a) ∧
    IsChannel (partialSwapChannel d a) ∧
    (∀ X, partialSwapChannel d a X = krausApply (partialSwapKraus d a) X) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P21

end
Source
Entropy power inequalities for qudits, arXiv:1503.04213v3, PDF p. 10, Unnumbered CPTP/Kraus realization (4.7), (4.9), (4.15), and §4.4
Read-back

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

For every positive natural number ddd and every real a∈[0,1]a\in[0,1]a∈[0,1], let F(i,k),(j,l)=1i=l, k=jF_{(i,k),(j,l)}=\mathbf1_{i=l,\ k=j}F(i,k),(j,l)​=1i=l, k=j​, put U=a I+i1−a FU=\sqrt a\,I+i\sqrt{1-a}\,FU=a​I+i1−a​F, and define the ddd rectangular matrices KkK_kKk​, with rows iii and columns (j,l)(j,l)(j,l), by

(Kk)i,(j,l)=a 1i=j, k=l+i1−a 1k=j, i=l.(K_k)_{i,(j,l)} =\sqrt a\,\mathbf1_{i=j,\ k=l} +i\sqrt{1-a}\,\mathbf1_{k=j,\ i=l}.(Kk​)i,(j,l)​=a​1i=j, k=l​+i1−a​1k=j, i=l​.

The declaration asserts that UUU is unitary, that ∑k=0d−1Kk†Kk=I\sum_{k=0}^{d-1}K_k^\dagger K_k=I∑k=0d−1​Kk†​Kk​=I, that the map Φ(X)=Tr⁡2(UXU†)\Phi(X)=\operatorname{Tr}_2(UXU^\dagger)Φ(X)=Tr2​(UXU†) is a channel—meaning it admits a finite representation by matrices EjE_jEj​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I and Φ(X)=∑jEjXEj†\Phi(X)=\sum_jE_jXE_j^\daggerΦ(X)=∑j​Ej​XEj†​ for every XXX—and specifically that

Φ(X)=∑k=0d−1KkXKk†for every complex d2×d2 matrix X.\Phi(X)=\sum_{k=0}^{d-1}K_kXK_k^\dagger \quad\text{for every complex }d^2\times d^2\text{ matrix }X.Φ(X)=k=0∑d−1​Kk​XKk†​for every complex d2×d2 matrix X.

Here (Tr⁡2Y)ij=∑kY(i,k),(j,k)(\operatorname{Tr}_2Y)_{ij}=\sum_kY_{(i,k),(j,k)}(Tr2​Y)ij​=∑k​Y(i,k),(j,k)​; the identity holds for arbitrary XXX, and includes d=1d=1d=1 and a=0,1a=0,1a=0,1.

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