Quantum nondemolition measurement of the photon number via the optical Kerr effect | Synapse