WorksPhysics and Astronomy
Unflattening by Flattening – How Input Distributions Shape Output Variance in Angle-Encoded Circuits
Abstract
Barren plateaus hinder training of parameterized quantum circuits by making loss gradients exponentially small in the number of qubits. For angle-encoded product states, we show how the input distribution affects output variation through algebraic input purity, i.e. the input's overlap with the circuit's dynamical Lie algebra. With the specified readouts and Haar or exact group 2-design sampling, matchgate circuits on qubits retain output variance of order for every pure product input. The off-diagonal family instead has zero output on computational-basis inputs at any depth and for every parameter choice. Independent uniform angles yield mean variance of the same order as matchgates. A count of diagonal Pauli strings identifies these zero-output endpoints. For any fixed dataset of nonzero inputs with at least coordinates, we construct a classical preprocessing certificate. A shared random rotation is accepted only when the dataset's mean purity passes a computable threshold. This certifies mean output variance of order for the off-diagonal family before circuit execution, with a constant expected number of trials. Binary and ternary weighted encodings also recover the independent-angle mean purity from one uniform scalar input. Numerical experiments examine training behavior and extensions to larger algebras. The guarantee concerns output variance averaged over inputs, while successful learning also depends on the task and information preserved by the encoding.
Introduction
Barren plateaus (BPs) are a central obstacle to training parameterized quantum circuits (PQCs) at scale in quantum machine learning (QML). Several ways of diagnosing them begin with a basic question: how much does the model output change when the circuit parameters vary? For an -qubit input state evolved by , denote the measured output by . Its variance over a chosen parameter ensemble measures the spread of outputs for this fixed input. If for some , the output landscape concentrates exponentially under the chosen parameter ensemble. Connecting this concentration to exponentially small gradients requires further assumptions [16, 7, 1, 21]. Throughout this work, we therefore distinguish sample-wise output variance from supervised training loss and its gradients.
In the noiseless setting, the circuit’s dynamical Lie algebra (DLA) is the Lie closure of its gate generators [14, 21]. Concretely, one starts with the operators generating the available gates and includes their commutators until no new independent operators appear. This linear space describes the infinitesimal transformations accessible through those gates. When the readout lies in this algebra, , conjugating it by the circuit mixes operators within the same space. This is the setting of a Lie algebra supported ansatz (LASA) [8].
The input’s -purity measures its overlap with that operator space [2, 24, 21] which is the sum of squared expectations of the algebra’s basis operators. It therefore differs from ordinary state purity , which equals one for every pure state. All inputs in our baseline analysis are pure product states, yet their -purity can vary because their overlap with the circuit’s operators changes with the encoding angles. If that overlap vanishes, every in-algebra readout has zero expectation throughout the circuit’s evolution.
The variance formula combines these input and readout overlaps with the algebra dimension. As a subalgebra of , the DLA is reductive and decomposes into commuting components , where the are simple Lie algebras for and is the abelian center [21]. Each simple component is an operator sector that the circuit mixes internally, while operators in the center remain unchanged. Haar sampling draws uniformly from the transformations in the dynamical Lie group . An exact group 2-design likewise reproduces the moments needed to compute output mean and variance. For Haar sampling on the dynamical Lie group , or an exact group 2-design, the Lie-algebraic (LA) theory gives the output variance w.r.t. the parameters (Theorem 1 of [21], cf. [8]):
Each term pairs the input and readout projections within one simple component and divides by its dimension. Thus, a component can contribute to output variation only if both projections are nonzero. By contrast, the abelian center contributes only to the output mean [21]. The Hilbert-Schmidt (HS) -purity measures the squared projection of a Hermitian operator onto . Here is any HS-orthonormal basis of , satisfying (Eq. (7) of [21], cf. [2, 24]).
For the families studied here, bare Pauli strings form an orthogonal basis of with . This follows from their Pauli-string generators, whose nested commutators remain proportional to Pauli strings. We use the corresponding Pauli-basis purity in the closed forms below. For algebras without such a basis, Eq. (1) remains valid in its HS form, but the string-counting formulas do not apply. For a Pauli-string observable , these normalization factors cancel, since . Thus, for a simple DLA, Eq. (1) reduces to (cf. Ragone et al. [21] and Sec. B). Because is evaluated before the circuit acts, it is independent of . The circuit rotates the input’s projection within each component while preserving its size, so varying the trainable parameters cannot create a missing projection [21].
For an approximate design, the variance formula has an error determined by the difference from Haar second moments [21]. Available rapid-mixing results also depend on how generators are sampled, so they do not by themselves supply a mixing depth for every brickwork circuit considered here [8].
Eq. (1) shows why polynomial DLA dimension alone does not rule out a BP. The variance can still be exponentially small when the encoded input has exponentially small -purity, consistent with earlier conditions for avoiding BPs [28, 21, 6]. We make this input dependence explicit for angle-encoded product states and turn it into a testable preprocessing guarantee. Our formulas distinguish a family whose output-variance scaling is protected for every pure product input from a family whose output vanishes at computational-basis inputs. For the latter, a shared random rotation followed by polar-angle extraction can certify an inverse-polynomial empirical mean output variance under the specified circuit ensemble. Previous studies have examined related data-dependent effects from different perspectives. Thanasilp et al. [28] trace dataset-induced plateaus to the entanglement and mixedness of the encoded states. In Ref. [3], Barthe and Pérez-Salinas bound the gap between the data-averaged gradient variance and its data-free counterpart. Kulshrestha et al. [13] study how the parameter-initialization distribution affects BPs. Ohno [19] instead select circuit generators using the observable, with a purity interpretation under restricted settings. In “Fourier fingerprints of ansatzes in quantum machine learning” [26], correlations between Fourier coefficients are used to assess
data re-uploading models before training and predict relative ansatz performance on the tasks studied. Our purity certificate provides a complementary diagnostic of output variation for a fixed circuit, readout, and dataset.
In this work we keep the circuit and readout fixed and ask how the induced angle distribution changes input purity. Specifically, we (i) derive the matchgate purity band for every pure product input; (ii) identify clustered inputs with zero in-algebra output by counting diagonal Pauli basis strings; (iii) derive the off-diagonal purity formula and its uniform-prior mean, then construct a shared-rotation acceptance test for any fixed dataset satisfying the preprocessing assumptions; (iv) establish an exact mean-purity identity for dissociated scalar encodings and examine data re-uploading numerically; and (v) test how clustering affects purity in families with exponential algebras. To interpret this certificate, we compute output variance over circuit parameters for each input, then average these variances over the dataset. We call this the mean sample-wise output variance. It characterizes the output variation available on the encoded inputs, while the supervised loss also depends on their labels and on how their outputs vary together. For the off-diagonal family, spreading the angles uniformly can raise this mean variance, giving a precise sense in which flattening the angle distribution can unflatten the output landscape. Figure 1 sketches the setup and the purity responses that motivate the analysis. We specify the preprocessing, encoding, and circuit families in § 2, then develop the closed forms and their numerical checks in § 3. Finally, we discuss the main limitations and practical interpretation in Sec. IV.

Figure 1. Left: A shared random rotation and polar-angle extraction produce encoding angles. A classical acceptance test checks their empirical mean off-diagonal purity before the quantum circuit is run. Right: Schematic purity responses to the angle spread, without a numerical scale. The matchgate family (solid) stays in a narrow band while the floor-free examples (dashed and dash-dotted) approach zero at computational-basis inputs. Their output variances additionally depend on the simple-component dimensions and observable projections in Eq. (1).
Background
a) Preconditioning: Our preprocessing acts on classical data before encoding, aiming to increase the encoded states’ mean algebraic purity. Rotating the data changes their orientation relative to the coordinate planes from which the encoding angles are extracted. We first consider a nonzero input , where , and apply a Haar-random rotation that is subsequently held fixed across the dataset. The -th encoding angle is the polar angle of the -th disjoint coordinate plane, . This rotation is motivated by classical input preprocessing [15], although an orthogonal transformation alone does not whiten the data. For each fixed nonzero input, averaging over makes these angles independent and uniform on (Sec. C). This per-input statement uses disjoint planes and need not hold if coordinates are reused. If necessary, padding a nonzero input before drawing in the enlarged space retains the per-input uniform law.
For a dataset, the same rotation acts on every input. One shared rotation need not produce independent uniform angles across observed inputs, so we test the resulting empirical mean purity in Sec. C. To do so, we draw a candidate rotation, evaluate this mean from the off-diagonal closed form, and retain the rotation only if it passes the threshold. Once accepted, this rotation is held fixed, so the encoding remains a deterministic function of the input. In addition, extracting polar angles discards the radii of the coordinate pairs and, when , any unused coordinates. Thus, although is invertible, the complete map need not preserve information required by the learning task.
b) Circuits: Our two baseline circuits have polynomial-dimensional DLAs, and one layer of each ansatz is shown in Figure 8. The matchgate ansatz (MGA) on an open chain is generated by and has with dimension . It is classically simulable [11]. Replacing the single-site generators with nearest-neighbor gives the off-diagonal ansatz, generated by , whose algebra is with dimension [29]. To examine larger algebras, we also add the generators or place the pair on the edges of a connected graph with a vertex of degree greater than two. These graph gate sets support encoded universal computation and have exponential DLAs [5, 12]. Their dimension removes the efficiency guarantee of simulation methods that track the full algebra [10], but it does not establish hardness for the particular product inputs and readouts used here. For the doped chain, the formula is verified numerically through and conjectured beyond that range. A hardness reduction for this gate set remains open.

Figure 8. One layer of the two baseline ansatzes, drawn for with an independent trainable angle for every gate. (a) The MGA applies on every qubit and nearest-neighbor gates. (b) The off-diagonal ansatz replaces the single-qubit rotations by nearest-neighbor gates, generating the floor-free algebra . The training circuit of Figure 5 uses 11 such trainable blocks alternating with 10 encoding blocks, beginning and ending with a trainable block.
c) Encoding and Measurement: All families use the product encoding , where . We use the rotation convention for a Pauli string . We analyze a quantum Fourier model (QFM) [22] with one encoding block before turning to data re-uploading in the numerical experiments. Unless a comparison caption specifies otherwise, the matchgate baseline uses , while the off-diagonal training run and variance comparisons use . The doped-chain validation also uses . These observables lie in their respective algebras, allowing us to evaluate their projections in Eq. (1). By comparison, single-site lies outside the floor-free algebra, so that formula does not describe its variance there.
Tab. I collects the recurring symbols.
| Symbol | Meaning |
| DLA, with simple ideals () and abelian center | |
| Dimension of the DLA | |
| Pauli-basis -purity, | |
| Number of Pauli basis strings of diagonal in the eigenbasis of the clustering observable | |
| Its instances under the encoding, for angles clustered at () and at () | |
| Off-diagonal and doped-chain algebra | |
| Encoding angles and trainable parameters | |
| Measurement observable, in-algebra with | |
| Numbers of qubits, classical coordinates, and dataset samples | |
| Shared rotation and uniform-prior mean of | |
| Angular jitter standard deviation and scalar-encoding weight vector | |
| QFM frequency spectrum of size | |
| Asymptotic bounds in |
Table 1. Recurring notation
Results
We first derive purity expressions for the matchgate and off-diagonal families, then examine what changes when the encoding or circuit algebra is enlarged. Unless stated otherwise, purity curves evaluate the closed forms below, and prior means use angle draws. The uniform prior draws angles independently from . The clustered prior uses independent angles , with independent and . Thus, measures the standard deviation of the angular jitter in radians. The re-uploading depth sweep instead clusters all angles around zero, as specified in Figure 12. We check selected formulas by summing over the full Pauli-string basis and compare variance predictions with deep random circuits in statevector simulation. For these numerical experiments, we use QML-HEssentials [25, 9]. The code to reproduce results and figures of this work is available online.1
Figure 12. Re-uploading depth at , with independent uniform parameter draws from per input. Curves show means and bands the 10–90% range over 10 angle configurations. Here the clustered prior uses independent . The off-diagonal readout is (solid), and the matchgate control uses (dashed). At , the off-diagonal output vanishes at every depth (Eq. (6)).
a) Floored Regime: The matchgate family provides a baseline in which input purity varies little with encoding angles. For any pure product state and , this purity has the closed form
For the loading, . For a product state, each Pauli-string expectation factorizes across sites. The matchgate basis consists of the single-site and the two-endpoint strings , with [21 Supplementary Eq. (97)]. Summing their squared expectations telescopically yields Eq. (2). Because the product term is the squared global-parity expectation, the purity lies in for every angle configuration and has uniform-prior mean near the lower end of this band. Brute-force evaluations through agree with the closed form to machine precision, and Figure 2 shows the corresponding uniform-prior mean.
Figure 2. Under the uniform prior, the empirical mean of matches and stays within , for sizes up to qubits.
For the readout and , Eq. (1) therefore gives for every pure product input. This guarantee holds separately for each input, without averaging over an angle distribution. Within this circuit ensemble, changing that distribution cannot alter the asymptotic scaling. Preconditioning is therefore unnecessary for protecting this scaling in the matchgate baseline. Throughout, , and denote asymptotic upper, lower and two-sided bounds in .
b) Floor Criterion: The narrow matchgate band suggests asking what can be learned from the algebra when encoded inputs cluster. At a computational-basis input, a Pauli string containing an or factor has zero expectation, while a string made only of and has expectation . Counting the surviving strings therefore reveals which part of the input purity remains at this endpoint. Suppose each encoding factor approaches an eigenstate of a single-qubit Pauli observable , and let count the Pauli basis strings of that are diagonal in the -eigenbasis. This count depends on both the clustering basis and the algebra. For loading, clustering at gives , whereas clustering at gives . Indeed, the off-diagonal algebra has but .
At a product input of -eigenstates, the purity equals this count exactly, , regardless of which eigenstates are chosen. For any Pauli basis string , its expectation factorizes as . Each factor belonging to has magnitude one, while a factor anticommuting with has zero expectation. Consequently, only the strings built from and survive after squaring and summing their expectations. We call the resulting clustered value the floor of the encoding-algebra pair. The term refers to the clustered endpoint, rather than a lower bound for every input. For matchgates, the uniform-prior mean lies below . For matchgates, the full band in Eq. (2) shows why purity varies little with the input distribution.
We call an encoding-algebra pair floor-free when . Its in-algebra output is zero at the exact clustered endpoint for every parameter realization, regardless of depth or (Eq. (6)). At nonzero clustering width, the degree of suppression instead depends on both the width and system size. For encoding, at the computational-basis endpoint, while the single-site strings give the matchgate family .
This count alone does not determine output variance. In our Pauli-basis convention, each surviving string contributes one, whereas its contribution in the HS normalization is . Moreover, Eq. (1) weights the input projection onto each simple ideal by the corresponding observable projection. A simple ideal need not itself have a Pauli-string basis, even when the full algebra does, so its contribution cannot generally be replaced by an integer string count. Diagonal strings in the abelian center also enter without contributing to variance. For example, adjoining the central string to gives but leaves the output parameter-independent on computational-basis inputs. If the readout has a central component, that constant can be nonzero.
Figure 3 contrasts the matchgate purity band with the collapse of the off-diagonal purity as angles approach the computational basis.
Figure 3. Purity and output-variance response to angle clustering at under the encoding. As the angle spread shrinks toward the computational basis, the mean matchgate purity stays in , whereas the mean off-diagonal purity approaches zero. The right axis (dashed) traces the mean sample-wise output variance for the in-algebra observable under the ensemble of Eq. (1). Accordingly, the matchgate variance changes little, while the off-diagonal variance approaches zero with its purity.
c) Floor-Free Polynomial Regime: By contrast, the off-diagonal ansatz has polynomial dimension but no -diagonal string, so it satisfies under encoding. Its Pauli basis contains and endpoints at odd separation and and endpoints at even separation, joined by interior factors [29]. Since for the product encoding, only the strings contribute, giving
Every term contains , so the purity approaches zero as all angles cluster near . At the other clustering point, for every site, the inputs become -eigenstates and attain the global maximum (cf. Sec. B). This endpoint agrees with : only the adjacent basis strings are diagonal in the basis, since longer strings contain interior factors. Between these endpoints, the i.i.d. uniform prior gives
We denote this mean by , with . Thus, uniform angles give mean purity of order , within a constant factor of the maximum. This mean does not guarantee large purity for each input or with high probability. For or , the readout places one basis string in each of the two equal-dimensional simple ideals of . Eq. (1) then gives (cf. Sec. B), so the uniform prior yields . At , the same aggregate formula holds, with the four simple ideals accounted for in Sec. B. Thus, the same circuit and readout have exactly zero output at computational-basis inputs and inverse-polynomial mean output variance under uniform angles.
For a fixed dataset, the uniform-prior calculation also supplies a concrete preprocessing target. Under the conditions of § 2, the acceptance test in Sec. C retains a shared rotation when the empirical mean purity reaches at least half of the uniform-prior mean. Every accepted rotation certifies empirical mean sample-wise output variance for the specified readout and circuit ensemble. Moreover, rejection sampling needs only a constant expected number of candidate rotations, with the bound approaching five as grows. This guarantee applies to any fixed dataset satisfying the assumptions, without requiring independent or uniformly distributed examples.
Uniform angles are sufficient for the stated mean scaling but need not be optimal for a learning task. For example, mapping every input to the purity-maximizing configuration would erase distinctions among examples, while polar-angle extraction can also discard task-relevant information. Figure 4 compares the closed form with brute-force checks for and shows the two prior means. With fixed jitter , the uniform-to-clustered mean purity ratio decreases from about at to at . Although suppression is substantial over this range, these values do not establish exponential decay with . At , a statevector check also agrees with the plotted variance, including its factor of two, within sampling error.

Figure 4. Mean purity and sample-wise output variance for the off-diagonal algebra , which has . On the left axis, the closed form Eq. (3) agrees with brute-force values (markers) and gives linear growth under the uniform prior, whereas clustering near suppresses the mean by about five orders of magnitude. The dashed curves on the right axis show the corresponding mean variance for . At the algebra is abelian, so its zero output variance is omitted from the logarithmic axis.
d) Data Re-Uploading: To see whether this contrast appears during training, we compare optimization with Adam under two input priors in the data re-uploading model of Figure 5. The circuit uses the readout and begins with a trainable block. It contains 10 encoding blocks alternating with 11 off-diagonal trainable blocks. We draw one fixed dataset of 256 inputs from each prior and label both with the same Fourier-series target function. This target uses frequencies in with at most two nonzero entries and is standardized using independent uniform reference inputs. For each of 8 seeds, the two runs start from the same parameters, sampled independently from , and minimize
Figure 5. Training the off-diagonal re-uploading model under uniform and clustered () angle priors. Each run’s relative loss is . Solid lines show its mean across 8 paired initializations, with bands of standard deviation. Dashed lines show gradient dispersion across parameter coordinates, , at each training step. Their central curves and bands are computed as and across seeds, where is the dispersion. This dispersion is calculated across coordinates rather than across random parameter initializations at a fixed circuit ensemble.
at learning rate 0.05 for 800 epochs. Here denotes the complete re-uploading circuit’s output on sample . Because the labeled datasets differ and neither is obtained by rotating the other, this experiment compares input priors rather than preprocessing the same dataset.
The uniform-input runs finish at relative loss , compared with for the clustered-input runs. These correspond to decreases of about 41% and 7%, respectively, in this finite experiment. However, the plotted gradient dispersion changes order during training and does not establish BP scaling.
The purity formulas do not directly describe this training circuit. Eq. (2) and Eq. (3) apply to an encoded product state before a trainable block, whereas this circuit starts with a trainable block. Its product-state purity is therefore a reference diagnostic, not the actual purity at the first trainable block. Later encoding layers act on states that generally depend on and may be entangled. Because the generators lie outside , Eq. (1) does not directly describe the full multi-block circuit. The exact computational-basis case remains covered by Eq. (6), while the behavior at nonzero width and under uniform angles is supported by finite-depth observations such as Figure 12.
e) Weighted Scalar Encodings: When all angles come from one scalar input, the encoding itself can also shape their distribution. For with integer weights , a single encoding block has the allowed QFM frequency set [22]. However, individual coefficients may vanish, and repeated encoding blocks generally enlarge this set of allowed frequencies.
Equal (Hamming) weights give , whereas binary weights and ternary weights give and , respectively [20, 23]. Because all angles share one scalar input, becomes a trigonometric polynomial with frequencies in , producing the oscillatory landscapes illustrated in Figure 11.
Figure 11. Input-purity landscapes for the encoding at . Equal, binary, and ternary weights have allowed frequency-set sizes , , and , respectively, and the dotted line marks the i.i.d. uniform mean. Binary and ternary weights produce rapid oscillations whose uniform-scalar means equal the i.i.d. mean (Eq. (5)). The binary curve has exact zeros at . These sizes count allowed model frequencies in . The plotted purities have frequencies in , with some coefficients equal to zero.
To characterize their mean purity, we call the weights dissociated when for every nonzero [27]. Binary and ternary weights satisfy this condition. For the product encoding, squared Pauli expectations are products of and , whose Fourier expansions contain frequencies [22]. Dissociation rules out a zero frequency for every nonconstant term, so averaging over uniform retains the same constant term as averaging over independent uniform angles [27]:
for dissociated and . Thus, one uniformly distributed scalar can reproduce the mean input purity obtained from independent uniform angles. We refer to this equality of means as spectral preconditioning. It does not imply that the induced angles are independent or that purity concentrates near the mean, and it need not hold for equal weights or nonuniform scalar inputs.
This weight condition is related to, but weaker than, conditions used to obtain distinct Fourier frequencies in QFMs [20, 23]. Binary weights are superincreasing in the usual sense, , yet fail the stronger sufficient condition for uniqueness of signed-sum frequencies. For example, , so distinct sign patterns can share a frequency even though no nonzero signed subset sums to zero. Ternary weights, by contrast, satisfy the stronger condition. The mean-purity identity Eq. (5) complements the gradient-variance bounds of Barthe and Pérez-Salinas [3], which do not impose this weight condition. Large spectra can also have exponentially concentrated Fourier coefficients, so this mean-purity identity alone does not guarantee trainability [18].
Figure 6 compares these encodings through the mean off-diagonal purity under uniform and clustered scalar inputs. The clustered scalar prior is , with independent and .
Figure 6. Mean purity against under uniform (solid) and clustered (dashed, ) scalar inputs, estimated from draws of (, , encoding). Empirical means for dissociated binary and ternary weights agree with the i.i.d. mean under uniform and partially recover under clustered , whereas Hamming weights remain strongly suppressed. The dotted right-axis curves show the allowed frequency-set sizes : for equal weights, for binary weights, and for ternary weights.
Under uniform , the numerical means agree with Eq. (5) within sampling error. Under the clustered scalar prior, larger weights amplify the angular jitter at individual sites. In the measured range, this brings the binary-weight mean within a factor of two of its uniform value, while the equal-weight mean remains several orders of magnitude smaller. This recovery at finite jitter is observed only for the tested priors.
f) Extensions to Exponential Algebras: The polynomial-dimensional examples show how input alignment affects purity, but the same clustered endpoint can occur in larger algebras. The bipartite graph families and the -doped chain in Figure 9 have through the tested sizes and , respectively. For the graph families, the exponential algebra dimensions follow Ref. [12]. For the doped chain, is verified numerically over the tested range, where the dopant is a reusable gate generator rather than a single gate insertion. Adding an odd chord to the graph changes the result: the observed diagonal count becomes at even and at odd , for .

Figure 9. (a) Off-diagonal chain: path, . (b) + chord (2, 5): bipartite, . (c) + : doped chain, . (d) + chord (1, 3): odd cycle, . Interaction graphs of the families in Figure 7, drawn for with qubits and color-matched to that figure. The path and graph chords carry independently parameterized and gates, so the bare path (a) is the off-diagonal ansatz of Figure 8b. Adding the chord (2, 5) (b) keeps the graph bipartite, and the doped chain (c) adds the next-nearest-neighbor bonds. The colored dopant bonds in (c) instead carry gates. Both perturbations enlarge while keeping at the tested sizes. The chord (1, 3) (d) closes a triangle, an odd cycle that restores the floor .
When and , the consequence at a computational-basis input is especially direct. For every circuit generated by , regardless of depth or parameter values,
Eq. (6) holds for each circuit and requires no design assumption. At this endpoint, increasing the trainable depth cannot restore a parameter-dependent output. If the training objective is mean squared error, the resulting constant loss equals the mean squared target value and need not vanish. This per-circuit statement complements the ensemble variance formula [21, 8] and uses the same adjoint invariance relevant to Lie-algebraic simulation [10].
The endpoint criterion identifies inputs with exactly zero output. For other inputs, the ensemble variance measures how much the output changes across sampled circuits. For these other inputs, the attainable variance also depends on the algebra’s component dimensions. The bound gives variance through Eq. (1) when every observable-relevant simple ideal has dimension and the observable has bounded operator norm. These branched graph families have the required component scaling [12], whereas the corresponding structure of the doped chain remains a numerical inference. This condition concerns the relevant simple ideals, not merely the dimension of the full algebra. It also presumes Haar or exact 2-design sampling, or an approximation accurate enough to preserve the scaling. Structured initializations, however, need not satisfy this ensemble assumption. An exponential algebra alone does not determine the required design depth, since polynomial-depth design constructions are known [4]. We therefore leave the mixing depth of the gate schedules studied here unresolved.
Figure 7 compares the finite-size purity responses with the corresponding Haar-variance predictions. At computational-basis angles, each encoding layer is a Pauli string up to a global phase. Conjugation by a Pauli string only changes the signs of Pauli basis operators, so it preserves [12 Appendix A]. Together with adjoint invariance under the trainable blocks [21], this preserves the zero-output identity at any re-uploading depth when the circuit starts from a computational-basis state. For uniform inputs, the tractable-chain measurements in Figure 12 provide a finite-depth comparison, while general re-uploading gradients require separate arguments [3].

Figure 7. Purity and predicted Haar output variance for the off-diagonal chain and three perturbations at . Their interaction graphs appear in Figure 9. Only the odd cycle has , while the other three families have . Solid curves on the left axis give the exact mean purity for angles clustered near with spread . The floored odd cycle stays pinned near its clustered limit (dotted), whereas the floor-free purities collapse and reach exactly zero at (Eq. (6)). Dashed curves on the right axis give the mean Haar output variance for . At this size, the observable has equal HS weight in the equal-dimensional simple ideals of each family, giving . There are two ideals for the chain and, numerically, the doped chain. Each graph family has four ideals at this size [12]. The larger component dimensions reduce this variance relative to the chain.
The floor-free perturbations remain sensitive to clustering over the tested sizes, while the odd-cycle control retains nonzero purity at the exact endpoint. For the doped chain at , deep-circuit checks with readout give empirical-to-Haar variance ratios of 1.06 and 1.05 for two uniform input draws and 0.91 for a draw clustered around zero with . These finite checks support the plotted predictions without measuring an ensemble-wide design error.
Conclusion
Input distributions control how encoded states overlap with the operators available to the circuit and readout. For the matchgate family, every pure product input retains enough overlap to give output variance with the specified readout under Haar or exact group 2-design sampling. For the off-diagonal family, computational-basis inputs instead give exactly zero output for every parameter choice, while independent uniform angles yield mean sample-wise variance under the same ensemble assumption. Counting diagonal strings explains these different clustered endpoints and provides a direct way to identify inputs with zero in-algebra output. Tab. II collects the resulting variance scalings and their assumptions.
For the off-diagonal chain, the closed form also turns the uniform-prior calculation into a guarantee for a fixed dataset. Specifically, the shared-rotation procedure accepts an encoding only after its empirical mean purity passes a computable threshold. For any dataset satisfying the preprocessing assumptions, a constant expected number of trials suffices to obtain the stated inverse-polynomial mean sample-wise output variance. The certificate can therefore be checked entirely classically before running the quantum circuit.
Two further results concern the encoding. The exact zero-output identity persists through computational-basis re-uploading at any depth. Dissociated binary and ternary weights recover the independent-angle mean purity exactly for uniform scalar inputs. For the exponential graph families, however, input choice cannot remove the variance cap under the stated ensemble and readout assumptions. For the doped chain, the analogous asymptotic statement remains conditional on its component structure. The polynomial families that make these effects analytically accessible are classically simulable [11, 10]. Their role here is to make this dependence on input distributions explicit and computationally verifiable.
| Family | (Uniform) | (Exact cluster) | |||
| Matchgate chain | |||||
| Off-diagonal chain | |||||
| Branched bipartite | |||||
| Doped chain | |||||
| Odd-cycle |
Table 2. Summary for the product encoding under the Haar or exact group 2-design ensemble. The uniform column reports mean sample-wise output variance, and the final column reports the exact computational-basis endpoint . It does not describe a prior with finite clustering width. Daggers mark diagonal counts checked through for graphs and for the doped chain. The doped dimension and its asymptotic variance cap also remain conditional on the conjectured component structure.
The numerical experiments show substantial suppression at finite clustering width and different optimization trajectories under the two input priors. These observations do not establish an asymptotic BP at fixed width or a general guarantee for supervised learning. Successful learning also depends on the information retained by the encoding, the labels, how sample outputs vary together, and optimization dynamics.
The diagonal count itself applies to product states clustered in local Pauli eigenbases, with the local basis allowed to vary by site. Non-product encodings, however, require another analysis. For mixed states diagonal in the clustering product basis, the count instead gives the upper bound because the diagonal expectations need not have unit magnitude. This bound does not extend to arbitrary noisy states.
Under these assumptions, flattening the angle distribution can raise the off-diagonal model’s average output variance, which can be certified for the encoded dataset. This gives a concrete link between a classical preprocessing choice and the output landscape of a fixed quantum circuit family.
Acknowledgements
Acknowledgements Implementation of numerical experiments, as well as grammar and wording checks were partially assisted by Anthropic Claude Opus series. All authors acknowledge support by the state of Baden-Württemberg through bwHPC.
Circuit Ansatzes
Figure 8 shows one layer of each baseline ansatz. The variants in § 3 either add next-nearest-neighbor gates to the off-diagonal circuit or place its and pairs on the edges of a non-path graph. Figure 9 shows their interaction graphs.
Purity Convention and Extremal Inputs
a) Normalization: Each bare Pauli string differs from its orthonormalized counterpart in Ragone et al. [21] by a factor . Consequently, the purities satisfy .
For a Pauli-string observable , we also have . These factors cancel in Eq. (1), leaving for a simple algebra. For or , the readout contributes one basis string to each of the two equal-dimensional simple ideals of [29]. With input purities , Eq. (1) gives . Smaller systems, however, require separate accounting. At , each splits into two simple ideals, each of dimension 3 and observable Hilbert-Schmidt (HS) purity 8, so the same aggregate factor holds. At , both components are abelian and the output variance is zero.
b) Extremal Inputs: For , the clustered value reached at is the global maximum of Eq. (3). To see this, write and and collect the terms of Eq. (3) with right endpoint into
together with its even-distance counterpart . These sums obey the recursions and with and , so follows by induction. Since the purity accumulates as , this yields , with equality exactly when at every site. A randomized search over angle configurations up to found no violation of this bound.
Appendix C: Input Transformation
a) Acceptance Test: For , let be the empirical distribution of fixed, nonzero inputs in , where . Draw a shared rotation from the Haar measure on . For each fixed input, is uniform on the unit sphere and has the same distribution as for [17 Sec. 1.2]. This common normalization does not affect polar angles, and disjoint Gaussian coordinate pairs have independent uniform angles by rotational invariance [17 Sec. 1.2]. Each pair has nonzero radius almost surely, so the angle map is well defined on the finite dataset with probability one. Although the same is used for all inputs, linearity of expectation [27 Chap. 1] then gives
where is the uniform-prior mean in Eq. (4). The dataset mean lies in by Sec. B. Applying Markov’s inequality [27 Chap. 1] to gives
Because Eq. (3) gives empirical mean purity, we can recognize an accepted draw without simulating the circuit. For a dataset and candidate , that quantity is
which can be evaluated from Eq. (3) in classical time, or in using the recursions in Sec. B, once the angles are available. We accept a rotation when , the event whose probability is bounded in Eq. (8). Independent rejection sampling then needs at most draws in expectation, with the bound approaching five as . Each trial also incurs the cost of generating and applying .
For the constructed correlated datasets in Figure 10, each containing inputs, all sampled rotations passed at , 10, and 14. Their mean agreed with to within one percent, although these observations do not determine a worst-case acceptance rate. Indeed, this test measures purity rather than uniformity: the raw angles in Figure 10, clustered near , can also pass without rotation. By comparison, angles clustered near lie about two orders of magnitude below the threshold and are rejected.
Figure 10. Polar angles of correlated coordinate pairs with Pearson correlation 0.97, pooled across samples and sites, before and after a shared random rotation. The raw angles cluster near and . The transformed pooled histogram is approximately uniform on .
For the specified readout and circuit ensemble, every accepted rotation certifies empirical and sample-wise output variance . It does not control the variance of an averaged output or a supervised-loss gradient, which also involve cross-sample covariances. Selecting on a finite dataset likewise gives no population guarantee without further analysis.
b) Effect on the Angle Distribution: The pooled angle histogram in Figure 10 becomes flatter after the shared rotation and polar-angle extraction. Because the histogram pools sites, it does not establish uniformity at each site or independence between them. Instead, the acceptance test evaluates empirical mean purity directly, without requiring either property.
c) Effect of Weighted Encodings: Across integer-weight scalar encodings, the exact clustered endpoint behaves consistently: sends every angle to . Eq. (6) therefore applies to the floor-free models at these inputs, including with re-uploading. For a single off-diagonal encoding block, Eq. (3) has additional zeros when all but one qubit clusters, as at with binary weights or with ternary weights.
Away from exact clustering, the weights change how strongly scalar-input jitter reaches each site. In Figure 6, exponential weights amplify a small jitter at high-weight sites and partially recover mean purity, while equal weights remain strongly suppressed.
At and , the clustered mean for equal weights lies 4.6 orders of magnitude below its uniform value, whereas the binary-weight mean is within a factor of two. These results describe the tested scalar priors rather than guaranteeing large purity for every distribution with a large allowed spectrum. Across these weighted encodings, the algebra and computational-basis clustering point are unchanged, so their diagonal count remains the same. Away from that endpoint, the landscapes in Figure 11 show how induced angles affect purity.
Finally, we compare re-uploading depths in Figure 12 using the same ansatz-first convention as the training experiment. Each circuit has encoding blocks and trainable blocks. The exact zero-output statement holds at every depth for computational-basis inputs, while the uniform-angle branch has no comparable multi-block closed form. At , its measured mean sample-wise output variance lies between approximately 0.031 and 0.038 for . This range describes stability relative to the observed circuit and is not an equality with the single-block Haar prediction. For clustered angles with , the variance remains three to five orders of magnitude lower and rises slowly with depth. At , the measured output satisfies at and , consistent with Eq. (6). The matchgate control retains nonzero variance under both priors, although the values differ by factors of approximately 2 to 3.5 over the measured depths.
References
- [1]Andrew Arrasmith, Zoë Holmes, M. Cerezo, et al. “Equivalence of Quantum Barren Plateaus to Cost Concentration and Narrow Gorges”. In: Quantum Science and Technology 7.4 (2022), p. 045015. DOI: 10.1088/2058-9565/ac7d06.DOI
- [2]Howard Barnum, Emanuel Knill, Gerardo Ortiz, et al. “Generalizations of Entanglement Based on Coherent States and Convex Sets”. In: Physical Review A 68.3 (2003), p. 032308. DOI: 10.1103/PhysRevA.68.032308.DOI
- [3]Alice Barthe and Adrián Pérez-Salinas. “Gradients and Frequency Profiles of Quantum Re-Uploading Models”. In: Quantum 8 (2024), p. 1523. DOI: 10.22331/q-2024-11-14-1523.DOI
- [4]Fernando G. S. L. Brandão, Aram W. Harrow, and Michał Horodecki. “Local Random Quantum Circuits Are Approximate Polynomial-Designs”. In: Communications in Mathematical Physics 346.2 (2016), pp. 397–434. DOI: 10.1007/s00220-016-2706-8.DOI
- [5]Daniel J. Brod and Andrew M. Childs. “The Computational Power of Matchgates and the XY Interaction on Arbitrary Graphs”. In: Quantum Information and Computation 14.11–12 (2014), pp. 901–916. DOI: 10.26421/QIC14.11-12-1.DOI
- [6]M. Cerezo, Martin Larocca, Diego García-Martín, et al. “Does Provable Absence of Barren Plateaus Imply Classical Simulability?” In: Nature Communications 16 (2025), p. 7907. DOI: 10.1038/s41467-025-63099-6.DOI
- [7]M. Cerezo, Akira Sone, Tyler Volkoff, et al. “Cost Function Dependent Barren Plateaus in Shallow Parametrized Quantum Circuits”. In: Nature Communications 12.1 (2021), p. 1791. DOI: 10.1038/s41467-021-21728-w.DOI
- [8]Enrico Fontana, Dylan Herman, Shouvanik Chakrabarti, et al. “Characterizing barren plateaus in quantum ansätze with the adjoint representation”. In: Nature Communications 15.1 (Aug. 2024), p. 7171. DOI: 10.1038/s41467-024-49910-w.DOI
- [9]Maja Franz, Melvin Strobl, Jonathan Hunz, et al. “Software Between Quantum and Machine Learning and Down to Pulses”. In: 2026 IEEE International Conference on Quantum Software (QSW). Los Alamitos, CA, USA: IEEE Computer Society, July 2026, pp. 66–78. DOI: 10.1109/QSW72780.2026.00017.DOI
- [10]Matthew L. Goh, Martin Larocca, Lukasz Cincio, et al. “Lie-Algebraic Classical Simulations for Quantum Computing”. In: Physical Review Research 7 (2025), p. 033266. DOI: 10.1103/3y65-f5w6.DOI
- [11]Richard Jozsa and Akimasa Miyake. “Matchgates and Classical Simulation of Quantum Circuits”. In: Proceedings of the Royal Society A 464.2100 (2008), pp. 3089–3106. DOI: 10.1098/rspa.2008.0189.DOI
- [12]Efekan Köckü, Roeland Wiersema, Alexander F. Kemper, et al. “Classification of Dynamical Lie Algebras Generated by Spin Interactions on Undirected Graphs”. In: Journal of Mathematical Physics 67.5 (2026), p. 052205. DOI: 10.1063/5.0283277.DOI
- [13]Ankit Kulshrestha, Ricard Puig, Diego García-Martín, et al. Exponentially Many Initializations to Avoid Barren Plateaus. June 2026. DOI: 10.48550/arXiv.2606.18515.DOI
- [14]Martin Larocca, Piotr Czarnik, Kunal Sharma, et al. “Diagnosing Barren Plateaus with Tools from Quantum Optimal Control”. In: Quantum 6 (2022), p. 824. DOI: 10.22331/q-2022-09-29-824.DOI
- [15]Yann A. LeCun, Léon Bottou, Genevieve B. Orr, et al. “Efficient BackProp”. In: Neural Networks: Tricks of the Trade. Vol. 7700. Lecture Notes in Computer Science. Springer, 2012, pp. 9–48. DOI: 10.1007/978-3-642-35289-8_3.DOI
- [16]Jarrod R. McClean, Sergio Boixo, Vadim N. Smelyanskiy, et al. “Barren Plateaus in Quantum Neural Network Training Landscapes”. In: Nature Communications 9.1 (2018), p. 4812. DOI: 10.1038/s41467-018-07090-4.
- [17]Elizabeth S. Meckes. The Random Matrix Theory of the Classical Compact Groups. Vol. 218. Cambridge Tracts in Mathematics. Cambridge University Press, 2019. DOI: 10.1017/9781108303453.DOI
- [18]Hela Mhiri, Léo Monbroussou, Mario Herrero-González, et al. “Constrained and Vanishing Expressivity of Quantum Fourier Models”. In: Quantum 9 (2025), p. 1847. DOI: 10.22331/q-2025-09-03-1847.DOI
- [19]Hiroshi Ohno. Observable-Guided Generator Selection for Improving Trainability in Quantum Machine Learning with a 𝔤-Purity Interpretation under Restricted Settings. 2026. DOI: 10.48550/arXiv.2604.15693.
- [20]Evan Peters and Maria Schuld. “Generalization despite overfitting in quantum machine learning models”. In: Quantum 7 (Dec. 2023), p. 1210. DOI: 10.22331/q-2023-12-20-1210.DOI
- [21]Michael Ragone, Bojko N. Bakalov, Frédéric Sauvage, et al. “A Lie Algebraic Theory of Barren Plateaus for Deep Parameterized Quantum Circuits”. In: Nature Communications 15.1 (Aug. 2024), p. 7172. DOI: 10.1038/s41467-024-49909-3.DOI
- [22]Maria Schuld, Ryan Sweke, and Johannes Jakob Meyer. “Effect of Data Encoding on the Expressive Power of Variational Quantum-Machine-Learning Models”. In: Physical Review A 103.3 (Mar. 2021), p. 032430. DOI: 10.1103/PhysRevA.103.032430.DOI
- [23]S. Shin, Y. S. Teo, and H. Jeong. “Exponential Data Encoding for Quantum Supervised Learning”. In: Physical Review A 107.1 (Jan. 2023), p. 012422. DOI: 10.1103/PhysRevA.107.012422.DOI
- [24]Rolando D. Somma. Quantum Computation, Complexity, and Many-Body Physics. PhD thesis. 2005. DOI: 10.48550/arXiv.quant-ph/0512209.DOI
- [25]Melvin Strobl, Maja Franz, Eileen Kuehn, et al. “QML-Essentials – A Framework for Working with Quantum Fourier Models”. In: 2025 IEEE International Conference on Quantum Software (QSW). 2025, pp. 238–243. DOI: 10.1109/QSW67625.2025.00035.DOI
- [26]Melvin Strobl, Emre Sahin, Lucas van der Horst, et al. “Fourier fingerprints of ansatzes in quantum machine learning”. In: Quantum Science and Technology 11.4 (Aug. 2026), p. 045008. DOI: 10.1088/2058-9565/ae8df8.DOI
- [27]Terence Tao and Van H. Vu. Additive Combinatorics. Vol. 105. Cambridge Studies in Advanced Mathematics. Cambridge: Cambridge University Press, 2006. DOI: 10.1017/CBO9780511755149.DOI
- [28]Supanut Thanaslip, Samson Wang, Nhat A. Nghiem, et al. “Subtleties in the Trainability of Quantum Machine Learning Models”. In: Quantum Machine Intelligence 5.1 (2023), p. 21. DOI: 10.1007/s42484-023-00103-6.
- [29]Roeland Wiersema, Efekan Köckü, Alexander F. Kemper, et al. “Classification of Dynamical Lie Algebras for 2-Local Spin Systems on Linear, Circular and Fully Connected Topologies”. In: npj Quantum Information 10.1 (2024), p. 110. DOI: 10.1038/s41534-024-00900-2.DOI






