Optical computing has been limited to vector–matrix multiplications, with matrix–matrix operations requiring wavelength- or time-division multiplexing, reducing energy efficiency and speed. Now, ...