Quantum Teleportation: Step Through the Three-Qubit Circuit

Alice sends the unknown state of one qubit to Bob using a shared entangled pair and two classical bits. A real 3-qubit state vector is simulated; no matter or energy is transported, and nothing travels faster than light.

Live readouts

Independent numerical checks

The science

The unknown qubit is |psi> = cos(theta/2)|0> + e^(i phi) sin(theta/2)|1>. Alice and Bob share the Bell pair (|00>+|11>)/sqrt2 made by H on q1 and CNOT q1→q2.

Alice applies CNOT(q0→q1) and H(q0), then measures q0,q1. The four outcomes are equally likely (1/4 each) and leave Bob's qubit in X^m1 Z^m0 |psi>. Bob undoes this with Z^m0 X^m1, so he needs the two classical bits: before they arrive his qubit alone is a random-looking state (no faster-than-light signalling).

The state is destroyed on Alice's side (no-cloning). Noise model: the Bell pair is a Werner state p|Phi+>, equivalent to Bob's half suffering a random Pauli error (I with prob (1+3p)/4, X, Y, Z with prob (1-p)/4 each). The average fidelity over all input states is then F = (2f+1)/3 = (1+p)/2 with f=(1+3p)/4.

Simplifications: ideal gates and measurements, one qubit, errors only on the shared pair. A classical strategy (measure and resend) reaches at most F=2/3, so p>1/3 beats it.