Abstract
We describe two-input optical logic gates implemented using grating interferometrers. AND, OR, and XOR logic functions are easily implemented with the same optical system, simply by changing the relative spatial phase of the gratings. We also describe an extension of this idea in which a four-grating interferometer is used as an optical half-adder, and demonstrate its operation with experimental results.