Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§II.A.3 Eq.(15): optimal universal NOT from the ancilla

Open
QAlgorithms.Papers.Independent.Extend50.P40.universal_not

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

prove2quantum

For a normalized qubit ψ=(α,β)\psi=(\alpha,\beta)ψ=(α,β) put ψ⊥=(−β‾,α‾)\psi^\perp=(-\overline\beta,\overline\alpha)ψ⊥=(−β​,α). The Buzek–Hillery machine marginal is also produced by random-basis measurement followed by preparation of the opposite outcome, and

ρM=23∣ψ⊥⟩⟨ψ⊥∣+13∣ψ⟩⟨ψ∣,FNOT=23.\rho_M=\tfrac23|\psi^\perp\rangle\langle\psi^\perp|+\tfrac13|\psi\rangle\langle\psi|,\qquad F_{\rm NOT}=\tfrac23.ρM​=32​∣ψ⊥⟩⟨ψ⊥∣+31​∣ψ⟩⟨ψ∣,FNOT​=32​.

Every CPTP NOT approximator with constant pure-target fidelity has fidelity at most 2/3. Perfect universal NOT is impossible. The target is the orthogonal state, not the original.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P40
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P40

open QAlgorithms

open scoped Matrix ComplexOrder ComplexConjugate BigOperators Topology

open MeasureTheory Filter

open scoped Matrix.Norms.Frobenius

open QAlgorithms.Papers.Independent.Dependency50.P12 (sigma)

open QAlgorithms.Papers.Independent.Dependency50.P48 (pureFidelity)

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Support21.P16
  (CloneMap IsBoseInputChannel coherentTensor tensorWithIdentity canonicalCloner
   HasBoseOutput HasBlackCowCoefficient canonicalCoefficient oneMixed)

open QAlgorithms.Papers.Independent.Renew46.P45
  (TensorMat boseProjector siteObservable)

open QAlgorithms.Papers.Independent.Information100.P58 (Word)

/-- II.A.3, PDF p.8 Eq.(15): the machine output is the optimal universal anti-clone.
The target is psi_perp. The perfect NOT cannot be a channel; optimal 2/3 is attainable. -/
theorem universal_not :
    IsChannel measureNot ∧
    (∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 →
      measureNot (pureDensity psi) = marginalMachine (bhOutput psi)) ∧
    (∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 →
      marginalMachine (bhOutput psi) =
        (2 / 3 : ℂ) • pureDensity (orthogonalQubit psi) + (1 / 3 : ℂ) • pureDensity psi ∧
      pureFidelity (orthogonalQubit psi) (marginalMachine (bhOutput psi)) = 2 / 3) ∧
    (∀ (T : Superop (Fin 2) (Fin 2)) (f : ℝ), IsChannel T →
      (∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 → pureFidelity (orthogonalQubit psi) (T (pureDensity psi)) = f) → f ≤ 2 / 3) ∧
    (¬ ∃ T : Superop (Fin 2) (Fin 2), IsChannel T ∧
      ∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 → T (pureDensity psi) = pureDensity (orthogonalQubit psi)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P40

end
Source
Quantum cloning, arXiv:quant-ph/0511088v1, PDF p. 8, §II.A.3 Eq.(15): optimal universal NOT from the ancilla
Read-back

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

For ψ=(ψ0,ψ1)∈C2\psi=(\psi_0,\psi_1)\in\mathbb C^2ψ=(ψ0​,ψ1​)∈C2, set ψ⊥=(−ψ1‾,ψ0‾)\psi^\perp=(-\overline{\psi_1},\overline{\psi_0})ψ⊥=(−ψ1​​,ψ0​​) and ρψ=ψψ†\rho_\psi=\psi\psi^\daggerρψ​=ψψ†. Define

N(A)=14π∫02π∫−11[Tr⁡(PbA)Qb+Tr⁡(QbA)Pb] dz dφ,Pb=12(1+b3b1−ib2b1+ib21−b3),Qb=I2−Pb,\mathcal N(A)=\frac1{4\pi}\int_0^{2\pi}\int_{-1}^{1} \left[\operatorname{Tr}(P_bA)Q_b+\operatorname{Tr}(Q_bA)P_b\right]\,dz\,d\varphi, \quad P_b=\frac12\begin{pmatrix}1+b_3&b_1-ib_2\\b_1+ib_2&1-b_3\end{pmatrix}, \quad Q_b=I_2-P_b,N(A)=4π1​∫02π​∫−11​[Tr(Pb​A)Qb​+Tr(Qb​A)Pb​]dzdφ,Pb​=21​(1+b3​b1​+ib2​​b1​−ib2​1−b3​​),Qb​=I2​−Pb​,

where b=(1−z2cos⁡φ,1−z2sin⁡φ,z)b=(\sqrt{1-z^2}\cos\varphi,\sqrt{1-z^2}\sin\varphi,z)b=(1−z2​cosφ,1−z2​sinφ,z). Also define VVV by Ve0=2/3∣001⟩−1/6(∣010⟩+∣100⟩)Ve_0=\sqrt{2/3}|001\rangle-\sqrt{1/6}(|010\rangle+|100\rangle)Ve0​=2/3​∣001⟩−1/6​(∣010⟩+∣100⟩) and Ve1=−2/3∣110⟩+1/6(∣011⟩+∣101⟩)Ve_1=-\sqrt{2/3}|110\rangle+\sqrt{1/6}(|011\rangle+|101\rangle)Ve1​=−2/3​∣110⟩+1/6​(∣011⟩+∣101⟩), and, writing v=Vψv=V\psiv=Vψ, define MψM_\psiMψ​ by (Mψ)c,c′=∑a,bvabcvabc′‾(M_\psi)_{c,c'}=\sum_{a,b}v_{abc}\overline{v_{abc'}}(Mψ​)c,c′​=∑a,b​vabc​vabc′​​. The function N\mathcal NN is a channel, meaning that it has a finite representation N(A)=∑jEjAEj†\mathcal N(A)=\sum_jE_jAE_j^\daggerN(A)=∑j​Ej​AEj†​ with ∑jEj†Ej=I2\sum_jE_j^\dagger E_j=I_2∑j​Ej†​Ej​=I2​. For every unit vector ψ\psiψ,

N(ρψ)=Mψ=23ρψ⊥+13ρψ,Re⁡Tr⁡(ρψ⊥Mψ)=23.\mathcal N(\rho_\psi)=M_\psi =\frac23\rho_{\psi^\perp}+\frac13\rho_\psi, \qquad \operatorname{Re}\operatorname{Tr}(\rho_{\psi^\perp}M_\psi)=\frac23.N(ρψ​)=Mψ​=32​ρψ⊥​+31​ρψ​,ReTr(ρψ⊥​Mψ​)=32​.

For every channel T:M2(C)→M2(C)T:M_2(\mathbb C)\to M_2(\mathbb C)T:M2​(C)→M2​(C) in the same finite Kraus sense and every real fff, if Re⁡Tr⁡(ρψ⊥T(ρψ))=f\operatorname{Re}\operatorname{Tr}(\rho_{\psi^\perp}T(\rho_\psi))=fReTr(ρψ⊥​T(ρψ​))=f for every unit vector ψ\psiψ, then f≤2/3f\le2/3f≤2/3. Finally, there exists no such channel TTT satisfying T(ρψ)=ρψ⊥T(\rho_\psi)=\rho_{\psi^\perp}T(ρψ​)=ρψ⊥​ for every unit vector ψ\psiψ.

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