Single-Photon Source — Antibunching Simulator (2D)
A 2D Hanbury Brown–Twiss bench: switch between a quantum-dot single-photon source and an ordinary attenuated laser, watch pulses travel through a 50/50 beamsplitter to two detectors, and read the live g²(τ) coincidence histogram build its antibunching dip at zero delay.
This 2D companion runs the same photon-counting experiment as the 3D lab: pulses from a quantum dot (or an attenuated laser, in the comparison mode) travel through a 50/50 beamsplitter to two detectors, and a running cross-correlation of the two click-records builds the g²(τ) coincidence histogram live — the quantum dot's antibunching dip pinned near zero at τ=0, the laser's Poissonian statistics keeping that same bar level with its neighbours.
Each pump pulse samples a photon count — capped at 1 for the quantum dot, Poisson-distributed for the attenuated laser — then routes every photon to Detector A or B with 50/50 probability. g²(τ) is computed directly from the accumulated per-pulse detector counts, the same definition a real Hanbury Brown–Twiss measurement uses.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install
It means the source almost never emits two photons in the same pulse, so the two detectors almost never click together at zero delay — the defining signature of a genuine single-photon source, as opposed to an ordinary laser.
A laser's light has Poissonian (coherent-state) photon-number statistics, so by pure chance it occasionally emits two or more photons in the same pulse no matter how dim it is attenuated — that residual multi-photon probability keeps g²(0) near 1, the same height as every side peak.
Yes — the Hanbury Brown–Twiss beamsplitter-plus-two-detectors setup modeled here is the standard bench test used to certify quantum-dot, colour-centre and single-molecule photon sources for quantum key distribution and photonic quantum computing.