Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§II.A.1 Eq.(10): random-basis measure-and-prepare cloning

Open
QAlgorithms.Papers.Independent.Extend50.P40.measure_prepare

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

prove2quantum

Measure a qubit in a uniformly random basis and prepare two copies of the observed eigenstate. Uniform means normalized spherical probability measure, dφ dz/(4π)d\varphi\,dz/(4\pi)dφdz/(4π) with z∈[−1,1]z\in[-1,1]z∈[−1,1]. This fixed channel has, for every normalized input ψ\psiψ,

⟨ψ∣ρA∣ψ⟩=⟨ψ∣ρB∣ψ⟩=23.\langle\psi|\rho_A|\psi\rangle=\langle\psi|\rho_B|\psi\rangle=\tfrac23.⟨ψ∣ρA​∣ψ⟩=⟨ψ∣ρB​∣ψ⟩=32​.

The fidelity is independent of the input and refers to each labeled single clone.

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.1, PDF p.7 Eq.(10): uniform random measurement basis gives fidelity 2/3. -/
theorem measure_prepare :
    IsChannel randomBasisCloner ∧ ∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 →
      pureFidelity psi (traceRight (randomBasisCloner (pureDensity psi))) = 2 / 3 ∧
      pureFidelity psi (traceLeft (randomBasisCloner (pureDensity psi))) = 2 / 3 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P40

end
Source
Quantum cloning, arXiv:quant-ph/0511088v1, PDF p. 7, §II.A.1 Eq.(10): random-basis measure-and-prepare cloning
Read-back

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

For 0≤φ≤2π0\le\varphi\le2\pi0≤φ≤2π and −1≤z≤1-1\le z\le1−1≤z≤1, put 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), and define

Pb=12(1+b3b1−ib2b1+ib21−b3),Qb=I2−Pb.P_b=\frac12\begin{pmatrix}1+b_3&b_1-ib_2\\b_1+ib_2&1-b_3\end{pmatrix}, \qquad Q_b=I_2-P_b.Pb​=21​(1+b3​b1​+ib2​​b1​−ib2​1−b3​​),Qb​=I2​−Pb​.

The function

T(A)=14π∫02π∫−11[Tr⁡(PbA)(Pb⊗Pb)+Tr⁡(QbA)(Qb⊗Qb)] dz dφT(A)=\frac1{4\pi}\int_0^{2\pi}\int_{-1}^{1} \left[\operatorname{Tr}(P_bA)(P_b\otimes P_b) +\operatorname{Tr}(Q_bA)(Q_b\otimes Q_b)\right]\,dz\,d\varphiT(A)=4π1​∫02π​∫−11​[Tr(Pb​A)(Pb​⊗Pb​)+Tr(Qb​A)(Qb​⊗Qb​)]dzdφ

admits a finite Kraus representation T(A)=∑jEjAEj†T(A)=\sum_jE_jAE_j^\daggerT(A)=∑j​Ej​AEj†​ with ∑jEj†Ej=I2\sum_jE_j^\dagger E_j=I_2∑j​Ej†​Ej​=I2​. Furthermore, for every ψ∈C2\psi\in\mathbb C^2ψ∈C2 with ∥ψ∥=1\|\psi\|=1∥ψ∥=1, writing ρψ=ψψ†\rho_\psi=\psi\psi^\daggerρψ​=ψψ†, both equalities hold:

Re⁡Tr⁡ ⁣(ρψ Tr⁡2T(ρψ))=23,Re⁡Tr⁡ ⁣(ρψ Tr⁡1T(ρψ))=23.\operatorname{Re}\operatorname{Tr}\!\left(\rho_\psi\,\operatorname{Tr}_2T(\rho_\psi)\right)=\frac23, \qquad \operatorname{Re}\operatorname{Tr}\!\left(\rho_\psi\,\operatorname{Tr}_1T(\rho_\psi)\right)=\frac23.ReTr(ρψ​Tr2​T(ρψ​))=32​,ReTr(ρψ​Tr1​T(ρψ​))=32​.

Here (Tr⁡2Y)a,a′=∑bY(a,b),(a′,b)(\operatorname{Tr}_2Y)_{a,a'}=\sum_bY_{(a,b),(a',b)}(Tr2​Y)a,a′​=∑b​Y(a,b),(a′,b)​ and (Tr⁡1Y)b,b′=∑aY(a,b),(a,b′)(\operatorname{Tr}_1Y)_{b,b'}=\sum_aY_{(a,b),(a,b')}(Tr1​Y)b,b′​=∑a​Y(a,b),(a,b′)​.

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