Abstract: This work presents a 4x2 optical encoder based on a two-dimensional photonic crystal (2D PhC) structure for fast optical communication. The proposed 4×2 encoder design comprises four inputs ...