Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Barren plateaus

Training regimes in which relevant gradients concentrate near zero as system size grows.

Edition released Coverage: Overview · Technical
On this page

Definition and significance

A barren plateau makes a variational objective difficult to optimize because changes in parameters produce gradients too small to resolve economically. It can arise from different causes, including highly random circuit families, objective structure and noise. The diagnosis must state the ensemble and scaling assumptions.

Mechanism and mathematical treatment

If the gradient variance scales as c times b^(-n) for b>1, a typical gradient magnitude scales like b^(-n/2). A measurement estimator with uncertainty proportional to N^(-1/2) then needs N on the order of b^n to resolve that scale at fixed signal-to-noise. This is a schematic scaling argument, not a universal theorem for every ansatz.

Fully worked reference example

Suppose an objective's typical gradient is 2^(-n/2) and the per-shot estimator variance is order one. At n=20 the gradient scale is about 0.000977. Achieving comparable standard error needs roughly 2^20, or 1,048,576 shots. At n=40 the analogous cost is about 2^40.

Limitations and common misconceptions

A small gradient at one local optimum is not by itself a barren plateau. Structured initialization, local objectives and problem-informed ansatzes can change trainability, but no universal remedy follows. Independent empirical evidence is needed for a specific circuit family.

Scientific relationships

Certain families and objectives have gradients that become difficult to resolve.

Historical source context

McClean and collaborators submitted the cited random-circuit trainability paper on 29 March 2018, with journal publication later in 2018. The term now covers several related mechanisms whose assumptions should be cited separately.

An exact product-state landscape with exponentially small gradients

Prepare n independent qubits in R_Y(theta_j)|0>, with each theta_j chosen independently and uniformly from 0 to 2pi. Consider the global objective C=probability of measuring all zeros, equal to the product over j of cos^2(theta_j/2). Its derivative with respect to theta_k is-(1/2)sin(theta_k) times the product over j unequal to k of cos^2(theta_j/2).

The derivative mean over this parameter ensemble is zero because the sine factor averages to zero. Its variance is (1/4)E[sin^2(theta_k)] times the product of E[cos^4(theta_j/2)] for the other qubits. The two elementary averages are 1/2 and 3/8, giving variance (1/8)(3/8)^(n-1). This is an exact exponential decay for the specified objective and initialization distribution.

No entangling gates occur in this example. The small gradient variance comes from multiplying many local probabilities in a global objective. It therefore illustrates a mechanism distinct from the highly random entangling-circuit setting of the original barren-plateau paper. The source anchors the broader trainability concept; the product-state calculation is an independent constructed example with explicitly different assumptions.

A local objective changes the scaling and the task

Define instead L=(1/n)sum_j cos^2(theta_j/2). Its kth derivative is-sin(theta_k)/(2n), whose ensemble variance is 1/(8n^2). The same circuit family and parameter distribution now have polynomially small rather than exponentially small component variance. The difference arises from the objective's structure.

The two objectives are not interchangeable descriptions of every task. Maximizing both happens to favor all qubits near zero in this particular separable example, but their values and behavior away from the optimum differ. In more general problems, replacing a global cost by local terms can change which states are optimal or what property is certified. A proposed trainability remedy must preserve the application's intended goal or explain the changed surrogate.

At theta_j=0 for every j, both gradients vanish because the objectives are already at a maximum. A zero gradient at that point is not evidence of a barren plateau. The plateau statement concerns how gradient statistics scale across a specified family or initialization ensemble, not the existence of one stationary point.

Finite-shot resolution in a fully specified regime

Set every theta_j=pi/2. Then C=2^(-n), and each derivative is -2^(-n). For a parameter-shift estimate of one derivative, shifting that parameter upward bypi/2 makes the all-zero probability zero, while shifting downward bypi/2 makes it2^(-(n-1)). The gradient is the half-difference, giving the stated-2^(-n).

If each shifted circuit receives N shots, the plus branch is deterministic zero and the minus branch is Bernoulli with probability p=2^(-(n-1)). The gradient-estimator variance is p(1-p)/(4N). Dividing by the squared gradient 2^(-2n) gives relative variance 2^(n-1)(1-p)/N. To obtain a fixed relative standard error, the shot count therefore grows exponentially in n in this regime.

This calculation is more precise than assuming a constant per-shot variance. Here the variance of the rare-event estimator also decreases with n, but the squared signal decreases faster. Both numerator and denominator must be included when inferring measurement cost from small gradients. A variance-concentration statement alone does not determine a universal shot count without an estimator model.

Initialization, noise and diagnosis

Restricting the initial angles near zero changes the ensemble averages and can avoid the broad random-initialization regime used above. It can also place the circuit near a stationary optimum or a narrow region with different conditioning. A useful analysis should examine the chosen initialization and the objective actually used, rather than transfer a random-ensemble theorem unchanged to every training run.

Noise can create another source of gradient suppression by attenuating observable responses as circuit depth or system size grows. That mechanism requires a specified noise channel and circuit structure. It should not be inferred solely from observing one unsuccessful optimizer trace. Poor step sizes, parameter symmetries, finite-shot fluctuations and an inadequate ansatz can also produce stalled training.

For this separable example, a classical optimizer can evaluate the product and its gradient exactly in time proportional to n, with prefix and suffix products avoiding repeated multiplication if all derivatives are needed. The problem is not classically difficult. Its value is to isolate the statistical mechanism and show that an easy mathematical objective can still be inconvenient to estimate through rare quantum measurement events.

Sources

  • Jarrod R. McClean et al. · · Research paper · Publication status unspecified · arXiv · DOI 10.1038/s41467-018-07090-4
    Verification scope

    Selected source text checked ·

    Formal or reference-semantic source anchor only; no SDK execution, hardware run, or empirical advantage is asserted. Original worked examples are independent mathematical constructions.

  • PennyLane documentation · Documentation · docs.pennylane.ai
    Verification scope

    Recorded source check ·

    Full official API page retrieved, 554 lines; shift recipes and generator frequencies inspected.

    Formal or reference-semantic source anchor only; no SDK execution, hardware run, or empirical advantage is asserted. Original worked examples are independent mathematical constructions.