Nonlinear diffraction in a system of quantum dots