Based on the mechanism of Complementary Suppression-Modulated Transmission
(CSMT), a photonic logic device was designed, in which five classical doubl
e-variable binary logic operations were implemented with the intensity of i
ncident violet beam as the input to the logic gate and the transmission as
the output of the gate, This photonic device can be turned into different s
tate using different illumination.