Qubit-Wise Architecture Search Method for Variational Quantum Circuits

Jialin Chen, Zhiqiang Cai, Ke Xu, Di Wu, Wei CaoarXiv 2024 · DOI

Introduction

In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, quantum hardware is significantly constrained by noise and decoherence. To make Quantum Machine Learning (QML) a practical reality, researchers must design Variational Quantum Circuits (VQCs) that are both high-performing and "shallow"—meaning they utilize as few gates as possible to minimize error accumulation.

Existing Quantum Architecture Search (QAS) methods typically rely on a "Supernet" or "SuperCircuit"—a large, fixed template from which sub-circuits are sampled. However, these templates are often rigid and may exclude the most efficient architectures. Furthermore, evaluating thousands of potential circuits is computationally expensive. The Qubit-Wise Architecture Search (QWAS) method addresses these challenges by introducing a progressive way to design VQCs, optimizing one qubit’s configuration at a time.

The QWAS Framework

QWAS treats quantum circuit design similarly to an image-editing task, employing a progressive search strategy that makes the vast search space manageable.

Instead of searching the entire circuit architecture simultaneously, QWAS modifies the gates associated with a single qubit per stage. This "pixel-by-pixel" approach—where a qubit's gates represent a row of pixels in a grid—allows the algorithm to build complexity incrementally. The search alternates between two phases: Phase One optimizes single-qubit gates and data uploading, while Phase Two focuses on optimizing two-qubit entanglement gates.

Qubit-wise progressive search mapping circuit modifications to a 2D matrix representation.

Matrix Encoding and MCTS

Circuits are translated into a 2D matrix of integers representing gate types and connectivity. This encoding allows the use of classical deep learning tools to guide the search. The core of the discovery process is a Monte Carlo Tree Search (MCTS) that partitions the search space. To account for hardware limitations, the authors modified the Upper Confidence Bound (UCB) formula with a noise-adaptive penalty term ($\epsilon$). This term favors circuits with fewer gates, particularly fewer two-qubit gates, which are the primary source of noise in real hardware.

Key Technical Insights

Spatial-Temporal Classifiers

A significant innovation in QWAS is the use of a hybrid neural network as a performance predictor within the MCTS. By using a Convolutional Neural Network (CNN) to capture spatial gate relationships and a Recurrent Neural Network (RNN) to capture the temporal sequence of operations, the system becomes much better at predicting circuit performance than the simple linear regressors used in previous work.

The spatial-temporal classifier architecture using CNNs and RNNs to predict circuit performance within the MCTS framework.

Parameter Sharing

Because each search step is a slight modification of the previous one, QWAS utilizes parameter inheritance. Candidate circuits inherit gate parameters from the previous stage, meaning they often require only a single epoch of training to evaluate. This drastically reduces the computational overhead typically associated with architecture search.

Performance and Results

The method was evaluated on benchmark tasks including multimodal sentiment analysis (CMU-MOSI) and downsampled image classification (MNIST-4 and Fashion-4). QWAS consistently outperformed the previous industry standard, QuantumNAS:

  • Accuracy: On MNIST-4, QWAS achieved 84.51% accuracy (compared to 82.27% for QuantumNAS). On Fashion-4, it reached 84.50% (compared to 81.45%).
  • Circuit Compactness: QWAS discovered significantly smaller circuits, achieving a 33.3% reduction in single-qubit parameters and a 36.6% reduction in total parameters compared to QuantumNAS.
  • Sentiment Analysis: On the MOSI dataset, the interleaved search strategy achieved a Mean Absolute Error (MAE) of 1.166, the best result reported in the study.

Conclusion and Future Work

QWAS demonstrates that a progressive, qubit-wise approach can discover more efficient and accurate quantum architectures than traditional Supernet-based methods. While currently limited to relatively small circuits (4 to 10 qubits), future work aims to improve scalability and explore "area-by-area" search patterns for greater flexibility. Additionally, the integration of "training-free" evaluation methods could further accelerate the discovery of high-performing NISQ-era architectures.

Summary updated

BibTeX
@misc{chen2024qubit,
  author = {Jialin Chen and Zhiqiang Cai and Ke Xu and Di Wu and Wei Cao},
  title = {{Qubit-Wise Architecture Search Method for Variational Quantum Circuits}},
  year = {2024},
  eprint = {2403.04268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.04268},
}
Figure