Photonic circuits, which manipulate light to perform various computational tasks, have become essential tools for a range of advanced technologies—from quantum simulations to artificial intelligence.