Single-photon detector based on absorption in waveguide quantum electrodynamics | Synapse