Nonlinear Photonics: Quantum State Generation and Manipulation