Pages that link to Quantum dynamics of propagating photons with strong interactions: a generalized input-output formalism