“…To meet the increasing demand for high-speed communications, researchers are replacing traditional electrical components with optical switching components, utilizing fundamental building blocks such as AND, OR, NOT, XOR, and XNOR logic gates. A variety of devices, including the Mach-Zehnder Interferometer (MZI) [1], Micro-ring Resonator (MRR) [2], Surface Plasmon Resonance (SPR) [3], Fiber Bragg grating (FBG) [4], Photonic Crystal Waveguide (PCW) [5], and Directional Coupler [6][7][8][9][10][11], are available for constructing All-optical logic gates and switches. Photonic switching involves manipulating optical signals between different modes, relying on the intensity-dependent dynamics of the optical beam.…”