Paper commentary
Barren plateaus in quantum neural network training landscapes
Random quantum circuits make training gradients vanish exponentially as qubits grow
- Problem Hybrid quantum-classical training often starts from random circuits, but gradients from these circuits shrink exponentially as qubit count grows. Estimating such tiny gradients on a quantum device is also expensive, so gradient descent stalls.
- Method The authors link this vanishing to random circuits behaving as 2-designs. They analyze gradients by splitting the circuit into halves on either side of each angle and checking when the mean gradient is zero.
- Results Gradient variance fell with a fitted log-scale slope of -0.694 on random circuits, and the authors argue that the decay carries over to sums of terms.
Why random circuits are tempting but risky
Hybrid quantum-classical algorithms tune a parameterized circuit with a classical optimizer, and they are used for simulation, optimization and machine learning. The starting circuit matters, and when little is known about the problem, a random circuit that the hardware can run looks like an unbiased choice. Random circuits have already appeared in many such implementations, so the choice is common in practice.
The authors argue that this choice breaks down because Hilbert space is exponentially large. Gradient cost adds a second barrier: on a quantum device, estimating one gradient component scales as \(O(1/\epsilon^{\alpha})\), while classical implementations need \(O(\log(1/\epsilon))\) time. So a gradient that is already tiny is also expensive to measure, which turns gradient descent into a random walk.
The circuit family and its gradient formula
The key idea is to build each layer from one trainable rotation followed by a fixed random unitary. Each rotation has the form \(U_l(\theta_l)=\exp(-i\theta_l V_l)\), where \(V_l\) is Hermitian, and \(W_l\) is a generic unitary that doesn't depend on any angle. The objective is the expectation \(E(\vec{\theta})=\langle 0|U(\vec{\theta})^\dagger H U(\vec{\theta})|0\rangle\) for a Hermitian operator \(H\).
Differentiating with respect to \(\theta_k\) gives a closed form, \(\partial_k E = i\langle 0|U_-^\dagger[V_k,U_+^\dagger H U_+]U_-|0\rangle\), where \(U_-\) collects the layers before \(k\) and \(U_+\) the layers from \(k\) onward. This split is what makes the analysis possible, because the two halves can be treated separately. The mean gradient is zero when the two halves are independent and at least one of them is a 1-design, since then the trace of a commutator vanishes.
A unitary t-design reproduces Haar averages for polynomials of degree up to t, and it can be built with modest polynomial resources. The variance is different, because it depends on degree-2 polynomials in \(U\) and \(U^*\), so a 1-design gets the mean right but not necessarily the variance. Levy's lemma gives the intuition for the spread: a smooth function on a high-dimensional sphere stays near its mean with high probability.
Variance against qubit count
The test circuits start with a square root of Hadamard on each qubit, then apply layers of randomly chosen Pauli rotations and a 1D ladder of controlled-Z gates. The objective is the Pauli ZZ operator on the first two qubits, and the gradient is taken with respect to the first angle, \(\theta_{1,1}\). Because one term is simple, the authors use it to isolate the exponential scaling.
The fitted slope of the sample variance on a log scale is -0.694, so the variance falls exponentially as qubit count grows. The authors observe that both the expected gradient and its spread decay exponentially, even when the layer count is only a modest linear function of qubits. They argue that sums of such terms inherit the decay, since the exponential decay of the signal can't be avoided by summing polynomially many operators.
How depth creates the plateau
The variance is also plotted against layer count, up to 500 layers, with one line for each even qubit count from 2 to 24. As layers increase, the variance converges to a plateau whose height is fixed by the number of qubits. The authors read this as a transition from a shallow circuit to one with 2-design statistics, which produces a distinct plateau.
The authors argue that the depth needed for these properties is modest, scaling as \(O(n^{1/d})\) on a d-dimensional array of n qubits. So a practical circuit reaches the plateau well before it becomes deep in absolute terms.
A projector objective as a second test
The second objective is the projector onto the all-zero state, \(H=|00...0\rangle\langle 00...0|\). The authors set the target to the all-zero state because of rotational invariance. Here the sample variance falls with a fitted slope of -1.374 on a log scale as qubit count grows. This is a different objective from the ZZ term, so the two slopes are not directly comparable.
Why this differs from classical vanishing gradients
Classical deep networks lose gradient with depth, because the gradient sums paths with random signs that cancel the signal. In the quantum case the number of paths grows with the number of gates, and the gradient saturates at an exponential in qubit count because the output state is normalized. So the quantum gradient is expected to be exponentially smaller than the classical one for comparable settings.
The authors add that gradient descent without extra strategy can't escape the plateau in polynomial time on a quantum device. This is because a random walk has an exponentially small chance of leaving the plateau.
Limitations
The numerical checks reach 25 qubits in the variance-versus-qubit scan. The layer scan uses only even qubit counts from 2 to 24. The gradient-variance results depend on the independence of the two circuit halves and on at least one half matching the Haar distribution to the first or second moment. Only the single ZZ term and the projector objective were checked numerically, and the sum-of-terms extension is an argument rather than a test.
The authors leave open whether structured initial guesses or segment-by-segment pre-training avoid these plateaus.
Paper info
- Authors
- Jarrod R. McClean, Sergio Boixo, Vadim N. Smelyanskiy, Ryan Babbush, Hartmut Neven
- Venue
- arXiv · Preprint
- First published
- 2018-3-29
- Added
- 2026-11-12
- Updated
- 2018-3-29
- Version
- v1
- arXiv
- 1803.11173
- DOI
- 10.1038/s41467-018-07090-4
- Category
- quant-ph · cs.LG · physics.chem-ph
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Jarrod R. McClean, Sergio Boixo, Vadim N. Smelyanskiy, Ryan Babbush, Hartmut Neven (2018). Barren plateaus in quantum neural network training landscapes. arXiv:1803.11173v1. https://doi.org/10.1038/s41467-018-07090-4
BibTeX
@article{mcclean2018barren,
title = {{Barren plateaus in quantum neural network training landscapes}},
author = {Jarrod R. McClean and Sergio Boixo and Vadim N. Smelyanskiy and Ryan Babbush and Hartmut Neven},
year = {2018},
eprint = {1803.11173},
archivePrefix = {arXiv},
doi = {10.1038/s41467-018-07090-4},
url = {https://arxiv.org/abs/1803.11173v1}
}