Boson Sampling 2D — Photon Interference in a Linear-Optical Network
Tune the reflectivity of every beamsplitter in a small 2D linear-optical network by hand and watch the exact quantum output-photon distribution — computed from the matrix permanent via Ryser's formula — redraw live against the classical, distinguishable-particle prediction.
This is the hand-on-the-dials companion to the 3D boson-sampling network: the same physics, the same exact-permanent computation, but every beamsplitter's reflectivity is now a slider you drag yourself. N indistinguishable single photons enter distinct input ports of a small M-mode mesh; each beamsplitter's own unitary is multiplied into the running network unitary live as you move a slider, and the exact quantum output distribution is recomputed via the matrix permanent — the #P-hard quantity that makes boson sampling believed to be classically intractable — every single frame it changes. Compare it side-by-side against the distribution classical, distinguishable particles would produce through the identical mesh, watch the live bar chart and the animated photon paths respond instantly, and fire single-shot samples to see multi-photon interference bunch and antibunch the output in ways no classical model reproduces.
Route indistinguishable photons through a random mesh of beamsplitters and watch quantum interference reshape the output photon-count distribution — computed exactly via matrix permanents — against the classical prediction for distinguishable particles.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install