“…Also, PCs photonic crystals have found a highly practical application in the field of all-optical logic gates, garnering substantial attention because of their versatility in various all-optical signal processing applications. Numerous variants of all-optical logic gates employing PCs have been suggested, with examples such as the XOR [25,26], OR, NOR [16,17], AND [13], NAND [16,17], DMUX [12], decoders [27,28], encoders [29], and half and full adders [30][31][32][33][34].…”