Quantized THz Diffractive Optics Design Via Automatic Differentiation | AMiner