Quantum circuits and the no-cloning theorem
Notes on quantum circuits and the no-cloning theorem: definitions, exact statement and proofs of the no-cloning theorem, examples with CNOT, formulas and exam-style worked answers.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Quantum circuits are the hardware-level description of quantum algorithms; understanding why an unknown quantum state cannot be perfectly copied (the no-cloning theorem) is essential for designing quantum communication, error correction strategies, and secure quantum cryptographic protocols. Engineers use these results when designing qubit wiring (gates like CNOT), secure key distribution, and when reasoning about information flow in quantum processors.
Key ideas
Start with basic definitions (each bold term is defined before use):
- Qubit: a two-level quantum system whose pure state is a unit vector in a two-dimensional complex Hilbert space. Standard basis states are written |0> and |1>.
- Superposition: a linear combination α|0> + β|1> with complex amplitudes α, β satisfying |α|^2 + |β|^2 = 1.
- Unitary operator: a linear operator U such that U†U = I (U† is the conjugate transpose). Unitary evolution preserves inner products and probabilities.
- Linearity: a map T is linear when T(αx + βy) = αT(x) + βT(y) for all scalars α, β and vectors x, y. Quantum state evolution by unitaries is linear.
- Cloning (informal): producing two copies of a state: a device that maps |ψ>|A> -> |ψ>|ψ> for arbitrary |ψ>, where |A> is an initial blank/ancilla state.
- Orthogonal states: two states |ψ>, |φ> are orthogonal when <ψ|φ> = 0.
Exact statement (theorem form):
No-cloning theorem (exact statement). There is no physical process described by a single linear unitary operator U that, for every pure state |ψ> of a qubit, satisfies U(|ψ> ⊗ |A>) = |ψ> ⊗ |ψ>, where |A> is a fixed ancilla (blank) state, unless the set of states to be cloned is mutually orthogonal. This impossibility also holds for any physical operation modeled as a completely positive trace-preserving (CPTP) map; allowing measurements or general channels does not enable perfect universal cloning.
Assumptions behind the theorem:
- State evolution is described by a unitary operator acting on the system plus ancilla (closed-system evolution).
- The cloning requirement must hold for an arbitrary unknown input state |ψ> (i.e., universal cloning).
- Linear superposition applies for input states.
Standard exam derivation (step-by-step linearity proof):
- Assume U is a unitary cloning operator with fixed ancilla |A> such that for any states |ψ>, |φ> we have U(|ψ>|A>) = |ψ>|ψ>, U(|φ>|A>) = |φ>|φ>.
- Take the inner product of the two cloned outputs: <ψ|φ>^2 = (<ψ|φ>)·(<ψ|φ>) = <ψ|φ>^2. But because U is unitary, it preserves inner products on the whole input space. So the inner product of outputs equals the inner product of the inputs: <ψ|φ> = <ψ|φ>^2.
- From <ψ|φ> = (<ψ|φ>)^2, take absolute values to get |<ψ|φ>| = |<ψ|φ>|^2. Let r = |<ψ|φ>|. Then r(r - 1) = 0, giving r = 0 or r = 1. r = 1 means |ψ> and |φ> differ by at most a global phase (physically identical); r = 0 means they are orthogonal.
- Therefore a single unitary U can clone at most mutually orthogonal states (or identical states). It cannot clone an arbitrary unknown state.
Alternative commonly asked proof using linearity on superpositions (step-by-step):
- Suppose U clones all states. Apply U to superposition input (α|0> + β|1>)|A>.
- By linearity, U((α|0> + β|1>)|A>) = αU(|0>|A>) + βU(|1>|A>) = α|0>|0> + β|1>|1>.
- But perfect cloning would produce (α|0> + β|1>) ⊗ (α|0> + β|1>) = α^2|0>|0> + αβ|0>|1> + αβ|1>|0> + β^2|1>|1>.
- These two expressions are equal only for restricted α, β (e.g., αβ = 0), not for all α, β. Hence universal cloning impossible.
Diagrams to draw in answers (describe exactly):
- Diagram 1 (attempted general cloner): draw two horizontal lines left-to-right. Label top line "input |ψ>" and bottom line "ancilla |A>". Draw a box labeled "U (cloner)" spanning both lines. At right of box show two outputs labeled "|ψ>" and "|ψ>".
- Diagram 2 (CNOT copying computational basis): draw two horizontal lines. On top line place a control dot labeled with the state of control qubit; draw a vertical line down to a circled plus symbol on bottom line (target). Label top as "control" and bottom as "target (initial |0>)". This circuit maps |0>|0> -> |0>|0> and |1>|0> -> |1>|1>, but not arbitrary superpositions.
Explain exceptions and practical notes:
- It is possible to clone a known state by preparing another system in that known state (measure-and-prepare), but that is not cloning an unknown state without disturbance.
- Approximate and probabilistic cloning machines exist (they produce imperfect copies or succeed only sometimes); these are outside the statement of perfect universal cloning.
Formulas
U† U = I — U is unitary; U† is the conjugate transpose of U; unitless; applies to quantum gates describing closed-system evolution.
U(α|ψ> + β|φ>) = α U|ψ> + β U|φ> — linearity of quantum evolution; α, β complex scalars; unitless; applies for any linear operator U.
U(|ψ>|A>) = |ψ>|ψ> — definition of a perfect universal cloner acting on input |ψ> with blank |A>; unitless; assumed for contradiction in proofs.
<ψ|φ> = <ψ|φ>^2 — relation derived from inner-product preservation under assumed cloner; unitless; leads to only s=0 or s=1 solutions.
CNOT = [[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]] — matrix of CNOT in computational basis ordered |00>,|01>,|10>,|11>; unitless; applies to two-qubit states.
Worked examples
Example 1 (Show CNOT clones computational basis but not arbitrary state) Question (model answer form): Show that a CNOT gate with control qubit as input and target initialized to |0> copies the computational basis states, but fails for an arbitrary superposition. Draw the circuit and compute outputs. Answer:
- Draw two lines labeled control (top) and target (bottom initialized to |0>). Place a control dot on top connected to ⊕ on bottom (CNOT).
- Compute action on basis states:
- Input |0>|0>: CNOT leaves target unchanged when control |0>, so output = |0>|0>.
- Input |1>|0>: CNOT flips target when control |1>, so output = |1>|1>. Thus CNOT copies |0> and |1> into target when target was |0>.
- For arbitrary input (α|0> + β|1>)|0>, linearity gives output α|0>|0> + β|1>|1>. Perfect cloning output should be (α|0> + β|1>)⊗(α|0> + β|1>) = α^2|0>|0> + αβ|0>|1> + αβ|1>|0> + β^2|1>|1>.
- Compare: α|0>|0> + β|1>|1> ≠ the perfect-clone expression for general α, β (cross terms missing). Therefore CNOT does not universally clone. Final answer in words: CNOT copies computational basis states but cannot clone an unknown superposition.
Example 2 (Inner-product proof of no-cloning) Question: Prove that universal cloning via unitary is impossible using inner product preservation. Answer:
- Assume unitary U with ancilla |A> clones two arbitrary states |ψ> and |φ>: U(|ψ>|A>) = |ψ>|ψ>, U(|φ>|A>) = |φ>|φ>.
- Take inner product of the two output states: <ψ|φ>·<ψ|φ> = (<ψ|φ>)^2.
- Because U is unitary, inner product of outputs equals inner product of inputs: ⟨ψ|⟨A| φ⟩|A⟩ = ⟨ψ|φ⟩·⟨A|A⟩ = ⟨ψ|φ⟩ (since |A⟩ is normalized). So (⟨ψ|φ⟩)^2 = ⟨ψ|φ⟩.
- Solve s = s^2 giving s = 0 or s = 1, so |ψ>,|φ> either orthogonal or identical. Hence no universal cloner exists. Final step: therefore perfect universal cloning contradicts linear/unitary evolution.
Common mistakes
- Claiming CNOT clones arbitrary qubit states because it clones |0> and |1>; forgetting cross terms in superpositions.
- Using measurements to claim cloning: measurement+prepare can produce a fresh copy of a known eigenstate but destroys superposition and is not universal cloning.
- Ignoring global phase: thinking states differing only by global phase are different; they are physically identical.
- Forgetting ancilla normalization or the unitarity requirement when trying to construct counterexamples.
For your exam
Typical question types:
- Define and state the no-cloning theorem and its assumptions. Full marks: precise statement and explicit assumptions (unitarity, linearity, unknown state).
- Derive the no-cloning theorem (two standard derivations). Full marks: either inner-product preservation proof or linearity on superpositions; show algebraic contradiction and state conclusion.
- Circuit diagram and computation with CNOT: show copying of computational basis and failure for general superposition. Full marks: draw circuit, label wires, compute outputs stepwise, explain missing cross-terms.
- Short note on exceptions and practical implications (orthogonal-state cloning, measure-and-prepare, approximate cloning). Full marks: mention orthogonal cloning possible, measurement destroys unknown states, approximate/probabilistic cloning allowed.
- Concept question: why no-cloning matters for quantum cryptography or error correction. Full marks: explain protection of quantum keys, inability for eavesdropper to copy unknown qubit without detection.
Quick check
- What property of quantum evolution (name and equation) is central to the no-cloning proof?
- Does a CNOT gate clone the arbitrary state (|0> + |1>)/√2 when target starts at |0>? Yes or no and one-line reason.
- Can two orthogonal states be cloned by a single unitary? Yes or no.
Answers: 1) Linearity/unitarity, U(α|ψ>+β|φ>) = αU|ψ>+βU|φ> and U†U=I. 2) No — CNOT gives (|00>+|11>)/√2, not ( (|0>+|1>)/√2 )⊗( (|0>+|1>)/√2 ); cross terms missing. 3) Yes — mutually orthogonal states can be cloned by a suitable unitary.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?