Work

QAOA-GPT: Efficient Generation of Adaptive and Regular Quantum Approximate Optimization Algorithm Circuits

Year: 2025
Type: conference-paper
Abstract: Quantum computing has the potential to improve our ability to solve certain optimization problems that are computationally difficult for classical computers by offering new algorithmic approaches that may provide speedups under specific conditions. In this work, we introduce QAOA-GPT, a generative framework that leverages Generative Pretrained Transformers (GPT) to directly synthesize quantum circuits for solving quadratic unconstrained binary optimization problems, and demonstrate it on the Max-Cut problem on graphs. To diversify the training circuits and ensure their quality, we have generated a synthetic dataset using the adaptive QAOA approach, a method that incrementally builds and optimizes problemspecific circuits. The experiments conducted on a curated set of graph instances demonstrate that QAOA-GPT generates high quality quantum circuits for new problem instances unseen in the training as well as successfully parametrizes QAOA. Our results show that using QAOA-GPT to generate quantum circuits will significantly decrease both the computational overhead of classical QAOA and adaptive approaches that often use gradient evaluation to generate the circuit and the classical optimization of the circuit parameters. Our work shows that generative AI could be a promising avenue to generate compact quantum circuits in a scalable way. Reproducibility: source code and computational results are available at https://github.com/IlyaTyagin/QAOA-GPT.
Language: English
Open Access status: green
OpenAlex ID: W4416874667
FWCI: 30.18
Cites: 31
Cited by: 37
Related to: 9