Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Real success and failure Choi matrices suffice

Open
QAlgorithms.Papers.Independent.Intake100.P12.real_choi_reduction

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

prove2quantum

Let d,k≥1d,k\ge1d,k≥1, choose one of the three protocol classes, and choose either unitary transposition or inversion. Every achievable constant success probability ppp can be achieved in that same class by a two-branch instrument (S,F)(S,F)(S,F) with

Im⁡Sab=Im⁡Fab=0for all computational-basis indices a,b.\operatorname{Im} S_{ab}=\operatorname{Im}F_{ab}=0\quad\text{for all computational-basis indices }a,b.ImSab​=ImFab​=0for all computational-basis indices a,b.

Moreover the maximal achievable probability is attained by such an instrument. The success branch implements the target channel exactly for every U∈U(d)U\in U(d)U∈U(d).

Real means entrywise real in the fixed bases; both branches and the protocol class are preserved.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P12
Formal statement
noncomputable section

open QAlgorithms

open scoped Matrix ComplexConjugate ComplexOrder Kronecker

namespace QAlgorithms.Papers.Independent.Intake100.P12

attribute [local instance] Classical.propDecidable Classical.decEq

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

open QAlgorithms.Papers.Independent.Dependency50.P26 (ChannelChoi)

/-- PDF pp.7–8, Eqs. (21)–(27): entrywise-real success AND failure branches
suffice in each chosen class; the maximum is attained by such an instrument. -/
theorem real_choi_reduction {d k : ℕ} (hd : 0 < d) (hk : 0 < k)
    (c : ProtocolClass) (t : UnitaryTask) (ht : t = .transpose ∨ t = .inverse) :
    (∀ p, Attainable c d k (targetChoi t) p → ∃ S F,
      HeraldedRealizable c d k S F ∧ ExactUnitarySuccess S (targetChoi t) p ∧
      (∀ a b, (S a b).im = 0) ∧ (∀ a b, (F a b).im = 0)) ∧
    (∃ p S F, 0 ≤ p ∧ p ≤ 1 ∧ HeraldedRealizable c d k S F ∧
      ExactUnitarySuccess S (targetChoi t) p ∧ (∀ a b, (S a b).im = 0) ∧
      (∀ a b, (F a b).im = 0) ∧
      ∀ q, Attainable c d k (targetChoi t) q → q ≤ p) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P12

end
Source
Probabilistic exact universal quantum circuits for transforming unitary operations, arXiv:1909.01366v2, PDF p. 8, III, Eqs. (21)–(27)
Read-back

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

Let d,kd,kd,k be positive natural numbers, let ccc be parallel, adaptive, or general, and let ttt be a task label satisfying t=transposet=\mathrm{transpose}t=transpose or t=inverset=\mathrm{inverse}t=inverse. For a unitary U∈U(d)U\in U(d)U∈U(d), put Vt(U)=UTV_t(U)=U^{\mathsf T}Vt​(U)=UT in the transpose case and Vt(U)=U†V_t(U)=U^\daggerVt​(U)=U† in the inverse case, and define

H(V)(a,i),(b,j)=VaiVbj‾,R(U)(u,x),(v,y)=∏ℓ<kUuℓxℓUvℓyℓ‾,H(V)_{(a,i),(b,j)}=V_{ai}\overline{V_{bj}}, \qquad R(U)_{(u,x),(v,y)} =\prod_{\ell<k}U_{u_\ell x_\ell}\overline{U_{v_\ell y_\ell}},H(V)(a,i),(b,j)​=Vai​Vbj​​,R(U)(u,x),(v,y)​=ℓ<k∏​Uuℓ​xℓ​​Uvℓ​yℓ​​​, LC(J)(a,i),(b,j)=∑x,y,u,v∈[d]kC(i,x,u,a),(j,y,v,b)J(u,x),(v,y),ΘJ(X)ab=∑i,jXijJ(a,i),(b,j).\mathcal L_C(J)_{(a,i),(b,j)} = \sum_{x,y,u,v\in[d]^k} C_{(i,x,u,a),(j,y,v,b)}J_{(u,x),(v,y)}, \qquad \Theta_J(X)_{ab}=\sum_{i,j}X_{ij}J_{(a,i),(b,j)}.LC​(J)(a,i),(b,j)​=x,y,u,v∈[d]k∑​C(i,x,u,a),(j,y,v,b)​J(u,x),(v,y)​,ΘJ​(X)ab​=i,j∑​Xij​J(a,i),(b,j)​.

A channel here is a map X↦∑ℓKℓXKℓ†X\mapsto\sum_\ell K_\ell XK_\ell^\daggerX↦∑ℓ​Kℓ​XKℓ†​ for a finite family with ∑ℓKℓ†Kℓ=I\sum_\ell K_\ell^\dagger K_\ell=I∑ℓ​Kℓ†​Kℓ​=I; extension by an identity map acts on each memory-index block. A total process matrix CCC is admissible for ccc if C⪰0C\succeq0C⪰0 and the corresponding condition holds: parallel means that there exist a positive memory size mmm and channels E:Md→MmdkE:M_d\to M_{m d^k}E:Md​→Mmdk​, D:Mmdk→MdD:M_{m d^k}\to M_dD:Mmdk​→Md​ such that ΘLC(J)(X)=D((id⁡m⊗ΘJ)(E(X)))\Theta_{\mathcal L_C(J)}(X)=D((\operatorname{id}_m\otimes\Theta_J)(E(X)))ΘLC​(J)​(X)=D((idm​⊗ΘJ​)(E(X))) for every J,XJ,XJ,X; adaptive means that there exist a positive mmm, channels E0:Md→MmdE_0:M_d\to M_{md}E0​:Md​→Mmd​, Ei:Mmd→MmdE_i:M_{md}\to M_{md}Ei​:Mmd​→Mmd​, and D:Mmd→MdD:M_{md}\to M_dD:Mmd​→Md​, such that for every Ji,XJ_i,XJi​,X, ΘLC(⨂iJi)(X)=D(Yk)\Theta_{\mathcal L_C(\bigotimes_iJ_i)}(X)=D(Y_k)ΘLC​(⨂i​Ji​)​(X)=D(Yk​), where Y0=E0(X)Y_0=E_0(X)Y0​=E0​(X) and Yi+1=Ei((id⁡m⊗ΘJi)(Yi))Y_{i+1}=E_i((\operatorname{id}_m\otimes\Theta_{J_i})(Y_i))Yi+1​=Ei​((idm​⊗ΘJi​​)(Yi​)); general means that LC(⨂iJi)\mathcal L_C(\bigotimes_iJ_i)LC​(⨂i​Ji​) is positive semidefinite with external output partial trace IdI_dId​ whenever each Ji⪰0J_i\succeq0Ji​⪰0 has slot output partial trace IdI_dId​. Call a real ppp attainable when 0≤p≤10\le p\le10≤p≤1 and there exist process matrices S,F⪰0S,F\succeq0S,F⪰0 with admissible sum satisfying LS(R(U))=p H(Vt(U))\mathcal L_S(R(U))=p\,H(V_t(U))LS​(R(U))=pH(Vt​(U)) for every unitary UUU. The theorem asserts both that every attainable ppp has such witnesses S,FS,FS,F whose every entry has imaginary part zero, and that there exist a real p∈[0,1]p\in[0,1]p∈[0,1] and such real-entry witnesses S,FS,FS,F for which every attainable real qqq satisfies q≤pq\le pq≤p. The first assertion preserves each attainable value of ppp; the second asserts existence of an attained largest value with real-entry witnesses.

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