The invention discloses a
photon logic gate which comprises (1) electromagnetic
waves; (2)
lookup table electromagnetic
waves which are used as carriers for transmitting data, data addresses and control signals of logic operation and are used for transmitting at least one of the data, the data addresses and the control signals; the
carrier signal of the electromagnetic wave comprises at least one of
millimeter wave,
centimeter wave, sub-6GHz and
optical fiber; carrier signals of electromagnetic
waves are determined based on application scenarios of the electromagnetic waves, the
lookup table is a table based on an
internal memory (RAM), corresponding data or results can be quickly obtained through various corresponding truth tables in the
lookup table, and an important function of the lookup table is to be used as a logic
function generator and a logic
function generator. Essentially, the logic
function generator stores the content of a
truth table, the
truth table is obtained through a
Boolean expression, the truth tables of various logic gates or
combinational logic are filled into an
internal memory RAM, and the
internal memory RAM has the capability of performing operation according to the logic gates or
combinational logic functions. Therefore, when a
signal is input for logical operation, the operation that an address is input for table look-up, content corresponding to the address is found out and then output is carried out, and then complex logical operation is completed through repeated transmitting, receiving and
processing. The method is a technology for
processing information by using electromagnetic waves as a carrier, has the advantages of large bandwidth, low time
delay, low
power consumption and the like, and can exponentially improve the efficiency of logical operation.