Predicting quantum learnability from landscape fluctuation

Hao-Kai Zhang, Chenghong Zhu, Xin WangarXiv 2024 · DOI

Abstract

The conflict between trainability and expressibility is a key challenge in variational quantum computing and quantum machine learning. This work introduces a simple and efficient metric for learnability by comparing the fluctuations of a given training landscape with standard learnable landscapes. This metric, Relative Fluctuation (RF), unifies the effects of insufficient expressibility, barren plateaus, bad local minima, and overparametrization. Crucially, it can be estimated efficiently on classical computers via Clifford sampling without actual training on quantum devices, enabling fast selection of suitable quantum neural network (QNN) architectures.

Introduction: The "Goldilocks" Problem of Quantum Learning

In Variational Quantum Algorithms (VQAs) and Quantum Machine Learning (QML), designing a quantum circuit is a balancing act. Shallow circuits often lack the expressibility needed to represent the solution or become trapped in bad local minima. Conversely, deep circuits frequently encounter barren plateaus, where the training landscape becomes exponentially flat, rendering gradient-based optimization impossible.

Currently, determining if a QNN architecture is suitable for a specific problem requires full training—a process that is computationally expensive and consumes limited time on quantum hardware. This research addresses the need for a "pre-flight check" to predict learnability without the cost of full training.

Methods: The Relative Fluctuation Metric

The authors propose Relative Fluctuation (RF), denoted as $\tilde{\sigma}$, as a training-free metric for learnability. The core concept involves measuring the standard deviation of the cost function landscape ($\sigma$) and normalizing it against a "standard learnable" landscape ($\sigma_0$).

Overview of the prediction and training phases, alongside visualizations of various training landscapes.

Key Components:

  • The RF Metric: Defined as $\tilde{\sigma} = \sigma / \sigma_0$. A value of $\tilde{\sigma} \geq 1$ typically indicates a learnable phase, whereas $\tilde{\sigma} \ll 1$ signals potential failure due to barren plateaus or bad local minima.
  • Effective Dimension ($M_{eff}$): To account for redundant parameters in overparameterized circuits, the authors utilize the rank of the Quantum Fisher Information (QFI) matrix rather than a simple parameter count ($M$).
  • Clifford Sampling: This is the primary technical innovation. Since the metric only requires second-order moments of the landscape, the authors demonstrate that continuous rotation gates can be replaced with discrete Clifford gates during the prediction phase. This allows the metric to be simulated efficiently on classical computers using the stabilizer formalism, bypassing the need for quantum device access during architecture selection.

Key Insights and Results

Numerical experiments across various physical models—including the 1D Transverse-Field Cluster Model and the Antiferromagnetic Heisenberg Model—validate the effectiveness of the RF metric.

The relationship between landscape fluctuation ($\sigma$) and parameter count ($M$), identifying distinct regions of learnability and failure.

Unification of Failure Modes

Traditionally, barren plateaus and bad local minima have been studied as distinct phenomena. The RF metric unifies them: both manifest as a significant drop in landscape fluctuation below the "standard learnable" threshold. The authors identify $\tilde{\sigma} = 1$ as a critical boundary; architectures falling significantly below this line are likely to fail during training.

Detecting Overparameterization

The metric successfully identifies the transition to "polynomial overparameterization." This is the point where adding additional layers no longer improves performance, and the effective dimension of the circuit saturates.

Efficiency and Correlation

The "Prediction Phase" using Clifford sampling is exponentially faster than a full training loop. Despite this efficiency, the metric shows a strong inverse correlation with final training error ($\epsilon$): higher RF values consistently predict lower final errors.

Conclusion and Future Directions

The RF metric enables Automatic Quantum Architecture Search, allowing classical computers to screen thousands of QNN designs and reserve quantum processors for only the most promising candidates.

Future work may address the current limitations, such as the assumption of a Gaussian cost distribution, which may not hold for highly structured problems. Additionally, incorporating the effects of hardware noise and extending the method to QML tasks with non-stabilizer initial states remain important areas for exploration.

Summary updated

BibTeX
@misc{zhang2024predicting,
  author = {Hao-Kai Zhang and Chenghong Zhu and Xin Wang},
  title = {{Predicting quantum learnability from landscape fluctuation}},
  year = {2024},
  eprint = {2406.11805},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.11805},
}
Figure