2D materials and nonlinear quantum optics