Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite exact-inversion SDP characterization and attained maximum

Open
QAlgorithms.Papers.Independent.Extend50.P26.finite_sdp_characterization

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

prove2quantum

Let d≥2d\ge2d≥2 and k≥1k\ge1k≥1 be integers and choose the parallel, adaptive, or general process-matrix class. Write J(U)J(U)J(U) for the unnormalized Choi operator of a forward unitary channel. There is a finite family U1,…,Um∈SU(d)U_1,\ldots,U_m\in SU(d)U1​,…,Um​∈SU(d) whose tensors J(Ui)⊗kJ(U_i)^{\otimes k}J(Ui​)⊗k are linearly independent and span all repeated-unitary tensors. There is also a finite real affine presentation of deterministic admissibility in the chosen class. The attainable universal exact-inversion probabilities are precisely the feasible values of p∈[0,1]p\in[0,1]p∈[0,1] in

max⁡psubject toS∗J(Ui)⊗k=pJ(Ui†) (1≤i≤m),S⪰0,C−S⪰0,C deterministic in the chosen class.\max p\quad\text{subject to}\quad S*J(U_i)^{\otimes k}=pJ(U_i^\dagger)\ (1\le i\le m),\quad S\succeq0,\quad C-S\succeq0,\quad C\text{ deterministic in the chosen class}.maxpsubject toS∗J(Ui​)⊗k=pJ(Ui†​) (1≤i≤m),S⪰0,C−S⪰0,C deterministic in the chosen class.

The maximum is attained. Here ∗*∗ is the link product, SSS is the success branch, and CCC is its deterministic completion. Both are fixed independently of the unknown input unitary. Choi equality imposes exactness also with arbitrary reference systems.

This supplies finite semidefinite constraints without weakening universal inversion to sampled inputs. The positive-use restriction is necessary for the basis reduction; no finite Haar-sampling confidence bound is asserted.

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, Eq.(4): a basis of the actual repeated-unitary Choi tensors gives exactly
the universal feasible probabilities, with an attained maximum. All deterministic
constraints admit a finite real affine presentation, so this is a finite SDP.
The positive-use restriction k>=1 corrects the printed basis reduction at k=0:
a single scalar input basis cannot constrain an unknown inverse output channel.
No arbitrary linear target relation is assumed: inverseChoi is constructed from U. -/
theorem finite_sdp_characterization (d k : ℕ) (hd : 2 ≤ d) (hk : 1 ≤ k)
    (c : CircuitClass) :
    ∃ (m : ℕ) (U : Fin m → (Matrix.specialUnitaryGroup (Fin d) ℂ)),
      LinearIndependent ℂ (fun j => slotTensor d k (fun _ => unitaryChoi (U j).val)) ∧
      Submodule.span ℂ (Set.range (fun j => slotTensor d k (fun _ => unitaryChoi (U j).val))) =
        Submodule.span ℂ (Set.range (fun V : (Matrix.specialUnitaryGroup (Fin d) ℂ) =>
          slotTensor d k (fun _ => unitaryChoi V.val))) ∧
      (∃ (t : ℕ) (L : Fin t → ((Matrix (InversionBasis d (k+1)) (InversionBasis d (k+1)) ℂ) →ₗ[ℝ] ℝ)) (b : Fin t → ℝ),
        ∀ C, InversionCompletion c d k C ↔ C.PosSemidef ∧ ∀ j, L j C = b j) ∧
      (∀ p : ℝ, FiniteFeasible c d k m U p ↔ Attainable c d k p) ∧
      ∃ p : ℝ, FiniteFeasible c d k m U p ∧
        ∀ q : ℝ, FiniteFeasible c d k m U q → q ≤ p := 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, Eq.(4)
Read-back

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

For every pair of natural numbers d,kd,kd,k with d≥2d\ge2d≥2 and k≥1k\ge1k≥1, and every class c∈{parallel,adaptive,indefinite}c\in\{\text{parallel},\text{adaptive},\text{indefinite}\}c∈{parallel,adaptive,indefinite}, there exist a natural number mmm and special unitary matrices Uj∈SU(d)U_j\in\mathrm{SU}(d)Uj​∈SU(d), j∈[m]j\in[m]j∈[m], having all the properties below. To specify them, let B0={∗}B_0=\{*\}B0​={∗}, Br+1=[d]×([d]×Br)B_{r+1}=[d]\times([d]\times B_r)Br+1​=[d]×([d]×Br​), and define

(QV)u,v=∏r=1kVu2r−1,u2rVv2r−1,v2r‾,(RV)(o,i),(o′,i′)=(V†)o,i(V†)o′,i′‾,ΛA(J)(o,i),(o′,i′)=∑u,v∈BkA(o,u,i),(o′,v,i′)Ju,v,(Q_V)_{u,v}=\prod_{r=1}^kV_{u_{2r-1},u_{2r}}\overline{V_{v_{2r-1},v_{2r}}}, \qquad (R_V)_{(o,i),(o',i')}=(V^\dagger)_{o,i}\overline{(V^\dagger)_{o',i'}}, \qquad \Lambda_A(J)_{(o,i),(o',i')} =\sum_{u,v\in B_k}A_{(o,u,i),(o',v,i')}J_{u,v},(QV​)u,v​=r=1∏k​Vu2r−1​,u2r​​Vv2r−1​,v2r​​​,(RV​)(o,i),(o′,i′)​=(V†)o,i​(V†)o′,i′​​,ΛA​(J)(o,i),(o′,i′)​=u,v∈Bk​∑​A(o,u,i),(o′,v,i′)​Ju,v​,

where (o,u,i)(o,u,i)(o,u,i) concatenates the endpoints with the coordinates of uuu, using the recursive grouping. Write Cc\mathcal C_cCc​ for the following set of matrices CCC on Bk+1B_{k+1}Bk+1​: for parallel, CCC is positive semidefinite and ΛC(J)\Lambda_C(J)ΛC​(J) is positive semidefinite with output trace equal to the identity whenever JJJ is positive semidefinite with trace over its kkk output coordinates equal to the identity on its kkk input coordinates; for adaptive, CCC satisfies recursive normalization, whose level-zero condition is equality to 111 and whose level-(r+1)(r+1)(r+1) condition is positive semidefiniteness together with ∑oC(o,i,x),(o,i′,y)=δi,i′Dx,y\sum_oC_{(o,i,x),(o,i',y)}=\delta_{i,i'}D_{x,y}∑o​C(o,i,x),(o,i′,y)​=δi,i′​Dx,y​ for some recursively normalized level-rrr matrix DDD; for indefinite, CCC is positive semidefinite and ΛC(J1⊗⋯⊗Jk)\Lambda_C(J_1\otimes\cdots\otimes J_k)ΛC​(J1​⊗⋯⊗Jk​) is positive semidefinite with output trace equal to the identity for every family of positive semidefinite JrJ_rJr​ with output trace equal to the identity, using the paired-coordinate tensor product. First, the matrices QUjQ_{U_j}QUj​​ are linearly independent over C\mathbb CC and

span⁡C{QUj:j∈[m]}=span⁡C{QV:V∈SU(d)}.\operatorname{span}_{\mathbb C}\{Q_{U_j}:j\in[m]\} = \operatorname{span}_{\mathbb C}\{Q_V:V\in\mathrm{SU}(d)\}.spanC​{QUj​​:j∈[m]}=spanC​{QV​:V∈SU(d)}.

Second, there exist a natural number ttt, real-linear functionals LjL_jLj​ from the complex matrices on Bk+1B_{k+1}Bk+1​, regarded as a real vector space, to R\mathbb RR, and real constants bjb_jbj​, for j∈[t]j\in[t]j∈[t], such that every matrix CCC satisfies

C∈Cc⟺C is positive semidefinite and Lj(C)=bj for every j∈[t].C\in\mathcal C_c \quad\Longleftrightarrow\quad C\text{ is positive semidefinite and }L_j(C)=b_j\text{ for every }j\in[t].C∈Cc​⟺C is positive semidefinite and Lj​(C)=bj​ for every j∈[t].

Third, for every real ppp, the condition that 0≤p≤10\le p\le10≤p≤1 and there exist S,CS,CS,C with S,C−SS,C-SS,C−S positive semidefinite, C∈CcC\in\mathcal C_cC∈Cc​, and ΛS(QUj)=pRUj\Lambda_S(Q_{U_j})=pR_{U_j}ΛS​(QUj​​)=pRUj​​ for every j∈[m]j\in[m]j∈[m], is equivalent to the condition that 0≤p≤10\le p\le10≤p≤1 and there exist such S,CS,CS,C satisfying ΛS(QV)=pRV\Lambda_S(Q_V)=pR_VΛS​(QV​)=pRV​ for every V∈SU(d)V\in\mathrm{SU}(d)V∈SU(d); the existential witnesses on the two sides need not be the same. Finally, there exists a real ppp satisfying the finite condition such that every real qqq satisfying that finite condition obeys q≤pq\le pq≤p, so a greatest feasible value is attained. The auxiliary counts m,tm,tm,t are natural numbers without separately stated positivity requirements; any empty family must still satisfy the displayed spanning and equivalence conditions.

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