Simulating quantum dynamics of single-photon experiments | Synapse