Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

No-Cloning: no quantum operation copies every state

Proved
QAlgorithms.GottesmanIntro.noCloning

by Goku · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

gottesman-introlecture-notesquantum-information

This is the No-Cloning theorem.

Let H\mathcal HH be a finite-dimensional Hilbert space with dim⁡H≥2\dim\mathcal H\ge 2dimH≥2. A quantum operation from H\mathcal HH to H⊗H\mathcal H\otimes\mathcal HH⊗H is a map on operators of the form

ρ↦∑iEi ρ Ei†,∑iEi†Ei=I,\rho\mapsto\sum_i E_i\,\rho\,E_i^\dagger,\qquad \sum_i E_i^\dagger E_i=I,ρ↦i∑​Ei​ρEi†​,i∑​Ei†​Ei​=I,

with finitely many operators Ei:H→H⊗HE_i:\mathcal H\to\mathcal H\otimes\mathcal HEi​:H→H⊗H. No quantum operation Φ\PhiΦ satisfies

Φ(∣ψ⟩⟨ψ∣)=(∣ψ⟩⊗∣ψ⟩)(⟨ψ∣⊗⟨ψ∣)\Phi\big(|\psi\rangle\langle\psi|\big)=\big(|\psi\rangle\otimes|\psi\rangle\big)\big(\langle\psi|\otimes\langle\psi|\big)Φ(∣ψ⟩⟨ψ∣)=(∣ψ⟩⊗∣ψ⟩)(⟨ψ∣⊗⟨ψ∣)

for every unit vector ∣ψ⟩∈H|\psi\rangle\in\mathcal H∣ψ⟩∈H.

The theorem shows that a quantum repetition code ∣ψ⟩↦∣ψ⟩⊗3|\psi\rangle\mapsto|\psi\rangle^{\otimes 3}∣ψ⟩↦∣ψ⟩⊗3 cannot exist, which motivates the subspace codes of the following sections.

Formalization Note States enter as density matrices, so the copy is required only up to a global phase. The class of operations is the source's general quantum operation, eq. (23). It contains the unitary-with-blank-ancilla operations of the proof. The hypothesis dim⁡H≥2\dim\mathcal H\ge2dimH≥2 excludes the one-dimensional space, where the identity map clones.

Preamble
import Definitions.Def_QAlgorithms_Defs_FTCircuit
set_option autoImplicit false
Formal statement
namespace QAlgorithms.GottesmanIntro

open scoped Matrix

open QAlgorithms Stabilizer

/-- Gottesman intro p.2, Theorem 1 (No-Cloning): on a Hilbert space of dimension at least 2,
no quantum operation (eq. (23), p.4–5) maps `|ψ⟩⟨ψ|` to `(|ψ⟩ ⊗ |ψ⟩)(⟨ψ| ⊗ ⟨ψ|)` for every
state `|ψ⟩`. -/
theorem noCloning {ι : Type*} [Fintype ι] [DecidableEq ι] (hι : 2 ≤ Fintype.card ι)
    (Φ : Superop ι (ι × ι)) (hΦ : IsChannel Φ) :
    ¬ ∀ ψ : EuclideanSpace ℂ ι, IsState ψ → Φ (pureDensity ψ) = pureDensity (tensorVec ψ ψ) := by
  sorry




end QAlgorithms.GottesmanIntro
Source
Daniel Gottesman, An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation, 2009, v1, PDF p. 2, Theorem 1. https://arxiv.org/pdf/0904.2557v1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Let ι\iotaι be a finite index set with decidable equality and at least two elements, ∣ι∣≥2|\iota| \ge 2∣ι∣≥2. A state space is Cι\mathbb{C}^\iotaCι with the standard Euclidean norm.

Hypothesis on Φ\PhiΦ. Φ\PhiΦ is a map sending ι×ι\iota\times\iotaι×ι complex matrices to (ι×ι)×(ι×ι)(\iota\times\iota)\times(\iota\times\iota)(ι×ι)×(ι×ι) complex matrices, i.e. an operator on Cι\mathbb{C}^\iotaCι goes to an operator on Cι⊗Cι\mathbb{C}^\iota\otimes\mathbb{C}^\iotaCι⊗Cι. It is assumed to be a channel in Kraus form: there exist m∈Nm\in\mathbb{N}m∈N and matrices E1,…,EmE_1,\dots,E_mE1​,…,Em​ of size (ι×ι)×ι(\iota\times\iota)\times\iota(ι×ι)×ι such that

∑jEj†Ej=IιandΦ(ρ)=∑jEj ρ Ej†  for every matrix ρ.\sum_{j} E_j^\dagger E_j = I_\iota \quad\text{and}\quad \Phi(\rho)=\sum_j E_j\,\rho\,E_j^\dagger \ \text{ for every matrix } \rho.j∑​Ej†​Ej​=Iι​andΦ(ρ)=j∑​Ej​ρEj†​  for every matrix ρ.

Notation. For a vector ψ\psiψ, write ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi|∣ψ⟩⟨ψ∣ for the matrix with entries (a,b)↦ψaψb‾(a,b)\mapsto \psi_a\overline{\psi_b}(a,b)↦ψa​ψb​​. Write ψ⊗ψ\psi\otimes\psiψ⊗ψ for the vector on ι×ι\iota\times\iotaι×ι with entries (a,b)↦ψaψb(a,b)\mapsto\psi_a\psi_b(a,b)↦ψa​ψb​.

Conclusion. It is not the case that every unit vector ψ∈Cι\psi\in\mathbb{C}^\iotaψ∈Cι (with ∥ψ∥=1\|\psi\|=1∥ψ∥=1) satisfies

Φ(∣ψ⟩⟨ψ∣)=∣ψ⊗ψ⟩⟨ψ⊗ψ∣.\Phi\big(|\psi\rangle\langle\psi|\big)=|\psi\otimes\psi\rangle\langle\psi\otimes\psi|.Φ(∣ψ⟩⟨ψ∣)=∣ψ⊗ψ⟩⟨ψ⊗ψ∣.

The channel maps ι\iotaι directly to ι×ι\iota\times\iotaι×ι. No separate blank input register or ancilla appears in the statement.

Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 13, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me