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.
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: