Quantum Photonics in the Frequency Domain