Lesson 24 · 65 min · core
The No-Cloning Theorem
No physical device copies an unknown quantum state: if a unitary maps and , then , so the two states are orthogonal or equal. We prove this from unitarity and, independently, from linearity, compute the copy fidelity of the CNOT "copier" for every Bloch state, extend the theorem to cloners that use an ancilla or environment, and show that a cloner would let a shared Bell pair transmit a bit faster than light. The same inner-product argument is the reason an eavesdropper cannot read BB84 key bits without disturbing them.
Prerequisites: Entanglement & the Bell States
Objectives and key results
Prove the no-cloning theorem from the preservation of inner products: a unitary cloner of and forces .
Prove it again from linearity alone: a device that copies and maps to .
Derive the copy fidelity of the CNOT copier, with , , and evaluate it at the poles, at , , and on average over the sphere.
Extend the theorem to cloners with an ancilla or environment, , and hence to every physical operation.
Explain, with an explicit protocol, why a cloner would allow superluminal signalling through a shared Bell pair, and why no-cloning protects quantum key distribution.
- theorem · No-cloning theorem (Wootters–Zurek, Dieks)
- identity · Linearity obstruction
- formula · CNOT copier fidelity
- theorem · No-cloning with an environment
- formula · Sphere averages of the CNOT copier
The cloning problem#
Classical information can be copied at will: the reversible bit operation with writes a copy of into a blank register. Its quantum version is the CNOT gate, , which indeed maps and . The question of this lesson is whether some fixed device copies every qubit state, including superpositions it knows nothing about. The answer, found independently by Wootters and Zurek and by Dieks in 1982, is no.
Definition
Quantum cloning machine
Let be a set of normalised single-qubit states. A cloning machine for is a unitary on together with a fixed normalised blank state such that
The machine is universal if contains every pure qubit state. Both and are fixed in advance: they may not depend on the unknown input , since a device that is told can simply prepare a second copy from scratch.
Unitary verified: (max deviation 0.0e+0)
Proof from unitarity#
A unitary preserves inner products, . Cloning, on the other hand, squares inner products, because . The only complex numbers equal to their own square are and .
No-cloning theorem (inner-product form)
Let be a unitary on , let be normalised, and let be normalised states with and . Then : the two states are either orthogonal or identical. In particular no universal cloning machine exists.
Proof (7 steps)
- Step 1:The inner product of product vectors factorises, , and the blank is normalised, .
- Step 2:Insert , which holds because is unitary.
- Step 3:The bra of the vector is , since .
- Step 4:Substitute the two cloning equations, then factorise the inner product of product vectors as in the first step.
- Step 5:The first and last lines are equal. is a field, so a product vanishes only if one factor does: or .
- Step 6:Expand the squared norm; a vector of norm is the zero vector, so means .
- Step 7:A universal cloner would clone both and ; their overlap is neither nor , contradicting the conclusion. Hence no universal cloner exists.
∎
The converse also holds: every orthonormal pair can be cloned. For the CNOT does it. For take with blank :
with for and for , because , and , . What cannot be copied is an unknown state from a set that contains two non-orthogonal members. Copying classical data (orthogonal codewords) is never in conflict with quantum mechanics.
Quick check
Which pair of states can be cloned by one fixed unitary with one fixed blank state?
Proof from linearity#
The second proof does not even use unitarity. Cloning is a quadratic map of the amplitudes,
whereas quantum evolution is linear. A linear map is fixed by what it does to a basis, so once it copies and its action on every superposition is already decided, and the result is not a copy.
A linear copier of the basis states does not copy superpositions
Let be any linear map on with and . Then , which is not equal to , not even up to a global phase, and is not a product state at all.
Proof (6 steps)
- Step 1:The tensor product is bilinear, so it distributes over the sum in the first factor.
- Step 2:Linearity of , then the two cloning equations for the basis states.
- Step 3:Expand the product of the two sums term by term; the prefactor is .
- Step 4:Coefficient vectors in the order . The entries are and , so for every phase , because .
- Step 5:Sum of the products of corresponding (real) coefficients; the overlap of the output with the desired two-copy state has squared modulus .
- Step 6:A product state has amplitudes , so . For this determinant is , so the output is entangled: the "copy" is correlated with the original instead of being an independent replica.
∎
Circuit · 2 qubits
The CNOT copier on ( prepares on qubit 0). The statevector panel shows , the Bell state : the amplitudes of and that a true copy would need are exactly zero.
Quick check
A linear device copies and into a blank . What does it output on ?
How well does the CNOT copy?#
The CNOT is a perfect copier of and and, by the two proofs above, an imperfect copier of everything else. We quantify the imperfection by the copy fidelity
the Born-rule probability that the output passes the test "is the two-qubit state ?". We first treat real amplitudes and then the general Bloch state.
Real amplitudes:
- Step 1:A real input state.
- Step 2:Linearity, with and (the target flips when the control is ).
- Step 3:Expand by bilinearity.
- Step 4:The basis is orthonormal, so the inner product is the sum of products of matching coefficients; complex conjugation does nothing to real numbers.
- Step 5:Square the real overlap.
- Step 6:and ; this reproduces from the linearity proof.
- Step 7:The output is orthogonal to .
Result
General Bloch state:
- Step 1:Bloch parametrisation with the global phase chosen so that ; then and .
- Step 2:The same linearity step as for real amplitudes; nothing in it used that are real.
- Step 3:The bra is the conjugate transpose of the ket: every coefficient is complex-conjugated.
- Step 4:Only contribute; then and .
- Step 5:, , and .
- Step 6:, and the conjugate of is because are real.
- Step 7:Multiply out the four terms; and, by Euler's formula, .
- Step 8:The binomial expansion , together with .
- Step 9:Double-angle formula ; raise it to the second and third powers.
- Step 10:Substitute: . For this is , the real case with , ; for it is , the real case with .
Result
Special values: only at the poles
- Step 1:At the poles and the cross term vanishes and : basis states are copied perfectly, whatever is.
- Step 2:On the equator , so .
- Step 3:give .
- Step 4:Direct check for : the two-copy ket has coefficients , and the bra conjugates them.
- Step 5:Only the and coefficients overlap; . This agrees with the formula.
- Step 6:Use and for .
- Step 7:The subtracted term is non-negative and vanishes only when : the CNOT copies perfectly exactly the two basis states, as the no-cloning theorem allows.
Result
Averages over the Bloch sphere
- Step 1:Uniform average over pure states: the area element of the unit sphere is and the total area is .
- Step 2:The integrand factorises into a part and a part, and the integral vanishes.
- Step 3:Write and substitute , ; the limits become and the sign of flips them back.
- Step 4:, the integral gives .
- Step 5:Average the closed form term by term (the average is linear).
- Step 6:Partial trace over the original: ; leaves and leaves , so no cross terms survive. By symmetry the original qubit ends in the same mixed state.
- Step 7:and ; then and . The single-copy fidelity measures how close each output qubit is, on its own, to .
- Step 8:Use again.
Result
Quick check
What is the copy fidelity of the CNOT copier for ? Give a decimal.
Quick check
On the equator, . What is at ? Give a decimal.
Cloning with an ancilla or environment#
A cleverer machine might use extra workspace: an ancilla or environment that starts in a fixed state and is allowed to end in a state that depends on the input. This also covers machines that measure, compute, and prepare: every physical operation can be realised as a unitary on the system together with a large enough environment. The inner-product argument survives, with one extra factor.
No-cloning with an ancilla or environment
Let be a unitary on , let and be normalised, and suppose and for normalised states and normalised environment states . Then : the inputs are orthogonal or equal up to a global phase.
Proof (8 steps)
- Step 1:Factorisation of the inner product of triple products, with .
- Step 2:Insert and use .
- Step 3:Substitute the two cloning equations and factorise again.
- Step 4:Take moduli of ; by Cauchy–Schwarz .
- Step 5:Subtract from both sides.
- Step 6:Cauchy–Schwarz for the normalised inputs gives , so both factors are non-negative; together with the previous line the product is exactly .
- Step 7:Equality in Cauchy–Schwarz holds only for parallel vectors; two normalised parallel vectors differ by a phase , i.e. they are the same physical state.
- Step 8:A cloner that is only required to copy up to a global phase is covered too: absorb the phase into the (still normalised) environment state and apply the theorem.
∎
Every physical cloner has this form
- Step 1:Any quantum operation from the input qubit (with blank) to the two output qubits can be written as a unitary on system plus environment followed by discarding the environment (Stinespring dilation).
- Step 2:Perfect cloning means the two-qubit output is the pure state . Write the global pure state in Schmidt form across the cut (two qubits environment), , .
- Step 3:The partial trace uses for the orthonormal Schmidt vectors.
- Step 4:The left side is a spectral decomposition with eigenvalues ; the right side has rank one with eigenvalue , so exactly one Schmidt coefficient is non-zero and its vector spans the same ray as .
- Step 5:So a perfect cloner of pure states is exactly a unitary with an environment as in the theorem, and the theorem rules it out for any two non-orthogonal, distinct inputs.
Result
Quick check
Can a large environment that ends in input-dependent states make perfect cloning of and possible?
Cloning would allow faster-than-light signalling#
Alice and Bob share the Bell state and are far apart. Alice decides, at a time of her choosing, to measure her qubit either in the basis or in the basis . Her choice is one bit of information. Quantum mechanics guarantees that Bob cannot read it without a classical message, and a cloner would break that guarantee. This was the content of N. Herbert's 1982 "FLASH" proposal, which prompted the no-cloning papers of Wootters–Zurek and Dieks.
Bob's qubit after Alice's measurement
- Step 1:Alice measures : the projector keeps one term of , whose squared norm is (Born rule). After renormalising, Bob holds .
- Step 2:Substitute and in both factors; the mixed terms and cancel and , each appear twice.
- Step 3:Alice measures : the same Born-rule computation in the basis.
- Step 4:Bob does not know Alice's outcome, so his state is the equal mixture of the two possible post-measurement states.
- Step 5:; the off-diagonal entries cancel.
- Step 6:Before (or without) any measurement by Alice, the reduced state of a Bell pair is maximally mixed (lesson on Bell states). All three descriptions coincide.
- Step 7:Every statistic Bob can collect depends on his qubit only through , which is the same whatever Alice chose: no signal.
Result
A cloner turns the Bell pair into a telegraph
- Step 1:Assume Bob owns a machine that makes perfect copies of these four states (apply a two-copy cloner times).
- Step 2:Bob clones his qubit and measures every copy in the basis; a basis state gives the same outcome every time.
- Step 3:The copies form a product state, so the outcomes are independent fair coins; "all equal" means all or all , each with probability .
- Step 4:Bob decodes "Alice chose " exactly when all outcomes agree. With equally likely choices he errs only when Alice chose and the coins happen to agree; for the error is below .
- Step 5:The contradiction in density-matrix form (): the entry is on the left and on the right, since .
- Step 6:Any physical map is linear on density operators, and both mixtures equal , so a physical cloner must give the same output in both cases. A perfect cloner would give the two different outputs of the previous line: it would be non-linear, and it would send Alice's bit to Bob instantly, contradicting relativistic causality. Hence no such cloner exists.
Result
Quick check
Without a cloner, why can Bob not tell whether Alice measured in the or the basis?
No-cloning and quantum key distribution#
In the BB84 protocol (Bennett and Brassard, 1984) Alice sends single qubits prepared at random in one of the four states , and Bob measures each in a randomly chosen basis or . An eavesdropper Eve would like to keep a copy of every qubit and forward the original untouched. No-cloning forbids exactly this, and the inner-product argument gives a sharper statement: any interaction that leaves two non-orthogonal signals undisturbed teaches Eve nothing about them.
Information gain implies disturbance
- Step 1:Eve couples her probe, initially , to the signal with a unitary and leaves both possible signals unchanged.
- Step 2:Take the inner product of the two equations, as in the no-cloning proof, using and .
- Step 3:For non-orthogonal signals the second factor must vanish; equal unit vectors follow from .
- Step 4:Every BB84 state from one basis overlaps every state from the other basis, so an undisturbing probe ends in the same state for all four signals and carries no information.
- Step 5:Intercept-resend attack, on the bits where Alice and Bob used the same basis: Eve measures in a random basis and resends what she found. If she guessed Alice's basis she resends the correct state; otherwise she resends an eigenstate of the wrong basis, and Bob's outcome is then correct with probability . Comparing a random sample of the key reveals this error rate.
Result
Numerical verification and lab#
The script below runs the CNOT copier on six input states with the simulator's statevector, computes the fidelity with , and compares it with the closed form . It then averages and the single-copy fidelity over the Bloch sphere with a midpoint rule, reproducing and .
import { PAULI_X, Statevector } from '@/lib/quantum-simulator';
// The CNOT copier: |psi>|0> -> CNOT(0,1) -> compare with |psi>|psi>
function copier(theta, phi) {
const c = Math.cos(theta / 2);
const s = Math.sin(theta / 2);
const psi = Statevector.fromAmplitudes([{ re: c, im: 0 }, { re: s * Math.cos(phi), im: s * Math.sin(phi) }]);
const out = Statevector.product(psi, Statevector.zero(1)).applyMatrix(PAULI_X, [1], [0]);
const F = Statevector.product(psi, psi).fidelity(out);
const formula = c ** 6 + s ** 6 + 2 * c ** 3 * s ** 3 * Math.cos(phi);
return { F, formula };
}
const inputs = [
{ name: '|0> ', theta: 0, phi: 0 },
{ name: '|1> ', theta: Math.PI, phi: 0 },
{ name: '|+> ', theta: Math.PI / 2, phi: 0 },
{ name: '|+i> ', theta: Math.PI / 2, phi: Math.PI / 2 },
{ name: '|-> ', theta: Math.PI / 2, phi: Math.PI },
{ name: 'lab 2', theta: Math.PI / 3, phi: 0 },
];
for (const { name, theta, phi } of inputs) {
const { F, formula } = copier(theta, phi);
console.log(name, 'F =', F.toFixed(6), '| matches c^6+s^6+2c^3s^3cos(phi):', Math.abs(F - formula) < 1e-12);
}
// Averages over the Bloch sphere, area element sin(theta) dtheta dphi / (4 pi)
const n = 200;
let avgF = 0;
let avgSingle = 0;
for (let i = 0; i < n; i++) {
const theta = ((i + 0.5) * Math.PI) / n;
for (let j = 0; j < n; j++) {
const phi = ((j + 0.5) * 2 * Math.PI) / n;
const w = (Math.sin(theta) * (Math.PI / n) * ((2 * Math.PI) / n)) / (4 * Math.PI);
avgF += w * copier(theta, phi).F;
avgSingle += w * (Math.cos(theta / 2) ** 4 + Math.sin(theta / 2) ** 4);
}
}
console.log('sphere average of F =', avgF.toFixed(4));
console.log('sphere average of F_single =', avgSingle.toFixed(4));Expected output
|0> F = 1.000000 | matches c^6+s^6+2c^3s^3cos(phi): true |1> F = 1.000000 | matches c^6+s^6+2c^3s^3cos(phi): true |+> F = 0.500000 | matches c^6+s^6+2c^3s^3cos(phi): true |+i> F = 0.250000 | matches c^6+s^6+2c^3s^3cos(phi): true |-> F = 0.000000 | matches c^6+s^6+2c^3s^3cos(phi): true lab 2 F = 0.599880 | matches c^6+s^6+2c^3s^3cos(phi): true sphere average of F = 0.5000 sphere average of F_single = 0.6667
References
- W. K. Wootters and W. H. Zurek, A single quantum cannot be cloned, Nature 299, 802–803 (1982).doi:10.1038/299802a0
- D. Dieks, Communication by EPR devices, Physics Letters A 92, 271–272 (1982).doi:10.1016/0375-9601(82)90084-6
- V. Bužek and M. Hillery, Quantum copying: Beyond the no-cloning theorem, Physical Review A 54, 1844–1852 (1996).doi:10.1103/PhysRevA.54.1844
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), Box 12.1 (the no-cloning theorem) and §12.6 (quantum cryptography).doi:10.1017/CBO9780511976667
Hands-on labs
How good is the CNOT copier?
2 steps · auto-gradedOpen labThe CNOT gate maps and , so it copies basis states perfectly. Compute its copy fidelity for the superpositions and .