Saved in:
Bibliographic Details
Main Authors: Rouillard, Amy, Lourens, Matt, Petruccione, Francesco
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.08449
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912705780121600
author Rouillard, Amy
Lourens, Matt
Petruccione, Francesco
author_facet Rouillard, Amy
Lourens, Matt
Petruccione, Francesco
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_08449
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automated Quantum Algorithm Design using a Domain-Specific Language
Rouillard, Amy
Lourens, Matt
Petruccione, Francesco
Quantum Physics
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.
title Automated Quantum Algorithm Design using a Domain-Specific Language
topic Quantum Physics
url https://arxiv.org/abs/2503.08449