Examples ======== .. toctree:: :maxdepth: 2 Example 1: Elementary example program Example 2: CNOT circuit Example 3: CZ Example 4: HOM Visibility simulation of a 2x2 MMI beamsplitter. Example 5: Partial distinguishability Example 6: Simulation of a delay in the middle of a circuit Example 7: Boson sampling example Example 8: Entanglement swapping protocol using a physical quantum dot as a non-ideal Bell emitter Example 9: Dielectric film with losses Benchmark