Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Analytical finite-use optimal success probabilities

Open
QAlgorithms.Papers.Independent.Extend50.P26.table_analytical_optima

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

prove2quantum

For each of the parallel, adaptive, and general process-matrix classes, let PC(d,k)P_{\mathcal C}(d,k)PC​(d,k) denote the greatest attainable constant success probability for a fixed universal heralded process that inverts every unknown U∈SU(d)U\in SU(d)U∈SU(d) exactly using kkk forward calls. Success means ppp times the inverse channel, also on reference-entangled inputs. Then

PC(2,1)=14,PC(3,1)=0for all three classes,P_{\mathcal C}(2,1)=\frac14,\qquad P_{\mathcal C}(3,1)=0\quad\text{for all three classes},PC​(2,1)=41​,PC​(3,1)=0for all three classes, Pparallel(2,2)=25,Pparallel(2,3)=12.P_{\mathrm{parallel}}(2,2)=\frac25,\qquad P_{\mathrm{parallel}}(2,3)=\frac12.Pparallel​(2,2)=52​,Pparallel​(2,3)=21​.

Each value is attained and bounds every feasible protocol in its class. Memory, fixed channels, and measurements are free; only forward uses of the unknown unitary are counted.

These are exactly the analytical blue cells of Table I. The black d=3,k=2d=3,k=2d=3,k=2 entries are not included.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P26
Formal statement
noncomputable section

open QAlgorithms

open scoped BigOperators Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.decEq Classical.propDecidable

namespace QAlgorithms.Papers.Independent.Extend50.P26

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

/-- PDF p.4, Table I: exactly the blue analytical cells; IsGreatest supplies both
an attaining protocol and the upper bound against every protocol in that class.
The black d=3,k=2 entry 1/9 is deliberately excluded. -/
theorem table_analytical_optima :
    (∀ c : CircuitClass, IsGreatest {p : ℝ | Attainable c 2 1 p} (1/4)) ∧
    IsGreatest {p : ℝ | Attainable .parallel 2 2 p} (2/5) ∧
    IsGreatest {p : ℝ | Attainable .parallel 2 3 p} (1/2) ∧
    (∀ c : CircuitClass, IsGreatest {p : ℝ | Attainable c 3 1 p} 0) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P26

end
Source
Reversing Unknown Quantum Transformations: Universal Quantum Circuit for Inverting General Unitary Operations, arXiv:1810.06944v3, PDF p. 4, Table I, blue cells
Read-back

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

Write [d]={0,…,d−1}[d]=\{0,\ldots,d-1\}[d]={0,…,d−1}, and define finite index sets B0={∗}B_0=\{*\}B0​={∗} and Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​). For matrices SSS on Bk+1B_{k+1}Bk+1​ and JJJ on BkB_kBk​, define the matrix LS(J)L_S(J)LS​(J) on [d]×[d][d]\times[d][d]×[d] by

LS(J)(o,i),(o′,i′)=∑u,v∈BkSEk(o,i,u),Ek(o′,i′,v)Ju,v,L_S(J)_{(o,i),(o',i')}=\sum_{u,v\in B_k}S_{E_k(o,i,u),E_k(o',i',v)}J_{u,v},LS​(J)(o,i),(o′,i′)​=u,v∈Bk​∑​SEk​(o,i,u),Ek​(o′,i′,v)​Ju,v​,

where E0(o,i,∗)=(o,(i,∗))E_0(o,i,*)=(o,(i,*))E0​(o,i,∗)=(o,(i,∗)) and Er+1(o,i,(a,(b,x)))=(o,(a,Er(b,i,x)))E_{r+1}(o,i,(a,(b,x)))=(o,(a,E_r(b,i,x)))Er+1​(o,i,(a,(b,x)))=(o,(a,Er​(b,i,x))); in particular, this contraction uses Ju,vJ_{u,v}Ju,v​ without conjugation or transposition. Call a matrix QQQ on [d]×[d][d]\times[d][d]×[d] a channel matrix when Q⪰0Q\succeq0Q⪰0 and ∑oQ(o,i),(o,i′)=δi,i′\sum_o Q_{(o,i),(o,i')}=\delta_{i,i'}∑o​Q(o,i),(o,i′)​=δi,i′​. For a complex d×dd\times dd×d matrix AAA, put J(A)(o,i),(o′,i′)=Ao,iAo′,i′‾J(A)_{(o,i),(o',i')}=A_{o,i}\overline{A_{o',i'}}J(A)(o,i),(o′,i′)​=Ao,i​Ao′,i′​​. For matrices Q0,…,Qk−1Q_0,\ldots,Q_{k-1}Q0​,…,Qk−1​ on [d]×[d][d]\times[d][d]×[d], their ordered tensor matrix on BkB_kBk​ is defined recursively by T0=1T_0=1T0​=1 and

Tr+1(Q0,…,Qr)(o,(i,x)),(o′,(i′,y))=(Q0)(o,i),(o′,i′) Tr(Q1,…,Qr)x,y.T_{r+1}(Q_0,\ldots,Q_r)_{(o,(i,x)),(o',(i',y))} =(Q_0)_{(o,i),(o',i')}\,T_r(Q_1,\ldots,Q_r)_{x,y}.Tr+1​(Q0​,…,Qr​)(o,(i,x)),(o′,(i′,y))​=(Q0​)(o,i),(o′,i′)​Tr​(Q1​,…,Qr​)x,y​.

For each label c∈{parallel,adaptive,indefinite}c\in\{\mathrm{parallel},\mathrm{adaptive},\mathrm{indefinite}\}c∈{parallel,adaptive,indefinite}, let Ac(d,k)\mathcal A_c(d,k)Ac​(d,k) consist of those real ppp with 0≤p≤10\le p\le10≤p≤1 for which there exist matrices S,CS,CS,C on Bk+1B_{k+1}Bk+1​ satisfying S⪰0S\succeq0S⪰0, C−S⪰0C-S\succeq0C−S⪰0, and

LS ⁣(Tk(J(U),…,J(U)))=p J(U†)for every U∈SU(d),L_S\!\left(T_k(J(U),\ldots,J(U))\right)=p\,J(U^\dagger) \qquad\text{for every }U\in SU(d),LS​(Tk​(J(U),…,J(U)))=pJ(U†)for every U∈SU(d),

with the following additional condition on CCC. For c=parallelc=\mathrm{parallel}c=parallel, C⪰0C\succeq0C⪰0, and LC(J)L_C(J)LC​(J) is a channel matrix for every J⪰0J\succeq0J⪰0 on BkB_kBk​ whose trace over all kkk output indices is the identity on all kkk input indices: explicitly, writing gk(o,i)g_k(o,i)gk​(o,i) for the recursive grouping of o,i∈[d]ko,i\in[d]^ko,i∈[d]k into BkB_kBk​, this means ∑o∈[d]kJgk(o,a),gk(o,b)=δa,b\sum_{o\in[d]^k}J_{g_k(o,a),g_k(o,b)}=\delta_{a,b}∑o∈[d]k​Jgk​(o,a),gk​(o,b)​=δa,b​ for all a,b∈[d]ka,b\in[d]^ka,b∈[d]k. For c=adaptivec=\mathrm{adaptive}c=adaptive, there exist matrices CrC_rCr​ on BrB_rBr​, 0≤r≤k+10\le r\le k+10≤r≤k+1, with C0=1C_0=1C0​=1, Ck+1=CC_{k+1}=CCk+1​=C, and, for every 0≤r≤k0\le r\le k0≤r≤k, Cr+1⪰0C_{r+1}\succeq0Cr+1​⪰0 and Tr⁡[d]Cr+1=Id⊗Cr\operatorname{Tr}_{[d]}C_{r+1}=I_d\otimes C_rTr[d]​Cr+1​=Id​⊗Cr​, where the partial trace removes the first factor of Br+1B_{r+1}Br+1​. For c=indefinitec=\mathrm{indefinite}c=indefinite, C⪰0C\succeq0C⪰0, and LC(Tk(Q0,…,Qk−1))L_C(T_k(Q_0,\ldots,Q_{k-1}))LC​(Tk​(Q0​,…,Qk−1​)) is a channel matrix for every collection of channel matrices Q0,…,Qk−1Q_0,\ldots,Q_{k-1}Q0​,…,Qk−1​. The assertion is that, for every one of the three labels ccc, 1/41/41/4 belongs to Ac(2,1)\mathcal A_c(2,1)Ac​(2,1) and every member of that set is at most 1/41/41/4; that 2/52/52/5 belongs to Aparallel(2,2)\mathcal A_{\mathrm{parallel}}(2,2)Aparallel​(2,2) and bounds that set above; that 1/21/21/2 belongs to Aparallel(2,3)\mathcal A_{\mathrm{parallel}}(2,3)Aparallel​(2,3) and bounds that set above; and that, for every label ccc, 000 belongs to Ac(3,1)\mathcal A_c(3,1)Ac​(3,1) and every member of that set is at most 000, so that this last set is exactly {0}\{0\}{0}.

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