Abstract
All-optical logic gates (AO-LGs) are key elements that play a pivotal role in the development of future all-optical computing and all-optical computers. In this paper, benefiting from particle swarm optimization (PSO), an optimized metasurface unit cell in the far-infrared (FIR) frequency band is presented as the basis of four port controlling light with the light system. This system, known as coherent perfect absorption (CPA), could be applied as AO-LGs in certain conditions. NOT, AND, OR, NAND, NOR, XOR, and XNOR logic gates can be implemented with the proposed method. The remarkable innovation of this article is the use of a fuzzy inference system (FIS) instead of a crisp threshold. Different calculated parameters like extinction ratio (ER = 96.2 dB), contrast ratio (CR = 99.54 dB), amplitude modulation (AM = 0.7 dB), and eye-opening (EO = 99%), besides the possibility of utilizing the proposed system for various kind of CPA films, prove the impressive effects of FIS applying as a novelty in this work. Small dimensions and low power consumption are other characteristics of the proposed method that are obtained as a result of using optimized metasurface-based CPA.