lojs linear-optics simulator

Work in progress. Code is available here (simulator) and here (website). Click+drag to look around. Scrollwheel to zoom.

Use "Adjust" mode to alter splitting ratios, phases, and Fock state photon number.

You can use the simulator in your own projects. Watch the console (F12) to see the structure of API calls.

  • Tab Construct/adjust
  • Shift Snap parameters
  • C Coupler
  • F Fock state
  • P Phaseshifter
  • X Crossing
  • B Bell-Pair
  • Instructions
  • Mode: Construct Adjust
  • Export Clear
Components
  • Coupler PhaseShifter Crossing
  • Fock State Bell Pair
Output
  • Format: Probability Amplitude
  • Notation: Mode Fock