Nonlinear Integrated Photonics for Quantum State Generation and Processing