A new C++20 simulator for Optical Neural Networks (ONNs) delivers high‑performance hardware‑level acceleration by modeling matrix multiplication via light interference in Mach‑Zehnder Interferometer (MZI) meshes. The tool supports multiple MZI mesh architectures, including Clements layouts, enabling realistic simulation of physical constraints before chip fabrication. This allows researchers to evaluate ONN designs with