Design for realizing an all-optical terahertz wave half adder based on photonic crystals. (4th June 2019)