Skip to content
Communication Labs · TeleportationAvailable

Move a qubit with one Bell pair and two classical bits.

Choose any state for Alice, step through the protocol, and see why Bob needs Alice's two bits: with them his qubit is exactly |ψ⟩ in every branch; without them it is a coin flip.

State to teleport

∣ψ⟩=32∣0⟩+12eiπ4∣1⟩|\psi\rangle = \tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{i\tfrac{\pi}{4}}|1\rangle
AliceBobq0|ψ⟩q1q2|ψ⟩entanglement consumedBell measurement → c0 c12 classical bits (≤ speed of light)X^c1 · Z^c0

Bob applies X if c1 = 1 and Z if c0 = 1. In every branch his qubit is now exactly |ψ⟩.

Input |ψ⟩ (Alice, q0)
Loading 3D view…
Bob's qubit (q2), averaged over Alice's outcomes
Loading 3D view…

r = (0.612, 0.612, 0.500) · |r| = 1.000 · F = 1.000

Alice's outcomes and Bob's qubit

Each row is one exact measurement branch from the simulation (record c1c0).

c1 c0pBob before correctionCorrectionBob afterFidelity with |ψ⟩
0 01/432∣0⟩+12eiπ4∣1⟩\tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{i\tfrac{\pi}{4}}|1\ranglenone32∣0⟩+12eiπ4∣1⟩\tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{i\tfrac{\pi}{4}}|1\rangle1.0000
0 11/432∣0⟩+12e−i3π4∣1⟩\tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{-i\tfrac{3\pi}{4}}|1\rangleZ32∣0⟩+12eiπ4∣1⟩\tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{i\tfrac{\pi}{4}}|1\rangle1.0000
1 01/412eiπ4∣0⟩+32∣1⟩\tfrac{1}{2}e^{i\tfrac{\pi}{4}}|0\rangle + \tfrac{\sqrt{3}}{2}|1\rangleX32∣0⟩+12eiπ4∣1⟩\tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{i\tfrac{\pi}{4}}|1\rangle1.0000
1 11/412e−i3π4∣0⟩+32∣1⟩\tfrac{1}{2}e^{-i\tfrac{3\pi}{4}}|0\rangle + \tfrac{\sqrt{3}}{2}|1\rangleX then Z32∣0⟩+12eiπ4∣1⟩\tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}e^{i\tfrac{\pi}{4}}|1\rangle1.0000

Average fidelity Fˉ=∑kpk ⟨ψ∣ρk∣ψ⟩\bar F = \sum_k p_k\,\langle\psi|\rho_k|\psi\rangle = 1.0000

Bob's states may differ from |ψ⟩ by a global phase (e.g. −|ψ⟩); global phase is unobservable, and fidelity accounts for it.

Circuit (generated Qiskit code)
from qiskit import QuantumCircuit
from math import pi

qc = QuantumCircuit(3, 2)
qc.ry(pi/3, 0)
qc.p(pi/4, 0)
qc.barrier()
qc.h(1)
qc.cx(1, 2)
qc.barrier()
qc.cx(0, 1)
qc.h(0)
qc.measure(0, 0)
qc.measure(1, 1)
with qc.if_test((qc.clbits[1], 1)):
    qc.x(2)
with qc.if_test((qc.clbits[0], 1)):
    qc.z(2)
Open in Studio →

Model and assumptions

  • • Ideal gates, a perfect |Φ+⟩ pair, perfect measurements, a lossless classical channel.
  • • The classical bits are modelled as arriving instantly; physically they travel at most at light speed, so teleportation cannot send information faster than light.
  • • Alice's q0 ends in |0⟩ or |1⟩: the original state is destroyed, consistent with the no-cloning theorem.
  • • Every number is computed by simulating the circuit; the protocol uses mid-circuit measurement and classically controlled gates (QCIR 0.3).

Reference: C. H. Bennett, G. Brassard, C. Crépeau, R. Jozsa, A. Peres, W. K. Wootters, Phys. Rev. Lett. 70, 1895 (1993).