Skip to content

No-cloning

The BB84 lesson leaned on one unproved claim: Eve cannot copy the qubits Alice sends. If she could, she would keep a copy of each, wait for the bases to be announced, and read the whole key without leaving a mark. This lesson proves the claim. The proof is three lines long, and it is one of the most useful facts in the subject.

It assumes you know the Quantum Information track up to entanglement.

A copier takes a qubit in an unknown state ∣ψ⟩\ket{\psi} and a blank qubit in ∣0⟩\ket{0}, and leaves both in the state ∣ψ⟩\ket{\psi}:

U ∣ψ⟩∣0⟩=∣ψ⟩∣ψ⟩for every ∣ψ⟩.U\,\ket{\psi}\ket{0} = \ket{\psi}\ket{\psi} \qquad\text{for every } \ket{\psi}.

It is a gate UU like any other. The important words are for every: the machine is built before it knows what it will be asked to copy.

You already own a machine that copies some states. CNOT flips the blank qubit exactly when the original is 1.

PuzzleCopy a bit

The top qubit is in ∣1⟩\ket{1}. Copy it onto the blank qubit, to get ∣11⟩\ket{11}. Your circuit is also tested on the input ∣0⟩\ket{0}, where it should give ∣00⟩\ket{00}.

This puzzle needs JavaScript.

So ∣0⟩∣0⟩→∣0⟩∣0⟩\ket{0}\ket{0} \to \ket{0}\ket{0} and ∣1⟩∣0⟩→∣1⟩∣1⟩\ket{1}\ket{0} \to \ket{1}\ket{1}. Both basis states are copied perfectly. Now give the same machine a superposition.

PuzzleCopy a superposition?

The top qubit is now in ∣+⟩\ket{+}. Run the same copier. A true copy would leave the pair in ∣+⟩∣+⟩=12(∣00⟩+∣01⟩+∣10⟩+∣11⟩)\ket{+}\ket{+} = \tfrac12\bigl(\ket{00} + \ket{01} + \ket{10} + \ket{11}\bigr). The extra panel shows the state of the bottom qubit, the would-be copy, on its own.

This puzzle needs JavaScript.

The result is the Bell state 12(∣00⟩+∣11⟩)\tfrac{1}{\sqrt2}(\ket{00} + \ket{11}), with two terms where a pair of copies would have four. The “copy” is not ∣+⟩\ket{+}. It is maximally mixed, with no coherences at all, and so is the original. The machine did not copy the state. It entangled the two qubits, and damaged the original in the process.

The failure is forced by linearity. A gate acts on a superposition term by term, so once we know what the machine does to ∣0⟩\ket{0} and ∣1⟩\ket{1}, we know what it does to everything:

U(α∣0⟩+β∣1⟩)∣0⟩=α∣00⟩+β∣11⟩.U\bigl(\alpha\ket{0} + \beta\ket{1}\bigr)\ket{0} = \alpha\ket{00} + \beta\ket{11}.

A copy would be something else:

(α∣0⟩+β∣1⟩)(α∣0⟩+β∣1⟩)=α2∣00⟩+αβ∣01⟩+αβ∣10⟩+β2∣11⟩.\bigl(\alpha\ket{0} + \beta\ket{1}\bigr)\bigl(\alpha\ket{0} + \beta\ket{1}\bigr) = \alpha^2\ket{00} + \alpha\beta\ket{01} + \alpha\beta\ket{10} + \beta^2\ket{11}.

These agree only when αβ=0\alpha\beta = 0, that is, only for ∣0⟩\ket{0} and ∣1⟩\ket{1} themselves. Any machine that copies the two basis states must fail on every superposition of them. Copying is a quadratic operation on the amplitudes, and quantum mechanics only offers linear ones.

That argument started from a machine that copies ∣0⟩\ket{0} and ∣1⟩\ket{1}. A second argument shows exactly which sets of states a single machine can copy.

Suppose UU copies two states, ∣ψ⟩\ket{\psi} and ∣φ⟩\ket{\varphi}:

U∣ψ⟩∣0⟩=∣ψ⟩∣ψ⟩,U∣φ⟩∣0⟩=∣φ⟩∣φ⟩.U\ket{\psi}\ket{0} = \ket{\psi}\ket{\psi}, \qquad U\ket{\varphi}\ket{0} = \ket{\varphi}\ket{\varphi}.

A unitary gate preserves inner products. Take the inner product of the two left-hand sides, then of the two right-hand sides, and set them equal:

⟨ψ∣φ⟩=⟨ψ∣φ⟩2.\langle\psi|\varphi\rangle = \langle\psi|\varphi\rangle^2.

A number equal to its own square is 0 or 1. So the two states are either orthogonal or identical. This is the no-cloning theorem:

No physical process can copy two different quantum states unless they are orthogonal.

Giving the machine extra workspace does not help. If it also carries a memory that ends in some state depending on the input, the same calculation gives ∣⟨ψ∣φ⟩∣=∣⟨ψ∣φ⟩∣2×∣⟨mψ∣mφ⟩∣|\langle\psi|\varphi\rangle| = |\langle\psi|\varphi\rangle|^2 \times |\langle m_\psi|m_\varphi\rangle|, and since the last factor is at most 1, the conclusion is the same.

Check

For which pair of states could one machine copy both?

Build that machine. It should take ∣+⟩∣0⟩\ket{+}\ket{0} to ∣+⟩∣+⟩\ket{+}\ket{+} and ∣−⟩∣0⟩\ket{-}\ket{0} to ∣−⟩∣−⟩\ket{-}\ket{-}.

PuzzleA copier for the other basis

The top qubit is in ∣+⟩\ket{+}. Make ∣+⟩∣+⟩\ket{+}\ket{+}. Your circuit is also tested on the input ∣−⟩\ket{-}, where it must give ∣−⟩∣−⟩\ket{-}\ket{-}.

This puzzle needs JavaScript.

Hint

One way is to rotate to the basis where CNOT copies, copy, and rotate back: four gates. For two gates, use the fact that a CNOT seen in the ∣+⟩\ket{+}, ∣−⟩\ket{-} basis runs the other way: its target acts as the control.

This copier is as good as the first, and equally limited: give it ∣0⟩\ket{0} and it produces a Bell state. Each machine copies one basis and scrambles the other.

The theorem is narrower than its name suggests. It leaves all of these possible:

  • Copying a state you know. If you are told the state is ∣+⟩\ket{+}, you can make as many as you like: apply HH to fresh qubits. That is preparation, not copying. The theorem is about states the machine was not told.
  • Copying classical information. Bits are orthogonal states, ∣0⟩\ket{0} and ∣1⟩\ket{1}, which is why a CNOT, and every photocopier and hard drive, can duplicate them.
  • Moving a state. Teleportation transfers an unknown state to another qubit, and the original is destroyed in the process. One copy before, one copy after.
  • Imperfect copies. A machine can produce two approximate copies. The best machine that treats every input state alike gives copies that would each pass a test for being the original with probability 56\tfrac56. Measuring the qubit and preparing two new ones from the result does worse, at 23\tfrac23.
  • Learning a state from many copies. If a source hands you a thousand qubits in the same unknown state, you can measure them in different bases and estimate the state. The theorem concerns a single specimen.

The four BB84 states are ∣0⟩\ket{0}, ∣1⟩\ket{1}, ∣+⟩\ket{+} and ∣−⟩\ket{-}. States from different bases have overlap ∣⟨0∣+⟩∣2=12|\langle 0|+\rangle|^2 = \tfrac12, neither 0 nor 1. So Eve has no machine that copies all four, and that is the whole reason Alice uses two bases.

Suppose Eve tries anyway, with the CNOT copier, on every qubit that passes.

  • When Alice used the ++ basis, Eve’s copy is perfect and Bob’s qubit is untouched.
  • When Alice used the ×\times basis, the second puzzle shows what happens: the qubit that travels on to Bob is maximally mixed. Bob’s result is a coin flip, wrong half the time.
Check

Eve applies the CNOT copier to every qubit. What error rate do Alice and Bob find in their sifted key?

There is nothing special about CNOT here. The same inner-product argument proves that information cannot be had for free. Suppose Eve’s device leaves both ∣ψ⟩\ket{\psi} and ∣φ⟩\ket{\varphi} undisturbed, while her probe ends in a state ∣eψ⟩\ket{e_\psi} or ∣eφ⟩\ket{e_\varphi}:

∣ψ⟩∣e⟩→∣ψ⟩∣eψ⟩,∣φ⟩∣e⟩→∣φ⟩∣eφ⟩.\ket{\psi}\ket{e} \to \ket{\psi}\ket{e_\psi}, \qquad \ket{\varphi}\ket{e} \to \ket{\varphi}\ket{e_\varphi}.

Inner products are preserved, so ⟨ψ∣φ⟩=⟨ψ∣φ⟩ ⟨eψ∣eφ⟩\langle\psi|\varphi\rangle = \langle\psi|\varphi\rangle\,\langle e_\psi|e_\varphi\rangle. If the two states are not orthogonal we can divide by ⟨ψ∣φ⟩\langle\psi|\varphi\rangle, leaving ⟨eψ∣eφ⟩=1\langle e_\psi|e_\varphi\rangle = 1. Eve’s probe ends in the same state either way. If she does not disturb the states, she learns nothing, and so anything she learns has to show up as disturbance. BB84’s error check is a test for that disturbance.

  • Faster-than-light signalling. If Bob could clone his half of a Bell pair, he could measure the copies and work out which basis Alice had measured hers in, instantly and at any distance. No-cloning is part of what keeps entanglement from carrying messages. A proposal for exactly this kind of signalling is what prompted the theorem’s proof in 1982, by William Wootters and Wojciech Zurek and independently by Dennis Dieks.
  • Error correction. A quantum computer cannot protect its data by keeping backups. Quantum error correction has to spread a state across several qubits without copying it.
  • Unforgeable objects. If a state cannot be copied, it can serve as something that cannot be counterfeited. That idea is older than BB84, and it is the subject of the last lesson in this track.

The next lesson returns to BB84 and deals with the problem this one leaves open: real channels produce errors even when no one is listening.

RecallAnswer from memory, then check
LessonFinish this lesson