Quantum Network Percolation: Entanglement Swapping Across a Mesh
Interactive 2D quantum-repeater mesh: each edge is an elementary entangled link that succeeds with probability p, swapped through relay nodes with efficiency q. Watch the giant cluster emerge at the bond-percolation threshold and see whether the network can span end to end.
A quantum network only works end-to-end if the nodes along some path can chain enough successful entanglement-swapping events together. This simulator lays out an N×N grid of quantum repeater nodes on a 2D lattice, generates an elementary entangled pair on each edge with probability p, applies a swap efficiency q at every relay, and asks a single question borrowed straight from percolation theory: does a connected "giant cluster" of usable quantum links span the network from one side to the other? Below the critical density p_eff = p·q = 1/2 the network fragments into small isolated islands; above it, a single giant cluster suddenly spans the whole mesh and any two nodes inside it can be handed long-distance entanglement. Tune p, q and the grid size, resample the random link outcomes by hand or on a repeating timer, and watch the giant cluster appear and disappear right at the threshold.
An N×N lattice of quantum repeaters where each edge is an elementary entangled pair that succeeds with probability p and is swapped through relay nodes with efficiency q. Watch the giant connected cluster emerge right at the bond-percolation threshold p·q = 1/2, and see live whether the network spans end to end.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install