Curriculum / Quantum Networking / Quantum Teleportation

Lesson 3 of 18Code challengePro+150 XP

Quantum Teleportation

Implement quantum teleportation, transmitting a qubit state using a pre-shared Bell pair and two classical bits.

Quantum Teleportation

Quantum teleportation is one of the most counterintuitive protocols in quantum information. It transfers an unknown quantum state from one location to another using a pre-shared entangled pair and two classical bits: without the quantum state physically traveling through the channel.

You built this protocol in the Entanglement & Protocols track. This lesson revisits it as a network primitive: the operation that moves quantum states between nodes that already share entanglement, which is the job every layer of a quantum network ultimately exists to support.

The Protocol

Alice wants to send qubit |ψ⟩ = α|0⟩ + β|1⟩ to Bob. They share a Bell pair |Φ+⟩ = (|00⟩ + |11⟩)/√2.

Step 1: Alice's Bell measurement Alice performs a joint measurement on her qubit |ψ⟩ and her half of the Bell pair. This is a Bell state measurement (BSM): she applies a CNOT (from |ψ⟩ to her Bell pair qubit), then a Hadamard to |ψ⟩, then measures both qubits. Result: two classical bits (m1, m2).

Step 2: Classical communication Alice sends the two classical bits to Bob over a classical channel. This is why teleportation does not violate special relativity: the information must travel classically, limiting the protocol to light-speed.

Step 3: Bob's correction

Bob applies a correction to his qubit based on (m1, m2):

  • (0, 0): no correction needed (Bob's qubit is already |ψ⟩)
  • (0, 1): apply X gate
  • (1, 0): apply Z gate
  • (1, 1): apply X then Z gate

After correction, Bob's qubit is in state |ψ⟩: identical to Alice's original.

What Gets Transferred?

Crucially: the state |ψ⟩ is destroyed at Alice's end (she measures it) and reconstructed at Bob's end. No physical qubit travels from Alice to Bob. The quantum information is "teleported" through the combination of entanglement and classical communication.

The no-cloning theorem is respected: Alice's qubit is in a known classical state (measured) after the protocol, so there is no duplicate.

This is the opening of the lesson. The full walkthrough, the interactive circuit, and the graded challenge continue inside myqubit.

How this lesson works

A hands-on coding challenge. You write Qiskit-compatible Python in the browser editor, run it instantly via WebAssembly, watch the circuit and Bloch sphere react, and pass automatic output checks. The AI tutor Qubitus gives Socratic hints if you get stuck.

Part of: Quantum Networking

Build quantum networks from the ground up, entanglement distribution, quantum repeaters, the quantum internet, and satellite-based QKD.

This lesson is part of Pro

Unlock Quantum Networking and all 10 tracks with Pro: $12.99/month, $79/year, or $97 lifetime. Start with the free track first if you are new.