Quantum dynamics of broadband nonlinear photonics : from phenomenology to function