Phase-type quantum-dot-array diffraction grating.