Photogating Effect And Diffractive Optics In Low-Dimensional Structures