The invention discloses a full-function terahertz
logic gate based on multi-dimensional regulation and control and a method thereof, and belongs to the technical field of terahertz communication and on-
chip signal processing. The
logic gate comprises an input coupler, a first
waveguide branch, a function realization
waveguide section, a second
waveguide branch and an
output coupler; and the function realization waveguide section comprises a transmission
branch capable of being selectively regulated and controlled by
laser and a control waveguide section above which a movable phase shift controller is arranged. Different binary input combinations are simulated through
laser irradiation, continuous regulation and control of the
signal phase between 0 and pi are achieved by adjusting the distance between the phase shift controller and the control waveguide section, and all seven basic logic functions of AND, OR, NOT, NAND, XOR, NOR and XNOR can be dynamically achieved by combining a preset judgment threshold value of the output end. The structure can be cascaded to form a programmable array to realize complex operations such as a half
adder, a full
adder and the like. The invention has the advantages of simple structure, function integration, dynamic adjustability and compatibility with
CMOS (Complementary
Metal Oxide Semiconductor) process, and is suitable for terahertz on-
chip communication and
intelligent computing systems.