npj Quantum Information (Aug 2023)

Hierarchical quantum circuit representations for neural architecture search

  • Matt Lourens,
  • Ilya Sinayskiy,
  • Daniel K. Park,
  • Carsten Blank,
  • Francesco Petruccione

DOI
https://doi.org/10.1038/s41534-023-00747-z
Journal volume & issue
Vol. 9, no. 1
pp. 1 – 15

Abstract

Read online

Abstract Quantum circuit algorithms often require architectural design choices analogous to those made in constructing neural and tensor networks. These tend to be hierarchical, modular and exhibit repeating patterns. Neural Architecture Search (NAS) attempts to automate neural network design through learning network architecture and achieves state-of-the-art performance. We propose a framework for representing quantum circuit architectures using techniques from NAS, which enables search space design and architecture search. We use this framework to justify the importance of circuit architecture in quantum machine learning by generating a family of Quantum Convolutional Neural Networks (QCNNs) and evaluating them on a music genre classification dataset, GTZAN. Furthermore, we employ a genetic algorithm to perform Quantum Phase Recognition (QPR) as an example of architecture search with our representation. Finally, we implement the framework as an open-source Python package to enable dynamic circuit creation and facilitate circuit search space design for NAS.