Leveraging Quantum Machine Learning Generalization to Significantly Speed up Quantum Compilation
Open Access
- 16 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Quantum Engineering
- Vol. 6, 1-12
Abstract
Existing numerical optimizers deployed in quantum compilers use expensive $\mathcal {O}(4^{n})$ matrix-matrix operations. Inspired by recent advances in quantum machine learning (QML), $QFactor$-$Sample$ replaces matrix-matrix operations with simpler $\mathcal {O}(2^{n})$ circuit simulations on a set of sample inputs. The simpler the circuit, the lower the number of required input samples. We validate $QFactor$-$Sample$ on a large set of circuits and discuss its hyperparameter. When incorporated in the BQSKit quantum compiler and compared against a state-of-the-art domain-specific optimizer, we demonstrate improved scalability and a reduction in compile time, achieving an average speedup factor of 69 for circuits with more than 8 qubits. We also discuss how improved numerical optimization affects the dynamics of partitioning-based compilation schemes, which allow a trade-off between compilation speed and solution quality.Keywords
All Related Versions
Funding Information
- U.S. Naval Postgraduate School
- Laboratory Directed Research and Development program of Los Alamos National Laboratory (20230049DR, 20230067DR)
- U.S. Department of Energy (DOE), Office of Science, Office of Advanced Scientific Computing Research (DE-AC05-00OR22725)
- Accelerated Research in Quantum Computing Program MACH-Q project
- National Energy Research Scientific Computing Center
- Lawrence Berkeley National Laboratory (DE-AC02-05CH11231)
This publication has 20 references indexed in Scilit:
- Generalization in quantum machine learning from few training dataNature Communications, 2022
- Variational quantum algorithmsNature Reviews Physics, 2021
- The power of quantum neural networksNature Computational Science, 2021
- Training deep quantum neural networksNature Communications, 2020
- Parameterized quantum circuits as machine learning modelsQuantum Science and Technology, 2019
- Quantum machine learningNature, 2017
- The theory of variational hybrid quantum-classical algorithmsNew Journal of Physics, 2016
- A practical introduction to tensor networks: Matrix product states and projected entangled pair statesAnnals of Physics, 2014
- On the limited memory BFGS method for large scale optimizationMathematical Programming, 1989
- Updating quasi-Newton matrices with limited storageMathematics of Computation, 1980