Teleportation moves an unknown qubit state ψ = α|0> + β|1> from Alice to Bob using one shared Bell pair (|00> + |11>)/√2 and two classical bits. The simulation tracks the full 3-qubit state vector (8 complex amplitudes) and applies real gates: H, CNOT, measurement with collapse, then the corrections X and Z.
Before the measurement the state factorises as ½ Σ |m0 m1> ⊗ (X^m1 Z^m0) ψ: each of the four outcomes has probability 1/4 and leaves Bob's qubit in a known rotation of ψ, undone by Bob. Until the classical bits arrive Bob's qubit is maximally mixed (Bloch vector length 0): no information travels faster than light.
Fidelity F = <ψ|ρ|ψ> = (1 + r·r_ψ)/2. With correction F = 1 for every outcome; without it the average over random ψ is 1/2. The original qubit is destroyed by Alice's measurement (no-cloning is respected). Matter is not moved, only the quantum state.
Simplifications: ideal gates and measurements, no decoherence or photon loss. Real experiments reach F around 0.8-0.9 over long distances.
ψ = cos(θ/2)|0> + e^(iφ) sin(θ/2)|1>
-
Untick the correction and compare the fidelity: without the 2 classical bits Bob's qubit is useless.