Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§II.D.1 Eq.(34): symmetric cloning of two pure qubit states

Open
QAlgorithms.Papers.Independent.Extend50.P40.two_state_fidelity

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

prove2quantum

Let ψ0,ψ1\psi_0,\psi_1ψ0​,ψ1​ be normalized qubit states, s=∣⟨ψ0∣ψ1⟩∣s=|\langle\psi_0|\psi_1\rangle|s=∣⟨ψ0​∣ψ1​⟩∣, and q=1−2s+9s2q=\sqrt{1-2s+9s^2}q=1−2s+9s2​. The optimum common fidelity on both inputs and both output sites is F(0)=1F(0)=1F(0)=1 and, for s>0s>0s>0,

F(s)=12+232s(1+s)(3−3s+q)−1+2s+3s2+(1−s)q.F(s)=\frac12+\frac{\sqrt2}{32s}(1+s)(3-3s+q)\sqrt{-1+2s+3s^2+(1-s)q}.F(s)=21​+32s2​​(1+s)(3−3s+q)−1+2s+3s2+(1−s)q​.

A fixed CPTP channel attains this value and every channel with a common fidelity is bounded by it. Also F(1)=1 and F(1/2) is a minimum on [0,1]; the rounded decimal is not asserted as an equality.

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.D.1, PDF p.11 Eq.(34): exact common symmetric two-state fidelity, including
s=0 and s=1 endpoints and its exact minimizing pureFidelity s=1/2. -/
theorem two_state_fidelity (psi0 psi1 : EuclideanSpace ℂ (Fin 2)) (h0 : ‖psi0‖ = 1) (h1 : ‖psi1‖ = 1) :
    let s := ‖inner ℂ psi0 psi1‖
    (∃ T : Superop (Fin 2) (Fin 2 × Fin 2), IsChannel T ∧
      ∀ psi ∈ ({psi0, psi1} : Set (EuclideanSpace ℂ (Fin 2))),
        pureFidelity psi (traceRight (T (pureDensity psi))) = twoStateFidelity s ∧
        pureFidelity psi (traceLeft (T (pureDensity psi))) = twoStateFidelity s) ∧
    (∀ (T : Superop (Fin 2) (Fin 2 × Fin 2)) (f : ℝ), IsChannel T →
      (∀ psi ∈ ({psi0, psi1} : Set (EuclideanSpace ℂ (Fin 2))),
        pureFidelity psi (traceRight (T (pureDensity psi))) = f ∧
        pureFidelity psi (traceLeft (T (pureDensity psi))) = f) → f ≤ twoStateFidelity s) ∧
    twoStateFidelity 0 = 1 ∧ twoStateFidelity 1 = 1 ∧
    (∀ t ∈ Set.Icc (0 : ℝ) 1, twoStateFidelity (1 / 2) ≤ twoStateFidelity t) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P40

end
Source
Quantum cloning, arXiv:quant-ph/0511088v1, PDF p. 11, §II.D.1 Eq.(34): symmetric cloning of two pure qubit states
Read-back

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

For every pair of unit vectors ψ0,ψ1∈C2\psi_0,\psi_1\in\mathbb C^2ψ0​,ψ1​∈C2, put s=∣⟨ψ0,ψ1⟩∣s=|\langle\psi_0,\psi_1\rangle|s=∣⟨ψ0​,ψ1​⟩∣, and define the real function

G(t)={1,t=0,12+2(1+t)32t(3−3t+1−2t+9t2)−1+2t+3t2+(1−t)1−2t+9t2,t≠0.G(t)= \begin{cases} 1,&t=0,\\[2mm] \displaystyle \frac12+\frac{\sqrt2(1+t)}{32t} \left(3-3t+\sqrt{1-2t+9t^2}\right) \sqrt{-1+2t+3t^2+(1-t)\sqrt{1-2t+9t^2}}, &t\ne0. \end{cases}G(t)=⎩⎨⎧​1,21​+32t2​(1+t)​(3−3t+1−2t+9t2​)−1+2t+3t2+(1−t)1−2t+9t2​​,​t=0,t=0.​

There exists a function TTT from qubit matrices to two-qubit matrices with a finite Kraus representation T(A)=∑jKjAKj†T(A)=\sum_jK_jAK_j^\daggerT(A)=∑j​Kj​AKj†​, ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I, such that, for each ψ∈{ψ0,ψ1}\psi\in\{\psi_0,\psi_1\}ψ∈{ψ0​,ψ1​}, both Re⁡tr⁡(ρψtr⁡BT(ρψ))\operatorname{Re}\operatorname{tr}(\rho_\psi\operatorname{tr}_B T(\rho_\psi))Retr(ρψ​trB​T(ρψ​)) and Re⁡tr⁡(ρψtr⁡AT(ρψ))\operatorname{Re}\operatorname{tr}(\rho_\psi\operatorname{tr}_A T(\rho_\psi))Retr(ρψ​trA​T(ρψ​)) equal G(s)G(s)G(s), where ρψ=∣ψ⟩⟨ψ∣\rho_\psi=|\psi\rangle\langle\psi|ρψ​=∣ψ⟩⟨ψ∣. Conversely, for every such TTT and real fff, if both reduced fidelities equal fff for each vector in that set, then f≤G(s)f\le G(s)f≤G(s). In addition, G(0)=G(1)=1G(0)=G(1)=1G(0)=G(1)=1, and G(1/2)≤G(t)G(1/2)\le G(t)G(1/2)≤G(t) for every t∈[0,1]t\in[0,1]t∈[0,1]. The input vectors need not be distinct or linearly independent, so orthogonal inputs and inputs on the same ray are included.

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