Lesson 25 · 75 min · core
Quantum Teleportation
Alice holds an unknown qubit and shares the Bell pair with Bob. With one , one , two measurements and two classical bits she transfers to Bob's qubit, while her own copy is destroyed. This lesson derives the four measurement branches term by term, checks the corrections in each branch, proves the principle of deferred measurement with projector algebra, derives the measurement-free final state , computes Bob's reduced state before the classical bits arrive (no signalling), and counts the resources: one ebit and two classical bits per teleported qubit.
Prerequisites: Entanglement & the Bell States
Objectives and key results
Expand and derive, term by term, the state after and as a sum over Alice's four outcomes .
Show that the correction maps Bob's branch state back to for each of the four outcomes.
Prove the principle of deferred measurement: commutes with the projectors , so classically controlled gates after a measurement equal quantum-controlled gates before it.
Derive the final state of the measurement-free protocol with and .
Compute Bob's reduced state before the bits arrive and explain why teleportation cannot transmit information faster than light.
State the resource identity and explain why the two classical bits are uniformly random and carry no information about .
- formula · Teleportation identity
- identity · Corrections
- theorem · Principle of deferred measurement
- formula · Deferred protocol output
- identity · No signalling
- theorem · Resource count
The teleportation identity#
Three qubits take part. Qubit belongs to Alice and carries the unknown state with . Qubits (Alice) and (Bob) hold the pre-shared Bell pair , prepared earlier by . Qubit is the most significant bit, so means qubit in , qubit in , qubit in . Alice knows neither nor ; measuring her qubit directly would only return one bit and destroy the state.
Definition
Teleportation protocol
(i) Alice applies and then . (ii) She measures qubits and in the computational basis, obtaining bits . (iii) She sends to Bob over a classical channel. (iv) Bob applies and then to qubit , i.e. the operator . Steps (i)–(ii) together are a measurement in the Bell basis of qubits , because is the inverse of the Bell-state circuit .
Expanding the input and applying CNOT₀₁ and H₀
- Step 1:Input state: Alice's qubit next to the shared pair on qubits .
- Step 2:Distribute the tensor product over both sums; .
- Step 3:: the two terms have and are unchanged; in the terms qubit flips, and .
- Step 4:and on qubit ; the two factors combine into .
- Step 5:Multiply out each bracket: eight basis kets, each with coefficient or .
- Step 6:Collect the kets whose first two bits are : and .
- Step 7:First two bits : and ; Bob's amplitudes appear swapped.
- Step 8:First two bits : and ; the minus sign comes from .
- Step 9:First two bits : and ; both the swap and the sign appear.
Result
Bob's four branch states as Paulis applied to |ψ⟩
- Step 1:swaps and : this is the branch .
- Step 2:, : this is the branch .
- Step 3:Apply first and then : this is the branch .
- Step 4:With the branch is itself, so all four lines have the form .
Quick check
Alice measures qubits and of . What is the probability of the outcome (it does not depend on )?
Bob's corrections in all four branches#
After Alice measures , Bob's qubit is in . Since , the inverse of is : Bob applies if , then if . We check this branch by branch with explicit amplitudes.
The corrections restore |ψ⟩
For every outcome , .
Proof (4 steps)
- Step 1:No correction is needed; Bob already holds .
- Step 2:swaps the basis kets back: , .
- Step 3:flips the sign of the component a second time: .
- Step 4:First (because ) swaps the kets, then (because ) removes the sign.
∎
Quick check
Alice obtains . Which operation must Bob apply to qubit ?
The principle of deferred measurement#
A classically controlled gate "apply to the target if the measured bit is " can be replaced by the quantum controlled gate acting before the measurement. In teleportation this turns " on qubit if " into and " on qubit if " into , which gives a circuit with no mid-circuit measurement at all.
Principle of deferred measurement
Let with unitary on the target register, and let be the measurement projectors of the control. For every state of control and target, (a) ; (b) "measure the control, then apply on outcome " and "apply , then measure the control" give the same outcome probabilities and the same post-measurement states; (c) the reduced state of the target is the same whether or not the control is measured at the end.
Proof (6 steps)
- Step 1:Multiply the tensor factors separately and use .
- Step 2:Same computation with the projector on the left: (a) holds.
- Step 3:The classically controlled operation applied after outcome is , which acts on the measured branch exactly as does.
- Step 4:by (a), cyclicity of the trace, and .
- Step 5:The unnormalised post-measurement states agree because from the third line; dividing by the equal probabilities gives (b).
- Step 6:Averaging over outcomes gives the non-selective state ; the partial trace over the control only uses the diagonal blocks , which leaves untouched. Hence (c): the final measurement of the control can even be dropped.
∎
The two corrections as controlled gates
- Step 1:Apply the theorem with control qubit and on qubit (identity on qubit ).
- Step 2:Apply the theorem with control qubit and on qubit . is symmetric in its two qubits, since it is on them.
- Step 3:Both controls are measured only at the end; by part (c) Bob's reduced state does not depend on whether those final measurements happen.
Measurement-free teleportation: the final state#
Output of the deferred protocol
, with .
Proof (6 steps)
- Step 1:The teleportation identity of the first section.
- Step 2:acts on qubit exactly in the branches with qubit in , i.e. and .
- Step 3:.
- Step 4:acts on qubit exactly in the branches with qubit in , i.e. and .
- Step 5:; every branch now carries the same Bob state, so it factors out.
- Step 6:is the product , as expanding the right-hand side shows.
∎
Circuit · 3 qubits
Deferred teleportation of : preparation of and , Alice's and , Bob's quantum-controlled corrections and . The output is : the eight amplitudes are on even indices and on odd indices.
Bob's state before the bits arrive: no signalling#
Until the classical message arrives, Bob does not know . His description of qubit is the reduced state of , equivalently the average of the four branch states with probabilities . Write .
Bob's reduced state is I/2
for every input .
Proof (5 steps)
- Step 1:Partial trace over qubits in the computational basis; and are Hermitian.
- Step 2:swaps both rows and columns; multiplies the off-diagonal entries by .
- Step 3:Swap rows and columns of ; since , conjugation by equals conjugation by (the phases cancel).
- Step 4:Add the four matrices entry by entry: each diagonal entry collects twice and twice; the off-diagonal entries cancel in pairs.
- Step 5:Normalisation .
∎
The same conclusion follows without any algebra about : before Alice acts, Bob's qubit is half of , whose marginal is (lesson on Bell states). Alice's operations act only on qubits , and for any unitary on Alice's side by cyclicity of the partial trace over ; her non-selective measurement also leaves unchanged, as in part (c) of the deferred-measurement theorem. Nothing Alice does locally changes , so Bob cannot learn anything until the two bits arrive, and those travel no faster than light.
Quick check
What is the trace distance between Bob's state before the bits arrive and a pure target ?
Resources and what teleportation does not do#
One ebit and two classical bits per qubit
Teleportation transfers one qubit using one shared ebit , which is consumed, and two classical bits. The two bits are uniformly distributed and independent of .
Proof (3 steps)
- Step 1:Alice's measurement collapses qubits to a product basis state, so the entanglement between qubits and is gone: the ebit is used up.
- Step 2:is unitary, so every branch has norm : the distribution is uniform, carries bits of entropy, and has no dependence on .
- Step 3:Both bits are needed. Knowing only , Bob can undo but must average over , since : he holds , whose Bloch vector is instead of , so it differs from whenever or is non-zero. Knowing only , he undoes and holds with Bloch vector , wrong whenever or is non-zero.
∎
import { Statevector, reducedStateFromPure, traceDistance, matrix } from '@/lib/quantum-simulator';
// |psi> = cos(0.55)|0> + e^{0.6i} sin(0.55)|1>, prepared as R_Z(0.6) R_Y(1.1)|0> (global phase e^{-0.3i})
const c = Math.cos(0.55), s = Math.sin(0.55);
const psi = [{ re: c, im: 0 }, { re: s * Math.cos(0.6), im: s * Math.sin(0.6) }];
const sigma = matrix.fromRows([
[[c * c, 0], [c * s * Math.cos(0.6), -c * s * Math.sin(0.6)]],
[[c * s * Math.cos(0.6), c * s * Math.sin(0.6)], [s * s, 0]],
]);
const halfI = matrix.scale(matrix.identity(2), 0.5);
// Qubit 0 = |psi>, qubits 1, 2 = |Phi+>; then Alice applies CNOT(0 -> 1) and H(0)
const sv = Statevector.fromBitstring('000').applyGate('RY', [0], [1.1]).applyGate('RZ', [0], [0.6])
.applyGate('H', [1]).applyGate('X', [2], [], [1])
.applyGate('X', [1], [], [0]).applyGate('H', [0]);
console.log('before the bits arrive: T(rho_2, I/2) =', traceDistance(reducedStateFromPure(sv, [2]), halfI).toFixed(6));
// Branch by branch: Bob's state is 2 <m0 m1|Psi>; apply X^{m1}, then Z^{m0}, and compare with |psi>
for (const m0 of [0, 1]) {
for (const m1 of [0, 1]) {
let a = sv.amplitude(4 * m0 + 2 * m1), b = sv.amplitude(4 * m0 + 2 * m1 + 1);
const p = (a.re * a.re + a.im * a.im) + (b.re * b.re + b.im * b.im);
if (m1 === 1) [a, b] = [b, a];
if (m0 === 1) b = { re: -b.re, im: -b.im };
const ov = { re: psi[0].re * a.re + psi[0].im * a.im + psi[1].re * b.re + psi[1].im * b.im,
im: psi[0].re * a.im - psi[0].im * a.re + psi[1].re * b.im - psi[1].im * b.re };
console.log('m0 m1 = ' + m0 + m1 + ': p = ' + p.toFixed(4) + ' fidelity after Z^m0 X^m1 = ' + ((ov.re * ov.re + ov.im * ov.im) / p).toFixed(6));
}
}
// Deferred corrections CNOT(1 -> 2) and CZ(0 -> 2): output |+>|+>|psi>
sv.applyGate('X', [2], [], [1]).applyGate('Z', [2], [], [0]);
console.log('after deferred corrections: T(rho_2, sigma) =', traceDistance(reducedStateFromPure(sv, [2]), sigma).toFixed(6));
const plusPlus = matrix.fromRows([0, 1, 2, 3].map(() => [0, 1, 2, 3].map(() => [0.25, 0])));
console.log('Alice register: T(rho_01, |++><++|) =', traceDistance(reducedStateFromPure(sv, [0, 1]), plusPlus).toFixed(6));Expected output
before the bits arrive: T(rho_2, I/2) = 0.000000 m0 m1 = 00: p = 0.2500 fidelity after Z^m0 X^m1 = 1.000000 m0 m1 = 01: p = 0.2500 fidelity after Z^m0 X^m1 = 1.000000 m0 m1 = 10: p = 0.2500 fidelity after Z^m0 X^m1 = 1.000000 m0 m1 = 11: p = 0.2500 fidelity after Z^m0 X^m1 = 1.000000 after deferred corrections: T(rho_2, sigma) = 0.000000 Alice register: T(rho_01, |++><++|) = 0.000000
References
- C. H. Bennett, G. Brassard, C. Crépeau, R. Jozsa, A. Peres and W. K. Wootters, Teleporting an unknown quantum state via dual classical and Einstein-Podolsky-Rosen channels, Physical Review Letters 70, 1895–1899 (1993).doi:10.1103/PhysRevLett.70.1895
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press (2010), §1.3.7 (quantum teleportation) and §4.4 (measurement, principle of deferred measurement).doi:10.1017/CBO9780511976667
Hands-on labs
Teleport a qubit
2 steps · auto-gradedOpen labTeleport the state from Alice's qubit to Bob's qubit through the pre-shared pair . First implement the protocol with the corrections moved before measurement (principle of deferred measurement), then with real mid-circuit measurements and classically conditioned corrections. The grader compares Bob's reduced density matrix with in trace distance.