Curriculum / Quantum Networking / Entanglement Purification

Lesson 5 of 18Code challengePro+150 XP

Entanglement Purification

Simulate entanglement purification, combining two noisy Bell pairs to produce one higher-fidelity pair.

Entanglement Purification

Entanglement purification (also called entanglement distillation) takes multiple copies of a noisy Bell pair and produces a single higher-fidelity pair. It is essential for quantum repeaters: each segment distributes noisy pairs, and purification converts them into pairs clean enough for teleportation or QKD.

The Problem: Noise Degrades Fidelity

After distribution over a noisy channel, a Bell pair may have Werner state fidelity F < 1. Two uses of such a pair for QKD or teleportation accumulate errors. Purification allows trading quantity (two noisy pairs) for quality (one better pair).

Requirement: input fidelity F > 0.5 (any entanglement at all). With F > 0.5, one round of the BBPSSW protocol can boost fidelity significantly.

The BBPSSW Purification Protocol

The Bennett-Brassard-Popescu-Schumacher-Smolin-Wootters (BBPSSW) protocol uses two Werner pairs with fidelity F to produce one pair with higher fidelity F':

Step 1: Local CNOT operations Alice applies CNOT (control=qubit from pair 1, target=qubit from pair 2) on her side. Bob applies CNOT (control=qubit from pair 1, target=qubit from pair 2) on his side.

Step 2: Measurement Both Alice and Bob measure their "target" qubits (from pair 2) in the Z basis.

Step 3: Comparison

Alice and Bob compare their measurement results over the classical channel.

  • If results agree: pair 1 has higher fidelity, keep it.
  • If results disagree: pair 1 is discarded.

Success probability:

Output fidelity (when successful):

For : , , a modest improvement.

Iterative Purification

One round of BBPSSW improves fidelity but uses 2 pairs to produce 1. Multiple rounds can approach , but at exponential resource cost: to achieve from requires approximately 8 rounds, using initial pairs.

In practical repeater designs, purification is performed 1-2 times per link, with the trade-off between fidelity improvement and resource consumption carefully optimized.

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.