Gaussian initializations help deep variational quantum circuits escape from the barren plateau

Kaining Zhang, Min-Hsiu Hsieh, Liu Liu, Dacheng Tao

Abstract

Deep Variational Quantum Circuits (VQCs) are often hindered by "barren plateaus," where gradients vanish exponentially with increasing circuit depth or qubit count. This work demonstrates that a Gaussian initialization strategy, with variance scaled inversely to circuit depth, ensures gradients decay only polynomially. This theoretical breakthrough enables the training of deep quantum models even when employing global observables, effectively bypassing a significant barrier in the scalability of variational quantum algorithms.

Introduction

Variational Quantum Algorithms (VQAs) are pivotal for achieving quantum advantage on noisy intermediate-scale quantum (NISQ) devices. However, the "barren plateau" problem—where the loss function's gradient vanishes exponentially—remains a formidable obstacle. Traditionally, random initializations lead to highly scrambled states, creating a flat optimization landscape. Furthermore, global observables were thought to induce barren plateaus even in shallow circuits. This paper introduces a Gaussian initialization strategy to overcome these limitations.

Methodology

The proposed strategy involves sampling circuit parameters from a Gaussian distribution $\mathcal{N}(0, \gamma^2)$ rather than a uniform distribution. The critical innovation lies in scaling the variance: $\gamma^2 = O(1/L)$, where $L$ is the circuit depth. This scaling ensures that the expected gradient norm is lower-bounded by $poly(N, L)^{-1}$, transforming exponential decay into manageable polynomial decay.

Schematic of the VQC architecture used in the study.

The authors provide theoretical proofs for two primary scenarios: independent parameters with local observables in standard layered circuits, and correlated parameters with global observables in complex circuits (e.g., those using Givens rotations for quantum chemistry).

Experimental Setup

The methodology was benchmarked using the PennyLane library on physical Hamiltonians:

  1. Heisenberg Model: A standard model for quantum magnetism.
  2. LiH (Lithium Hydride): A benchmark for Variational Quantum Eigensolvers (VQE) involving 10 spin-orbitals.

Results

Empirical results confirm the theoretical predictions. In Heisenberg model simulations (15 qubits, 300 parameters), Gaussian initialization yielded significantly larger initial gradients and faster convergence than uniform initialization. For the LiH molecule, Gaussian initialization achieved a convergence error of $10^{-4}$, while uniform initialization stalled at $10^{-1}$.

Training dynamics with Adam optimizer.

Notably, while zero-initialization initially has a zero gradient, it can "escape" and begin training if noise is present, though it remains less reliable than the Gaussian approach. Additionally, the authors established that $O(L/\epsilon)$ measurements are sufficient to maintain a reliable gradient estimate, providing a practical framework for experimental implementation.

Discussion

The transition from exponential to polynomial gradient decay is a paradigm shift for VQC scalability. By making global observables viable in deep circuits, this work challenges previous "impossibility" results. The strategy's success, particularly when combined with classical initial guesses (like mean-field theory), suggests a powerful synergy between classical and quantum methods. Much like Xavier initialization in classical deep learning, depth-aware initialization is essential for quantum circuit trainability.

Conclusion

While the Gaussian strategy shows great promise, its effectiveness in the global observable case depends on a non-negligible gradient at the "zero point." Future work will explore "zero-case-free" bounds and the impact of hardware-specific noise, such as decoherence and gate errors, on these initialization strategies.

Summary updated

Abstract

Variational quantum circuits have been widely employed in quantum simulation and quantum machine learning in recent years. However, quantum circuits with random structures have poor trainability due to the exponentially vanishing gradient with respect to the circuit depth and the qubit number. This result leads to a general standpoint that deep quantum circuits would not be feasible for practical tasks. In this work, we propose an initialization strategy with theoretical guarantees for the vanishing gradient problem in general deep quantum circuits. Specifically, we prove that under proper Gaussian initialized parameters, the norm of the gradient decays at most polynomially when the qubit number and the circuit depth increase. Our theoretical results hold for both the local and the global observable cases, where the latter was believed to have vanishing gradients even for very shallow circuits. Experimental results verify our theoretical findings in the quantum simulation and quantum chemistry.
BibTeX
@inproceedings{zhang2022gaussian,
  author = {Kaining Zhang and Min-Hsiu Hsieh and Liu Liu and Dacheng Tao},
  title = {{Gaussian initializations help deep variational quantum circuits escape from the barren plateau}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=jXgbJdQ2YIy},
}
Figure