Photonic sensors and detectors are devices that utilize the principles of photonics, the science and technology of generating, detecting, and…