Each bit in my light logic consist of two light lanes One lane(the path lane) almost always being on and the other lane on or off(the data lane)
The device I'll be using is a tweaked double slit experiment where by I add a holographic crystal beside the path hole and I have a filter on the data hole where by if the output is set to particle then the light slips over to the path hole.
Gates
--------
AND:
So you start with 4 lanes 2 path lanes and 2 data lanes. So the holographic crystal will not allow detection if both beams are active.
OR:
So here the crystal just needs at least one active data light to turn off detection.
NOT:
here you only have one data lane and one path lane and the crystal is activated by the data light turning the hole off.
NOR:
You just use a not gate first on both of the data lanes and then run the pipe though an AND gate.
NAND:
The crystal will allow you to activate detection when both data sources are active.
EX-OR:
here you parallelize the task with 1 And and one NOR creating 2 data lanes for a OR gate at the end.
EX-NOR:
Same thing just with a NOT gate at the end.