Upper row: Wavefunction evolution at the two-photon resonance pictured through the probability of the system to be in any of the states |ng/e〉. a, Hamiltonian evolution in the Jaynes-Cummings regime (low pumping). b, Hamiltonian evolution in the Mollow regime (high pumping). c, Quantum trajectory during a two-photon emission in the same regime as in b, but in the presence of dissipation. d–e, Cavity-photon clicks as they would be recorded by a streak camera (25 sweeps shown) for the pumping values Ω1 in d and Ω2 in e atω2. In d the emission is highly bunched although it largely consists of single clicks, g(2) = 3649 and π2 = 16%, while in e, g(2) = 17 with π2 = 98.8%. f, Ideal NPE (N-Photon Emission) in thick lines and 99% NPE in translucid lines with an envelope to guide the eye. g, Pumping dependence of, left axis, π2 and, right axis, g(2) (from 0 to 3 649) and na (from 0 to 0.03) following ω2. h–i, Second order photon correlations at the N = 1 (red) and N = 2 (blue) level, from Eq. (6) (smooth curve) and from Monte Carlo clicks (data).