Researchers have been developing computers that deploy light, or photons, rather than electricity to power storage and calculations.