Automated quantum algorithm design using a domain-specific language
Abstract We present a computational method to automatically design the n -qubit realisations of quantum algorithms. Our approach leverages a domain-specific language (DSL) that enables the construction of quantum circuits via modular building blocks, making it well-suited for evolutionary search. In this DSL quantum circuits are abstracted beyond the usual gate-sequence description and scale automatically to any problem size. This enables us to learn the algorithm structure rather than a specific unitary implementation. We demonstrate our method by automatically designing three known quantum algorithms—the Quantum Fourier Transform, the Deutsch-Jozsa algorithm, and Grover’s search. Remarkably, we were able to learn the general implementation of each algorithm by considering examples of circuits containing at most 5-qubits. Our method proves robust, as it maintains performance across increasingly large search spaces. Convergence to the relevant algorithm is achieved with high probability and with moderate computational resources.
Authors
- Matt Lourens (ORCID: https://orcid.org/0000-0003-3441-8715)
- Amy Rouillard (ORCID: https://orcid.org/0000-0002-0374-0915)
- Francesco Petruccione
Institutions
- Stellenbosch University (ZA)
- National Institute for Theoretical Physics (ZA)
Publication Details
- Journal
- EPJ Quantum Technology
- Published
- 2026-02-04
- DOI
- https://doi.org/10.1140/epjqt/s40507-026-00472-4
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 0.00