Abstract:A genetic simulated annealing aloqrithum is proposed.Numerical simulations of shaping a Gaussian to flat head and splitting a Gaussian wave into two with equal intensities show that even in low quantized diffractive optical elements case,the method provide a high accuracy.