Superposition (both arms) Collapsed photon → detector
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Electro-Optic Phase Shifter: Pockels Cell in a Mach–Zehnder Interferometer

This simulator drives a real Pockels-cell electro-optic phase shifter — the linear electro-optic effect used in every practical quantum phase shifter — sitting in one arm of a Mach–Zehnder interferometer. Dial the crystal drive voltage and its half-wave voltage Vπ and watch the induced phase φ = πV/Vπ steer single photons between two detectors: faint superposed pulses travel both arms simultaneously, and only at the recombining beamsplitter does each photon collapse into a click at D0 or D1, with live counts converging on the cos²(φ/2) / sin²(φ/2) interference law.