<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>Barren plateaus in quantum neural network training landscapes</title>
        <author>Jarrod R. McClean</author>
        <author>Sergio Boixo</author>
        <author>Vadim N. Smelyanskiy</author>
        <author>Ryan Babbush</author>
        <author>Hartmut Neven</author>
      </titleStmt>
      <publicationStmt>
        <p>Tag layer of the DHSS Meta-Tagging Project. The article text is reproduced from the
           staged copy named in sourceDesc and is not altered; the tags are held separately in
           standOff so that overlapping and nested spans are preserved.</p>
      </publicationStmt>
      <sourceDesc>
        <bibl>
          <title>Barren plateaus in quantum neural network training landscapes</title>
          <date>2018</date>
          <publisher>Nature Communications</publisher>
          <idno type="DOI">10.1038/s41467-018-07090-4</idno>
          
          <idno type="record">mcclean2018-barren-plateaus-quantum-neural-networks</idno>
          <note type="staged-file">mcclean2018-barren-plateaus-quantum-neural-networks.txt, the project's staged copy</note>
          <note type="text-sha1">658fe155046f12524968bdb9db9ff81e991bf397</note>
          <note type="rights">cc-by</note>
        </bibl>
      </sourceDesc>
    </fileDesc>
    <profileDesc>
      <textClass><keywords><term>physics</term></keywords></textClass>
      <particDesc>
        <person xml:id="paper"><p>the paper's own words</p></person>
        <person xml:id="tagger"><p>the tag layer; a sentence written by the tagger about the
          paper, always anchored to a quotation but not itself a quotation</p></person>
      </particDesc>
    </profileDesc>
    <revisionDesc>
      <change when="2026-10-06"
              who="build_paper_edition.py">28 spans located by searching the stored text for the quote's exact words, allowing any whitespace between them</change>
    </revisionDesc>
  </teiHeader>
  <standOff>
    <spanGrp type="tags">
      <span xml:id="t0" from="#a3" to="#a4" type="object_of_study" ana="#object_of_study" resp="#paper">gradients of randomly initialized parameterized quantum circuits in hybrid quantum-classical algorithms</span>
      <span xml:id="t1" from="#a1" to="#a2" type="research_question" ana="#research_question" resp="#paper">whether random circuits are a good initial guess for training parameterized quantum circuits</span>
      <span xml:id="t2" from="#a5" to="#a6" type="contribution" ana="#contribution" resp="#paper">proof and numerics that gradients vanish exponentially in qubit number for random circuits - barren plateaus</span>
      <span xml:id="t3" from="#a5" to="#a6" type="claim_type" ana="#claim_type" resp="#paper">existence</span>
      <span xml:id="t4" from="#a15" to="#a16" type="phenomenon" ana="#phenomenon" resp="#paper">barren plateaus: exponentially vanishing gradients in random quantum circuit landscapes</span>
      <span xml:id="t5" from="#a5" to="#a6" type="method" ana="#method" resp="#paper">computational-model<term>computational-model</term></span>
      <span xml:id="t6" from="#a21" to="#a22" type="mechanisms" ana="#mechanisms[0]" resp="#tagger" cert="0.8">The gradient saturates at an exponential in qubit number because the output state is normalized.<term>normalization of the output state</term></span>
      <span xml:id="t7" from="#a9" to="#a10" type="limitations" ana="#limitations[0]" resp="#tagger" cert="0.8">The result does not discount random circuits for other uses such as security or supremacy demonstrations.</span>
      <span xml:id="t8" from="#a7" to="#a8" type="concepts" ana="#concepts[0]" resp="#paper" cert="0.9">NISQ<term>NISQ</term></span>
      <span xml:id="t9" from="#a7" to="#a8" type="concepts" ana="#concepts[1]" resp="#paper" cert="0.7">noisy intermediate scale quantum<term>noisy intermediate scale quantum</term></span>
      <span xml:id="t10" from="#a11" to="#a12" type="concepts" ana="#concepts[2]" resp="#paper" cert="0.9">RPQCs<term>RPQCs</term></span>
      <span xml:id="t11" from="#a11" to="#a12" type="concepts" ana="#concepts[3]" resp="#paper" cert="0.7">random parameterized quantum circuits<term>random parameterized quantum circuits</term></span>
      <span xml:id="t12" from="#a19" to="#a20" type="concepts" ana="#concepts[4]" resp="#paper" cert="0.7">classical deep neural network<term>classical deep neural network</term></span>
      <span xml:id="t13" from="#a19" to="#a20" type="concepts" ana="#concepts[5]" resp="#paper" cert="0.7">quantum circuit<term>quantum circuit</term></span>
      <span xml:id="t14" from="#a15" to="#a16" type="concepts" ana="#concepts[6]" resp="#paper" cert="0.75">2-design<term>2-design</term></span>
      <span xml:id="t15" from="#a15" to="#a16" type="concepts" ana="#concepts[7]" resp="#paper" cert="0.75">barren plateau<term>barren plateau</term></span>
      <span xml:id="t16" from="#a13" to="#a14" type="concepts" ana="#concepts[8]" resp="#paper" cert="0.7">number of qubits<term>number of qubits</term></span>
      <span xml:id="t17" from="#a13" to="#a14" type="concepts" ana="#concepts[9]" resp="#paper" cert="0.7">variance of measurements<term>variance of measurements</term></span>
      <span xml:id="t18" from="#a23" to="#a24" type="senses" ana="#senses[0]" resp="#tagger" cert="0.85">barren plateau - a region of parameter space where the cost gradient is exponentially small in the number of qubits</span>
      <span xml:id="t19" from="#a7" to="#a8" type="concept_edges" ana="#concept_edges[0]" resp="#tagger" cert="0.95">NISQ —same-as→ noisy intermediate scale quantum<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>NISQ</term><term>noisy intermediate scale quantum</term></span>
      <span xml:id="t20" from="#a11" to="#a12" type="concept_edges" ana="#concept_edges[1]" resp="#tagger" cert="0.95">RPQCs —same-as→ random parameterized quantum circuits<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>RPQCs</term><term>random parameterized quantum circuits</term></span>
      <span xml:id="t21" from="#a19" to="#a20" type="concept_edges" ana="#concept_edges[2]" resp="#tagger" cert="0.85">classical deep neural network —contrasted-with→ quantum circuit<note>the relation itself is separately evidenced · strength of the relation: 0.85 · the relation stated: while</note><term>classical deep neural network</term><term>quantum circuit</term></span>
      <span xml:id="t22" from="#a15" to="#a16" type="concept_edges" ana="#concept_edges[3]" resp="#tagger" cert="0.8">2-design —causes→ barren plateau<note>the relation itself is separately evidenced · strength of the relation: 0.8 · note: A mathematical consequence derived in the paper, holding with high probability. · the relation stated: as a result</note><term>2-design</term><term>barren plateau</term></span>
      <span xml:id="t23" from="#a13" to="#a14" type="concept_edges" ana="#concept_edges[4]" resp="#tagger" cert="0.75">number of qubits —causes→ variance of measurements<note>direction on the measure: reduces · the relation itself is separately evidenced · strength of the relation: 0.75 · note: A mathematical implication (Levy&#x27;s lemma), not an intervention. · the relation stated: decrease</note><term>number of qubits</term><term>variance of measurements</term></span>
      <span xml:id="t24" from="#a23" to="#a24" type="content_tags" ana="#content_tags.findings[0]" resp="#tagger" cert="0.85">A gradient-based random walk has exponentially small probability of leaving a barren plateau.</span>
      <span xml:id="t25" from="#a25" to="#a26" type="content_tags" ana="#content_tags.findings[1]" resp="#tagger" cert="0.75">Structured initial guesses are one way to avoid these landscapes.</span>
      <span xml:id="t26" from="#a17" to="#a18" type="content_tags" ana="#content_tags.quantities[0]" resp="#tagger" cert="0.8">layers needed to approach the 2-design regime with linear connectivity</span>
      <span xml:id="t27" from="#a13" to="#a14" type="content_tags" ana="#content_tags.variables[0]" resp="#tagger" cert="0.8">number of qubits<term>number of qubits</term></span>
    </spanGrp>
  </standOff>
  <text>
    <body>
        <p><anchor xml:id="a0"/> Barren plateaus in quantum neural network training landscapes</p>
        <p>Abstract</p>
        <p>Many experimental proposals for noisy intermediate scale quantum devices involve training a parameterized quantum circuit with a classical optimization loop. Such hybrid quantum-classical algorithms are popular for applications in quantum simulation, optimization, and machine learning. <anchor xml:id="a1"/>Due to its simplicity and hardware efficiency, random circuits are often proposed as initial guesses for exploring the space of quantum states.<anchor xml:id="a2"/> <anchor xml:id="a3"/>We show that the exponential dimension of Hilbert space and the gradient estimation complexity make this choice unsuitable for hybrid quantum-classical algorithms run on more than a few qubits.<anchor xml:id="a4"/> <anchor xml:id="a5"/>Specifically, we show that for a wide class of reasonable parameterized quantum circuits, the probability that the gradient along any reasonable direction is non-zero to some fixed precision is exponentially small as a function of the number of qubits.<anchor xml:id="a6"/> We argue that this is related to the 2-design characteristic of random circuits, and that solutions to this problem must be studied.</p>
        <p>Introduction</p>
        <p><anchor xml:id="a7"/>Rapid developments in quantum hardware have motivated advances in algorithms to run in the so-called noisy intermediate scale quantum (NISQ) regime<anchor xml:id="a8"/> 1 . Many of the most promising application-oriented approaches are hybrid quantum–classical algorithms that rely on optimization of a parameterized quantum circuit 2 – 8 . The resilience of these approaches to certain types of errors and high flexibility with respect to coherence time and gate requirements make them especially attractive for NISQ implementations 3 , 9 – 11 .</p>
        <p>The first implementation of such algorithms was developed in the context of quantum simulation with the variational quantum eigensolver 2 , 3 . This algorithm has been successfully demonstrated on a number of experimental setups with extensions to excited states and other forms of incoherent error mitigation 2 , 9 , 12 – 16 . Since then, the quantum approximate optimization algorithm was developed in a similar context to address hard optimization problems 5 , 17 – 19 . This algorithm has also been demonstrated on quantum devices 20 . These approaches have even been extended to both quantum machine learning and error correction 6 , 7 , 20 – 23 .</p>
        <p>While the precise formulation of these methods and their domains of applicability differ considerably, they typically tend to rely upon the optimization of some parameterized unitary circuit with respect to an objective function that is typically a simple sum of Pauli operators or fidelity with respect to some state. This framework is reminiscent of the methodology of classical neural networks 23 , 24 . As with any non-linear optimization, the choice of both the parameterization and the initial state is important. In quantum simulation, there is often a choice inspired by physical domain knowledge 3 , 17 , 25 – 29 . However, in all domains of applicability, there have been implementations that utilize parametrized random circuits of varying depth 7 , 13 , 21 , 23 , 30 . Within quantum simulation that approach has been referred to as a “hardware efficient ansatz” 13 . This is in contrast to the previous proposals, such as the variational quantum eigensolver 2 , 3 , 9 , which used parametrized structured circuits inspired by the problem at hand, such as unitary coupled cluster.</p>
        <p>When little structure is known about the problem, or constraints of the existing quantum hardware may prevent utilizing that structure, choosing a random implementable circuit seems to provide an unbiased choice. One might also expect, based on recent experimental designs for “quantum supremacy”, that random quantum circuits are a powerful tool for such a task 31 . Also, despite concerns about gradient-based methods in classical deep neural networks 32 – 34 , they are successful 24 , even if using random initialization 33 , 35 . However, in the quantum case one must remember that the estimation of even a single gradient component will scale as O (1/ ε α ) for some small power α 36 as opposed to classical implementations where the same is achieved in O (log(1/ ε )) time, where ε is the desired accuracy in the gradient that is inevitably tied to its magnitude.</p>
        <p>We will present results related to random quantum circuits in the context of the exponential dimension of Hilbert space and gradient-based hybrid quantum–classical algorithms. A cartoon depiction of this is given in Fig. 1 . We show that for a large class of random circuits, the average value of the gradient of the objective function is zero, and the probability that any given instance of such a random circuit deviates from this average value by a small constant ε is exponentially small in the number of qubits. This can be understood in the geometric context of concentration of measure 37 – 39 for high-dimensional spaces. When the measure of the space concentrates in this way, the value of any reasonably smooth function will tend towards its average with exponential probability, a fact made formal by Levy’s lemma 40 . In our context, this means that the gradient is zero over vast reaches of quantum space. The region where the gradient is zero does not correspond to local minima of interest, but rather an exponentially large plateau of states that have exponentially small deviations in the objective value from the average of the totally mixed state. We argue that the depth of circuits which achieve these undesirable properties are modest, requiring only O ( n 1/ d ) depth circuits on a d dimensional array, and numerically evaluate the constant factors one expects to encounter for small instances of this kind. <anchor xml:id="a9"/>While our results highlight the importance of avoiding random initialization in parametric circuit approaches, they do not discount the value of random quantum circuits in other applications such as information security or demonstrations of quantum supremacy.<anchor xml:id="a10"/> We close with an outlook on how this result should shape strategies in ansatz design for scaling to larger experiments. Fig. 1 Cartoon of concentration of quantum observables. The sphere depicts the phenomenon of concentration of measure in quantum space: the fraction of states that fall outside a fixed angular distance from zero along any coordinate decreases exponentially in the number of qubits 40 . This implies a flat plateau where observables concentrate on their average over Hilbert space and the gradient is exponentially small. The fact that only an exponentially small fraction of states fall outside of this band means that searches resembling random walks will have an exponentially small probability of exiting this “barren plateau”</p>
        <p>Results</p>
        <p>Gradient concentration in random circuits</p>
        <p><anchor xml:id="a11"/>We will discuss random parameterized quantum circuits (RPQCs)<anchor xml:id="a12"/> 1 U ( θ ) = U ( θ 1 , . . . , θ L ) = ∏ l = 1 L U l ( θ l ) W l , where U l ( θ l ) = exp(− iθ l V l ), V l is a Hermitian operator, and W l is a generic unitary operator that does not depend on any angle θ l . Circuits of this form are a natural choice due to a straightforward evaluation of the gradient with respect to most objective functions and have been introduced in a number of contexts already 26 , 41 . Consider an objective function E ( θ ) expressed as the expectation value over some Hermitian operator H , 2 E ( θ ) = ⟨ 0 ∣ U ( θ ) † H U ( θ ) ∣ 0 ⟩ .</p>
        <p>When the RPQCs are parameterized in this way, the gradient of the objective function takes a simple form: 3 ∂ k E ≡ ∂ E ( θ ) ∂ θ k = i 0 U - † V k , U + † H U + U - 0 , where we introduce the notations U - ≡ ∏ l = 0 k - 1 U l ( θ l ) W l , U + ≡ ∏ l = k L U l ( θ l ) W l , and henceforth drop the subscript k from V k → V for ease of exposition. Finally, we will define our RPQCs U ( θ ) to have the property that for any gradient direction ∂ k E defined above, the circuit implementing U ( θ ) is sufficiently random such that either U − , U + , or both match the Haar distribution up to the second moment, and the circuits U − and U + are independent.</p>
        <p>Our results make use of properties of the Haar measure on the unitary group dμ Haar ( U ) ≡ dμ ( U ), which is the unique left- and right-invariant measure such that 4 ∫ U ( N ) d μ ( U ) f ( U ) = ∫ d μ ( U ) f ( V U ) = ∫ d μ ( U ) f ( U V ) , for any f ( U ) and V ∈ U ( N ), where the integration domain will be implied to be U ( N ) when not explicitly listed. While this property is valuable for proofs, quantum circuits that exactly achieve this invariance generically require exponential resources. This motivates the concept of unitary t -designs 42 – 44 , which satisfy the above properties for restricted classes of f ( U ), often requiring only modest polynomial resources. Suppose { p i , V i } is an ensemble of unitary operators, with unitary V i being sampled with probability p i . The ensemble { p i , V i } is a t -design if 5 ∑ i p i V i ⊗ t ρ ( V i † ) ⊗ t = ∫ d μ ( U ) U ⊗ t ρ ( U † ) ⊗ t .</p>
        <p>This definition is equivalent to the property that if f ( U ) is a polynomial of at most degree t in the matrix elements of U and at most degree t in the matrix elements of U * , then averaging over the t -design { p i , V i } will yield the same result as averaging over the unitary group with the respect to the Haar measure.</p>
        <p>The average value of the gradient is a concept that requires additional specification because, for a given point, the gradient can only be defined in terms of the circuit that led to that point. We will use a practical definition that leads to the value we are interested in, namely 6 ⟨ ∂ k E ⟩ = ∫ d U p ( U ) ∂ k ⟨ 0 ∣ U ( θ ) † H U ( θ ) ∣ 0 ⟩ , where p ( U ) is the probability distribution function of U . A review on the properties of products of independent random matrices can be found in ref. 45 . The assumptions of independence and at least one of U − or U + forming a 1-design in our RPQCs implies that 〈∂ k E 〉 = 0, as shown in the Methods.</p>
        <p>Levy’s lemma informs our intuition about the the expected variance of this quantity through simple geometric arguments. In particular, Haar random unitaries on n qubits will output states uniformly in the D = 2 n − 1 dimensional hypersphere. The derivative with respect to the parameters θ is Lipschitz continuous with some parameter η that depends on the operator H . <anchor xml:id="a13"/>Levy’s lemma then implies that the variance of measurements will decrease exponentially in the number of qubits.<anchor xml:id="a14"/> This intuition may be made more precise through explicit calculation of the variance, which is done in more detail in the Methods. The result to first order is 7 Var ∂ k E ≈ - Tr ρ 2 2 2 n - 1 Tr V , u † H u 2 U + - Tr H 2 2 2 n - 1 Tr V , u ρ u † 2 U - 1 2 3 n - 1 Tr H 2 Tr ρ 2 Tr V 2 where the notation ⟨ f ( u ) ⟩ U x indicates the average with u drawn from p ( U x ), and the first case corresponds to U − being a 2-design and not U + , the second to U + being a 2-design but not U − , and the third to both U + and U − being 2-designs. We emphasize the fact that this variance depends at most on polynomials of degree 2 in U and polynomials of degree 2 in U * . Whereas a unitary 2-design will exhibit the correct variance 43 , 46 , a unitary 1-design will exhibit the correct average value, but not necessarily the variance. <anchor xml:id="a15"/>As a result, if a circuit is of sufficient depth that for any ∂ k E , either U − or U + forms a 2-design, then with high probability one will produce an ansatz state on a barren plateau of the quantum landscape, with no interesting search directions in sight.<anchor xml:id="a16"/></p>
        <p>From these results, it is clear that only either U + or U − needs to be sufficiently random to poison the gradient for the remainder of the circuit. For example, while it is somewhat unintuitive, even the first element of a circuit, k = 1, will have a vanishing gradient due to the circuit following it, U + . Additionally, we see that there is no detailed dependence on the structure of V k , other than the rate at which they help randomize the circuit, determining at what depth one expects to find an approximate 2-design.</p>
        <p>Numerical simulations</p>
        <p>The previous section shows that for reasonable classes of RPQCs at a sufficient number of qubits and depth, one will end up on a barren plateau. Here we verify this result for even modest depth one-dimensional (1D) random circuits with numerical simulations. This helps to clarify the rate of concentration for realistic circuits and shows the transition as the circuit grows in length from a single layer to a circuit demonstrating statistics analogous to a 2-design.</p>
        <p>The circuits and objective functions used in our numerical experiments begin with a layer of R Y ( π /4) = exp(− iπ /8 Y ) gates to prevent X , Y , or Z from being an especially preferential direction with respect to gradients. Then, the circuit proceeds by a number of layers. Each layer consists of a parallel application of single qubit rotations to all qubits, given by R P ( θ ) where P ∈{ X , Y , Z } is chosen with uniform probability and θ ∈[0, 2 π ) is also chosen uniformly. This layer is followed by a layer of 1D nearest neighbor controlled phase gates, as in Fig. 2 . Thus, the number of angles is the number of qubits times the number of layers. Fig. 2 Structure of quantum circuits. a The generic subunit of circuits we study in this work, with a parameterized component U l ( θ l ) and non-parameterized unit W l for each layer l . b Example schematic of the 1D random circuits used in our numerical experiments. The circuit begins with R Y π 4 gates applied to all qubits followed by a specified number of layers of randomly chosen Pauli rotations applied to each qubit and then a 1D ladder of controlled Z gates. The initial R Y π 4 gates are not repeated in each layer. The indices i and j in θ i , j index the layer and qubit, respectively. For each layer and qub it P i , j ∈{ X , Y , Z } and θ i , j ∈[0,2 π ) are sampled independently</p>
        <p>The objective operator H is chosen to be a single Pauli ZZ operator acting on the first and second qubits, H = Z 1 Z 2 . The gradient is evaluated with respect to the first parameter, θ 1,1 . This simple choice helps to extract the exponential scaling. As complex objectives can be written as sums of these operators, the results for large objectives can be inferred from these numbers. Moreover, it is clear that for any polynomial sum of these operators, the exponential decay of the signal in the gradient will not be circumvented.</p>
        <p>From Fig. 3 we see that for a single 2-local Pauli term, both the expected value of the gradient and its spread decay exponentially as a function of the number of qubits even when the number of layers is a modest linear function. <anchor xml:id="a17"/>Empirically for our linear connectivity, we see that value is about 10 n where n is the number of qubits<anchor xml:id="a18"/>, following the expected scaling of O ( n 1/ d ) where d is the dimension of the connectivity. For empirical reference, the expected gate depth in a chemistry ansatz such as unitary coupled cluster is at least O ( n 3 ), meaning that if the initial parameters were randomized, this effect could be expected on less than 10 orbitals, a truly small problem in chemical terms. We also observe in Fig. 4 that as the number of layers increases, there is a transition to a 2-design where the variance converges. This leads to a distinct plateau as the circuit length increases, where the height of the plateau is determined by the number of qubits. An additional example with an objective function defined by projection on a target state is provided as Supplementary Figures 1 and 2 , showing the rapid decay of variance and similar plateaus as a function of circuit length. These results substantiate our conclusion that gradients in modest-sized random circuits tend to vanish without additional mitigating steps. Fig. 3 Exponential decay of variance. The sample variance of the gradient of the energy for the first circuit component of a two-local Pauli term ∂ θ 1 , 1 E plotted as a function of the number of qubits on a semi-log plot. As predicted, an exponential decay is observed as a function of the number of qubits, n , for both the expected value and its spread. The slope of the fit line is indicative of the rate of exponential decay as determined by the operator Fig. 4 Convergence to 2-design limit. Here we show the sample variance of the gradient of the energy for the first circuit component of a two-local Pauli term ∂ θ 1 , 1 E plotted as a function of the number of layers, L , in a 1D quantum circuit. The different lines correspond to all even numbers of qubits between 2 and 24, with 2 qubits being the top line, and the rest being ordered by qubit number. The dotted black lines depict the 2-design asymptotes for this Hamiltonian as determined by our analytic results. This shows the convergence of the second moment as a function of the number of layers to a fixed value determined by the number of qubits</p>
        <p>Contrast with gradients in classical deep networks</p>
        <p>Finally, we contrast our results with the vanishing (and exploding) gradient problem of classical deep neural networks 32 – 34 , 47 . At least two key differences are present in the quantum case: (i) the different scaling of the vanishing gradient and (ii) the complexity of computing expected values.</p>
        <p><anchor xml:id="a19"/>The gradient in a classical deep neural network can vanish exponentially in the number of layers 32 , 33 , while in a quantum circuit the gradient may vanish exponentially in the number of qubits, as shown above.<anchor xml:id="a20"/> In the classical case, the gradient for a weight in a neuron depends on the sum of all the paths connecting that neuron to the output, and when the weights are initialized with random values the paths have random signs which cancels the signal 32 . The number of paths is exponential in the number of layers. In the quantum case, the number of paths is exponential in the number of gates, and also have random signs 31 . <anchor xml:id="a21"/>The gradient saturates to an exponential in the number of qubits because the output state is normalized.<anchor xml:id="a22"/></p>
        <p>The estimation of the gradient for each training batch for a classical neural network is limited by machine precision and scales with O (log(1/ ε )). Even if the gradient is small, as long as it is consistent enough between batches, the method may eventually succeed. On a quantum device, the cost of estimating the gradient scales as O (1/ ε α ) 36 . For any number of measurements much lower than 1/|| g || α , where || g || is the norm of the gradient, a gradient-based optimization will result in a random walk. <anchor xml:id="a23"/>By concentration of measure, a random walk will have exponentially small probability of exiting the barren plateau.<anchor xml:id="a24"/> As a result, gradient descent without some additional strategy cannot circumvent this challenge on a quantum device in polynomial time.</p>
        <p>Discussion</p>
        <p>We have seen both analytically and numerically that for a wide class of random quantum circuits, the expected values of observables concentrate to their averages over Hilbert space and gradients concentrate to zero. This represents an interesting statement about the geometry of quantum circuits and landscapes related to hybrid quantum–classical algorithms. More practically, it means that randomly initialized circuits of sufficient depth will find relatively little utility in hybrid quantum–classical algorithms.</p>
        <p>Historically, vanishing gradients may have played a role in the early winter of deep neural networks 32 , 34 , 47 . However, multiple techniques have been proposed to mitigate this problem 24 , 35 , 48 , 49 , and the amount of training data and computational power available has grown substantially. <anchor xml:id="a25"/>One approach to avoid these landscapes in the quantum setting is to use structured initial guesses, such as those adopted in quantum simulation.<anchor xml:id="a26"/> Another possibility is to use pre-training segment by segment, which was an early success in the classical setting 48 , 50 . These or other alternatives must be studied if these ansatze are to be successful beyond a few qubits.</p>
        <p>Methods</p>
        <p>We explicitly show the expectation value of the gradient is 0 and that under our assumptions the variance decays exponentially in the number of qubits. By our definition of RPQCs, we have that for any specified direction ∂ k E , both U − and U + are independently distributed and either U − or U + match the Haar distribution up to at least the second moment (they are a 2-design). The assumption of independence is equivalent to 8 p ( U ) = ∫ d U + p ( U + ) ∫ d U - p ( U - ) × δ ( U + U - - U ) , which allows us to rewrite the expression as 9 ⟨ ∂ k E ⟩ = i ∫ d U - p ( U - ) Tr ρ - × ∫ d U + p ( U + ) V , U + † H U + .</p>
        <p>We will utilize explicit integration over the unitary group with respect to the Haar measure, which up to the first moment can be expressed as 51 10 ∫ d μ ( U ) U i j U k m † = ∫ d μ ( U ) U i j U m k * = δ i m δ j k N , where N is the dimension of the space, typically 2 n for n qubits. Using this expression, one may readily verify that 11 M = ∫ d μ ( U ) U O U † = Tr O N I , which we use in the following. Now, making use of the assumption that either U + or U − matches the Haar measure up to the first moment (it is a 1-design), we first examine the case where U − is at least a 1-design and find that 12 ⟨ ∂ k E ⟩ = i ∫ d μ U - Tr ρ - × V , ∫ d U + p ( U + ) U + † H U + = i N Tr V , ∫ d U + p ( U + ) U + † H U + = 0 , where we have defined ρ - = U - ∣ 0 ⟩ ⟨ 0 ∣ U - † and used the fact that the trace of a commutator of trace class operators is zero. In the second case, where we assume U + is at least a 1-design, 13 ⟨ ∂ k E ⟩ = i ∫ d U - p ( U - ) Tr ρ - ∫ d μ U + V , U + † H U + = i Tr H N ∫ d U - p ( U - ) Tr ρ - V , I = 0 . An advantage of the explicit polynomial formulas are that they allow an analytic calculation of the variance as well, which allows precise specification of the coefficient in Levy’s lemma. In cases where the integrals depend on up to two powers of elements of U and U * , one may make use of the elementwise formula 51 14 ∫ d μ ( U ) U i 1 j 1 U i 2 j 2 U i 1 ′ j 1 ′ * U i 2 ′ j 2 ′ * = δ i 1 i 1 ′ δ i 2 i 2 ′ δ j 1 j 1 ′ δ j 2 j 2 ′ + δ i 1 i 2 ′ δ i 2 i 1 ′ δ j 1 j 2 ′ δ j 2 j 1 ′ N 2 - 1 - δ i 1 i 1 ′ δ i 2 i 2 ′ δ j 1 j 2 ′ δ j 2 j 1 ′ + δ i 1 i 2 ′ δ i 2 i 1 ′ δ j 1 j 1 ′ δ j 2 j 2 ′ N ( N 2 - 1 ) .</p>
        <p>The variance of the gradient is defined by 15 Var [ ∂ k E ] = ⟨ ( ∂ k E ) 2 ⟩ , as we have seen above that 〈∂ k E 〉 = 0. Through use of the above formula for integration up to the second moment of the Haar distribution, one may evaluate this expression in 3 separate cases. For simplicity and relevance, we evaluate them in the asymptotic case including only the dominant contribution as determined by the inverse dimension.</p>
        <p>In the case where U − is a 2-design but not U + , 16 Var [ ∂ k E ] ≈ 2 Tr ( ρ 2 ) N 2 - 1 Tr H u 2 V 2 - ( H u V ) 2 U + = - Tr ( ρ 2 ) 2 2 n - 1 Tr V , H u 2 U + , where H u = u † H u and we have defined the notation ⟨ f ( u ) ⟩ U x to mean the average over u sampled from p ( U x ). In the case where U + is a 2-design but not U − , 17 Var [ ∂ k E ] ≈ 2 Tr ( H 2 ) N 2 - 1 Tr ρ u 2 V 2 - ( ρ u V ) 2 U - = - Tr ( H 2 ) 2 2 n - 1 Tr V , ρ u 2 U - , where ρ u = u ρ u † . Finally in the case where both U + and U − are 2-designs 18 Var [ ∂ k E ] ≈ 1 2 ( 3 n - 1 ) Tr H 2 Tr ρ 2 Tr V 2 .</p>
        <p>In all cases, the exponential decay of the gradient as a function of the number of qubits is evident.</p>
        <p>Electronic supplementary material</p>
        <p>Supplementary Information Peer Review File<anchor xml:id="a27"/></p>
    </body>
  </text>
</TEI>
