betaFeedback

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 nn qubits retain output variance of order 1/n1/n 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 2n2n 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 1/n1/n 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 nn-qubit input state ρ\rho evolved by U(θ)U(\theta), denote the measured output by fθ(ρ,O)=Tr⁡[U(θ)ρU†(θ)O]f_\theta(\rho,O) = \operatorname{Tr}[U(\theta)\rho U^\dagger(\theta)O]. Its variance over a chosen parameter ensemble measures the spread of outputs for this fixed input. If Var⁡θ[fθ]∈O(b−n)\operatorname{Var}_\theta[f_\theta] \in O(b^{-n}) for some b>1b > 1, 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 L\mathcal{L} and its gradients.

In the noiseless setting, the circuit’s dynamical Lie algebra (DLA) g=(iG)Lie\mathfrak{g} = (\mathrm{i}\mathcal{G})_{\mathrm{Lie}} 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, O∈gO \in\mathfrak{g}, 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 g\mathfrak{g}-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 Tr⁡[ρ2]\operatorname{Tr}[\rho^2], which equals one for every pure state. All inputs in our baseline analysis are pure product states, yet their g\mathfrak{g}-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 u(2n)\mathfrak{u}(2^n), the DLA is reductive and decomposes into commuting components g=g1⊕⋯⊕gk−1⊕gk\mathfrak{g} = \mathfrak{g}_1 \oplus\cdots\oplus\mathfrak{g}_{k-1} \oplus\mathfrak{g}_k, where the gj\mathfrak{g}_j are simple Lie algebras for j<kj < k and gk\mathfrak{g}_k 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 ege^{\mathfrak{g}}. An exact group 2-design likewise reproduces the moments needed to compute output mean and variance. For Haar sampling on the dynamical Lie group ege^{\mathfrak{g}}, 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]):

Var⁡θ[fθ(ρ,O)]=∑j=1k−1PgjHS(ρ)PgjHS(O)dim⁡gj.(1)\operatorname{Var}_{\theta}\left[f_{\theta}(\rho,O)\right] = \sum_{j=1}^{k-1} \frac{\mathcal{P}^{\mathrm{HS}}_{\mathfrak{g}_j}(\rho)\mathcal{P}^{\mathrm{HS}}_{\mathfrak{g}_j}(O)}{\dim\mathfrak{g}_j}. \tag*{(1)}

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) g\mathfrak{g}-purity PgHS(H)=∑αTr⁡[BαH]2\mathcal{P}^{\mathrm{HS}}_{\mathfrak{g}}(H) = \sum_{\alpha}\operatorname{Tr}[B_{\alpha}H]^2 measures the squared projection of a Hermitian operator HH onto g\mathfrak{g}. Here {Bα}\{B_{\alpha}\} is any HS-orthonormal basis of g\mathfrak{g}, satisfying Tr⁡[BαBβ]=δαβ\operatorname{Tr}[B_{\alpha}B_{\beta}] = \delta_{\alpha\beta} (Eq. (7) of [21], cf. [2, 24]).

For the families studied here, bare Pauli strings PP form an orthogonal basis Bg\mathcal{B}_{\mathfrak{g}} of g\mathfrak{g} with Tr⁡[P2]=2n\operatorname{Tr}[P^2] = 2^n. This follows from their Pauli-string generators, whose nested commutators remain proportional to Pauli strings. We use the corresponding Pauli-basis purity Pg(ρ)=∑P∈Bg⟨P⟩ρ2=2nPgHS(ρ)\mathcal{P}_{\mathfrak{g}}(\rho) = \sum_{P\in\mathcal{B}_{\mathfrak{g}}}\langle P\rangle_\rho^2 = 2^n\mathcal{P}^{\mathrm{HS}}_{\mathfrak{g}}(\rho) 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 O∈igO \in i\mathfrak{g}, these normalization factors cancel, since PgHS(O)=Tr⁡[O2]=2n\mathcal{P}_{\mathfrak{g}}^{\mathrm{HS}}(O) = \operatorname{Tr}[O^2] = 2^n. Thus, for a simple DLA, Eq. (1) reduces to Var⁡θ[fθ]=Pg(ρ)/dim⁡g\operatorname{Var}_{\theta}[f_{\theta}] = \mathcal{P}_{\mathfrak{g}}(\rho) / \dim\mathfrak{g} (cf. Ragone et al. [21] and Sec. B). Because Pg(ρ)\mathcal{P}_{\mathfrak{g}}(\rho) is evaluated before the circuit acts, it is independent of θ\theta. 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 g\mathfrak{g}-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 {n−1,n}\{n-1,n\} 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.

Shared random rotation, polar-angle extraction, and schematic purity responses

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 x∈RDx \in\mathbb{R}^{D}, where D≥2nD \ge2n, and apply a Haar-random rotation Q∈SO(D)Q \in SO(D) that is subsequently held fixed across the dataset. The ii-th encoding angle is the polar angle of the ii-th disjoint coordinate plane, ϕi=atan2⁡((Qx)2i,(Qx)2i−1) mod 2π\phi_i = \operatorname{atan2}((Qx)_{2i}, (Qx)_{2i-1}) \bmod2\pi. 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 QQ makes these nn angles independent and uniform on [0,2π)[0,2\pi) (Sec. C). This per-input statement uses D≥2nD \ge2n disjoint planes and need not hold if coordinates are reused. If necessary, padding a nonzero input before drawing QQ in the enlarged space retains the per-input uniform law.

For a dataset, the same rotation QQ 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 D>2nD > 2n, any unused coordinates. Thus, although QQ 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 {Zk}k=1n∪{XkXk+1}k=1n−1\{Z_k\}_{k=1}^{n} \cup\{X_kX_{k+1}\}_{k=1}^{n-1} and has g≅so(2n)\mathfrak{g} \cong\mathfrak{so}(2n) with dimension n(2n−1)n(2n-1). It is classically simulable [11]. Replacing the single-site generators with nearest-neighbor YkYk+1Y_kY_{k+1} gives the off-diagonal ansatz, generated by {XkXk+1,YkYk+1}\{X_kX_{k+1},Y_kY_{k+1}\}, whose algebra is god≅so(n)⊕so(n)\mathfrak{g}_{\mathrm{od}} \cong\mathfrak{so}(n) \oplus\mathfrak{so}(n) with dimension n(n−1)n(n-1) [29]. To examine larger algebras, we also add the generators {XkYk+2}k=1n−2\{X_kY_{k+2}\}_{k=1}^{n-2} or place the XYXY pair {XiXj,YiYj}\{X_iX_j,Y_iY_j\} 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 dim⁡gh=4n−1−2n−1\dim\mathfrak{g}_{\mathrm{h}} = 4^{n-1} - 2^{n-1} is verified numerically through n=9n=9 and conjectured beyond that range. A hardness reduction for this gate set remains open.

Two baseline quantum circuit ansatzes

Figure 8. One layer of the two baseline ansatzes, drawn for n=4n=4 with an independent trainable angle for every gate. (a) The MGA applies RzR_z on every qubit and nearest-neighbor RXXR_{XX} gates. (b) The off-diagonal ansatz replaces the single-qubit rotations by nearest-neighbor RYYR_{YY} gates, generating the floor-free algebra god≅so(n)⊕so(n)\mathfrak{g}_{\mathrm{od}} \cong\mathfrak{so}(n) \oplus\mathfrak{so}(n). The training circuit of Figure 5 uses 11 such trainable blocks alternating with 10 RyR_y encoding blocks, beginning and ending with a trainable block.

c) Encoding and Measurement: All families use the product encoding ρ(ϕ)=∣ψ(ϕ)⟩⟨ψ(ϕ)∣\rho(\phi) = |\psi(\phi)\rangle\langle\psi(\phi)|, where ∣ψ(ϕ)⟩=⨂i=1nRy(ϕi)∣0⟩|\psi(\phi)\rangle= \bigotimes_{i=1}^{n} R_y(\phi_i)|0\rangle. We use the rotation convention RP(α)=exp⁡(−iαP/2)R_P(\alpha) = \exp(-i\alpha P/2) for a Pauli string PP. 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 O=ZiO=Z_i, while the off-diagonal training run and variance comparisons use O=XiXi+1+YiYi+1O=X_iX_{i+1}+Y_iY_{i+1}. The doped-chain validation also uses O=X1X2O=X_1X_2. These observables lie in their respective algebras, allowing us to evaluate their projections in Eq. (1). By comparison, single-site ZiZ_i lies outside the floor-free algebra, so that formula does not describe its variance there.

Tab. I collects the recurring symbols.

SymbolMeaning
g,gj\mathfrak{g},\mathfrak{g}_jDLA, with simple ideals gj\mathfrak{g}_j (j<kj<k) and abelian center gk\mathfrak{g}_k
dim⁡g\dim\mathfrak{g}Dimension of the DLA
Pg(ρ)\mathcal{P}_{\mathfrak{g}}(\rho)Pauli-basis g\mathfrak{g}-purity, =2npgHS(ρ)=2^n p_{\mathfrak{g}}^{\mathrm{HS}}(\rho)
dA(g)d_A(\mathfrak{g})Number of Pauli basis strings of g\mathfrak{g} diagonal in the eigenbasis of the clustering observable AA
dZ,dXd_Z,d_XIts instances under the RyR_y encoding, for angles clustered at {0,π}\{0,\pi\} (A=ZA=Z) and at π/2\pi/2 (A=XA=X)
god,gh\mathfrak{g}_{\mathrm{od}},\mathfrak{g}_{\mathrm{h}}Off-diagonal so(n)⊕so(n)\mathfrak{so}(n)\oplus\mathfrak{so}(n) and doped-chain algebra
ϕ,θ\phi,\thetaEncoding angles and trainable parameters
OOMeasurement observable, in-algebra with O∈gO\in\mathfrak{g}
n,D,mn,D,mNumbers of qubits, classical coordinates, and dataset samples
Q,μnQ,\mu_nShared rotation and uniform-prior mean of Pgod\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}
σ,w\sigma,wAngular jitter standard deviation and scalar-encoding weight vector
Ω\OmegaQFM frequency spectrum of size ∣Ω∣|\Omega|
O(⋅),Ω(⋅),Θ(⋅)\mathcal{O}(\cdot),\Omega(\cdot),\Theta(\cdot)Asymptotic bounds in nn

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 4×1034\times10^3 angle draws. The uniform prior draws angles independently from U[0,2π)\mathcal{U}[0,2\pi). The clustered prior uses independent angles ϕk=(πbk+ϵk) mod 2π\phi_k=(\pi b_k+\epsilon_k)\bmod2\pi, with independent bk∼Bernoulli⁡(1/2)b_k\sim\operatorname{Bernoulli}(1/2) and ϵk∼N(0,σ2)\epsilon_k\sim\mathcal{N}(0,\sigma^2). Thus, σ\sigma 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 n=6n=6, with 10310^3 independent uniform parameter draws from [0,2π)[0,2\pi) per input. Curves show means and bands the 10–90% range over 10 angle configurations. Here the clustered prior uses independent ϕk∼N(0,0.032)\phi_k\sim\mathcal{N}(0,0.03^2). The off-diagonal readout is XiXi+1+YiYi+1X_iX_{i+1}+Y_iY_{i+1} (solid), and the matchgate control uses ZiZ_i (dashed). At σ=0\sigma=0, 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 g≅so(2n)\mathfrak{g}\cong\mathfrak{so}(2n), this purity has the closed form

Pg(ρ)=(n−1)+∏k=1n⟨Zk⟩2(2)\mathcal{P}_{\mathfrak{g}}(\rho)=(n-1)+\prod_{k=1}^{n}\langle Z_k\rangle^2 \tag*{(2)}

For the RyR_y loading, ⟨Zk⟩=cos⁡ϕk\langle Z_k\rangle=\cos\phi_k. For a product state, each Pauli-string expectation factorizes across sites. The matchgate basis consists of the single-site ZkZ_k and the two-endpoint strings σj(∏j<l<kZl)σk′\sigma_j\left(\prod_{j<l<k}Z_l\right)\sigma'_k, with σ,σ′∈{X,Y}\sigma,\sigma'\in\{X,Y\} [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 [n−1,n][n-1,n] for every angle configuration and has uniform-prior mean n−1+2−nn-1+2^{-n} near the lower end of this band. Brute-force evaluations through n=8n=8 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 Pg(ρ(ϕ))\mathcal{P}_{\mathfrak{g}}(\rho(\phi)) matches n−1+2−nn-1+2^{-n} and stays within [n−1,n][n-1,n], for sizes up to n=18n=18 qubits.

For the readout ZiZ_i and n≥3n \ge3, Eq. (1) therefore gives Var⁡θ[fθ]=Pg/dim⁡g=Θ(1/n)\operatorname{Var}_{\theta}[f_{\theta}]=\mathcal{P}_{\mathfrak{g}}/\dim\mathfrak{g}=\Theta(1/n) 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, O(⋅)O(\cdot), Ω(⋅)\Omega(\cdot) and Θ(⋅)\Theta(\cdot) denote asymptotic upper, lower and two-sided bounds in nn.

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 XX or YY factor has zero expectation, while a string made only of II and ZZ has expectation ±1\pm1. 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 AA, and let dA(g)d_A(\mathfrak{g}) count the Pauli basis strings of igi\mathfrak{g} that are diagonal in the AA-eigenbasis. This count depends on both the clustering basis and the algebra. For RyR_y loading, clustering at {0,π}\{0,\pi\} gives dZd_Z, whereas clustering at π/2\pi/2 gives dXd_X. Indeed, the off-diagonal algebra has dZ(god)=0d_Z(\mathfrak{g}_{\mathrm{od}})=0 but dX(god)=n−1d_X(\mathfrak{g}_{\mathrm{od}})=n-1.

At a product input ∣a⟩|a\rangle of AA-eigenstates, the purity equals this count exactly, Pg(∣a⟩⟨a∣)=dA(g)\mathcal{P}_{\mathfrak{g}}(|a\rangle\langle a|)=d_A(\mathfrak{g}), regardless of which eigenstates are chosen. For any Pauli basis string B=⨂kBkB=\bigotimes_k B_k, its expectation factorizes as ⟨B⟩∣a⟩=∏k⟨Bk⟩ak\langle B\rangle_{|a\rangle}=\prod_k\langle B_k\rangle_{a_k}. Each factor belonging to {I,A}\{I,A\} has magnitude one, while a factor anticommuting with AA has zero expectation. Consequently, only the dA(g)d_A(\mathfrak{g}) strings built from II and AA 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 n−1+2−nn-1+2^{-n} lies below dZ=nd_Z=n. 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 dA(g)=0d_A(\mathfrak{g})=0. Its in-algebra output is zero at the exact clustered endpoint for every parameter realization, regardless of depth or dim⁡g\dim\mathfrak{g} (Eq. (6)). At nonzero clustering width, the degree of suppression instead depends on both the width and system size. For RyR_y encoding, A=ZA=Z at the computational-basis endpoint, while the single-site ZkZ_k strings give the matchgate family dZ=nd_Z=n.

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 2−n2^{-n}. 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 dAd_A without contributing to variance. For example, adjoining the central string Z⊗nZ^{\otimes n} to god\mathfrak{g}_{\mathrm{od}} gives dZ=1d_Z=1 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 n=10n=10 under the RyR_y encoding. As the angle spread σ\sigma shrinks toward the computational basis, the mean matchgate purity stays in [n−1,n][n-1,n], whereas the mean off-diagonal purity approaches zero. The right axis (dashed) traces the mean sample-wise output variance Eϕ[Var⁡θ[fθ]]=2E[Pg]/dim⁡g\mathbb{E}_{\phi}[\operatorname{Var}_{\theta}[f_{\theta}]]=2\mathbb{E}[\mathcal{P}_{\mathfrak{g}}]/\dim\mathfrak{g} for the in-algebra observable XiXi+1+YiYi+1X_iX_{i+1}+Y_iY_{i+1} 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 ZZ-diagonal string, so it satisfies dZ(god)=0d_Z(\mathfrak{g}_{\mathrm{od}})=0 under RyR_y encoding. Its Pauli basis contains XXXX and YYYY endpoints at odd separation and XYXY and YXYX endpoints at even separation, joined by interior ZZ factors [29]. Since ⟨Yk⟩=0\langle Y_k\rangle=0 for the RyR_y product encoding, only the XXXX strings contribute, giving

Pgod(ρ(ϕ))=∑j<kk−j oddsin⁡2ϕjsin⁡2ϕk∏l=j+1k−1cos⁡2ϕl.(3)\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}(\rho(\phi))=\sum_{\substack{j<k\\k-j\ \mathrm{odd}}}\sin^2\phi_j\sin^2\phi_k\prod_{l=j+1}^{k-1}\cos^2\phi_l. \tag*{(3)}

Every term contains sin⁡2ϕjsin⁡2ϕk\sin^2\phi_j\sin^2\phi_k, so the purity approaches zero as all angles cluster near {0,π}\{0,\pi\}. At the other clustering point, ϕk=π/2\phi_k=\pi/2 for every site, the inputs become XX-eigenstates and attain the global maximum Pgod=n−1P_{\mathrm{god}}=n-1 (cf. Sec. B). This endpoint agrees with dX(god)=n−1d_X(\mathfrak{g}_{\mathrm{od}})=n-1: only the adjacent XkXk+1X_kX_{k+1} basis strings are diagonal in the XX basis, since longer strings contain interior ZZ factors. Between these endpoints, the i.i.d. uniform prior gives

Eϕ[Pgod(ρ(ϕ))]=∑1≤d<nd odd(n−d)2−(d+1)=Θ(n),(4)\mathbb{E}_{\phi}[P_{\mathrm{god}}(\rho(\phi))]=\sum_{\substack{1\le d<n\\d\ \mathrm{odd}}}(n-d)2^{-(d+1)}=\Theta(n), \tag*{(4)}

We denote this mean by μn\mu_n, with μn=n/3−5/9+O(2−n)\mu_n=n/3-5/9+O(2^{-n}). Thus, uniform angles give mean purity of order nn, within a constant factor of the maximum. This mean does not guarantee large purity for each input or with high probability. For n=3n=3 or n≥5n\ge5, the readout XiXi+1+YiYi+1X_iX_{i+1}+Y_iY_{i+1} places one basis string in each of the two equal-dimensional simple ideals of god\mathfrak{g}_{\mathrm{od}}. Eq. (1) then gives Var⁡θ[fθ]=2Pgod/dim⁡god\operatorname{Var}_{\theta}[f_\theta]=2P_{\mathrm{god}}/\dim\mathfrak{g}_{\mathrm{od}} (cf. Sec. B), so the uniform prior yields Eϕ[Var⁡θ[fθ]]=Θ(1/n)\mathbb{E}_{\phi}[\operatorname{Var}_{\theta}[f_\theta]]=\Theta(1/n). At n=4n=4, 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 Θ(1/n)\Theta(1/n) 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 nn 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 n≤6n\le6 and shows the two prior means. With fixed jitter σ=0.03\sigma=0.03, the uniform-to-clustered mean purity ratio decreases from about 2.0×1052.0\times10^5 at n=6n=6 to 8.3×1048.3\times10^4 at n=18n=18. Although suppression is substantial over this range, these values do not establish exponential decay with nn. At n=6n=6, a statevector check also agrees with the plotted variance, including its factor of two, within sampling error.

Mean purity and sample-wise output variance for the off-diagonal algebra

Figure 4. Mean purity and sample-wise output variance for the off-diagonal algebra god≅so(n)⊕so(n)\mathfrak{g}_{\mathrm{od}}\cong\mathfrak{so}(n)\oplus\mathfrak{so}(n), which has dZ=0d_Z=0. 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 {0,π}\{0,\pi\} suppresses the mean by about five orders of magnitude. The dashed curves on the right axis show the corresponding mean variance 2Eϕ[Pgod]/dim⁡god2\mathbb{E}_{\phi}[P_{\mathrm{god}}]/\dim\mathfrak{g}_{\mathrm{od}} for n≥3n\ge3. At n=2n=2 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 n=6n=6 circuit uses the readout O=XiXi+1+YiYi+1O=X_iX_{i+1}+Y_iY_{i+1} and begins with a trainable block. It contains 10 RyR_y 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 {−1,0,1}n\{-1,0,1\}^n with at most two nonzero entries and is standardized using 4×1034\times10^3 independent uniform reference inputs. For each of 8 seeds, the two runs start from the same parameters, sampled independently from U(0,2π)\mathcal{U}(0,2\pi), and minimize

Figure 5. Training the off-diagonal re-uploading model under uniform and clustered (σ=0.03\sigma= 0.03) angle priors. Each run’s relative loss is L(θt)/L(θ0)\mathcal{L}(\theta_t)/\mathcal{L}(\theta_0). Solid lines show its mean across 8 paired initializations, with bands of ±1\pm1 standard deviation. Dashed lines show gradient dispersion across parameter coordinates, Var⁡j[∂θjL]\operatorname{Var}_j[\partial_{\theta_j}\mathcal{L}], at each training step. Their central curves and bands are computed as exp⁡(mean⁡(log⁡v))\exp(\operatorname{mean}(\log v)) and exp⁡(mean⁡(log⁡v)±std⁡(log⁡v))\exp(\operatorname{mean}(\log v) \pm\operatorname{std}(\log v)) across seeds, where vv is the dispersion. This dispersion is calculated across coordinates rather than across random parameter initializations at a fixed circuit ensemble.

L(θ)=1256∑a=1256(fθ(ϕ(a))−ya)2\mathcal{L}(\theta)=\frac{1}{256}\sum_{a=1}^{256}\left(f_\theta(\phi^{(a)})-y_a\right)^2

at learning rate 0.05 for 800 epochs. Here fθ(ϕ(a))f_\theta(\phi^{(a)}) denotes the complete re-uploading circuit’s output on sample ϕ(a)\phi^{(a)}. 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 0.594±0.0230.594\pm0.023, compared with 0.931±0.0030.931\pm0.003 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 θ\theta and may be entangled. Because the RyR_y generators lie outside god\mathfrak{g}_{\mathrm{od}}, 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 ϕk=wkx\phi_k=w_kx with integer weights w=(w1,…,wn)w=(w_1,\ldots,w_n), a single encoding block has the allowed QFM frequency set Ω={∑kskwk∣sk∈{−1,0,1}}\Omega=\{\sum_k s_kw_k\mid s_k\in\{-1,0,1\}\} [22]. However, individual coefficients may vanish, and repeated encoding blocks generally enlarge this set of allowed frequencies.

Equal (Hamming) weights wk=1w_k = 1 give ∣Ω∣=2n+1|\Omega| = 2n+1, whereas binary weights wk=2k−1w_k = 2^{k-1} and ternary weights wk=3k−1w_k = 3^{k-1} give ∣Ω∣=2n+1−1|\Omega| = 2^{n+1}-1 and 3n3^n, respectively [20, 23]. Because all angles share one scalar input, Pg(ρ(wx))\mathcal{P}_g(\rho(wx)) becomes a trigonometric polynomial with frequencies in 2Ω2\Omega, producing the oscillatory landscapes illustrated in Figure 11.

Figure 11. Input-purity landscapes Pgod(ρ(wx))\mathcal{P}_{\mathrm{god}}(\rho(w x)) for the RyR_y encoding at n=6n=6. Equal, binary, and ternary weights have allowed frequency-set sizes ∣Ω∣=13|\Omega|=13, 127127, and 729729, 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 x∈{0,π/2,π,3π/2}x\in\{0,\pi/2,\pi,3\pi/2\}. These sizes count allowed model frequencies in Ω\Omega. The plotted purities have frequencies in 2Ω2\Omega, with some coefficients equal to zero.

To characterize their mean purity, we call the weights dissociated when ∑kϵkwk≠0\sum_k \epsilon_k w_k \ne0 for every nonzero ϵ∈{−1,0,1}n\epsilon\in\{-1,0,1\}^n [27]. Binary and ternary weights satisfy this condition. For the RyR_y product encoding, squared Pauli expectations are products of sin⁡2ϕk\sin^2\phi_k and cos⁡2ϕk\cos^2\phi_k, whose Fourier expansions contain frequencies 2∑kϵkwk2\sum_k \epsilon_k w_k [22]. Dissociation rules out a zero frequency for every nonconstant term, so averaging over uniform xx retains the same constant term as averaging over independent uniform angles [27]:

Ex[Pg(ρ(wx))]=Eϕ[Pg(ρ(ϕ))](5)\mathbb{E}_x[\mathcal{P}_g(\rho(wx))] = \mathbb{E}_\phi[\mathcal{P}_g(\rho(\phi))] \tag*{(5)}

for dissociated ww and x∼U[0,2π)x \sim\mathcal{U}[0,2\pi). Thus, one uniformly distributed scalar can reproduce the mean input purity obtained from nn 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, wk>∑j<kwjw_k > \sum_{j<k} w_j, yet fail the stronger sufficient condition wk>2∑j<kwjw_k > 2\sum_{j<k} w_j for uniqueness of signed-sum frequencies. For example, w2−w1=w1w_2-w_1=w_1, 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 Ex[Pgod]\mathbb{E}_x[\mathcal{P}_{\mathrm{god}}] under uniform and clustered scalar inputs. The clustered scalar prior is x=(πb+ϵ) mod 2πx=(\pi b+\epsilon)\bmod2\pi, with independent b∼Bernoulli⁡(1/2)b\sim\operatorname{Bernoulli}(1/2) and ϵ∼N(0,σ2)\epsilon\sim\mathcal{N}(0,\sigma^2).

Figure 6. Mean purity Ex[Pgod]\mathbb{E}_x[\mathcal{P}_{\mathrm{god}}] against nn under uniform (solid) and clustered (dashed, σ=0.03\sigma= 0.03) scalar inputs, estimated from 2×1052 \times10^5 draws of xx (Pgod\mathcal{P}_{\mathrm{god}}, Rg\mathcal{R}_g, encoding). Empirical means for dissociated binary and ternary weights agree with the i.i.d. mean under uniform xx and partially recover under clustered xx, whereas Hamming weights remain strongly suppressed. The dotted right-axis curves show the allowed frequency-set sizes ∣Ω∣|\Omega|: 2n+12n+1 for equal weights, 2n+1−12^{n+1}-1 for binary weights, and 3n3^n for ternary weights.

Under uniform xx, 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 XYXY graph families and the XkYk+2X_kY_{k+2}-doped chain in Figure 9 have dZ=0d_Z = 0 through the tested sizes n=8n = 8 and n=9n = 9, respectively. For the graph families, the exponential algebra dimensions follow Ref. [12]. For the doped chain, dim⁡gh=4n−1−2n−1\dim\mathfrak{g}_h = 4^{n-1}-2^{n-1} 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 dZ=2n−1−2d_Z = 2^{n-1} - 2 at even nn and 2n−1−12^{n-1} - 1 at odd nn, for n≤8n \le8.

Interaction graphs of the families in Fig. 7

Figure 9. (a) Off-diagonal chain: path, dZ=0d_Z=0. (b) + chord (2, 5): bipartite, dZ=0d_Z=0. (c) + XkYk+2X_kY_{k+2}: doped chain, dZ=0d_Z=0. (d) + chord (1, 3): odd cycle, dZ>0d_Z>0. Interaction graphs of the families in Figure 7, drawn for n=5n=5 with qubits 1,…,51,\ldots,5 and color-matched to that figure. The path and graph chords carry independently parameterized RXXR_{XX} and RYYR_{YY} 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 XkYk+2X_kY_{k+2} bonds. The colored dopant bonds in (c) instead carry RXYR_{XY} gates. Both perturbations enlarge dim⁡g\dim\mathfrak{g} while keeping dZ=0d_Z=0 at the tested sizes. The chord (1, 3) (d) closes a triangle, an odd cycle that restores the floor dZ>0d_Z>0.

When dZ=0d_Z = 0 and O∈gO \in\mathfrak{g}, the consequence at a computational-basis input ∣a⟩\lvert a\rangle is especially direct. For every circuit UU generated by g\mathfrak{g}, regardless of depth or parameter values,

⟨a∣U†OU∣a⟩=0.(6)\langle a \lvert U^\dagger O U \rvert a \rangle= 0. \tag*{(6)}

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 Pg(ρ)≤2nP_{\mathfrak{g}}(\rho) \le2^n gives variance O(2−n)O(2^{-n}) through Eq. (1) when every observable-relevant simple ideal has dimension Θ(4n)\Theta(4^n) 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 g\mathfrak{g} [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].

Purity and predicted Haar output variance for the off-diagonal chain and three perturbations

Figure 7. Purity and predicted Haar output variance for the off-diagonal chain god\mathfrak{g}_{\mathrm{od}} and three perturbations at n=8n = 8. Their interaction graphs appear in Figure 9. Only the odd cycle has dZ>0d_Z > 0, while the other three families have dZ=0d_Z = 0. Solid curves on the left axis give the exact mean purity for angles clustered near {0,π}\{0,\pi\} with spread σ\sigma. The floored odd cycle stays pinned near its clustered limit dZ=2n−1−2=126d_Z = 2^{n-1} - 2 = 126 (dotted), whereas the floor-free purities collapse and reach exactly zero at σ=0\sigma= 0 (Eq. (6)). Dashed curves on the right axis give the mean Haar output variance for X1X2+Y1Y2X_1X_2 + Y_1Y_2. At this size, the observable has equal HS weight in the equal-dimensional simple ideals of each family, giving 2EΦ[Pg]/dim⁡g2\mathbb{E}_{\Phi}[P_{\mathfrak{g}}]/\dim\mathfrak{g}. 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 n=6n = 6, deep-circuit checks with readout X1X2X_1X_2 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 σ=0.15\sigma= 0.15. 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 Θ(1/n)\Theta(1/n) 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 Θ(1/n)\Theta(1/n) 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 O(2−n)O(2^{-n}) 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.

Familydim⁡g\dim gdZd_ZOOEϕ[Var⁡θ[fθ]]\mathbb{E}_{\phi}[\operatorname{Var}_{\theta}[f_{\theta}]] (Uniform)Var⁡θ[fθ]\operatorname{Var}_{\theta}[f_{\theta}] (Exact cluster)
Matchgate chainn(2n−1)n(2n-1)nnZiZ_iΘ(1/n)\Theta(1/n)Θ(1/n)\Theta(1/n)
Off-diagonal chainn(n−1)n(n-1)00XiXi+1+YiYi+1X_iX_{i+1}+Y_iY_{i+1}Θ(1/n)\Theta(1/n)00
Branched bipartite XYXYΘ(4n)\Theta(4^n)0†0^\daggerX1X2+Y1Y2X_1X_2+Y_1Y_2O(2−n)O(2^{-n})0†0^\dagger
Doped chainΘ(4n)†\Theta(4^n)^\dagger0†0^\daggerX1X2+Y1Y2X_1X_2+Y_1Y_2O(2−n)†O(2^{-n})^\dagger0†0^\dagger
Odd-cycle XYXYΘ(4n)\Theta(4^n)Θ(2n)†\Theta(2^n)^\daggerX1X2+Y1Y2X_1X_2+Y_1Y_2O(2−n)O(2^{-n})O(2−n)O(2^{-n})

Table 2. Summary for the RyR_y 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 ϕ∈{0,π}n\phi\in\{0,\pi\}^n. It does not describe a prior with finite clustering width. Daggers mark diagonal counts checked through n=8n=8 for graphs and n=9n=9 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 Pg≤dA(g)P_g \le d_A(\mathfrak{g}) 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 RXYR_{XY} gates to the off-diagonal circuit or place its RXXR_{XX} and RYYR_{YY} 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 2n/22^{n/2}. Consequently, the purities satisfy Pg(ρ)=2nPgn(ρ)\mathcal{P}_{g}(\rho)=2^{n}\mathcal{P}_{g}^{\mathrm{n}}(\rho).

For a Pauli-string observable O∈gO\in\mathfrak{g}, we also have PgHS(O)=Tr⁡[O2]=2n\mathcal{P}_{\mathfrak{g}}^{\mathrm{HS}}(O)=\operatorname{Tr}[O^2]=2^n. These factors cancel in Eq. (1), leaving Var⁡θ[fθ]=Pg(ρ)/dim⁡g\operatorname{Var}_{\theta}[f_{\theta}]=\mathcal{P}_{\mathfrak{g}}(\rho)/\dim\mathfrak{g} for a simple algebra. For n=3n=3 or n≥5n\geq5, the readout O=XiXi+1+YiYi+1O=X_iX_{i+1}+Y_iY_{i+1} contributes one basis string to each of the two equal-dimensional simple ideals g1,g2\mathfrak{g}_1,\mathfrak{g}_2 of god\mathfrak{g}_{\mathrm{od}} [29]. With input purities Pg1+Pg2=Pgod\mathcal{P}_{\mathfrak{g}_1}+\mathcal{P}_{\mathfrak{g}_2}=\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}, Eq. (1) gives Var⁡θ[fθ]=2(Pg1+Pg2)/dim⁡god=2Pgod/dim⁡god\operatorname{Var}_{\theta}[f_{\theta}]=2(\mathcal{P}_{\mathfrak{g}_1}+\mathcal{P}_{\mathfrak{g}_2})/\dim\mathfrak{g}_{\mathrm{od}}=2\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}/\dim\mathfrak{g}_{\mathrm{od}}. Smaller systems, however, require separate accounting. At n=4n=4, each so(4)\mathfrak{so}(4) splits into two simple ideals, each of dimension 3 and observable Hilbert-Schmidt (HS) purity 8, so the same aggregate factor holds. At n=2n=2, both components are abelian and the output variance is zero.

b) Extremal Inputs: For n≥2n\geq2, the clustered value n−1n-1 reached at ϕk=π/2\phi_k=\pi/2 is the global maximum of Eq. (3). To see this, write sk=sin⁡2ϕks_k=\sin^2\phi_k and tk=cos⁡2ϕkt_k=\cos^2\phi_k and collect the terms of Eq. (3) with right endpoint kk into

Ak=∑j<kk−j oddsj∏j<l<ktl,A_k=\sum_{\substack{j<k\\k-j\ \mathrm{odd}}}s_j\prod_{j<l<k}t_l,

together with its even-distance counterpart BkB_k. These sums obey the recursions Ak+1=sk+tkBkA_{k+1}=s_k+t_kB_k and Bk+1=tkAkB_{k+1}=t_kA_k with A2=s1A_2=s_1 and B2=0B_2=0, so Ak,Bk≤1A_k,B_k\leq1 follows by induction. Since the purity accumulates as Pgod=∑k=2nskAk\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}=\sum_{k=2}^{n}s_kA_k, this yields Pgod≤n−1\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}\leq n-1, with equality exactly when ϕk∈{π/2,3π/2}\phi_k\in\{\pi/2,3\pi/2\} at every site. A randomized search over angle configurations up to n=8n=8 found no violation of this bound.

Appendix C: Input Transformation

a) Acceptance Test: For n≥3n\geq3, let D\mathcal{D} be the empirical distribution of mm fixed, nonzero inputs in RD\mathbb{R}^D, where D≥2nD\geq2n. Draw a shared rotation QQ from the Haar measure on SO(D)SO(D). For each fixed input, Qx/∥x∥Qx/\lVert x\rVert is uniform on the unit sphere and has the same distribution as z/∥z∥z/\lVert z\rVert for z∼N(0,ID)z\sim\mathcal{N}(0,I_D) [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 QQ is used for all inputs, linearity of expectation [27 Chap. 1] then gives

EQ[Ex∼D[Pgod(ρ(ϕ(Qx)))]]=μn,(7)\mathbb{E}_{Q}\left[\mathbb{E}_{x\sim\mathcal{D}}\left[\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}(\rho(\phi(Qx)))\right]\right]=\mu_n, \tag*{(7)}

where μn\mu_n is the uniform-prior mean in Eq. (4). The dataset mean lies in [0,n−1][0,n-1] by Sec. B. Applying Markov’s inequality [27 Chap. 1] to n−1−Ex∼D[Pgod]n-1-\mathbb{E}_{x\sim\mathcal{D}}[\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}] gives

Pr⁡Q[Ex∼D[Pgod]≥μn2]≥μn/2n−1−μn/2→n→∞15.(8)\Pr_Q\left[\mathbb{E}_{x\sim\mathcal{D}}[\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}]\geq\frac{\mu_n}{2}\right]\geq\frac{\mu_n/2}{n-1-\mu_n/2}\xrightarrow[n\to\infty]{}\frac{1}{5}. \tag*{(8)}

Because Eq. (3) gives empirical mean purity, we can recognize an accepted draw without simulating the circuit. For a dataset {x1,…,xm}\{x_1,\ldots,x_m\} and candidate QQ, that quantity is

P^=1m∑i=1mPgod(ρ(ϕ(Qxi))),(9)\widehat{\mathcal{P}}=\frac{1}{m}\sum_{i=1}^{m}\mathcal{P}_{\mathfrak{g}_{\mathrm{od}}}(\rho(\phi(Qx_i))), \tag*{(9)}

which can be evaluated from Eq. (3) in O(mn2)\mathcal{O}(mn^2) classical time, or in O(mn)\mathcal{O}(mn) using the recursions in Sec. B, once the angles are available. We accept a rotation when P^≥μn/2\widehat{\mathcal{P}}\geq\mu_n/2, the event whose probability is bounded in Eq. (8). Independent rejection sampling then needs at most 2(n−1)/μn−12(n-1)/\mu_n-1 draws in expectation, with the bound approaching five as n→∞n\to\infty. Each trial also incurs the cost of generating and applying QQ.

For the constructed correlated datasets in Figure 10, each containing m=256m=256 inputs, all 10310^3 sampled rotations passed at n=6n=6, 10, and 14. Their mean EQ[P^]\mathbb{E}_Q[\widehat{\mathcal{P}}] agreed with μn\mu_n 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 π/4\pi/4, can also pass without rotation. By comparison, angles clustered near {0,π}\{0,\pi\} 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 π/4\pi/4 and 5π/45\pi/4. The transformed pooled histogram is approximately uniform on [0,2π)[0,2\pi).

For the specified readout and circuit ensemble, every accepted rotation certifies empirical and sample-wise output variance Θ(1/n)\Theta(1/n). It does not control the variance of an averaged output or a supervised-loss gradient, which also involve cross-sample covariances. Selecting QQ 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: x∈{0,π}x\in\{0,\pi\} sends every angle to {0,π}\{0,\pi\}. 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 x=π/2x=\pi/2 with binary weights or x=π/3x=\pi/3 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 n=14n=14 and σ=0.03\sigma=0.03, 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 LL encoding blocks and L+1L+1 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 n=6n=6, its measured mean sample-wise output variance lies between approximately 0.031 and 0.038 for L∈{1,2,3,4,6,8}L\in\{1,2,3,4,6,8\}. This range describes stability relative to the observed L=1L=1 circuit and is not an equality with the single-block Haar prediction. For clustered angles with σ=0.03\sigma=0.03, the variance remains three to five orders of magnitude lower and rises slowly with depth. At σ=0\sigma=0, the measured output satisfies max⁡∣⟨O⟩∣<10−13\max|\langle O\rangle|<10^{-13} at L=1L=1 and L=8L=8, 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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [24]Rolando D. Somma. Quantum Computation, Complexity, and Many-Body Physics. PhD thesis. 2005. DOI: 10.48550/arXiv.quant-ph/0512209.DOI
  25. [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. [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. [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. [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. [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

Paper details

vlnc:W_rf5vd2qg
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY-SA 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Claude Opus (multiple versions)

View statement
Looking for related papers…
Contents