Quantum Inspired Classical Computing with Photonics