The Mach–Zehnder interferometer (MZI) mesh, a mainstream structure for optical matrix-vector multiplication (MVM), has been widely employed in recently developed optical neural networks (ONNs) and combination optimization problem solvers. The ...