Warning about computation using light. The DeBroglie wavelength of practical light is huge! Don’t expect miniaturization.
One possible application is in the amplification stages of optical communication links. If you could do error correction in pure optical circuits, you could avoid the optical -> electrical -> optical conversion, and save lots of energy -- something quite relevant for submarine cables, for example.