Quantum-Controlled Photonic Switch
Route a single photon through a quantum-controlled switch: prepare a control qubit in a definite |0> or |1> state for classical-style routing, or in an adjustable superposition to entangle the photon with the qubit and send it down both output paths at once until measurement collapses it.
A classical optical switch reads a control voltage that is always definitely 0 or 1 and routes light to one of two ports accordingly. This simulator swaps that voltage for a control qubit. Prepared in |0⟩ or |1⟩ it behaves exactly like the classical case — deterministic routing, every time. Prepared in an adjustable superposition, the photon instead becomes entangled with the qubit and travels a coherent superposition of both output paths until a measurement collapses it, with the resulting port statistics tracking cos²(θ/2) / sin²(θ/2) and the qubit's final state always correlating with the detected port — the signature of entanglement-based routing rather than classical randomness.
Route a single photon through a switch controlled by a qubit: prepare it in a definite |0> or |1> state for deterministic classical-style routing, or in an adjustable superposition to entangle the photon with the qubit and send it down both output paths at once as a coherent 'ghost' until measurement collapses it. A run-many-trials panel tracks output-port probabilities against cos^2(theta/2)/sin^2(theta/2), and a live correlation readout confirms the qubit's measured state always matches the detected port — the signature of entanglement-based routing rather than classical randomness.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install