Simulation of one-dimensional quasi-random gratings for quantum well infrared photodetectors | Synapse