Experimental Observation of Phase Transitions in Spatial Photonic Ising Machine.