# Cascadable all-optical NAND gates using diffractive networks

arXiv: https://arxiv.org/abs/2111.01404 · HTML: https://mlsanity.com/paper/2111.01404/

## Key facts

- Cited by 8 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 2 Nov 2021.

## Built on by (most cited first, 8 of 8)

- [Polarization Multiplexed Diffractive Computing: All-Optical Implementation of a Group of Linear Transformations Through a Polarization-Encoded Diffractive Network](https://mlsanity.com/paper/2203.13482/) (2022)
- [All-optical image classification through unknown random diffusers using a single-pixel diffractive network](https://mlsanity.com/paper/2208.03968/) (2022)
- [Analysis of Diffractive Neural Networks for Seeing Through Random Diffusers](https://mlsanity.com/paper/2205.00428/) (2022)
- [Time-lapse image classification using a diffractive neural network](https://mlsanity.com/paper/2208.10802/) (2022)
- [All-optical complex field imaging using diffractive processors](https://mlsanity.com/paper/2401.16779/) (2024)
- [Multiplexed all-optical permutation operations using a reconfigurable diffractive optical network](https://mlsanity.com/paper/2402.02397/) (2024)
- [Coherence Awareness in Diffractive Neural Networks](https://mlsanity.com/paper/2408.06681/) (2024)
- [Programmable metasurfaces for future photonic artificial intelligence](https://mlsanity.com/paper/2505.11659/) (2025)

## Abstract (arXiv)

Owing to its potential advantages such as scalability, low latency and power efficiency, optical computing has seen rapid advances over the last decades. A core unit of a potential all-optical processor would be the NAND gate, which can be cascaded to perform an arbitrary logical operation. Here, we present the design and analysis of cascadable all-optical NAND gates using diffractive neural networks. We encoded the logical values at the input and output planes of a diffractive NAND gate using the relative optical power of two spatially-separated apertures. Based on this architecture, we numerically optimized the design of a diffractive neural network composed of 4 passive layers to all-optically perform NAND operation using the diffraction of light, and cascaded these diffractive NAND gates to perform complex logical functions by successively feeding the output of one diffractive NAND gate into another. We demonstrated the cascadability of our diffractive NAND gates by using identical diffractive designs to all-optically perform AND and OR operations, as well as a half-adder. Cascadable all-optical NAND gates composed of spatially-engineered passive diffractive layers can serve as a core component of various optical computing platforms.
