Quantum teleportation does not enable faster-than-light communication. Bob cannot recover the teleported state until he receives the two classical bits from Alice, which travel at or below the speed of light.
Protocol walkthrough
Prepare the state to teleport
Create a qubit The amplitudes
phi in the state |φ⟩ = a|0⟩ + b|1⟩ where |a|² = 0.2 and |b|² = 0.8. The qsim.New(1, 2) constructor accepts unnormalized amplitudes and normalizes them automatically.0.4472 ≈ 1/√5 and 0.8944 ≈ 2/√5 correspond to |a|² = 0.2 and |b|² = 0.8. This is the state Alice wants to send to Bob.Create a Bell pair between q0 and q1
Alice and Bob each hold one qubit of a shared entangled pair. Apply Hadamard to This creates the Bell state
q0 then CNOT to entangle q0 (Alice’s qubit) and q1 (Bob’s qubit).(|00⟩ + |11⟩)/√2 between q0 and q1.Alice entangles phi with her half of the Bell pair
Alice applies a CNOT gate with These two operations entangle Alice’s qubit-to-teleport (
phi as control and q0 as target, then applies a Hadamard to phi.phi) with her half of the Bell pair (q0).Alice measures and sends classical bits to Bob
Alice measures both Alice transmits these two bits to Bob through a classical channel.
phi and q0. The results are two classical bits — mz from measuring phi and mx from measuring q0.Bob applies conditional corrections
Bob uses Alice’s classical bits to apply corrective gates to his qubit
q1:- If
mxis1, apply an X gate (bit flip) - If
mzis1, apply a Z gate (phase flip)
CondX and CondZ are no-ops when the condition is false, so at most two corrections are applied.Why it works
The teleportation protocol exploits the structure of the Bell basis. When Alice performs her CNOT and Hadamard, the three-qubit system can be rewritten as a sum over the four Bell states on Alice’s qubits, each paired with a corresponding single-qubit state on Bob’s qubit. Alice’s measurement projects onto one of these four terms, and Bob’s conditional corrections undo the corresponding transformation — leaving Bob with exactly|φ⟩.
The original qubit phi is destroyed in the process (Alice’s measurement collapses it), consistent with the no-cloning theorem.