Optimize polarization-selective binary gratings

In this paper, we design a subwavelength binary grating working as a diffractive polarizing beamsplitter. The polarizing beamsplitter is then optimized by using a genetic algorithm to increase its extinction ratios up to as high as 238 and 82. We use the rigorous coupled-wave analysis method to calculate the parameters of the beamsplitter during the optimizing process.