Introduction
Porous materials are used to control fluid flow in applications such as aerodynamic noise reduction and skin-friction control. For example, porous inserts near the trailing edge of an airfoil can reduce noise generated by the flow [19 ] , while porous coatings have also been studied for controlling skin friction [20 ] . At low flow speeds, the motion of a fluid through a porous material can be described by the Stokes and Darcy–Brinkman equations [18 ] . In the Brinkman model, the resistance offered by the material is represented by a drag coefficient α ( x ) \alpha(x) α ( x ) , which may vary across the domain.
In practice, the permeability of a porous material is not always known exactly. Manufacturing variations can produce different local structures, and these differences affect the resulting flow. To account for this uncertainty, we consider M M M possible drag fields { α s } s = 0 M − 1 \{\alpha_s\}_{s=0}^{M-1} { α s } s = 0 M − 1 , each corresponding to a different material scenario. Solving the Brinkman equations for scenario s s s gives a velocity field u s \boldsymbol{u}_s u s . Our quantity of interest is the average squared L 2 L^2 L 2 norm of the velocity,
E ˉ = 1 M ∑ s = 0 M − 1 ∥ u s ∥ L 2 2 , \bar{\mathcal{E}} = \frac{1}{M} \sum_{s=0}^{M-1} \lVert u_s \rVert_{L^2}^2, E ˉ = M 1 s = 0 ∑ M − 1 ∥ u s ∥ L 2 2 ,
which we want to estimate to additive accuracy ϵ \epsilon ϵ . This is an uncertainty quantification problem: rather than predicting the flow for only one material, we want to estimate its average response across many possible materials.
A direct classical approach is to solve the PDE for a collection of scenarios and average the results. Ordinary Monte Carlo sampling typically requires O ( ϵ − 2 ) O(\epsilon^{-2}) O ( ϵ − 2 ) evaluations to obtain statistical error of order ϵ \epsilon ϵ . When each evaluation involves solving a spatially discretized PDE, this can be expensive, particularly when the material properties vary on fine spatial scales.
Quantum amplitude estimation (QAE) offers a way to reduce the number of evaluations to O ( ϵ − 1 ) O(\epsilon^{-1}) O ( ϵ − 1 ) [9 , 11 ] . However, applying QAE to a fluid problem is not as simple as evaluating a known function. Each coherent evaluation must represent the material properties, solve the corresponding PDE, and encode the quantity of interest in a measurement probability. If the quantum PDE solver is expensive, the reduction in sampling cost may not lead to an overall advantage.
This distinction becomes especially important when comparing against stronger classical methods. Quasi-Monte Carlo (QMC) can achieve first-order convergence for sufficiently regular parameter dependence, while multilevel Monte Carlo (MLMC) can reduce the cost by combining solutions at different spatial resolutions [27 , 25 , 26 , 23 , 24 ] . If a classical method already uses approximately O ( ϵ − 1 ) O(\epsilon^{-1}) O ( ϵ − 1 ) evaluations, QAE alone does not improve the sampling exponent. The cost of each quantum PDE solve must therefore be considered alongside the number of evaluations.
For incompressible flow, constructing such a solver presents two main difficulties. First, the velocity must satisfy ∇ ⋅ u = 0 \nabla\cdot u = 0 ∇ ⋅ u = 0 . Standard formulations enforce this constraint through pressure, leading to an indefinite saddle-point system [21 ] . Second, the condition number of the discretized viscous operator typically grows as the grid is refined. This is costly for quantum linear-system algorithms based on quantum singular value transformation (QSVT), whose complexity depends on the conditioning of the operator [4 , 5 ] . Spatially varying drag adds another complication because it couples Fourier modes that would otherwise be independent.
Quantum PDE solvers and preconditioning methods have been studied previously [39 , 7 ] , including Fourier-based methods for periodic Stokes flow [15 ] . Here we consider the combination of incompressibility, spatially varying Brinkman drag, and coherent evaluation over an ensemble of uncertain inputs. Our goal is to construct a solver for this setting whose conditioning does not worsen with grid refinement, and to determine when its cost allows an advantage in estimating the ensemble average.
We address this problem in two steps. First, we use a polar Riesz map to express the velocity in divergence-free coordinates. This replaces the constrained formulation by a positive-definite system while preserving incompressibility in the exact mathematical representation. We then rescale the reduced operator using a constant-drag reference operator. The resulting Sobolev–Riesz preconditioner gives
κ ( K ~ s ) ≤ α max α min , \kappa(\widetilde{K}_s) \le\frac{\alpha_{\max}}{\alpha_{\min}}, κ ( K s ) ≤ α m i n α m a x ,
for every grid resolution. Thus, for fixed drag contrast, the condition number remains bounded as the spatial discretization is refined.
We also construct quantum block encodings and reversible-arithmetic circuits for the preconditioned operator, and show how the kinetic energy can be obtained from a measurement probability without reading out the velocity field. Combining the solver cost with QAE leads to a precision–ensemble criterion for quantum advantage. Under explicit assumptions on coherent input generation, forcing, discretization accuracy, and the classical solver class, we obtain a conditional gate-complexity advantage over single-level grid-resolving classical methods. Numerical experiments test the preconditioning and circuit components in two dimensions, together with additional operator-level checks in three dimensions. The comparison does not establish an advantage over all classical algorithms or a runtime speedup on quantum hardware.
The remainder of the paper is organized as follows. § 2 discusses related work, and § 3 introduces the Brinkman model and the quantum tools used in the analysis. § 4 develops the constraint-preserving formulation, while § 5 describes coherent evaluation of the ensemble observable. § 6 compares quantum and classical sampling costs. The preconditioned Brinkman solver and its gate complexity are presented in § 7 , followed by numerical results in § 8 . The appendices provide the supporting proofs and circuit details.
Related Work
Prior work on quantum PDE solvers, operator preconditioning, and uncertainty quantification informs our comparison of solver and sampling costs for heterogeneous Brinkman flow.
Quantum PDE Solvers and Preconditioning
Quantum linear-system algorithms make it possible to represent the solution of a linear system as a quantum state without computing and storing every entry of the solution. The algorithm introduced by Harrow, Hassidim, and Lloyd [1 ] established this approach, and later work improved its precision and condition-number dependence [3 , 4 , 5 , 6 ] . These improvements are important for PDEs, where a fine spatial discretization can produce a large and poorly conditioned system.
Applying a quantum linear-system algorithm to a PDE does not, however, guarantee an overall speedup. The input must be prepared, the system must be solved to sufficient accuracy, and the desired quantity must be extracted from the solution. Montanaro and Pallister [39 ] studied these costs for a finite-element boundary-value problem. They considered the calculation of a linear functional of the solution and compared the quantum approach with classical conjugate gradients. Their analysis provides an important starting point for evaluating quantum PDE algorithms beyond the cost of the linear-system routine itself.
Preconditioning is one way to reduce the cost of the solve. In classical numerical analysis, operator preconditioning uses an appropriate function-space norm to obtain systems whose conditioning is less sensitive to mesh refinement [21 , 22 ] . This principle has also been used in quantum algorithms. Clader, Jacobs, and Sprouse [2 ] explored preconditioned quantum linear-system methods, while Deiml and Peterseim [7 ] developed a quantum realization of a finite-element method using a BPX preconditioner to control the conditioning of an elliptic problem.
These results show that preconditioning can be an essential part of a quantum PDE solver. In our setting, the unknown is a divergence-free vector field rather than a scalar solution, and the Brinkman operator contains a spatially varying drag coefficient. We use the same general principle of operator preconditioning, but work in divergence-free Fourier coordinates. This allows us to remove the incompressibility constraint from the reduced system and bound its condition number independently of the grid.
Quantum Algorithms for Fluid Flow
Quantum algorithms for fluid dynamics have been developed using several different approaches. Some use Fourier representations of differential operators, while others are based on lattice-Boltzmann methods or formulations for nonlinear flow. Lubasch and coauthors [8 ] showed how the quantum Fourier transform can simplify circuit constructions for several structured PDEs. Fourier methods are especially useful for periodic problems because differential operators with constant coefficients become diagonal in wavenumber space.
The closest work to our solver is the quantum spectral method of Gimenez, Cirak, and Ortiz [15 ] . They developed a quantum circuit for steady incompressible Stokes flow on a two-dimensional periodic domain. Their method uses the Fourier representation to separate velocity components parallel and perpendicular to each wavenumber, allowing incompressibility to be enforced mode by mode. They also demonstrate the calculation of a kinetic-energy observable without reconstructing the full velocity field.
Our work builds on this spectral approach but considers a different operator. In the constant-coefficient Stokes problem, the viscous term is diagonal in Fourier space, so different wavenumbers can be treated separately. For Brinkman flow with spatially varying drag, multiplication by α s ( x ) \alpha_s(x) α s ( x ) couples those modes. The quantum solver must therefore handle a variable-coefficient operator while preserving incompressibility and controlling its condition number. We also study repeated coherent evaluations for an ensemble of drag fields, rather than only a fixed flow problem.
Other quantum fluid algorithms address more general dynamics. Jennings and coauthors [16 ] analyzed an end-to-end quantum lattice-Boltzmann algorithm for nonlinear fluid flow, including the costs of its implementation and observable estimation. Ameri and coauthors [17 ] studied quantum lower bounds for simulating fluid dynamics, including inviscid flow. These works concern different physical models, but they illustrate why the cost of preparing and measuring a quantum fluid simulation must be included when assessing an algorithm’s advantage.
Uncertainty Quantification and Sampling
Our second concern is the cost of averaging over uncertain material properties. Classical uncertainty quantification commonly uses Monte Carlo, quasi-Monte Carlo (QMC), and multilevel Monte Carlo (MLMC). QMC uses carefully distributed sample points instead of independent random samples and can achieve faster convergence when the dependence on uncertain parameters is sufficiently regular [27 , 25 , 26 ] . MLMC reduces computational cost by combining many inexpensive coarse-grid evaluations with fewer fine-grid evaluations [23 , 24 ] . These methods provide stronger classical comparisons than ordinary Monte Carlo alone.
On the quantum side, amplitude estimation [9 ] reduces the number of coherent evaluations needed for general mean estimation, and Montanaro [11 ] showed how this can accelerate Monte Carlo calculations. Quantum algorithms have also been proposed for PDEs with uncertain inputs. For example, Golse, Jin, and Liu [13 ] developed transformations that reformulate certain PDE uncertainty problems in higher-dimensional spaces, allowing the uncertain inputs to be treated through a different computational representation.
An important limitation is that quantum amplitude estimation does not always improve the asymptotic sampling rate over classical QMC. Rechia and coauthors [14 ] studied quantum QMC using coherently prepared low-discrepancy points. They identified a possible pre-asymptotic advantage, while showing why their construction does not generally improve the asymptotic rate over classical QMC.
This distinction matters for our problem because every evaluation includes a Brinkman solve. Even when QAE reduces the number of evaluations, the quantum computation is advantageous only if the cost of those evaluations is sufficiently low. Our precision–ensemble criterion accounts for both costs, and our preconditioned solver addresses the cost of each coherent PDE evaluation.
Circuit Implementation and Complexity Models
The gate cost depends on how the drag field is evaluated and the Fourier-mode rotations are synthesized. The construction uses standard controlled operations, reversible arithmetic, multiplexed rotations, and rotation synthesis [33 , 34 , 35 , 36 , 37 ] . The gate analysis includes the cost and approximation errors of these operations.
Information-based complexity studies how many observations of an unknown function are needed to compute a quantity of interest [29 , 30 , 31 ] . Quantum query bounds for integration and elliptic PDE problems have been studied by Novak and Heinrich [40 , 41 , 32 ] . Our gate analysis assumes compact descriptions of the drag fields that can be evaluated coherently, and the comparison is with specified classical grid-resolving solvers. Access to unknown drag through point queries defines a separate information model.
Preliminaries
We consider a periodic Brinkman problem with uncertain material properties. This section defines the fluid model and the ensemble quantity we wish to estimate. We then introduce the Fourier representation and the quantum operations used later in the paper.
Periodic Brinkman Flow
Let d ≥ 2 d \ge2 d ≥ 2 be the spatial dimension. We work on the periodic domain T d = ( R / 2 π Z ) d \mathbb{T}^{d} = (\mathbb{R}/2\pi\mathbb{Z})^{d} T d = ( R /2 π Z ) d , which can be viewed as the cell [ 0 , 2 π ) d [0,2\pi)^{d} [ 0 , 2 π ) d with opposite faces identified. This allows us to study a representative region of porous material without prescribing boundaries for a complete device or airfoil.
For each material scenario s ∈ { 0 , … , M − 1 } s \in\{0,\ldots,M-1\} s ∈ { 0 , … , M − 1 } , let u s : T d → R d u_s:\mathbb{T}^{d} \to\mathbb{R}^{d} u s : T d → R d denote the fluid velocity and p s : T d → R p_s:\mathbb{T}^{d} \to\mathbb{R} p s : T d → R its pressure. The material is described by a positive drag coefficient α s ( x ) \alpha_s(x) α s ( x ) : a larger value means greater resistance to the flow. In the usual Brinkman scaling, the drag is the viscosity divided by the local permeability. We write ν > 0 \nu> 0 ν > 0 for the viscosity parameter and f s f_s f s for the applied body force.
Without porous resistance, the low-Reynolds-number momentum equation is the Stokes equation − ν Δ u s + ∇ p s = f s -\nu\Delta u_s + \nabla p_s = f_s − ν Δ u s + ∇ p s = f s . The Brinkman model adds the drag force α s ( x ) u s \alpha_s(x)u_s α s ( x ) u s [18 ] . We use the following periodic, zero-mean formulation:
− ν Δ u s + α s ( x ) u s + ∇ p s + λ s = f s , -\nu\Delta u_s + \alpha_s(x)u_s + \nabla p_s + \lambda_s = f_s, − ν Δ u s + α s ( x ) u s + ∇ p s + λ s = f s ,
∇ ⋅ u s = 0 , \nabla\cdot u_s = 0, ∇ ⋅ u s = 0 ,
∫ T d u s d x = 0 , \int_{\mathbb{T}^{d}} u_s \, dx = 0, ∫ T d u s d x = 0 ,
∫ T d p s d x = 0. \int_{\mathbb{T}^{d}} p_s \, dx = 0. ∫ T d p s d x = 0.
Here Δ \Delta Δ is the spatial Laplacian and ∇ p s \nabla p_s ∇ p s is the pressure gradient. The condition ∇ ⋅ u s = 0 \nabla\cdot u_s = 0 ∇ ⋅ u s = 0 expresses incompressibility: the velocity has zero divergence at every point. The pressure enforces this local constraint. We also require the average velocity to vanish. The constant vector λ s ∈ R d \lambda_s \in\mathbb{R}^{d} λ s ∈ R d is the multiplier that enforces this mean-flow constraint; it can be interpreted as a uniform imposed pressure gradient. The final condition fixes the otherwise arbitrary additive constant in the periodic pressure. The role of λ s \lambda_s λ s is discussed further in § 7 .
Fourier Representation
The periodic domain is useful because the differential operators have simple expressions in Fourier space. Write the velocity as
u s ( x ) = ∑ k ∈ Z d u ^ s ( k ) e i k ⋅ x , u_s(x) = \sum_{k \in\mathbb{Z}^{d}} \widehat{u}_s(k)e^{ik\cdot x}, u s ( x ) = k ∈ Z d ∑ u s ( k ) e ik ⋅ x ,
where k = ( k 1 , … , k d ) k = (k_1,\ldots,k_d) k = ( k 1 , … , k d ) is an integer wavenumber and u ^ s ( k ) ∈ C d \widehat{u}_s(k) \in\mathbb{C}^{d} u s ( k ) ∈ C d is its Fourier coefficient. Differentiation with respect to x j x_j x j multiplies a Fourier coefficient by i k j ik_j i k j . Consequently, the zero-mean condition and incompressibility become
u ^ s ( 0 ) = 0 , k ⋅ u ^ s ( k ) = 0 ( k ≠ 0 ) . \widehat{u}_s(0) = 0,\qquad k \cdot\widehat{u}_s(k) = 0 \quad(k \ne0). u s ( 0 ) = 0 , k ⋅ u s ( k ) = 0 ( k = 0 ) .
Thus the constant Fourier mode is absent, and at each nonzero wavenumber the velocity coefficient must be perpendicular to k k k . This observation is the starting point for the constraint-preserving coordinates developed in § 4 .
Fourier space also makes the viscous operator easy to represent. For a constant reference drag α 0 > 0 \alpha_0 > 0 α 0 > 0 , define A 0 : = − ν Δ + α 0 I A_0 := -\nu\Delta+ \alpha_0 I A 0 := − ν Δ + α 0 I , where I I I denotes the identity. Its action on mode k k k is multiplication by ν ∣ k ∣ 2 + α 0 \nu\lvert k\rvert^2 + \alpha_0 ν ∣ k ∣ 2 + α 0 . By contrast, multiplication by a spatially varying coefficient α s ( x ) \alpha_s(x) α s ( x ) is simple in position space but couples Fourier modes. Our quantum construction moves between these two representations using quantum Fourier transforms (§ 7 ).
Ensemble Observable and Classical Sampling
The uncertain input consists of M M M possible pairs ( α s , f s ) (\alpha_s,f_s) ( α s , f s ) . Each pair determines a velocity u s u_s u s , and hence a kinetic-energy observable ∥ u s ∥ L 2 2 \lVert u_s\rVert_{L^2}^2 ∥ u s ∥ L 2 2 . The L 2 L^2 L 2 norm uses the normalized spatial measure d μ ( x ) = ( 2 π ) − d d x d\mu(x) = (2\pi)^{-d}dx d μ ( x ) = ( 2 π ) − d d x on T d \mathbb{T}^{d} T d ; in particular,
∥ u s ∥ L 2 2 = ∫ T d ∣ u s ( x ) ∣ 2 d μ ( x ) . \lVert u_s\rVert_{L^2}^2 = \int_{\mathbb{T}^{d}} \lvert u_s(x)\rvert^2 \, d\mu(x). ∥ u s ∥ L 2 2 = ∫ T d ∣ u s ( x ) ∣ 2 d μ ( x ) .
The quantity we ultimately estimate is an ensemble average. For the sampling analysis, it is convenient to work with a normalized output g s ∈ [ 0 , 1 ] g_s \in[0,1] g s ∈ [ 0 , 1 ] , defined precisely in Equation (5) . Its mean is
μ = 1 M ∑ s = 0 M − 1 g s . \mu= \frac{1}{M}\sum_{s=0}^{M-1} g_s. μ = M 1 s = 0 ∑ M − 1 g s .
Here μ \mu μ denotes the scalar ensemble mean, whereas d μ ( x ) d\mu(x) d μ ( x ) denotes the normalized spatial measure. Our target is an estimate of μ \mu μ with additive error at most ϵ > 0 \epsilon> 0 ϵ > 0 .
The ensemble size M M M may be fixed. When the scenarios approximate a continuous probability distribution, we also allow it to depend on the target accuracy, writing M ( ϵ ) = Θ ( ϵ − m ) M(\epsilon) = \Theta(\epsilon^{-m}) M ( ϵ ) = Θ ( ϵ − m ) for some m ≥ 0 m \ge0 m ≥ 0 . The exponent m m m describes how quickly the number of scenarios grows as more accuracy is requested.
To compare sampling methods, we describe a classical rule by its convergence order p > 0 p > 0 p > 0 . Specifically, we assume that it needs Θ ( ϵ − 1 / p ) \Theta(\epsilon^{-1/p}) Θ ( ϵ − 1/ p ) scenario evaluations to reach error of order ϵ \epsilon ϵ in the regime where the ensemble is large enough. Since all M M M scenarios can also be evaluated directly, the corresponding cost law is Θ ( min { M , ϵ − 1 / p } ) \Theta(\min\{M,\epsilon^{-1/p}\}) Θ ( min { M , ϵ − 1/ p }) evaluations. Ordinary Monte Carlo has p = 1 / 2 p = 1/2 p = 1/2 . Quasi-Monte Carlo rules based on Sobol’ points can reach p = 1 p = 1 p = 1 , up to logarithmic factors, under sufficient regularity of the map from uncertain parameters to the observable [27 , 25 ] . Nonsmooth inputs may give a lower order [28 ] . Multilevel Monte Carlo uses solves at different resolutions to change the overall cost, so it is a separate comparison from this single-level sampling law. The assumptions used for our complexity results appear in § 7.4 .
Quantum Tools
Our algorithm uses four established quantum operations. The quantum Fourier transform changes between the two representations of the PDE; block encoding represents a nonunitary operator within a unitary circuit; quantum singular value transformation approximately inverts that operator; and amplitude estimation computes the final average. We recall only the properties used later.
Quantum registers and Fourier transforms. An n n n -qubit register has 2 n 2^n 2 n computational basis states. For simplicity, take N = 2 n N = 2^n N = 2 n grid points along each spatial axis and M = 2 n M M = 2^{n_M} M = 2 n M material scenarios. The scenario register uses log 2 M \log_2 M log 2 M qubits, while a d d d -dimensional grid index uses d log 2 N d\log_2 N d log 2 N qubits. The d d d -dimensional quantum Fourier transform F d F_d F d converts position basis states ∣ x ⟩ |x\rangle ∣ x ⟩ into superpositions of wavenumber states ∣ k ⟩ |k\rangle ∣ k ⟩ , and vice versa with F d † F_d^\dagger F d † . Its standard circuit uses O ( d log 2 N ) O(d\log^2 N) O ( d log 2 N ) gates. This bound counts the transform itself, not the cost of loading an arbitrary drag field or source vector into the register.
Block encoding. Quantum gates are unitary, whereas a PDE operator is generally not. A block encoding represents a scaled operator as one block of a larger unitary. Let X X X be an operator on the system register. A unitary U B E U_{\mathrm{BE}} U BE is an ( a , γ , η ) (a,\gamma,\eta) ( a , γ , η ) -block encoding of X X X if, with a a a auxiliary (ancilla) qubits,
B = ( ⟨ 0 a ∣ ⊗ I ) U B E ( ∣ 0 a ⟩ ⊗ I ) , B = (\langle0^a| \otimes I)U_{\mathrm{BE}}(|0^a\rangle\otimes I), B = (⟨ 0 a ∣ ⊗ I ) U BE ( ∣ 0 a ⟩ ⊗ I ) ,
∥ B − X / γ ∥ 2 ≤ η , γ ≥ ∥ X ∥ 2 . \lVert B - X/\gamma\rVert_2 \le\eta,\qquad\gamma\ge\lVert X\rVert_2. ∥ B − X / γ ∥ 2 ≤ η , γ ≥ ∥ X ∥ 2 .
The number γ \gamma γ is the normalization, and η \eta η is the allowed operator-norm error. Later quantum operations act on the encoded block X / γ X/\gamma X / γ , rather than applying X X X directly. For our solver it is important that the required normalization does not increase as the grid is refined.
Quantum singular value transformation. Quantum singular value transformation (QSVT) applies a polynomial to an operator through its block encoding [4 , 5 ] . For a Hermitian operator X / γ X/\gamma X / γ , QSVT can implement P ( X / γ ) P(X/\gamma) P ( X / γ ) for suitable real polynomials P P P of degree d i n v d_{\mathrm{inv}} d inv satisfying ∣ P ( t ) ∣ ≤ 1 |P(t)| \le1 ∣ P ( t ) ∣ ≤ 1 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , subject to the usual parity conditions. This takes O ( d i n v ) O(d_{\mathrm{inv}}) O ( d inv ) calls to U B E U_{\mathrm{BE}} U BE and related controlled operations. If the spectrum of X X X is positive and bounded away from zero, we can choose P P P to approximate a scaled reciprocal. This gives an approximate inverse of X X X , which is the operation needed to solve the reduced PDE. The required degree depends on the condition number κ \kappa κ (the ratio of the largest to smallest eigenvalue) and the target approximation error η \eta η ; a standard bound is d i n v = O ( κ log ( 1 / η ) ) d_{\mathrm{inv}} = O(\kappa\log(1/\eta)) d inv = O ( κ log ( 1/ η )) under the usual block-encoding normalization assumptions. The specific polynomial and its error are analyzed later for our preconditioned operator.
Quantum amplitude estimation. Finally, suppose a unitary A \mathcal{A} A prepares a state in which the probability of observing a designated “good” flag is μ \mu μ :
A ∣ 0 ⟩ = μ ∣ Ψ g o o d ⟩ + 1 − μ ∣ Ψ b a d ⟩ . \mathcal{A}|0\rangle= \sqrt{\mu}|\Psi_{\mathrm{good}}\rangle+ \sqrt{1-\mu}|\Psi_{\mathrm{bad}}\rangle. A ∣0 ⟩ = μ ∣ Ψ good ⟩ + 1 − μ ∣ Ψ bad ⟩ .
The two states lie in orthogonal good and bad subspaces, with the good subspace selected by a projector Π g o o d \Pi_{\mathrm{good}} Π good . Amplitude estimation uses A \mathcal{A} A , its inverse, and reflections about these subspaces to estimate μ \mu μ . For example, the associated Grover iterate can be written as
G = A ( 2 ∣ 0 ⟩ ⟨ 0 ∣ − I ) A † \mathcal{G} = \mathcal{A}(2|0\rangle\langle0| - I)\mathcal{A}^{\dagger} G = A ( 2∣0 ⟩ ⟨ 0∣ − I ) A †
× ( I − 2 Π g o o d ) . {}\times(I - 2\Pi_{\mathrm{good}}). × ( I − 2 Π good ) .
Writing μ = sin 2 θ \mu= \sin^2\theta μ = sin 2 θ , the iterate acts as a rotation by 2 θ 2\theta 2 θ on the two-dimensional subspace relevant to amplitude estimation. Phase-estimation or likelihood-based procedures then estimate μ \mu μ to additive error ϵ \epsilon ϵ using O ( ϵ − 1 log ( 1 / δ ) ) O(\epsilon^{-1}\log(1/\delta)) O ( ϵ − 1 log ( 1/ δ )) coherent calls, with success probability at least 1 − δ 1-\delta 1 − δ [9 , 12 ] . In our setting, the good-flag probability represents the normalized ensemble energy. We therefore need not measure the velocity field itself.
Notation and Conventions
For a vector, ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 is its Euclidean norm; for an operator, it is the induced spectral norm. We write A ∗ A^* A ∗ for the conjugate transpose, A † A^\dagger A † for the Moore–Penrose pseudoinverse, and A ⪯ B A \preceq B A ⪯ B when the Hermitian matrix B − A B-A B − A is positive semidefinite. The L 2 L^2 L 2 inner product and norm on T d \mathbb{T}^d T d use the normalized spatial measure defined above. With this convention, Parseval’s identity is
∥ w ∥ L 2 2 = ∑ k ∈ Z d ∣ w ^ ( k ) ∣ 2 . \lVert w\rVert_{L^2}^2 = \sum_{k\in\mathbb{Z}^d} |\widehat{w}(k)|^2. ∥ w ∥ L 2 2 = k ∈ Z d ∑ ∣ w ( k ) ∣ 2 .
The space L d i v 2 ( T d ) L^2_{\mathrm{div}}(\mathbb{T}^d) L div 2 ( T d ) consists of square-integrable, mean-zero, divergence-free vector fields. We use H j H^j H j for Sobolev spaces with j j j square-integrable weak derivatives and W j , ∞ W^{j,\infty} W j , ∞ when these derivatives are bounded. We also use the periodic Hölder space C r 0 , β C^{r_0,\beta} C r 0 , β , with r = r 0 + β r = r_0+\beta r = r 0 + β , r 0 ∈ N 0 r_0\in\mathbb{N}_0 r 0 ∈ N 0 , and 0 < β ≤ 1 0<\beta\le1 0 < β ≤ 1 ; at r = 1 r=1 r = 1 this denotes the Lipschitz class W 1 , ∞ W^{1,\infty} W 1 , ∞ . As ϵ → 0 + \epsilon\to0^+ ϵ → 0 + , the symbols O \mathcal{O} O , Ω \Omega Ω , and Θ \Theta Θ have their standard asymptotic meanings, while O ~ \widetilde{\mathcal{O}} O suppresses polylogarithmic factors in M , N , d , κ ~ M,N,d,\widetilde{\kappa} M , N , d , κ , and 1 / ϵ 1/\epsilon 1/ ϵ . A list of the principal symbols is given in Section A.
Eliminating the Incompressibility Constraint
The first step in our solver is to represent only velocities that satisfy the incompressibility constraint. We begin with a general finite-dimensional formulation, so the construction does not depend on a particular choice of Fourier grid. We then show that the resulting reduced system is equivalent to the original constrained problem.
Divergence-Free Coordinates
Let H \mathcal{H} H be a finite-dimensional complex vector space of discrete velocities, equipped with an inner product. Let Y \mathcal{Y} Y be the space of constraint values, and write
D : H ⟶ Y D:\mathcal{H}\longrightarrow\mathcal{Y} D : H ⟶ Y
for the linear constraint operator. In a discretization of incompressible flow, D D D includes the discrete divergence and, when needed, the mean-flow constraint. The admissible velocities are exactly those satisfying D u = 0 Du=0 D u = 0 , namely the nullspace ker D \ker D ker D .
One way to enforce the constraint is to choose another coordinate space Z \mathcal{Z} Z and a linear map C : Z → H C:\mathcal{Z}\to\mathcal{H} C : Z → H whose range is exactly ker D \ker D ker D . Every velocity of the form u = C ϕ u=C\phi u = C ϕ is then admissible, because D C = 0 DC=0 D C = 0 . Examples are a discrete curl or a Fourier basis whose vectors are perpendicular to their wavenumbers.
This reduction removes the constraint, but it can introduce a new problem. The columns of C C C need not have equal lengths or be orthogonal. A coordinate vector may therefore be strongly stretched in some directions and compressed in others. For example, a curl multiplies Fourier coefficients by their wavenumbers. Using C C C directly can worsen the conditioning of the reduced system C ∗ A s C C^*A_sC C ∗ A s C , even when the physical operator A s A_s A s is well behaved on ker D \ker D ker D . We want to retain the admissible velocities without introducing this additional scaling.
The Polar Riesz Map
We remove the scaling of C C C by replacing it with the norm-preserving part of its polar decomposition. If C C C has redundant coordinates, those coordinates lie in ker C \ker C ker C and do not change the velocity. We therefore define the nonredundant coordinate space Z 0 = ( ker C ) ⊥ \mathcal{Z}_0=(\ker C)^\perp Z 0 = ( ker C ) ⊥ . Let
A C = C ∗ C , R = C A C † / 2 , (1) A_C=C^*C,\qquad R=CA_C^{\dagger/2}, \tag*{(1)} A C = C ∗ C , R = C A C † /2 , (1)
where A C † / 2 A_C^{\dagger/2} A C † /2 acts as the inverse square root of A C A_C A C on Z 0 \mathcal{Z}_0 Z 0 and is zero on ker C \ker C ker C . The map R R R has the same range as C C C , but its restriction to Z 0 \mathcal{Z}_0 Z 0 preserves Euclidean norms.
Proposition 1 (Constraint-preserving Riesz map). Let C : Z → H C:\mathcal{Z}\to\mathcal{H} C : Z → H satisfy ran C = ker D \operatorname{ran} C=\ker D ran C = ker D , and let R R R be defined by (1) . Then
D R = 0 , R ∗ R = P Z 0 , R R ∗ = P ker D . (2) \begin{aligned}
DR&=0,\\
R^*R&=P_{\mathcal{Z}_0},\\
RR^*&=P_{\ker D}. \tag*{(2)}
\end{aligned} D R R ∗ R R R ∗ = 0 , = P Z 0 , = P k e r D . (2) where P Z 0 P_{\mathcal{Z}_0} P Z 0 and P ker D P_{\ker D} P k e r D are the orthogonal projections onto the indicated spaces. Consequently, R ξ R\xi R ξ satisfies the constraint for every ξ ∈ Z \xi\in\mathcal{Z} ξ ∈ Z , and
∥ R ( ξ ~ − ξ ) ∥ 2 ≤ ∥ ξ ~ − ξ ∥ 2 , \lVert R(\widetilde{\xi}-\xi)\rVert_2\leq\lVert\widetilde{\xi}-\xi\rVert_2, ∥ R ( ξ − ξ ) ∥ 2 ≤ ∥ ξ − ξ ∥ 2 , with equality when both coordinate vectors lie in Z 0 \mathcal{Z}_0 Z 0 .
Proof. Let ρ = rank ( C ) \rho=\operatorname{rank}(C) ρ = rank ( C ) , and take a compact singular-value decomposition
C = U ρ Σ ρ V ρ ∗ . C=U_\rho\Sigma_\rho V_\rho^*. C = U ρ Σ ρ V ρ ∗ .
Here Σ ρ \Sigma_\rho Σ ρ is a ρ × ρ \rho\times\rho ρ × ρ diagonal matrix with strictly positive entries. The columns of U ρ U_\rho U ρ form an orthonormal basis for ran C = ker D \operatorname{ran} C=\ker D ran C = ker D , and the columns of V ρ V_\rho V ρ form an orthonormal basis for Z 0 \mathcal{Z}_0 Z 0 . It follows that
A C = V ρ Σ ρ 2 V ρ ∗ , A_C=V_\rho\Sigma_\rho^2V_\rho^*, A C = V ρ Σ ρ 2 V ρ ∗ ,
A C † / 2 = V ρ Σ ρ − 1 V ρ ∗ . A_C^{\dagger/2}=V_\rho\Sigma_\rho^{-1}V_\rho^*. A C † /2 = V ρ Σ ρ − 1 V ρ ∗ .
Substituting these expressions into (1) cancels the singular values:
R = U ρ V ρ ∗ . R=U_\rho V_\rho^*. R = U ρ V ρ ∗ .
This is the essential point: R R R retains the two orthonormal coordinate systems, but not the unequal scales in Σ ρ \Sigma_\rho Σ ρ . Therefore
R ∗ R = V ρ V ρ ∗ = P Z 0 , R R ∗ = U ρ U ρ ∗ = P ker D . \begin{aligned}
R^*R&=V_\rho V_\rho^*=P_{\mathcal{Z}_0},\\
RR^*&=U_\rho U_\rho^*=P_{\ker D}.
\end{aligned} R ∗ R R R ∗ = V ρ V ρ ∗ = P Z 0 , = U ρ U ρ ∗ = P k e r D .
Also, D R = 0 DR=0 D R = 0 because the range of R R R is contained in ker D \ker D ker D . Finally, for any η ∈ Z \eta\in\mathcal{Z} η ∈ Z ,
∥ R η ∥ 2 2 = ⟨ η , P Z 0 η ⟩ ≤ ∥ η ∥ 2 2 , \lVert R\eta\rVert_2^2=\langle\eta,P_{\mathcal{Z}_0}\eta\rangle\leq\lVert\eta\rVert_2^2, ∥ R η ∥ 2 2 = ⟨ η , P Z 0 η ⟩ ≤ ∥ η ∥ 2 2 ,
with equality for η ∈ Z 0 \eta\in\mathcal{Z}_0 η ∈ Z 0 . Taking η = ξ ~ − ξ \eta=\widetilde{\xi}-\xi η = ξ − ξ completes the proof. □
The proposition separates two kinds of numerical error. If the coordinates ξ \xi ξ are approximated but the map R R R is applied exactly, the reconstructed velocity remains divergence-free: the coordinate error changes the velocity within ker D \ker D ker D . A real circuit also approximates R R R . Writing its implementation as R ~ = R + Δ R \widetilde{R}=R+\Delta R R = R + Δ R gives D ~ = Δ R \widetilde{D}=\Delta R D = Δ R , which need not be zero. The angle synthesis of Proposition 4 controls ∥ Δ R ∥ 2 = O ( 2 − b a r i t h ) \lVert\Delta R\rVert_2=O(2^{-b_{\mathrm{arith}}}) ∥ Δ R ∥ 2 = O ( 2 − b arith ) , where b a r i t h b_{\mathrm{arith}} b arith is the arithmetic precision in bits. This is an operator-norm guarantee, not a grid-independent physical divergence bound, because ∥ D ∥ 2 \lVert D\rVert_2 ∥ D ∥ 2 may itself grow with grid resolution. The later analysis uses the operator-norm error to bound the error in the measured observable (Lemma 1).
The Reduced Positive-Definite System
We next use R R R to remove the constraint from the linear equations. For scenario s s s , let A s : H → H A_s:\mathcal{H}\to\mathcal{H} A s : H → H be a Hermitian operator that is coercive on ker D \ker D ker D . By coercivity we mean that some constant γ s > 0 \gamma_s>0 γ s > 0 satisfies
⟨ v , A s v ⟩ ≥ γ s ∥ v ∥ 2 ( v ∈ ker D ) . \langle v,A_sv\rangle\ge\gamma_s\lVert v\rVert^2 \qquad(v\in\ker D). ⟨ v , A s v ⟩ ≥ γ s ∥ v ∥ 2 ( v ∈ ker D ) .
In particular, the physical operator has a strictly positive quadratic form on every nonzero admissible velocity. Let f s ∈ H f_s\in\mathcal{H} f s ∈ H be the discrete body force and define its reduced form b s = R ∗ f s ∈ Z 0 b_s=R^*f_s\in\mathcal{Z}_0 b s = R ∗ f s ∈ Z 0 . We assume the source has been normalized so that ∥ b s ∥ 2 ≤ 1 \lVert b_s\rVert_2\le1 ∥ b s ∥ 2 ≤ 1 for all scenarios. Since R R ∗ = P ker D RR^*=P_{\ker D} R R ∗ = P k e r D , the vector R b s Rb_s R b s is the projection of the forcing onto the admissible velocity space.
The constrained problem is to find u s ∈ ker D u_s\in\ker D u s ∈ ker D such that
⟨ v , A s u s ⟩ = ⟨ v , R b s ⟩ for all v ∈ ker D . (3) \langle v,A_su_s\rangle=\langle v,Rb_s\rangle\quad\text{for all }v\in\ker D. \tag*{(3)} ⟨ v , A s u s ⟩ = ⟨ v , R b s ⟩ for all v ∈ ker D . (3)
This is a variational statement: the equation must hold when tested against every admissible velocity v v v . To express it in reduced coordinates, write u s = R ξ s u_s=R\xi_s u s = R ξ s and v = R η v=R\eta v = R η for ξ s , η ∈ Z 0 \xi_s,\eta\in\mathcal{Z}_0 ξ s , η ∈ Z 0 . The isometry R ∗ R = I Z 0 R^*R=I_{\mathcal{Z}_0} R ∗ R = I Z 0 then changes (3) into
⟨ η , ( R ∗ A s R ) ξ s ⟩ = ⟨ η , b s ⟩ ( η ∈ Z 0 ) . \langle\eta,(R^*A_sR)\xi_s\rangle=\langle\eta,b_s\rangle\qquad(\eta\in\mathcal{Z}_0). ⟨ η , ( R ∗ A s R ) ξ s ⟩ = ⟨ η , b s ⟩ ( η ∈ Z 0 ) .
Thus, defining the reduced operator
K s : = R ∗ A s R ∣ Z 0 , K_s:=R^*A_sR\big|_{\mathcal{Z}_0}, K s := R ∗ A s R Z 0 ,
we obtain the ordinary linear system K s ξ s = b s K_s\xi_s=b_s K s ξ s = b s . The next proposition shows that this change of coordinates loses neither the physical velocity nor the multiplier associated with the constraint.
Proposition 2 (Reduced–saddle equivalence). For each scenario s s s , K s K_s K s is Hermitian positive definite on Z 0 \mathcal{Z}_0 Z 0 . The unique solution of (3) is
ξ s = K s − 1 b s , u s = R ξ s ∈ ker D , \xi_s=K_s^{-1}b_s,\qquad u_s=R\xi_s\in\ker D, ξ s = K s − 1 b s , u s = R ξ s ∈ ker D , and ∥ u s ∥ 2 = ∥ ξ s ∥ 2 \lVert u_s\rVert_2=\lVert\xi_s\rVert_2 ∥ u s ∥ 2 = ∥ ξ s ∥ 2 . If D : H → Y D:\mathcal{H}\to\mathcal{Y} D : H → Y has full row rank, then there is also a unique multiplier p s ∈ Y p_s\in\mathcal{Y} p s ∈ Y such that ( u s , p s ) (u_s,p_s) ( u s , p s ) solves
\begin{bmatrix}
A_s & D^*\\
D & 0
\end{bmatrix}
\begin{bmatrix}
u_s\\
p_s
\end{bmatrix}
=
\begin{bmatrix}
Rb_s\\
0
\end{bmatrix}. \tag*{(4)}\end{bmatrix}
To see why the reduced operator is positive definite, take any nonzero ξ ∈ Z 0 \xi\in\mathcal{Z}_0 ξ ∈ Z 0 . Since R R R preserves its norm, R ξ ≠ 0 R\xi\ne0 R ξ = 0 , and coercivity gives
⟨ ξ , K s ξ ⟩ = ⟨ R ξ , A s R ξ ⟩ ≥ γ s ∥ ξ ∥ 2 2 > 0. \langle\xi,K_s\xi\rangle=\langle R\xi,A_sR\xi\rangle\ge\gamma_s\lVert\xi\rVert_2^2>0. ⟨ ξ , K s ξ ⟩ = ⟨ R ξ , A s R ξ ⟩ ≥ γ s ∥ ξ ∥ 2 2 > 0.
The equivalence follows from the coordinate change above. The multiplier can be recovered from the residual R b s − A s u s Rb_s-A_su_s R b s − A s u s : this residual is orthogonal to ker D \ker D ker D , so it lies in ran D ∗ \operatorname{ran}D^* ran D ∗ ; full row rank makes its representation as D ∗ p s D^*p_s D ∗ p s unique. The complete proof is given in Section B.
This result lets us solve a positive-definite system for ξ s \xi_s ξ s instead of an indefinite saddle-point system for ( u s , p s ) (u_s,p_s) ( u s , p s ) . The physical velocity is still obtained by applying R R R , and therefore satisfies the constraint in exact arithmetic. The next stage of the algorithm will precondition K s K_s K s to control its condition number.
Normalizing the Observable
Our eventual goal is not to measure the full velocity vector, but to estimate an average of a bounded scalar response. Let O s O_s O s be a Hermitian observable operator satisfying 0 ⪯ O s ⪯ I H 0\preceq O_s\preceq I_{\mathcal{H}} 0 ⪯ O s ⪯ I H . For total kinetic energy, O s = I H O_s=I_{\mathcal{H}} O s = I H ; a projection onto a spatial region can also be used to measure energy in that region. Choose a constant β \beta β such that
β ≥ max 0 ≤ s ≤ M ∥ K s − 1 ∥ 2 . \beta\ge\max_{0\le s\le M}\lVert K_s^{-1}\rVert_2. β ≥ 0 ≤ s ≤ M max ∥ K s − 1 ∥ 2 .
Because ∥ b s ∥ 2 ≤ 1 \lVert b_s\rVert_2\le1 ∥ b s ∥ 2 ≤ 1 and R R R is an isometry on Z 0 \mathcal{Z}_0 Z 0 , we have ∥ u s ∥ 2 ≤ β \lVert u_s\rVert_2\le\beta ∥ u s ∥ 2 ≤ β . We can therefore define
g s = ⟨ u s , O s u s ⟩ β 2 ∈ [ 0 , 1 ] , g_s=\frac{\langle u_s,O_su_s\rangle}{\beta^2}\in[0,1], g s = β 2 ⟨ u s , O s u s ⟩ ∈ [ 0 , 1 ] ,
and
μ = 1 M ∑ s = 0 M − 1 g s ∈ [ 0 , 1 ] . (5) \mu=\frac{1}{M}\sum_{s=0}^{M-1}g_s\in[0,1]. \tag*{(5)} μ = M 1 s = 0 ∑ M − 1 g s ∈ [ 0 , 1 ] . (5)
For O s = I H O_s=I_{\mathcal{H}} O s = I H , the unnormalized mean kinetic energy is E = β 2 μ \mathcal{E}=\beta^2\mu E = β 2 μ . This normalization makes the desired average suitable for amplitude estimation.
Coherent Evaluation of the Ensemble Mean
The reduced system K s ξ s = b s K_s\xi_s=b_s K s ξ s = b s gives the velocity u s = R ξ s u_s=R\xi_s u s = R ξ s . The circuit encodes the ensemble average μ \mu μ from (5) as the probability of a designated measurement outcome. For kinetic energy, this avoids reconstructing the velocity field.
Encoding the Observable in a Probability
Recall that O s O_s O s is a Hermitian operator satisfying 0 ⪯ O s ⪯ I H 0\preceq O_s\preceq I_{\mathcal{H}} 0 ⪯ O s ⪯ I H and that β \beta β is chosen so that β ≥ max s ∥ K s − 1 ∥ 2 \beta\ge\max_s\lVert K_s^{-1}\rVert_2 β ≥ max s ∥ K s − 1 ∥ 2 . For kinetic energy we take O s = I H O_s=I_{\mathcal{H}} O s = I H . More generally, because O s O_s O s is positive semidefinite, we can write O s = E s ∗ E s O_s=E_s^*E_s O s = E s ∗ E s , for example with E s = O s 1 / 2 E_s=O_s^{1/2} E s = O s 1/2 . The bound O s ⪯ I H O_s\preceq I_{\mathcal{H}} O s ⪯ I H implies ∥ E s ∥ 2 ≤ 1 \lVert E_s\rVert_2\le1 ∥ E s ∥ 2 ≤ 1 .
Define the scaled inverse
F s : = K s − 1 β . F_s:=\frac{K_s^{-1}}{\beta}. F s := β K s − 1 .
By the choice of β \beta β , ∥ F s ∥ 2 ≤ 1 \lVert F_s\rVert_2\le1 ∥ F s ∥ 2 ≤ 1 . The Riesz map also satisfies ∥ R ∥ 2 ≤ 1 \lVert R\rVert_2\le1 ∥ R ∥ 2 ≤ 1 . Thus F s F_s F s , R R R , and E s E_s E s are all contractions: applying any one of them cannot increase the norm of a vector. Using u s = R K − 1 b s u_s = RK^{-1}b_s u s = R K − 1 b s , the normalized observable becomes
g s = ∥ E s R F s b s ∥ 2 2 . (6) g_s = \lVert E_sRF_sb_s\rVert_2^2. \tag*{(6)} g s = ∥ E s R F s b s ∥ 2 2 . (6)
This identity gives a way to obtain g s g_s g s from a quantum circuit. Starting with the source b s b_s b s , we apply the scaled inverse F s F_s F s , reconstruct the velocity with R R R , and apply E s E_s E s to select the observable. The squared norm of the resulting vector is g s g_s g s .
The operators in this sequence are generally not unitary. In the circuit, each contraction is therefore represented as a block of a larger unitary, with an ancilla register recording the corresponding successful branch. No intermediate measurement is needed. The joint “good” branch has squared norm g s g_s g s , while the other branches account for the remaining probability. This is the connection between the mathematical expression in (6) and the flag measured by amplitude estimation.
We must also apply the procedure to all scenarios coherently. We first prepare the uniform scenario register
∣ s c e n ⟩ = 1 M ∑ s = 0 M − 1 ∣ s ⟩ , |\mathrm{scen}\rangle= \frac{1}{\sqrt{M}}\sum_{s=0}^{M-1}|s\rangle, ∣ scen ⟩ = M 1 s = 0 ∑ M − 1 ∣ s ⟩ ,
and then perform the source preparation, inverse, reconstruction, and observable operations controlled by s s s . The scenario basis states are orthogonal. Therefore the probability of the good flag, without measuring the scenario register, is
1 M ∑ s = 0 M − 1 g s = μ . \frac{1}{M}\sum_{s=0}^{M-1}g_s = \mu. M 1 s = 0 ∑ M − 1 g s = μ .
Applying quantum amplitude estimation to this circuit and its inverse then gives an estimate of μ \mu μ . For kinetic energy, the mean of the unscaled observable can be recovered by multiplying by β 2 \beta^2 β 2 .
Effect of Circuit Approximation
The identity above assumes exact operations. In practice, the source preparation, QSVT inverse, basis rotations, and observable encoding are implemented with finite precision. We write a tilde to distinguish an implemented quantity from its ideal counterpart and assign an error tolerance to each stage:
Source preparation. The prepared source vector b ~ s \widetilde{b}_s b s satisfies ∥ b ~ s − b s ∥ 2 ≤ η b \lVert\widetilde{b}_s-b_s\rVert_2 \le\eta_b ∥ b s − b s ∥ 2 ≤ η b and ∥ b ~ s ∥ 2 ≤ 1 \lVert\widetilde{b}_s\rVert_2 \le1 ∥ b s ∥ 2 ≤ 1 .
Inverse. The QSVT circuit implements a contraction F ~ s \widetilde{F}_s F s with ∥ F ~ s − F s ∥ 2 ≤ η F \lVert\widetilde{F}_s-F_s\rVert_2 \le\eta_F ∥ F s − F s ∥ 2 ≤ η F .
Velocity reconstruction. The implemented Riesz map R ~ \widetilde{R} R is a contraction with ∥ R ~ − R ∥ 2 ≤ η R \lVert\widetilde{R}-R\rVert_2 \le\eta_R ∥ R − R ∥ 2 ≤ η R .
Observable encoding. The implemented operator E ~ s \widetilde{E}_s E s is a contraction with ∥ E ~ s − E s ∥ 2 ≤ η E \lVert\widetilde{E}_s-E_s\rVert_2 \le\eta_E ∥ E s − E s ∥ 2 ≤ η E .
The four errors are assumed to hold uniformly over the scenarios. The bounds for the approximate operators include the errors of their block encodings and finite-precision rotations.
For scenario s s s , the actual circuit has good-flag probability
g ~ s = ∥ E ~ s R ~ F ~ s b ~ s ∥ 2 2 . \widetilde{g}_s = \lVert\widetilde{E}_s\widetilde{R}\widetilde{F}_s\widetilde{b}_s\rVert_2^2. g s = ∥ E s R F s b s ∥ 2 2 .
We denote the mean probability prepared by the implemented circuit A A A by
μ ~ c i r = 1 M ∑ s = 0 M − 1 g ~ s . \widetilde{\mu}_{\mathrm{cir}} = \frac{1}{M}\sum_{s=0}^{M-1}\widetilde{g}_s. μ cir = M 1 s = 0 ∑ M − 1 g s .
Amplitude estimation will estimate μ ~ c i r \widetilde{\mu}_{\mathrm{cir}} μ cir , not the ideal value μ \mu μ . We therefore need to bound the difference between the two.
Let
η i m p l : = η b + η F + η R + η E . \eta_{\mathrm{impl}} := \eta_b+\eta_F+\eta_R+\eta_E. η impl := η b + η F + η R + η E .
Since every stage is a contraction, changing one stage does not amplify errors introduced by another. This gives the following bound.
Lemma 1 (Observable bias of a contraction chain). Suppose b s , b ~ s b_s,\widetilde{b}_s b s , b s have norm at most one, and F s , F ~ s , R , R ~ , E s , E ~ s F_s,\widetilde{F}_s,R,\widetilde{R},E_s,\widetilde{E}_s F s , F s , R , R , E s , E s are contractions satisfying the four error bounds above. Then, for every scenario s s s ,
∣ g ~ s − g s ∣ ≤ 2 η i m p l + η i m p l 2 . (7) \left|\widetilde{g}_s-g_s\right| \le2\eta_{\mathrm{impl}}+\eta_{\mathrm{impl}}^2. \tag*{(7)} ∣ g s − g s ∣ ≤ 2 η impl + η impl 2 . (7) The ensemble mean satisfies the same bound:
∣ μ ~ c i r − μ ∣ ≤ 2 η i m p l + η i m p l 2 . \left|\widetilde{\mu}_{\mathrm{cir}}-\mu\right| \le2\eta_{\mathrm{impl}}+\eta_{\mathrm{impl}}^2. ∣ μ cir − μ ∣ ≤ 2 η impl + η impl 2 .
To understand the bound, write y s = E s R F s b s y_s=E_sRF_sb_s y s = E s R F s b s and y ~ s = E ~ s R ~ F ~ s b ~ s \widetilde{y}_s=\widetilde{E}_s\widetilde{R}\widetilde{F}_s\widetilde{b}_s y s = E s R F s b s . Subtracting the two products one stage at a time and using the contraction bounds gives
∥ y ~ s − y s ∥ 2 ≤ η i m p l . \lVert\widetilde{y}_s-y_s\rVert_2 \le\eta_{\mathrm{impl}}. ∥ y s − y s ∥ 2 ≤ η impl .
The difference between their squared norms is therefore at most 2 η i m p l + η i m p l 2 2\eta_{\mathrm{impl}}+\eta_{\mathrm{impl}}^2 2 η impl + η impl 2 . Averaging this inequality over all M M M scenarios gives the stated bound for the ensemble mean. The full telescoping argument is given in Section B.
Accuracy and Cost of the Coherent Evaluator
The estimate has two distinct sources of error. The first is the implementation bias just bounded: the circuit encodes μ ~ c i r \widetilde{\mu}_{\mathrm{cir}} μ cir rather than μ \mu μ . The second is the statistical estimation error of amplitude estimation, which approximates the probability encoded by the circuit. We choose their tolerances so that the total error does not exceed ϵ \epsilon ϵ .
For the cost statement, let κ ( K s ) \kappa(K_s) κ ( K s ) denote the condition number of the positive-definite reduced operator, and set κ : = max s κ ( K s ) \kappa:= \max_s\kappa(K_s) κ := max s κ ( K s ) . Let Γ ( κ , β , η ) \Gamma(\kappa,\beta,\eta) Γ ( κ , β , η ) denote a bound on the gate cost of one coherent use of the implemented state-preparation circuit A \mathcal{A} A or its inverse, including the reflections required by amplitude estimation, when the implementation tolerance is η \eta η . This quantity includes the cost of preparing the inputs and solving the PDE. We do not yet assume it is small.
Theorem 1 (Correctness and cost of one coherent evaluator). Let 0 < ϵ ≤ 1 0 < \epsilon\le1 0 < ϵ ≤ 1 and 0 < δ < 1 0 < \delta< 1 0 < δ < 1 . Suppose the circuit errors satisfy η i m p l ≤ ϵ / 8 \eta_{\mathrm{impl}} \le\epsilon/8 η impl ≤ ϵ /8 . Apply quantum amplitude estimation to A \mathcal{A} A with statistical tolerance ϵ s t a t ≤ ϵ / 2 \epsilon_{\mathrm{stat}} \le\epsilon/2 ϵ stat ≤ ϵ /2 , and repeat the estimation as needed to achieve confidence 1 − δ 1-\delta 1 − δ . The resulting estimate μ ~ \widetilde{\mu} μ satisfies
Pr [ ∣ μ ~ − μ ∣ ≤ ϵ ] ≥ 1 − δ \Pr\left[|\widetilde{\mu}-\mu|\le\epsilon\right]\ge1-\delta Pr [ ∣ μ − μ ∣ ≤ ϵ ] ≥ 1 − δ with logical gate complexity
T Q = O ( Γ ( κ , β , ϵ / 8 ) ϵ log 1 δ ) . (8) T_Q=O\left(\frac{\Gamma(\kappa,\beta,\epsilon/8)}{\epsilon}\log\frac{1}{\delta}\right). \tag*{(8)} T Q = O ( ϵ Γ ( κ , β , ϵ /8 ) log δ 1 ) . (8)
Indeed, Lemma 1 and ϵ ≤ 1 \epsilon\le1 ϵ ≤ 1 give
∣ μ ~ c i r − μ ∣ ≤ ϵ 4 + ϵ 2 64 < ϵ 2 . |\widetilde{\mu}_{\mathrm{cir}}-\mu|\le\frac{\epsilon}{4}+\frac{\epsilon^2}{64}<\frac{\epsilon}{2}. ∣ μ cir − μ ∣ ≤ 4 ϵ + 64 ϵ 2 < 2 ϵ .
Amplitude estimation approximates μ ~ c i r \widetilde{\mu}_{\mathrm{cir}} μ cir within ϵ / 2 \epsilon/2 ϵ /2 with a constant success probability. Taking the median of O ( log ( 1 / δ ) ) O(\log(1/\delta)) O ( log ( 1/ δ )) independent runs increases the success probability to at least 1 − δ 1-\delta 1 − δ . On that event, the triangle inequality gives total error at most ϵ \epsilon ϵ . Each run uses O ( ϵ − 1 ) O(\epsilon^{-1}) O ( ϵ − 1 ) coherent evaluations, which gives (8) . A detailed proof is provided in Section B.
This theorem separates the sampling cost from the PDE-solver cost. It does not yet show that the quantum algorithm is efficient: all of the work needed for one coherent solve is included in Γ \Gamma Γ . In Section 7 we construct a preconditioned Brinkman solver and bound this quantity explicitly.
When Faster Sampling Pays Off
The cost comparison depends on the sampling rate, the size of the ensemble, and the cost of each PDE evaluation. The budget below includes classical sampling rules such as quasi-Monte Carlo.
The Precision–Ensemble Budget
We study how the cost changes as the target error ϵ \epsilon ϵ decreases. The number of scenarios may grow with accuracy, and resolving the fluid solution may require a finer spatial grid. We assume three power-law relationships:
The ensemble contains M ( ϵ ) = Θ ( ϵ − m ) M(\epsilon)=\Theta(\epsilon^{-m}) M ( ϵ ) = Θ ( ϵ − m ) scenarios, where m ≥ 0 m\ge0 m ≥ 0 . The case m = 0 m=0 m = 0 describes a fixed-size ensemble; m > 0 m>0 m > 0 allows the number of scenarios to grow as ϵ \epsilon ϵ decreases.
One coherent quantum evaluation, including its PDE solve, costs Γ Q ( ϵ ) = Θ ( ϵ − g Q ) \Gamma_Q(\epsilon)=\Theta(\epsilon^{-g_Q}) Γ Q ( ϵ ) = Θ ( ϵ − g Q ) gates, where g Q ≥ 0 g_Q\ge0 g Q ≥ 0 .
One classical PDE solve costs G C ( ϵ ) = Θ ( ϵ − g C ) G_C(\epsilon)=\Theta(\epsilon^{-g_C}) G C ( ϵ ) = Θ ( ϵ − g C ) operations, where g C ≥ 0 g_C\ge0 g C ≥ 0 .
The exponents g Q g_Q g Q and g C g_C g C describe the cost of one evaluation, not the number of evaluations. The theorem below assumes exact power-law cost expressions. In the later solver application, logarithmic factors are suppressed; they do not change a strict power-law advantage when the exponents differ.
As in Section 3.3, let p > 0 p>0 p > 0 be the convergence order of the chosen classical sampling rule. Under its assumed cost law, obtaining error of order ϵ \epsilon ϵ requires Θ ( ϵ − 1 / p ) \Theta(\epsilon^{-1/p}) Θ ( ϵ − 1/ p ) scenario evaluations when the ensemble is large. For a finite ensemble, evaluating all M M M scenarios is also an option. We therefore model the number of classical solves by
n C ( ϵ ) = Θ ( min { M ( ϵ ) , ϵ − 1 / p } ) . n_C(\epsilon)=\Theta\left(\min\left\{M(\epsilon),\epsilon^{-1/p}\right\}\right). n C ( ϵ ) = Θ ( min { M ( ϵ ) , ϵ − 1/ p } ) .
Multiplying by the cost of one solve gives
T C ( ϵ ) = Θ ( G C ( ϵ ) min { M ( ϵ ) , ϵ − 1 / p } ) . T_C(\epsilon)=\Theta\left(G_C(\epsilon)\min\left\{M(\epsilon),\epsilon^{-1/p}\right\}\right). T C ( ϵ ) = Θ ( G C ( ϵ ) min { M ( ϵ ) , ϵ − 1/ p } ) .
For the QAE-based procedure of the previous section, we use the usual worst-case mean-estimation scaling of Θ ( ϵ − 1 ) \Theta(\epsilon^{-1}) Θ ( ϵ − 1 ) coherent evaluations. Each evaluation encodes the response in an amplitude; it does not return the value g s g_s g s as an exactly readable classical number. The total quantum cost in this model is therefore
T Q ( ϵ ) = Θ ( Γ Q ( ϵ ) ϵ − 1 ) . T_Q(\epsilon)=\Theta\left(\Gamma_Q(\epsilon)\epsilon^{-1}\right). T Q ( ϵ ) = Θ ( Γ Q ( ϵ ) ϵ − 1 ) .
This comparison concerns the specified quantum and classical procedures. It does not claim that these are optimal for every possible way of representing the input.
Theorem 2 (Precision–ensemble advantage budget). Under the power-law cost assumptions above,
T Q ( ϵ ) T C ( ϵ ) = Θ ( ϵ − [ g Q − g C + 1 − min { m , 1 / p } ] ) . (9) \frac{T_Q(\epsilon)}{T_C(\epsilon)}
=\Theta\left(\epsilon^{-\left[g_Q-g_C+1-\min\{m,1/p\}\right]}\right). \tag*{(9)} T C ( ϵ ) T Q ( ϵ ) = Θ ( ϵ − [ g Q − g C + 1 − m i n { m , 1/ p } ] ) . (9) A strict power-law quantum advantage, meaning that T Q / T C = O ( ϵ α ) T_Q/T_C=O(\epsilon^\alpha) T Q / T C = O ( ϵ α ) for some α > 0 \alpha>0 α > 0 , holds if and only if
g Q − g C < B ( p , m ) , (10) g_Q-g_C<B(p,m), \tag*{(10)} g Q − g C < B ( p , m ) , (10) where
B ( p , m ) : = min { m , 1 / p } − 1. B(p,m):=\min\{m,1/p\}-1. B ( p , m ) := min { m , 1/ p } − 1.
Proof. Since M ( ϵ ) = Θ ( ϵ − m ) M(\epsilon)=\Theta(\epsilon^{-m}) M ( ϵ ) = Θ ( ϵ − m ) ,
T C ( ϵ ) = Θ ( ϵ − g C − min { m , 1 / p } ) , T_C(\epsilon)=\Theta\left(\epsilon^{-g_C-\min\{m,1/p\}}\right), T C ( ϵ ) = Θ ( ϵ − g C − m i n { m , 1/ p } ) ,
T Q ( ϵ ) = Θ ( ϵ − g Q − 1 ) . T_Q(\epsilon)=\Theta\left(\epsilon^{-g_Q-1}\right). T Q ( ϵ ) = Θ ( ϵ − g Q − 1 ) .
Dividing the second expression by the first gives the claimed ratio. The ratio decreases as a positive power of ϵ \epsilon ϵ if and only if g C + min { m , 1 / p } − g Q − 1 > 0 g_C+\min\{m,1/p\}-g_Q-1>0 g C + min { m , 1/ p } − g Q − 1 > 0 . Rearranging this inequality gives g Q − g C < min { m , 1 / p } − 1 g_Q-g_C<\min\{m,1/p\}-1 g Q − g C < min { m , 1/ p } − 1 , as required. ∎
The quantity B ( p , m ) B(p,m) B ( p , m ) is the precision–ensemble budget . It tells us how much more expensive one quantum evaluation may be, relative to one classical solve, while still allowing a power-law advantage. A negative budget means that the quantum evaluation must have a lower cost exponent than the classical solve. Three cases illustrate the result.
Ordinary Monte Carlo. For p = 1 / 2 p = 1/2 p = 1/2 and an ensemble with m ≥ 2 m \ge2 m ≥ 2 , B ( 1 / 2 , m ) = 1 B(1/2,m) = 1 B ( 1/2 , m ) = 1 . The QAE procedure can therefore retain a power-law advantage even when the quantum cost per evaluation grows faster than the classical cost, provided g Q − g C < 1 g_Q - g_C < 1 g Q − g C < 1 . When m < 1 m < 1 m < 1 , the budget becomes negative because the complete ensemble is smaller than the number of evaluations assumed for QAE.
First-order quasi-Monte Carlo. For p = 1 p = 1 p = 1 ,
B ( 1 , m ) = min { m , 1 } − 1 ≤ 0. B(1,m) = \min\{m,1\} - 1 \le0. B ( 1 , m ) = min { m , 1 } − 1 ≤ 0.
If m ≥ 1 m \ge1 m ≥ 1 , an advantage requires g Q < g C g_Q < g_C g Q < g C . If m < 1 m < 1 m < 1 , the stronger condition g Q − g C < m − 1 g_Q - g_C < m - 1 g Q − g C < m − 1 is needed. Thus QAE’s sampling rate alone does not provide an asymptotic improvement over first-order QMC. The cost of the PDE evaluation must also be reduced.
The preconditioned Brinkman solver. The Sobolev–Riesz preconditioner in § 7 keeps the inverse cost from acquiring a power of N N N through conditioning. Under the compact-input and low-wavenumber-forcing assumptions stated there, with fixed numbers of drag modes and source terms, the gate-cost bound per evaluation is polylogarithmic in 1 / ϵ 1/\epsilon 1/ ϵ , so we take g Q = 0 g_Q = 0 g Q = 0 in the power-law comparison. For the specified classical grid-resolving solvers, assume N = Θ ( ϵ − 1 / r ) N = \Theta(\epsilon^{-1/r}) N = Θ ( ϵ − 1/ r ) grid points per spatial direction, where r > 0 r > 0 r > 0 is the assumed spatial convergence exponent. A solver that processes all N d N^d N d unknowns has cost exponent g C = d / r g_C = d/r g C = d / r , up to logarithmic factors, where d d d is the spatial dimension. In this case g Q − g C = − d / r g_Q - g_C = -d/r g Q − g C = − d / r , and the advantage condition becomes
d r > 1 − min { m , 1 / p } . \frac{d}{r} > 1 - \min\{m,1/p\}. r d > 1 − min { m , 1/ p } .
This is a conditional comparison with that classical solver class, not a lower bound on all classical PDE algorithms. It also depends on the efficient coherent input preparation proved or assumed in the solver analysis.
A Query Benchmark in Stokes Flow
The preceding theorem compares cost laws, but it does not establish a lower bound for the Brinkman solver. To see the usual sampling query rates in a fluid setting, consider a deliberately simple Stokes problem in which the unknown input is a list of binary values.
The fluid solve is elementary; the difficulty is determining the mean of the hidden list. Let z = ( z 0 , … , z M − 1 ) ∈ { 0 , 1 } M z = (z_0,\ldots,z_{M-1}) \in\{0,1\}^{M} z = ( z 0 , … , z M − 1 ) ∈ { 0 , 1 } M be a binary string. For scenario s s s , its bit z s z_s z s determines the strength of the body force. An input query returns z s z_s z s for a chosen index s s s ; a quantum query may access the same oracle coherently. We use the periodic two-dimensional domain T 2 \mathbb{T}^2 T 2 with normalized spatial measure ( 2 π ) − 2 d x d y (2\pi)^{-2}dx\,dy ( 2 π ) − 2 d x d y , and the shear profile
v ( x , y ) = 2 ( 0 , sin x ) T . v(x,y) = \sqrt{2}(0,\sin x)^{T}. v ( x , y ) = 2 ( 0 , sin x ) T .
The vector field v v v is divergence-free, has zero mean, satisfies − Δ v = v -\Delta v = v − Δ v = v , and has squared L 2 L^2 L 2 norm equal to one. These properties make the response to the body force z s v z_s v z s v explicit.
Theorem 3 (Optimal query separation inside periodic Stokes flow). For the hidden string z ∈ { 0 , 1 } M z \in\{0,1\}^{M} z ∈ { 0 , 1 } M , consider the M M M steady periodic Stokes systems
− Δ u s + ∇ p s = z s v , -\Delta u_s + \nabla p_s = z_s v, − Δ u s + ∇ p s = z s v , ∇ ⋅ u s = 0 , \nabla\cdot u_s = 0, ∇ ⋅ u s = 0 , ∫ T 2 u s d x d y = 0 , \int_{\mathbb{T}^2} u_s\,dx\,dy = 0, ∫ T 2 u s d x d y = 0 , ∫ T 2 p s d x d y = 0. \int_{\mathbb{T}^2} p_s\,dx\,dy = 0. ∫ T 2 p s d x d y = 0. Let g s = ∥ u s ∥ L 2 ( T 2 ) 2 g_s = \lVert u_s\rVert_{L^2(\mathbb{T}^2)}^2 g s = ∥ u s ∥ L 2 ( T 2 ) 2 , and suppose the hidden bits are accessed through the forcing oracle
O z ∣ s ⟩ ∣ b ⟩ = ∣ s ⟩ ∣ b ⊕ z s ⟩ , O_z\lvert s\rangle\lvert b\rangle= \lvert s\rangle\lvert b \mathbin{\oplus} z_s\rangle, O z ∣ s ⟩ ∣ b ⟩ = ∣ s ⟩ ∣ b ⊕ z s ⟩ , where b ∈ { 0 , 1 } b \in\{0,1\} b ∈ { 0 , 1 } and ⊕ \mathbin{\oplus} ⊕ denotes addition modulo two. For 0 < ϵ ≤ 1 / 16 0 < \epsilon\le1/16 0 < ϵ ≤ 1/16 , estimating μ = M − 1 ∑ s = 0 M − 1 g s \mu= M^{-1}\sum_{s=0}^{M-1} g_s μ = M − 1 ∑ s = 0 M − 1 g s to additive error ϵ \epsilon ϵ with success probability at least 2 / 3 2/3 2/3 has worst-case query complexities
Q C = Θ ( min { M , ϵ − 2 } ) , Q_C = \Theta\left(\min\{M,\epsilon^{-2}\}\right), Q C = Θ ( min { M , ϵ − 2 } ) , Q Q = Θ ( min { M , ϵ − 1 } ) . Q_Q = \Theta\left(\min\{M,\epsilon^{-1}\}\right). Q Q = Θ ( min { M , ϵ − 1 } ) .
To see why, u s = z s v u_s = z_s v u s = z s v and p s = 0 p_s = 0 p s = 0 solve the Stokes equations. Since z s z_s z s is either zero or one and ∥ v ∥ L 2 2 = 1 \lVert v\rVert_{L^2}^2 = 1 ∥ v ∥ L 2 2 = 1 ,
g s = ∥ z s v ∥ L 2 2 = z s . g_s = \lVert z_s v\rVert_{L^2}^2 = z_s. g s = ∥ z s v ∥ L 2 2 = z s .
Thus the mean fluid energy is exactly the fraction of ones in the hidden string. Classically, this mean can be estimated by sampling bits or reading all M M M entries. Quantumly, it can be estimated by amplitude estimation or by reading the complete list. The matching query lower bounds follow from the finite-list argument in Lemma 2 and quantum approximate counting [10 ] ; details are in Section B.
These are query counts, not gate counts or fluid-solver runtimes. In this example the velocity is a known Fourier mode multiplied by one hidden bit, so solving the Stokes equation adds no substantial computational difficulty. The benchmark illustrates the sampling part of our problem. The additional challenge for heterogeneous Brinkman flow is to implement each coherent PDE solve efficiently, which we address in § 7 .
Figure 1. The precision–ensemble budget B ( p , m ) = min { m , 1 / p } − 1 B(p,m)=\min\{m,1/p\}-1 B ( p , m ) = min { m , 1/ p } − 1 . Left: the budget as a function of the ensemble exponent m m m for classical sampling orders between ordinary Monte Carlo (p = 1 / 2 p=1/2 p = 1/2 ) and first-order QMC (p = 1 p=1 p = 1 ). Right: the boundary g Q − g C = B ( p , m ) g_Q-g_C=B(p,m) g Q − g C = B ( p , m ) for three values of m m m . A power-law quantum advantage is obtained below the boundary. The dotted line shows the conditional solver exponent g Q − g C = − d / r g_Q-g_C=-d/r g Q − g C = − d / r for d = 3 d=3 d = 3 and r = 2 r=2 r = 2 . The curves are evaluations of the cost model, not measured runtimes.
A Preconditioned Quantum Solver for Brinkman Flow
The previous section showed that faster sampling does not guarantee a faster uncertainty-quantification calculation. In particular, when a classical method achieves first-order quasi-Monte Carlo convergence (p = 1 p=1 p = 1 ), the precision–ensemble budget satisfies B ( 1 , m ) = min { m , 1 } − 1 ≤ 0 B(1,m)=\min\{m,1\}-1\le0 B ( 1 , m ) = min { m , 1 } − 1 ≤ 0 . A strict power-law advantage therefore requires the quantum PDE evaluation to have a smaller cost exponent than a classical solve:
g Q − g C < 0. (11) g_Q-g_C<0. \tag*{(11)} g Q − g C < 0. (11)
For a smaller ensemble, the required inequality is stronger, as shown in Theorem 2.
The cost of a quantum linear-system algorithm depends in part on the condition number of the matrix it must invert. The divergence-free reduction in § 4 removes the pressure constraint, but it does not remove the large eigenvalues associated with the viscous term. On a grid with N N N points in each spatial direction, the reduced Brinkman operator has condition number Θ ( N 2 ) \Theta(N^2) Θ ( N 2 ) under the fixed viscosity and drag bounds considered here. This makes a direct QSVT solve increasingly expensive as the grid is refined. The penalty may reduce or eliminate an advantage, although it need not do so for every classical comparison. Our goal is to remove this grid dependence before constructing the quantum circuit.
Brinkman Operator and the Mean-Flow Constraint
We return to the periodic Brinkman problem defined in § 3.1 . For each scenario s s s , the velocity u s u_s u s , pressure p s p_s p s , and constant mean-flow multiplier λ s \lambda_s λ s satisfy
− ν Δ u s + α s ( x ) u s + ∇ p s + λ s = f s , ∇ ⋅ u s = 0 , ∫ T d u s d x = 0 , ∫ T d p s d x = 0. (12) \begin{aligned}
-\nu\Delta u_s+\alpha_s(x)u_s+\nabla p_s+\lambda_s&=f_s,\\
\nabla\cdot u_s&=0,\\
\int_{\mathbb{T}^d}u_s\,dx&=0,\\
\int_{\mathbb{T}^d}p_s\,dx&=0. \tag*{(12)}
\end{aligned} − ν Δ u s + α s ( x ) u s + ∇ p s + λ s ∇ ⋅ u s ∫ T d u s d x ∫ T d p s d x = f s , = 0 , = 0 , = 0. (12)
Here ν > 0 \nu>0 ν > 0 is the viscosity parameter, f s f_s f s is the body force, and α s ( x ) \alpha_s(x) α s ( x ) is the drag coefficient of scenario s s s . We assume that the drag is bounded above and below by constants common to all scenarios:
0 < α min ≤ α s ( x ) ≤ α max < ∞ , x ∈ T d , s = 0 , … , M − 1. (13) 0<\alpha_{\min}\le\alpha_s(x)\le\alpha_{\max}<\infty,\qquad
x\in\mathbb{T}^d,\quad s=0,\ldots,M-1. \tag*{(13)} 0 < α m i n ≤ α s ( x ) ≤ α m a x < ∞ , x ∈ T d , s = 0 , … , M − 1. (13)
The positive lower bound makes the drag contribution coercive; the upper bound will enter the condition-number estimate. Both bounds are assumed independent of the grid size.
For one class of structured inputs, the spatially varying drag has an L L L -term Fourier expansion,
α s ( x ) = α 0 + ∑ ℓ = 1 L c ℓ y s , ℓ e i q ℓ ⋅ x , α 0 = α min + α max 2 , y s , ℓ ∈ [ − 1 , 1 ] . (14) \alpha_s(x) = \alpha_0 + \sum_{\ell=1}^{L} c_\ell y_{s,\ell} e^{i q_\ell\cdot x},
\qquad
\alpha_0 = \frac{\alpha_{\min}+\alpha_{\max}}{2},
\qquad
y_{s,\ell} \in[-1,1]. \tag*{(14)} α s ( x ) = α 0 + ℓ = 1 ∑ L c ℓ y s , ℓ e i q ℓ ⋅ x , α 0 = 2 α m i n + α m a x , y s , ℓ ∈ [ − 1 , 1 ] . (14)
Here q ℓ ∈ Z d ∖ { 0 } q_\ell\in\mathbb{Z}^d \setminus\{0\} q ℓ ∈ Z d ∖ { 0 } is a spatial wavenumber, c ℓ ∈ C c_\ell\in\mathbb{C} c ℓ ∈ C is its fixed coefficient, and y s , ℓ y_{s,\ell} y s , ℓ describes how that coefficient changes with the scenario. The number L L L is the expansion length, while α 0 \alpha_0 α 0 is a constant reference drag. The field must be real-valued, so the terms occur in conjugate pairs: a term at q ℓ q_\ell q ℓ is accompanied by the complex-conjugate term at − q ℓ -q_\ell − q ℓ . One sufficient condition for (13) is ∑ ℓ = 1 L ∣ c ℓ ∣ ≤ ( α max − α min ) / 2 \sum_{\ell=1}^{L} |c_\ell| \le(\alpha_{\max}-\alpha_{\min})/2 ∑ ℓ = 1 L ∣ c ℓ ∣ ≤ ( α m a x − α m i n ) /2 . This Fourier representation is useful for one circuit construction; a second construction will work directly with a position-space evaluator of α s ( x ) \alpha_s(x) α s ( x ) .
The constant multiplier λ s \lambda_s λ s in (12) is important when the drag varies in space. For constant drag, a zero-mean forcing produces a zero-mean solution. With variable drag, the product α s ( x ) u s ( x ) \alpha_s(x)u_s(x) α s ( x ) u s ( x ) can have a nonzero spatial mean even when u s u_s u s has none. Integrating the momentum equation over the periodic cell removes the Laplacian and pressure-gradient terms and gives
λ s = 1 ( 2 π ) d ∫ T d ( f s − α s u s ) d x . \lambda_s = \frac{1}{(2\pi)^d}\int_{\mathbb{T}^d} (f_s-\alpha_su_s)\,dx. λ s = ( 2 π ) d 1 ∫ T d ( f s − α s u s ) d x .
Thus λ s \lambda_s λ s balances the mean force while the condition ∫ u s d x = 0 \int u_s\,dx=0 ∫ u s d x = 0 is enforced. Without it, the zero-mean constraint and the momentum equation can be incompatible. Equivalently, the velocity equation can be projected onto the space of mean-zero, divergence-free fields. The pressure and λ s \lambda_s λ s can then be recovered from the residual, as shown in Lemma 3. In the notation of § 4 , the combined constraint operator is D t o t u = ( ∇ ⋅ u , ( 2 π ) − d ∫ T d u d x ) D_{\mathrm{tot}}u=(\nabla\cdot u,(2\pi)^{-d}\int_{\mathbb{T}^d}u\,dx) D tot u = ( ∇ ⋅ u , ( 2 π ) − d ∫ T d u d x ) . The version in which the mean velocity is allowed to be nonzero is discussed in Remark 2.
We use a Fourier–Galerkin discretization with N N N grid points per axis. Its retained wavenumbers are k ∈ { − N / 2 , … , N / 2 − 1 } d k \in\{-N/2,\ldots,N/2-1\}^d k ∈ { − N /2 , … , N /2 − 1 } d , excluding the zero mode because the velocity has zero mean. For each k ≠ 0 k\ne0 k = 0 , the velocity coefficient is perpendicular to k k k ; these are exactly the directions represented by the Riesz map R R R from § 4 . The resulting finite-dimensional Brinkman operator is denoted by A s A_s A s , and its reduced operator is K s = R ∗ A s R K_s=R^*A_sR K s = R ∗ A s R on the nonredundant coordinate space Z 0 Z_0 Z 0 .
Sobolev–Riesz Preconditioning
The polar Riesz map removes the constraint without stretching the remaining coordinates. It does not, however, change the fact that high-wavenumber modes have a large viscous contribution. On mode k k k , the operator − ν Δ -\nu\Delta − ν Δ acts as multiplication by ν ∣ k ∣ 2 \nu|k|^2 ν ∣ k ∣ 2 . As the grid is refined, the largest retained ∣ k ∣ |k| ∣ k ∣ grows with N N N . We therefore rescale the reduced system by a reference operator that contains this same wavenumber dependence.
Choose the constant-drag operator
A 0 : = − ν Δ + α 0 I , A_0 := -\nu\Delta+\alpha_0 I, A 0 := − ν Δ + α 0 I ,
and define its restriction to divergence-free coordinates by
K 0 : = R ∗ A 0 R ∣ Z 0 . K_0 := R^*A_0R|_{Z_0}. K 0 := R ∗ A 0 R ∣ Z 0 .
Because A 0 A_0 A 0 has constant coefficients, K 0 K_0 K 0 is diagonal in the Fourier basis. On each nonzero mode its eigenvalue is ν ∣ k ∣ 2 + α 0 > 0 \nu|k|^2+\alpha_0>0 ν ∣ k ∣ 2 + α 0 > 0 . We can therefore apply its inverse square root mode by mode. Define the Sobolev–Riesz map
R E : = R K 0 − 1 / 2 : Z 0 ⟶ ker D . (15) R_{\mathcal{E}} := RK_0^{-1/2}: Z_0 \longrightarrow\ker D. \tag*{(15)} R E := R K 0 − 1/2 : Z 0 ⟶ ker D . (15)
The factor K 0 − 1 / 2 K_0^{-1/2} K 0 − 1/2 rescales a mode k k k by ( ν ∣ k ∣ 2 + α 0 ) − 1 / 2 (\nu|k|^2+\alpha_0)^{-1/2} ( ν ∣ k ∣ 2 + α 0 ) − 1/2 , while R R R maps the coordinates back to a divergence-free velocity. Hence the change of coordinates preserves the incompressibility constraint in exact arithmetic.
We measure velocities in the reference energy norm
∥ u ∥ E 2 : = ⟨ u , A 0 u ⟩ . \|u\|_{\mathcal{E}}^2 := \langle u,A_0u\rangle. ∥ u ∥ E 2 := ⟨ u , A 0 u ⟩ .
In this norm, the new coordinates have a useful property: applying R E R_{\mathcal{E}} R E preserves their length. More importantly, the reference part of the Brinkman operator becomes the identity. Only the difference between the actual and reference drag remains.
The precise result is as follows. The relation between R E R_{\mathcal{E}} R E and the equivalent construction C ( C ∗ A 0 C ) 1 / 2 C(C^*A_0C)^{1/2} C ( C ∗ A 0 C ) 1/2 for a general divergence-free generator C C C is given in Section C.1.
Proposition 3 (Sobolev–Riesz isometric preconditioning). Let R E R_{\mathcal{E}} R E be defined by (15) . Then D R E = 0 DR_{\mathcal{E}}=0 D R E = 0 , and for every ζ ∈ Z 0 \zeta\in Z_0 ζ ∈ Z 0 ,
∥ R E ζ ∥ E = ∥ ζ ∥ 2 . (16) \|R_{\mathcal{E}}\zeta\|_{\mathcal{E}}=\|\zeta\|_2. \tag*{(16)} ∥ R E ζ ∥ E = ∥ ζ ∥ 2 . (16)
Writing u s = R E ξ s u_s=R_{\mathcal{E}}\xi_s u s = R E ξ s and defining the preconditioned source b ~ s : = K 0 − 1 / 2 b s \widetilde b_s:=K_0^{-1/2}b_s b s := K 0 − 1/2 b s , the constrained Brinkman problem is equivalent to
K ~ s ξ s = b ~ s , \widetilde K_s\xi_s=\widetilde b_s, K s ξ s = b s ,
K ~ s : = R E ∗ A s R E = I Z 0 + K 0 − 1 / 2 R ∗ ( α s ( x ) − α 0 ) R K 0 − 1 / 2 . (17) \widetilde K_s:=R_{\mathcal{E}}^*A_sR_{\mathcal{E}}
=I_{Z_0}+K_0^{-1/2}R^*
(\alpha_s(x)-\alpha_0)RK_0^{-1/2}. \tag*{(17)} K s := R E ∗ A s R E = I Z 0 + K 0 − 1/2 R ∗ ( α s ( x ) − α 0 ) R K 0 − 1/2 . (17)
For every spatial dimension d ≥ 2 d\ge2 d ≥ 2 , grid size N N N , and scenario s s s , the preconditioned operator satisfies
α min α 0 I Z 0 ⪯ K ~ s ⪯ α max α 0 I Z 0 , κ ( K ~ s ) ≤ κ ~ , κ ~ : = α max α min . (18) \frac{\alpha_{\min}}{\alpha_0}I_{Z_0}\preceq\widetilde K_s\preceq\frac{\alpha_{\max}}{\alpha_0}I_{Z_0},
\qquad
\kappa(\widetilde K_s)\le\widetilde\kappa,
\qquad
\widetilde\kappa:=\frac{\alpha_{\max}}{\alpha_{\min}}. \tag*{(18)} α 0 α m i n I Z 0 ⪯ K s ⪯ α 0 α m a x I Z 0 , κ ( K s ) ≤ κ , κ := α m i n α m a x . (18)
In particular, the condition number is bounded independently of N N N when the drag contrast κ ~ \widetilde{\kappa} κ is fixed.
Proof. We first show that the change of coordinates is an isometry. Since K 0 K_0 K 0 is positive definite on Z 0 Z_0 Z 0 , its inverse square root is well defined. Using R ∗ A 0 R = K 0 R^*A_0R=K_0 R ∗ A 0 R = K 0 on this space gives
∥ R E ζ ∥ E 2 = ⟨ R K 0 − 1 / 2 ζ , A 0 R K 0 − 1 / 2 ζ ⟩ = ⟨ ζ , K 0 − 1 / 2 K 0 K 0 − 1 / 2 ζ ⟩ = ∥ ζ ∥ 2 2 . \begin{aligned}
\|R\mathcal{E}\zeta\|_{\mathcal{E}}^2
&=\langle RK_0^{-1/2}\zeta,A_0RK_0^{-1/2}\zeta\rangle\\
&=\langle\zeta,K_0^{-1/2}K_0K_0^{-1/2}\zeta\rangle\\
&=\|\zeta\|_2^2.
\end{aligned} ∥ R E ζ ∥ E 2 = ⟨ R K 0 − 1/2 ζ , A 0 R K 0 − 1/2 ζ ⟩ = ⟨ ζ , K 0 − 1/2 K 0 K 0 − 1/2 ζ ⟩ = ∥ ζ ∥ 2 2 .
Also D R E = 0 D R\mathcal{E}=0 D R E = 0 , because D R = 0 D R=0 D R = 0 . Testing the original variational equation (3) with v = R E ϕ v=R\mathcal{E}\phi v = R E ϕ , for any ϕ ∈ Z 0 \phi\in Z_0 ϕ ∈ Z 0 , gives K ~ s ζ s = b ~ s \widetilde{K}_s\zeta_s=\widetilde{b}_s K s ζ s = b s . Substituting A s = A 0 + ( α s − α 0 ) I A_s=A_0+(\alpha_s-\alpha_0)I A s = A 0 + ( α s − α 0 ) I then gives (17) .
It remains to bound the spectrum. The pointwise drag bounds (13) , together with − ν Δ ⪰ 0 -\nu\Delta\succeq0 − ν Δ ⪰ 0 , imply
α min α 0 A 0 ⪯ A s ⪯ α max α 0 A 0 . \frac{\alpha_{\min}}{\alpha_0}A_0\preceq A_s\preceq\frac{\alpha_{\max}}{\alpha_0}A_0. α 0 α m i n A 0 ⪯ A s ⪯ α 0 α m a x A 0 .
To see this, the viscous term is nonnegative and α min / α 0 ≤ 1 ≤ α max / α 0 \alpha_{\min}/\alpha_0\le1\le\alpha_{\max}/\alpha_0 α m i n / α 0 ≤ 1 ≤ α m a x / α 0 ; therefore the same bounds hold for the sum of the viscous and drag terms. Now take u = R E ζ u=R\mathcal{E}\zeta u = R E ζ . By the isometry proved above, ⟨ u , A 0 u ⟩ = ∥ ζ ∥ 2 2 \langle u,A_0u\rangle=\|\zeta\|_2^2 ⟨ u , A 0 u ⟩ = ∥ ζ ∥ 2 2 , while ⟨ u , A s u ⟩ = ⟨ ζ , K ~ s ζ ⟩ \langle u,A_su\rangle=\langle\zeta,\widetilde{K}_s\zeta\rangle ⟨ u , A s u ⟩ = ⟨ ζ , K s ζ ⟩ . Thus
α min α 0 ∥ ζ ∥ 2 2 ≤ ⟨ ζ , K ~ s ζ ⟩ ≤ α max α 0 ∥ ζ ∥ 2 2 . \frac{\alpha_{\min}}{\alpha_0}\|\zeta\|_2^2
\le\langle\zeta,\widetilde{K}_s\zeta\rangle
\le\frac{\alpha_{\max}}{\alpha_0}\|\zeta\|_2^2. α 0 α m i n ∥ ζ ∥ 2 2 ≤ ⟨ ζ , K s ζ ⟩ ≤ α 0 α m a x ∥ ζ ∥ 2 2 .
These inequalities bound the smallest and largest eigenvalues of K ~ s \widetilde{K}_s K s . Their ratio is at most α max / α min \alpha_{\max}/\alpha_{\min} α m a x / α m i n , which proves (18) .
This bound is the main mathematical reason for using the preconditioner. The number of Fourier modes can grow with grid refinement, but the condition-number dependence of the quantum inverse no longer grows with it. This does not by itself prove that the full quantum algorithm is cheap. The next step is to implement K ~ s \widetilde{K}_s K s without introducing a new grid-dependent cost.
Quantum Circuit Construction
The preconditioned operator has the form K ~ s = I Z 0 + H s \widetilde{K}_s=I_{Z_0}+H_s K s = I Z 0 + H s , where
H s : = K ~ s − I Z 0 = K 0 − 1 / 2 R ∗ ( α s ( x ) − α 0 I ) ⋅ R K 0 − 1 / 2 . \begin{aligned}
H_s&:=\widetilde{K}_s-I_{Z_0}\\
&=K_0^{-1/2}R^*(\alpha_s(x)-\alpha_0I)\\
&\qquad\cdot RK_0^{-1/2}.
\end{aligned} H s := K s − I Z 0 = K 0 − 1/2 R ∗ ( α s ( x ) − α 0 I ) ⋅ R K 0 − 1/2 .
The constant-drag reference operator has become the identity, which needs no separate Laplacian block encoding. The remaining operator H s H_s H s contains only the difference between the actual and reference drag. Define
r max : = α max − α min α max + α min = κ ~ − 1 κ ~ + 1 < 1. r_{\max}:=\frac{\alpha_{\max}-\alpha_{\min}}{\alpha_{\max}+\alpha_{\min}}=\frac{\widetilde{\kappa}-1}{\widetilde{\kappa}+1}<1. r m a x := α m a x + α m i n α m a x − α m i n = κ + 1 κ − 1 < 1.
The drag bounds imply ∥ H s ∥ 2 ≤ r max \|H_s\|_2\le r_{\max} ∥ H s ∥ 2 ≤ r m a x . This is useful because the part of the operator that the circuit must represent is bounded independently of the grid.
To describe its implementation, consider a nonzero wavenumber k k k . The matrix R ( k ) : C d − 1 → ker ( k T ) R(k):\mathbb{C}^{d-1}\to\operatorname{ker}(k^T) R ( k ) : C d − 1 → ker ( k T ) maps a transverse polarization vector to a velocity vector perpendicular to k k k . It is the Fourier-mode form of the Riesz map. We also define the weight
w ( k ) : = α 0 ν ∣ k ∣ 2 + α 0 , w ( 0 ) : = 0. w(k):=\sqrt{\frac{\alpha_0}{\nu\lvert k\rvert^2+\alpha_0}},\qquad w(0):=0. w ( k ) := ν ∣ k ∣ 2 + α 0 α 0 , w ( 0 ) := 0.
The weight lies between zero and one and implements the scaling introduced by K 0 − 1 / 2 K_0^{-1/2} K 0 − 1/2 , apart from a constant factor. The circuit combines these operations with a Fourier transform and an evaluation of the spatially varying drag.
One coherent evaluation uses the following stages (Figure 2 ). All temporary registers are uncomputed so that the procedure can be used together with its inverse in amplitude estimation.
Figure 2. Circuit structure of the preconditioned Brinkman solver. (a) State-preparation circuit A \mathcal{A} A : uniform scenario superposition H ⊗ n M H^{\otimes n_M} H ⊗ n M , preconditioned source loading U b U_b U b , QSVT polynomial inverse U Q S V T ( U ~ B E , s ) U_{\mathrm{QSVT}}(\widetilde{U}_{\mathrm{BE},s}) U QSVT ( U BE , s ) , and observable rotation R y ( θ E ) R_y(\theta_E) R y ( θ E ) . The good-flag subspace ∣ 0 2 ⟩ q l c u ∣ 0 4 ⟩ a B E ∣ 0 ⟩ f s r c ∣ 0 ⟩ f o b s |0^2\rangle_{q_{\mathrm{lcu}}}|0^4\rangle_{a_{\mathrm{BE}}}|0\rangle_{f_{\mathrm{src}}}|0\rangle_{f_{\mathrm{obs}}} ∣ 0 2 ⟩ q lcu ∣ 0 4 ⟩ a BE ∣0 ⟩ f src ∣0 ⟩ f obs has probability p g o o d = E ‾ / B n o r m p_{\mathrm{good}}=\overline{\mathcal{E}}/B_{\mathrm{norm}} p good = E / B norm . (b) Symmetric Hermitian block encoding U ~ B E , s = S L R U W , L U r o t F d † U r e f l , α F d U r o t † U W , R \widetilde{U}_{\mathrm{BE},s}=S_{LR}\,U_{W,L}\,U_{\mathrm{rot}}\,\mathcal{F}_d^\dagger U_{\mathrm{refl},\alpha}\mathcal{F}_d\,U_{\mathrm{rot}}^\dagger U_{W,R} U BE , s = S L R U W , L U rot F d † U refl , α F d U rot † U W , R in Construction B (Section D.5); the dashed box groups the position-space stage between F d † \mathcal{F}_d^\dagger F d † and F d \mathcal{F}_d F d , and S L R = SWAP ( a W , L , a W , R ) S_{LR}=\operatorname{SWAP}(a_{W,L},a_{W,R}) S L R = SWAP ( a W , L , a W , R ) enforces Hermiticity.
Prepare the source. Load the preconditioned right-hand side b ~ s = K 0 − 1 / 2 b s \widetilde{b}_s=K_0^{-1/2}b_s b s = K 0 − 1/2 b s , scaled by the known bound b ~ max \widetilde{b}_{\max} b m a x from Lemma 5(i), on the wavenumber and polarization registers.
Apply the reference weight. Rotate an ancilla so that the successful branch of mode k k k is multiplied by w ( k ) w(k) w ( k ) .
Enforce the velocity directions. Apply R ( k ) R(k) R ( k ) to map the transverse polarization coordinates to divergence-free velocity components.
Move to position space. Apply the inverse quantum Fourier transform F d † \mathcal{F}_d^\dagger F d † . The drag acts by multiplication in this representation.
Encode the drag. Evaluate α s ( x ) \alpha_s(x) α s ( x ) and rotate an ancilla to represent the bounded factor ( α s ( x ) − α 0 ) / ( r b e α 0 ) (\alpha_s(x)-\alpha_0)/(r_{\mathrm{be}}\alpha_0) ( α s ( x ) − α 0 ) / ( r be α 0 ) , where r b e ∈ ( r max , 1 ) r_{\mathrm{be}}\in(r_{\max},1) r be ∈ ( r m a x , 1 ) is the chosen block-encoding scale.
Return to Fourier coordinates. Undo the transform, frame rotation, and weight operations, using the ancilla layout of Section D.5. This gives the Hermitian signal block needed by the inverse construction.
Apply the inverse polynomial. Use QSVT to implement a polynomial approximation to a scaled inverse of K ~ s \widetilde{K}_s K s . The degree d i n v d_{\mathrm{inv}} d inv counts how many applications of the encoded operator are needed.
Encode the energy. Apply the observable rotation so that the probability of a designated flag is proportional to ∥ u s ∥ L 2 2 \|u_s\|_{L^2}^2 ∥ u s ∥ L 2 2 . The normalization is derived in Lemma 5.
The drag stage can be built in two ways. Construction A uses the Fourier expansion (14) : multiplication by each Fourier mode becomes a wavenumber shift, and the shifts are combined through block encodings. Its normalization is α 0 − 1 ∑ ℓ ∣ c ℓ y s , ℓ ∣ \alpha_0^{-1}\sum_\ell|c_{\ell y_s,\ell}| α 0 − 1 ∑ ℓ ∣ c ℓ y s , ℓ ∣ . Thus this construction needs control of the sum of the Fourier coefficients; cancellations between modes do not reduce that normalization. Construction B evaluates the drag directly at the position-grid point x x x . Its normalization is at most r max r_{\max} r m a x and needs only the pointwise bounds (13) . Both normalizations are independent of the grid size under their respective assumptions (Lemma 4).
We use two circuit models to check the implementation. Model I loads the required rotation angles through Gray-code multiplexors [35 ] . It is convenient for small gate-by-gate simulations, but its angle table can require Θ ( M N d ) \Theta(MN^d) Θ ( M N d ) gates. Model II computes the angles reversibly from the scenario and grid registers using a ˉ a r i t h \bar{a}_{\mathrm{arith}} a ˉ arith bits of fixed-point precision. It avoids the full angle table, provided the drag coefficients have a compact coherent generator. The arithmetic analysis proves a block-encoding error of order 2 − a ˉ a r i t h 2^{-\bar{a}_{\mathrm{arith}}} 2 − a ˉ arith ; the half-angle construction controls the drag-angle error even at high contrast (Propositions 4 and 5). For fixed numbers of drag terms and sufficiently compact inputs, its gate cost grows polylogarithmically with N N N and M M M .
The complete register layout and arithmetic circuits are given in Sections D and D.5. The explicit gate-level frame construction is two-dimensional. For d ≥ 3 d \ge3 d ≥ 3 the corresponding gate bound assumes an efficient reversible frame-synthesis routine, as stated in Remark 3; the mathematical preconditioning bound itself does not need that assumption.
End-to-End Gate Complexity
So far we have controlled the condition number and the cost of encoding the operator. To obtain an end-to-end estimate, we must also account for preparing the source and measuring the kinetic energy. An unfavorable normalization could make the success probability very small, forcing amplitude estimation to use many more evaluations. We therefore keep track of the factors introduced at each step.
Let b s = R ∗ f ~ s b_s=R^*\tilde{f}_s b s = R ∗ f ~ s be the reduced Fourier forcing and let b ~ s = K 0 − 1 / 2 b s \widetilde{b}_s=K_0^{-1/2}b_s b s = K 0 − 1/2 b s denote its preconditioned form. The inverse polynomial applies a scaled version of K ~ s − 1 \widetilde{K}_s^{-1} K s − 1 . To recover the physical kinetic energy, the observable stage applies the contraction
E s : = ν + α 0 K 0 − 1 / 2 . E_s:=\sqrt{\nu}+\alpha_0 K_0^{-1/2}. E s := ν + α 0 K 0 − 1/2 .
The normalization calculation in Lemma 5 gives
p g o o d , s = E s B n o r m , E s : = ∥ u s ∥ L 2 2 , (19) p_{\mathrm{good},s}=\frac{\mathcal{E}_s}{B_{\mathrm{norm}}},\qquad\mathcal{E}_s:=\|u_s\|_{L^2}^2, \tag*{(19)} p good , s = B norm E s , E s := ∥ u s ∥ L 2 2 , (19)
where p g o o d , s p_{\mathrm{good},s} p good , s is the probability of the designated good flag and B n o r m B_{\mathrm{norm}} B norm is a known positive scaling factor. Under the normalization choices of that lemma, B n o r m = Θ ( κ ~ 2 ) B_{\mathrm{norm}}=\Theta(\widetilde{\kappa}^{2}) B norm = Θ ( κ 2 ) . For forcing supported on fixed low wavenumbers 0 < ∣ k ∣ ≤ k 0 0<|k|\le k_0 0 < ∣ k ∣ ≤ k 0 , with its norm bounded above and below by positive constants, the good-flag probability also has a positive lower bound independent of N N N . Thus refining the grid does not by itself make the energy flag increasingly unlikely.
The complexity comparison requires assumptions about the inputs and the classical method. We state them explicitly.
(A1) Efficient coherent input generation. Let the drag expansion length and the number of nonzero forcing coefficients obey L ( ϵ ) = Θ ( ϵ − ℓ ) L(\epsilon)=\Theta(\epsilon^{-\ell}) L ( ϵ ) = Θ ( ϵ − ℓ ) and S ( ϵ ) = Θ ( ϵ − σ ) S(\epsilon)=\Theta(\epsilon^{-\sigma}) S ( ϵ ) = Θ ( ϵ − σ ) , where ℓ , σ ≥ 0 \ell,\sigma\ge0 ℓ , σ ≥ 0 . We assume that the scenario coefficients y s , ℓ y_{s,\ell} y s , ℓ can be computed reversibly from their indices using O ( polylog ( M , 1 / ϵ ) ) O(\operatorname{polylog}(M,1/\epsilon)) O ( polylog ( M , 1/ ϵ )) gates per term, for example with the scrambled Sobol’ generator studied in the appendix. Construction B can instead use a similarly efficient position-space evaluator for α s ( x ) \alpha_s(x) α s ( x ) . We also assume that the S S S -sparse source can be prepared in O ( S ( ϵ ) d log N ) O(S(\epsilon)d\log N) O ( S ( ϵ ) d log N ) gates. These are assumptions on how the data are supplied. An arbitrary table of all M M M scenarios need not have such an efficient loading circuit.
(A2) Low-wavenumber forcing. The forcing is supported on modes 0 < ∣ k ∣ ≤ k 0 0<|k|\le k_0 0 < ∣ k ∣ ≤ k 0 , where k 0 k_0 k 0 is fixed, and its reduced norm obeys 0 < b min ≤ ∥ b s ∥ 2 ≤ b max 0<b_{\min}\le\|b_s\|_2\le b_{\max} 0 < b m i n ≤ ∥ b s ∥ 2 ≤ b m a x uniformly in s s s . These bounds are the conditions used in Lemma 5 to control the source normalization and the energy-flag probability.
(A3) Discretization accuracy and classical solver class. We assume that N = Θ ( ϵ − 1 / r ) N=\Theta(\epsilon^{-1/r}) N = Θ ( ϵ − 1/ r ) grid points per axis suffice to reduce the error in the observable to O ( ϵ ) O(\epsilon) O ( ϵ ) , where r > 0 r>0 r > 0 is the assumed spatial convergence exponent. This includes any truncation and aliasing error of the chosen Fourier–Galerkin or pseudospectral scheme; the rate is not inferred from our tests on smooth drag fields. The classical competitor is a single-level method that explicitly processes the N d N^d N d grid unknowns, such as a grid-resolving FFT-based conjugate-gradient or multigrid solver. Its per-scenario cost is at least Ω ( N d ) \Omega(N^d) Ω ( N d ) operations. For the specified near-linear implementations, we also take the upper bound O ~ ( N d ) \widetilde{O}(N^d) O ( N d ) when a two-sided cost law is needed.
The assumptions separate the two possible sources of quantum cost. The number of drag and forcing terms is controlled by L L L and S S S ; the grid size enters through the Fourier transforms and arithmetic register widths. The preconditioner prevents the inverse polynomial from acquiring a further power of N N N through poor conditioning.
The next theorem combines these costs with the sampling comparison of Theorem 2.
Theorem 4 (Conditional end-to-end gate complexity). Assume (A1)–(A3) and fixed drag contrast κ ~ = α max / α min = O ( 1 ) \widetilde{\kappa}=\alpha_{\max}/\alpha_{\min}=O(1) κ = α m a x / α m i n = O ( 1 ) .
(i) Cost of one coherent evaluation. For observable bias O ( ϵ ) O(\epsilon) O ( ϵ ) , one evaluation uses log 2 M + d log 2 N + ⌈ log 2 d ⌉ + 7 \log_2 M+d\log_2 N+\lceil\log_2 d\rceil+7 log 2 M + d log 2 N + ⌈ log 2 d ⌉ + 7 system qubits and O ( d log N + b a r i t h 2 ) O(d\log N+b_{\mathrm{arith}}^2) O ( d log N + b arith 2 ) reusable workspace qubits, where b a r i t h b_{\mathrm{arith}} b arith is the fixed-point arithmetic width. Its logical Clifford+T gate cost satisfies
Γ Q ( ϵ ) = O ( κ ~ ( L ( ϵ ) + S ( ϵ ) ) d ⋅ polylog ( d κ ~ M ϵ ) ) (20) \Gamma_{\mathrm{Q}}(\epsilon)=O\left(\widetilde{\kappa}(L(\epsilon)+S(\epsilon))d\cdot\operatorname{polylog}\left(\frac{d\widetilde{\kappa}M}{\epsilon}\right)\right) \tag*{(20)} Γ Q ( ϵ ) = O ( κ ( L ( ϵ ) + S ( ϵ )) d ⋅ polylog ( ϵ d κ M ) ) (20) = O ~ ( ϵ − max { ℓ , σ } ) =\widetilde{O}\left(\epsilon^{-\max\{\ell,\sigma\}}\right) = O ( ϵ − m a x { ℓ , σ } ) .
Thus the quantum cost exponent satisfies g Q ≤ max { ℓ , σ } g_{\mathrm{Q}}\le\max\{\ell,\sigma\} g Q ≤ max { ℓ , σ } . The explicit frame circuit and gate count are established for d = 2 d=2 d = 2 ; for d ≥ 3 d\ge3 d ≥ 3 , the gate count assumes the frame-synthesis hypothesis in Remark 3. Under the normalization choices of Lemma 5, converting the flag probability into the physical energy introduces a factor B n o r m = Θ ( κ ~ 2 ) B_{\mathrm{norm}}=\Theta(\widetilde{\kappa}^{2}) B norm = Θ ( κ 2 ) in the required amplitude-estimation precision.
(ii) Sufficient condition for advantage. Suppose the classical solver of (A3) is combined with a sampling rule of order p p p and the ensemble has M = Θ ( ϵ − m ) M=\Theta(\epsilon^{-m}) M = Θ ( ϵ − m ) scenarios. If
max { ℓ , σ } − d r < B ( p , m ) = min { m , 1 / p } − 1 (21) \max\{\ell,\sigma\}-\frac{d}{r}<B(p,m)=\min\{m,1/p\}-1 \tag*{(21)} max { ℓ , σ } − r d < B ( p , m ) = min { m , 1/ p } − 1 (21) then the quantum-to-classical cost ratio satisfies
T Q T C = O ~ ( ϵ B ( p , m ) + d / r − max { ℓ , σ } ) ⟶ 0. \frac{T_{\mathrm{Q}}}{T_{\mathrm{C}}}=\widetilde{O}\left(\epsilon^{B(p,m)+d/r-\max\{\ell,\sigma\}}\right)\longrightarrow0. T C T Q = O ( ϵ B ( p , m ) + d / r − m a x { ℓ , σ } ) ⟶ 0. This is a sufficient condition from the quantum upper bound and the classical grid-processing lower bound. It is also necessary only if the corresponding costs obey matching two-sided asymptotic laws. In the special case ℓ = σ = 0 \ell=\sigma=0 ℓ = σ = 0 , the bound becomes
T Q T C = O ~ ( ϵ d / r + min { m , 1 / p } − 1 ) . \frac{T_{\mathrm{Q}}}{T_{\mathrm{C}}}=\widetilde{O}\left(\epsilon^{d/r+\min\{m,1/p\}-1}\right). T C T Q = O ( ϵ d / r + m i n { m , 1/ p } − 1 ) . For m ≥ 1 m\ge1 m ≥ 1 and p ≤ 1 p\le1 p ≤ 1 , this gives an advantage exponent of at least d / r d/r d / r . For m < 1 m<1 m < 1 , the exponent is d / r + m − 1 d/r+m-1 d / r + m − 1 , which is positive when d / r > 1 − m d/r>1-m d / r > 1 − m .
Proof sketch. The preconditioning proposition bounds κ ( K ~ s ) \kappa(\widetilde{K}_s) κ ( K s ) independently of the grid, and Lemma 4 bounds the block-encoding normalization. Consequently, the QSVT inverse needs a polynomial of degree O ( κ ~ log ( κ ~ / ϵ ) ) O(\widetilde{\kappa}\log(\widetilde{\kappa}/\epsilon)) O ( κ log ( κ / ϵ )) , rather than a degree that grows polynomially with N N N . The uniform polynomial approximation is proved in Lemma 6. Each call to the encoded operator is implemented with the reversible circuits analyzed in Proposition 4. The energy normalization is controlled by Lemma 5. Combining these bounds gives (20) . Finally, a grid-resolving classical solve costs at least Ω ( N d ) = Ω ( ϵ − d / r ) \Omega(N^d)=\Omega(\epsilon^{-d/r}) Ω ( N d ) = Ω ( ϵ − d / r ) . Substituting these quantum and classical cost bounds into Theorem 2 proves part (ii). The detailed circuit and error accounting is given in Section D.
Remark 1 (Scope of the gate-complexity comparison). The theorem compares specified quantum and classical procedures. It does not give a lower bound against every classical algorithm. Reduced-basis methods, surrogate models, or homogenization may be cheaper for material families with additional structure (Remark 4). In particular, the analytic three-mode drag used in the numerical conditioning test can be solved by classical Fourier methods with much faster spatial convergence than the finite-regularity law assumed in (A3); it is a test of the preconditioner, not evidence for the asymptotic speedup.
Numerical Results
We now test whether the main parts of the construction behave as predicted at finite sizes. There are three distinct questions: whether preconditioning controls the spectrum, whether the circuit components produce the correct kinetic-energy observable, and how the circuit resources change with grid and ensemble size. We also check the operator and mean-flow constraint in three dimensions.
These tests provide different kinds of evidence. Some use classical matrix computations or PDE solves. Model I is simulated gate by gate as a quantum statevector on classical hardware. Model II is examined using emitted circuits, arithmetic subcircuits, and truth-table checks, rather than a full large statevector simulation. The cost curves obtained by substituting exponents into our complexity formulas are analytic illustrations, not measured runtimes. No experiments were run on quantum hardware. Table 1 records the scope of each test; full numerical tables are provided in Section E.
Table 1: Numerical and circuit checks. “Numerics” denotes classical matrix or PDE calculations; “simulated” denotes gate-by-gate statevector simulation; and “audited” denotes circuit and arithmetic checks without full statevector execution.
Table 1.
Conditioning Under Grid Refinement
We first check the main theoretical bound (18) . The test uses a two-dimensional periodic Brinkman operator with viscosity ν = 0.1 \nu=0.1 ν = 0.1 and drag bounds α min = 1 \alpha_{\min}=1 α m i n = 1 , α max = 3 \alpha_{\max}=3 α m a x = 3 . Hence the theorem predicts κ ( K ~ s ) ≤ 3 \kappa(\widetilde{K}_s)\leq3 κ ( K s ) ≤ 3 for every grid, although the actual condition number may be smaller. We construct the reduced operator K ~ s \widetilde{K}_s K s and preconditioned operator K ~ s \widetilde{K}_s K s on grids with N = 8 , 12 , 16 , 24 , 32 N=8,12,16,24,32 N = 8 , 12 , 16 , 24 , 32 points per axis.
We also check that the map R E R_{\mathcal{E}} R E has the properties required by the proof. The divergence residual ∥ D R E ∥ 2 \lVert D R_{\mathcal{E}}\rVert_2 ∥ D R E ∥ 2 measures the violation of the discrete constraint, while the energy-isometry defect measures how closely R E ∗ A 0 R E R_{\mathcal{E}}^{*}A_0R_{\mathcal{E}} R E ∗ A 0 R E agrees with the identity. Both quantities stay below 7 × 10 − 16 7\times10^{-16} 7 × 1 0 − 16 in the tests, consistent with floating-point roundoff.
The condition numbers show the effect of preconditioning clearly. The unpreconditioned value grows from 3.17 3.17 3.17 at N = 8 N=8 N = 8 to 31.86 31.86 31.86 at N = 32 N=32 N = 32 . By contrast, the preconditioned value stays near 1.70 1.70 1.70 for the same grids, well below the bound of 3 3 3 . A degree-14 QSVT inverse polynomial also gives errors of order 10 − 10 10^{-10} 1 0 − 10 for the reported observable calculation. That number measures the inverse approximation, not the error of a complete uncertainty-quantification run. The results are listed in Table 2 and shown in the left panel of Figure 3 ; the eigenvalue spectra are plotted in Figure 4 .
Table 2: Conditioning and inverse-approximation checks for the Sobolev–Riesz formulation on T 2 \mathbb{T}^2 T 2 with ν = 0.1 \nu= 0.1 ν = 0.1 and drag contrast κ ~ = 3 \widetilde{\kappa} = 3 κ = 3 . The last column reports the inverse-polynomial error, not the error of a full QAE estimate.
Table 2.
Figure 3. Left: the unpreconditioned condition number grows over the tested grids, whereas the preconditioned value remains near 1.70. The slope 1.68 is a least-squares fit over N = 8 , … , 32 N = 8,\ldots,32 N = 8 , … , 32 , not a proof of the asymptotic rate; the Θ ( N 2 ) \Theta(N^2) Θ ( N 2 ) behavior is an independent analytic property of the unpreconditioned operator. Right: modelled total-cost exponents for 3D Brinkman flow with d = 3 d = 3 d = 3 , r = 2 r = 2 r = 2 , and first-order classical QMC (p = 1 p = 1 p = 1 ). The curves use chosen prefactors 1, 50, and 120 for the classical, unpreconditioned quantum, and preconditioned quantum procedures, respectively. They illustrate the cost laws and are not measured runtime comparisons. In this model, preconditioning improves the quantum exponent even though the unpreconditioned method already has a better exponent than the specified classical solver.
Figure 4. Sorted eigenvalues of the reduced Brinkman operator K s K_s K s and the Sobolev–Riesz preconditioned operator K ~ s \widetilde{K}_s K s (ν = 0.1 \nu= 0.1 ν = 0.1 , α min = 1 \alpha_{\min} = 1 α m i n = 1 , α max = 3 \alpha_{\max} = 3 α m a x = 3 , α 0 = 2 \alpha_0 = 2 α 0 = 2 ). The shaded band marks the theoretical spectral interval [ α min / α 0 , α max / α 0 ] = [ 0.5 , 1.5 ] [\alpha_{\min}/\alpha_0, \alpha_{\max}/\alpha_0] = [0.5, 1.5] [ α m i n / α 0 , α m a x / α 0 ] = [ 0.5 , 1.5 ] of Proposition 3. Left: two-dimensional operators on T 2 \mathbb{T}^2 T 2 for N = 8 , 16 , 32 N = 8, 16, 32 N = 8 , 16 , 32 . Right: three-dimensional operators on T 3 \mathbb{T}^3 T 3 at N 3 = 8 N_3 = 8 N 3 = 8 , comparing K s K_s K s (1,022 mean-zero modes, κ = 4.31 \kappa= 4.31 κ = 4.31 ) with K ~ s \widetilde{K}_s K s (κ = 1.91 \kappa= 1.91 κ = 1.91 ) and the unconstrained-mean variant K ~ s u n c o n s t r \widetilde{K}_s^{\mathrm{unconstr}} K s unconstr (1,025 modes, κ = 1.99 \kappa= 1.99 κ = 1.99 ; Remark 2).
Accuracy of the Circuit Construction
Next we check whether the circuit computes the same energy as the classical PDE solution. We begin with small dense-matrix tests of the Riesz reduction, reduced-system equivalence, and error bound in Propositions 1 and 2 and Lemma 1. These agree with the corresponding algebraic identities to numerical precision.
For a more direct circuit test, we simulate Model I gate by gate with N = 8 N=8 N = 8 and M = 16 M=16 M = 16 . The circuit uses 18 qubits and 48,737 gates. The computed ensemble kinetic energy is approximately 0.341 and differs from the classical PDE result by about 1.4 × 10 − 8 1.4\times10^{-8} 1.4 × 1 0 − 8 . Its Grover iterations also reproduce the expected probability law sin 2 ( ( 2 j + 1 ) θ ) \sin^2((2j+1)\theta) sin 2 (( 2 j + 1 ) θ ) , where sin 2 θ \sin^2\theta sin 2 θ is the good-flag probability and j j j counts Grover iterations. The maximum reported deviation is about 1.3 × 10 − 12 1.3\times10^{-12} 1.3 × 1 0 − 12 . These checks test both the energy encoding and the amplitude-estimation state preparation at this small size.
Model II replaces the stored angles with reversible fixed-point arithmetic. At arithmetic width b a r i t h = 16 b_{\mathrm{arith}}=16 b arith = 16 , its encoded energy agrees with the reference to about 1.9 × 10 − 8 1.9\times10^{-8} 1.9 × 1 0 − 8 , consistent with the expected finite-precision error. This is not a full statevector run of the large Model II circuit. That circuit would contain approximately 3.5 × 10 7 3.5\times10^7 3.5 × 1 0 7 gates on 416 qubits, including arithmetic workspace. Instead, we validate its netlist components through subcircuit extraction, truth-table checks of the arithmetic units at the tested widths, ancilla cleanup, and amplitude comparisons against Model I. The convergence with b a r i t h b_{\mathrm{arith}} b arith is shown in Figure 5 , and the full accuracy and resource tables
Figure 5. Finite-precision convergence of the emitted Model II circuit with arithmetic width b a r i t h ∈ { 8 , 10 , 12 , 14 , 16 } b_{\mathrm{arith}} \in\{8, 10, 12, 14, 16\} b arith ∈ { 8 , 10 , 12 , 14 , 16 } for N = 4 N = 4 N = 4 and N = 8 N = 8 N = 8 (M = 16 M = 16 M = 16 , ν = 0.1 \nu= 0.1 ν = 0.1 , α 0 = 2 \alpha_0 = 2 α 0 = 2 ; Table 7 ). Left: worst-case block-encoding discrepancy max s ∥ X s ( I I ) − X s I ∥ 2 \max_s \lVert X_s^{(\mathrm{II})} - X_s^{\mathrm{I}} \rVert_2 max s ∥ X s ( II ) − X s I ∥ 2 together with the analytic bound (25) (dashed) and a 2 − b a r i t h 2^{-b_{\mathrm{arith}}} 2 − b arith reference slope. Right: physical ensemble kinetic-energy error relative to the exact classical PDE solution; dotted horizontal lines indicate the Model I degree-14 QSVT floor (1.69 × 10 − 8 1.69 \times10^{-8} 1.69 × 1 0 − 8 at N = 4 N = 4 N = 4 and 1.39 × 10 − 8 1.39 \times10^{-8} 1.39 × 1 0 − 8 at N = 8 N = 8 N = 8 ).
are given in Section E.
Circuit Resources and Sampling Error
We next examine how the compiled circuit size changes when the grid or ensemble grows. Model I must load a table of rotation angles, whereas Model II evaluates the angles from the input registers. Across the tested grids N = 8 N = 8 N = 8 to N = 1024 N = 1024 N = 1024 , the audited Model II gate count follows a quadratic trend in log 2 N \log_2 N log 2 N . At N = 1024 N = 1024 N = 1024 , its gate count is 51 times smaller than the corresponding Model I count. When the ensemble size increases from M = 16 M = 16 M = 16 to M = 2 20 M = 2^{20} M = 2 20 , the Model II gate count changes by only 0.11%, and the reported T T T -count is unchanged (Figure 6 ). These comparisons are between two quantum implementations of the same operation; they are not comparisons with a classical solver.
Figure 6. Logical gate counts of the state-preparation circuit A \mathcal{A} A comparing Model I (Gray-code angle tables) with Model II (reversible arithmetic, total gates and T T T -count) at b a r i t h = 10 b_{\mathrm{arith}} = 10 b arith = 10 (Table 13 and Table 15 ). Left: scaling with grid resolution N = 8 , … , 1024 N = 8, \ldots, 1024 N = 8 , … , 1024 at M = 16 M = 16 M = 16 ; Model II falls below Model I at N = 256 N = 256 N = 256 and uses 51 × 51\times 51 × fewer gates at N = 1024 N = 1024 N = 1024 . Right: scaling with ensemble size M = 2 4 , … , 2 20 M = 2^4, \ldots, 2^{20} M = 2 4 , … , 2 20 at N = 64 N = 64 N = 64 ; Model II total gates increase by 0.11 % 0.11\% 0.11% while its T T T -count stays constant at 5.31 × 10 6 5.31 \times10^6 5.31 × 1 0 6 . Both panels compare two quantum compilations, not a classical solver.
We separately examine sampling error. Using simulated measurement statistics at matched oracle-call budgets over 180 trials, maximum-likelihood amplitude estimation (MLQAE) has an empirical root-mean-square-error slope of approximately − 0.96 -0.96 − 0.96 , compared with − 0.50 -0.50 − 0.50 for ordinary sampling. The slope is measured against oracle calls, not logical gates or elapsed time. A single Model I call at N = 8 N = 8 N = 8 already contains 48,737 gates, so this experiment does not demonstrate a practical runtime advantage. Figure 7 shows the sampling comparison.
Figure 7. Root-mean-square error of maximum-likelihood amplitude estimation (MLQAE) and ordinary sampling at equal oracle-call budgets. The model good-flag probability is a = 0.3206 a = 0.3206 a = 0.3206 ; each point is estimated from simulated measurement statistics over 180 trials (Table 10 ). The figure compares sampling error, not gate cost or runtime.
Three-Dimensional Operator Checks
Finally, we repeat the main operator-level checks on the periodic three-dimensional domain T 3 \mathbb{T}^3 T 3 . For the N 3 = 8 N_3 = 8 N 3 = 8 test, the constructed mean-zero divergence-free operator has a constraint residual below 10 − 15 10^{-15} 1 0 − 15 . Preconditioning reduces its condition number from about 4.3 to 1.9, again below the theoretical bound κ ~ = 3 \widetilde{\kappa} = 3 κ = 3 (Figure 4 , right). These are matrix-level checks, not a compiled three-dimensional frame circuit.
We also test why the mean-flow multiplier is needed. With the spatially varying drag α ( x ) = α 0 + 0.1 sin x 1 \alpha(x) = \alpha_0 + 0.1 \sin x_1 α ( x ) = α 0 + 0.1 sin x 1 , the corresponding problem without the multiplier develops a nonzero mean velocity of about − 0.035 -0.035 − 0.035 . Enforcing zero mean with the multiplier reduces the mean velocity to numerical roundoff; the reported momentum residual decreases from 0.071 to 1.3 × 10 − 15 1.3 \times10^{-15} 1.3 × 1 0 − 15 . This agrees with the projected Brinkman formulation of (12) . The detailed values appear in Section E.
The finite-size tests agree with the conditioning bound and the energy-encoding identities. The asymptotic gate comparison follows under the assumptions of Theorem 4.
Conclusion
For steady Brinkman flow with spatially varying drag, the polar Riesz map gives a positive-definite system in divergence-free coordinates. The Sobolev–Riesz preconditioner bounds its condition number by α max / α min \alpha_{\max}/\alpha_{\min} α m a x / α m i n independently of grid resolution. A coherent circuit encodes the mean kinetic energy without
reconstructing the velocity field, and finite-size tests check the conditioning bound and the implemented circuit components.
The resulting gate-complexity advantage is conditional on efficient coherent inputs, the forcing and discretization assumptions, and comparison with single-level classical grid-resolving solvers. The simulations test individual components at finite sizes on classical hardware.
Extensions to nonperiodic boundaries and weakly nonlinear flow would broaden the range of problems covered. More efficient arithmetic and state preparation, together with comparisons against classical reduced-order solvers, would help assess the overall cost for structured drag families.
References
Appendix Guide and Notation
The main text introduces each result before stating its mathematical form. Here we provide the proof details and implementation information needed to verify those statements. The appendices follow the same order as the main argument: constraint reduction, continuum Brinkman model, circuit construction, and numerical verification. Table 3 identifies the role of each appendix.
Table 3. Contents of the appendices.
Table 4 and Table 5 list the symbols used in the paper; circuit quantities are listed separately.
Table 4. Physical, numerical and complexity notation.
Table 5. Quantum-circuit notation.
Proofs for the Constraint Reduction and Stokes Benchmark
This appendix completes three preliminary arguments used throughout the paper. We first show that solving in divergence-free coordinates is equivalent to solving the constrained system. We then control the bias introduced by approximate circuit stages, and finally justify the finite-list Stokes query benchmark.
Proof of Proposition 2. Step 1 (the reduced operator is positive definite). For any nonzero ξ ∈ Z 0 \xi\in Z_0 ξ ∈ Z 0 , Proposition 1 gives R ξ ∈ ker D R\xi\in\ker D R ξ ∈ ker D and ∥ R ξ ∥ 2 = ∥ ξ ∥ 2 > 0 \lVert R\xi\rVert_2 = \lVert\xi\rVert_2 > 0 ∥ R ξ ∥ 2 = ∥ ξ ∥ 2 > 0 , so coercivity of A s A_s A s on ker D \ker D ker D implies ⟨ ξ , K s ξ ⟩ = ⟨ R ξ , A s R ξ ⟩ ≥ γ s ∥ R ξ ∥ 2 2 = γ s ∥ ξ ∥ 2 2 > 0 \langle\xi, K_s\xi\rangle= \langle R\xi, A_sR\xi\rangle\ge\gamma_s\lVert R\xi\rVert_2^2 = \gamma_s\lVert\xi\rVert_2^2 > 0 ⟨ ξ , K s ξ ⟩ = ⟨ R ξ , A s R ξ ⟩ ≥ γ s ∥ R ξ ∥ 2 2 = γ s ∥ ξ ∥ 2 2 > 0 . Thus K s K_s K s is Hermitian positive definite on Z 0 Z_0 Z 0 and invertible.
Step 2 (equivalence with the weak form). Since R ∣ Z 0 : Z 0 → ker D R|_{Z_0}: Z_0 \to\ker D R ∣ Z 0 : Z 0 → ker D is unitary, every v ∈ ker D v \in\ker D v ∈ ker D has the unique form v = R η v = R\eta v = R η with η ∈ Z 0 \eta\in Z_0 η ∈ Z 0 , and (3) is equivalent to ⟨ η , K s ξ s ⟩ = ⟨ η , R ∗ R b s ⟩ = ⟨ η , b s ⟩ \langle\eta, K_s\xi_s\rangle= \langle\eta, R^*R b_s\rangle= \langle\eta, b_s\rangle ⟨ η , K s ξ s ⟩ = ⟨ η , R ∗ R b s ⟩ = ⟨ η , b s ⟩ for all η ∈ Z 0 \eta\in Z_0 η ∈ Z 0 , whose unique solution is ξ s = K s − 1 b s \xi_s = K_s^{-1}b_s ξ s = K s − 1 b s , u s = R ξ s u_s = R\xi_s u s = R ξ s .
Step 3 (reconstruction of the multiplier). The residual r s : = R b s − A s u s ∈ H r_s := Rb_s - A_su_s \in\mathcal{H} r s := R b s − A s u s ∈ H satisfies ⟨ v , r s ⟩ = 0 \langle v, r_s\rangle= 0 ⟨ v , r s ⟩ = 0 for all v ∈ ker D v \in\ker D v ∈ ker D , so r s ∈ ( ker D ) ⊥ = ran D ∗ r_s \in(\ker D)^\perp= \operatorname{ran}D^* r s ∈ ( ker D ) ⊥ = ran D ∗ . When D D D has full row rank, D ∗ D^* D ∗ is injective (and D D ∗ ≻ 0 DD^* \succ0 D D ∗ ≻ 0 ), so there is a unique p s = ( D D ∗ ) − 1 D r s ∈ Y p_s = (DD^*)^{-1}Dr_s \in Y p s = ( D D ∗ ) − 1 D r s ∈ Y satisfying D ∗ p s = r s D^*p_s = r_s D ∗ p s = r s , which together with D u s = D R ξ s = 0 Du_s = DR\xi_s = 0 D u s = D R ξ s = 0 yields (4) . Conversely, any solution of (4) satisfies u s ∈ ker D u_s \in\ker D u s ∈ ker D and ⟨ v , A s u s − R b s ⟩ = − ⟨ D v , p s ⟩ = 0 \langle v, A_su_s - Rb_s\rangle= -\langle Dv, p_s\rangle= 0 ⟨ v , A s u s − R b s ⟩ = − ⟨ D v , p s ⟩ = 0 for all v ∈ ker D v \in\ker D v ∈ ker D , which gives uniqueness.
Proof of Lemma 1. Set y s : = E s R F s b s y_s := E_sRF_sb_s y s := E s R F s b s and y ~ s : = E ~ s R ~ F ~ s b ~ s \widetilde{y}_s := \widetilde{E}_s\widetilde{R}\widetilde{F}_s\widetilde{b}_s y s := E s R F s b s . Because each ideal and approximate stage has spectral norm at most 1 1 1 , we have ∥ y s ∥ 2 ≤ 1 \lVert y_s\rVert_2 \le1 ∥ y s ∥ 2 ≤ 1 , and telescoping the difference in four steps yields
∥ y ~ s − y s ∥ 2 ≤ ∥ ( E ~ s − E s ) R ~ F ~ s b ~ s ∥ 2 + ∥ E s ( R ~ − R ) F ~ s b ~ s ∥ 2 + ∥ E s R ( F ~ s − F s ) b ~ s ∥ 2 + ∥ E s R F s ( b ~ s − b s ) ∥ 2 ≤ η E + η R + η F + η b = η i m p l . \lVert\widetilde{y}_s-y_s\rVert_2 \le\lVert(\widetilde{E}_s-E_s)\widetilde{R}\widetilde{F}_s\widetilde{b}_s\rVert_2 + \lVert E_s(\widetilde{R}-R)\widetilde{F}_s\widetilde{b}_s\rVert_2 + \lVert E_sR(\widetilde{F}_s-F_s)\widetilde{b}_s\rVert_2 + \lVert E_sRF_s(\widetilde{b}_s-b_s)\rVert_2 \le\eta_E+\eta_R+\eta_F+\eta_b=\eta_{\mathrm{impl}}. ∥ y s − y s ∥ 2 ≤ ∥( E s − E s ) R F s b s ∥ 2 + ∥ E s ( R − R ) F s b s ∥ 2 + ∥ E s R ( F s − F s ) b s ∥ 2 + ∥ E s R F s ( b s − b s ) ∥ 2 ≤ η E + η R + η F + η b = η impl .
Writing y ~ s = y s + Δ s \widetilde{y}_s = y_s + \Delta_s y s = y s + Δ s with ∥ Δ s ∥ 2 ≤ η i m p l \lVert\Delta_s\rVert_2 \le\eta_{\mathrm{impl}} ∥ Δ s ∥ 2 ≤ η impl and applying the Cauchy–Schwarz and triangle inequalities gives
∣ g ~ s − g s ∣ = ∥ y ~ s ∥ 2 2 − ∥ y s ∥ 2 2 = ∣ 2 Re ⟨ y s , Δ s ⟩ + ∥ Δ s ∥ 2 2 ∣ ≤ 2 ∥ y s ∥ 2 ∥ Δ s ∥ 2 + ∥ Δ s ∥ 2 2 ≤ 2 η i m p l + η i m p l 2 . |\widetilde{g}_s-g_s|=\lVert\widetilde{y}_s\rVert_2^2-\lVert y_s\rVert_2^2=|2\operatorname{Re}\langle y_s,\Delta_s\rangle+\lVert\Delta_s\rVert_2^2|\le2\lVert y_s\rVert_2\lVert\Delta_s\rVert_2+\lVert\Delta_s\rVert_2^2\le2\eta_{\mathrm{impl}}+\eta_{\mathrm{impl}}^2. ∣ g s − g s ∣ = ∥ y s ∥ 2 2 − ∥ y s ∥ 2 2 = ∣2 Re ⟨ y s , Δ s ⟩ + ∥ Δ s ∥ 2 2 ∣ ≤ 2 ∥ y s ∥ 2 ∥ Δ s ∥ 2 + ∥ Δ s ∥ 2 2 ≤ 2 η impl + η impl 2 .
Averaging over s ∈ { 0 , … , M − 1 } s \in\{0,\ldots,M-1\} s ∈ { 0 , … , M − 1 } gives the same bound for ∣ μ ~ c i r − μ ∣ |\widetilde{\mu}_{\mathrm{cir}}-\mu| ∣ μ cir − μ ∣ .
Proof of Theorem 1. For η i m p l ≤ ϵ / 8 \eta_{\mathrm{impl}} \le\epsilon/8 η impl ≤ ϵ /8 and ϵ ≤ 1 \epsilon\le1 ϵ ≤ 1 , Lemma 1 bounds the deterministic circuit bias by
∣ μ ~ c i r − μ ∣ ≤ 2 ( ϵ 8 ) + ( ϵ 8 ) 2 = ϵ 4 + ϵ 2 64 < ϵ 2 . |\widetilde{\mu}_{\mathrm{cir}}-\mu| \le2\left(\frac{\epsilon}{8}\right)+\left(\frac{\epsilon}{8}\right)^2=\frac{\epsilon}{4}+\frac{\epsilon^2}{64}<\frac{\epsilon}{2}. ∣ μ cir − μ ∣ ≤ 2 ( 8 ϵ ) + ( 8 ϵ ) 2 = 4 ϵ + 64 ϵ 2 < 2 ϵ .
A single run of Brassard–Høyer–Mosca–Tapp amplitude estimation [9 Theorem 12] using M A E = Θ ( ϵ − 1 ) M_{\mathrm{AE}}=\Theta(\epsilon^{-1}) M AE = Θ ( ϵ − 1 ) applications of the Grover iterate G G G estimates the circuit probability μ ~ c i r ∈ [ 0 , 1 ] \widetilde{\mu}_{\mathrm{cir}}\in[0,1] μ cir ∈ [ 0 , 1 ] to additive error at most ϵ / 2 \epsilon/2 ϵ /2 with success probability at least 8 / π 2 > 0.81 8/\pi^2>0.81 8/ π 2 > 0.81 . Taking the median of n δ = Θ ( log ( 1 / δ ) ) n_\delta=\Theta(\log(1/\delta)) n δ = Θ ( log ( 1/ δ )) independent runs boosts the success probability to at least 1 − δ 1-\delta 1 − δ via Hoeffding’s inequality while multiplying the total number of calls to A \mathcal{A} A and A † \mathcal{A}^{\dagger} A † by n δ n_\delta n δ . On this event, the triangle inequality gives ∣ μ ~ − μ ∣ ≤ ∣ μ ~ − μ ~ c i r ∣ + ∣ μ ~ c i r − μ ∣ < ϵ / 2 + ϵ / 2 = ϵ |\widetilde{\mu}-\mu|\le|\widetilde{\mu}-\widetilde{\mu}_{\mathrm{cir}}|+|\widetilde{\mu}_{\mathrm{cir}}-\mu|<\epsilon/2+\epsilon/2=\epsilon ∣ μ − μ ∣ ≤ ∣ μ − μ cir ∣ + ∣ μ cir − μ ∣ < ϵ /2 + ϵ /2 = ϵ , and multiplying the O ( ϵ − 1 log ( 1 / δ ) ) O(\epsilon^{-1}\log(1/\delta)) O ( ϵ − 1 log ( 1/ δ )) coherent calls by the per-call gate cost Γ ( κ , β , ϵ / 8 ) \Gamma(\kappa,\beta,\epsilon/8) Γ ( κ , β , ϵ /8 ) yields (8) .
The Stokes benchmark rests on the following finite-list lower bound, which is standard; we include a short proof with explicit constants.
Lemma 2 (Classical lower bound for a finite list). Let M ≥ 16 M\ge16 M ≥ 16 and 0 < ϵ ≤ 1 / 16 0<\epsilon\le1/16 0 < ϵ ≤ 1/16 . Any randomized classical algorithm that makes adaptive queries s ↦ g s s\mapsto g_s s ↦ g s to an input g ∈ [ 0 , 1 ] M g\in[0,1]^M g ∈ [ 0 , 1 ] M and, for every input, outputs an estimate of μ = 1 M ∑ s = 0 M − 1 g s \mu=\frac{1}{M}\sum_{s=0}^{M-1}g_s μ = M 1 ∑ s = 0 M − 1 g s within ± ϵ \pm\epsilon ± ϵ with probability at least 2 / 3 2/3 2/3 , must make at least Q C ≥ 1 100 min { M , ϵ − 2 } Q_C\ge\frac{1}{100}\min\{M,\epsilon^{-2}\} Q C ≥ 100 1 min { M , ϵ − 2 } queries on some input. The constant is not optimized. The matching upper bound O ( min { M , ϵ − 2 } ) O(\min\{M,\epsilon^{-2}\}) O ( min { M , ϵ − 2 }) follows from reading every entry when M ≤ ϵ − 2 M\le\epsilon^{-2} M ≤ ϵ − 2 and from O ( ϵ − 2 ) O(\epsilon^{-2}) O ( ϵ − 2 ) uniform samples otherwise.
Proof. We restrict to binary inputs g ∈ { 0 , 1 } M g\in\{0,1\}^M g ∈ { 0 , 1 } M . The proof has three steps: reduce estimation to distinguishing two hidden lists, show that adaptive queries see exactly what random sampling without replacement would see, and bound how far apart the two resulting sampling laws are. The two hypotheses can be distinguished only if the observed query transcripts differ sufficiently. We therefore bound the total-variation distance between the transcript laws, which limits the success probability of every test, and show that it remains below 1 / 3 1/3 1/3 when the number of queries is below the claimed threshold.
Step 1 (two hypotheses). Put a 0 = ⌊ M / 2 ⌋ a_0=\lfloor M/2\rfloor a 0 = ⌊ M /2 ⌋ , t = ⌈ 2 ϵ M ⌉ + 1 t=\lceil2\epsilon M\rceil+1 t = ⌈ 2 ϵ M ⌉ + 1 , and a 1 = a 0 + t a_1=a_0+t a 1 = a 0 + t . Under hypothesis H b H_b H b , the list g g g is uniform over lists with exactly a b a_b a b ones. Since ( a 1 − a 0 ) / M ≥ 2 ϵ (a_1-a_0)/M\ge2\epsilon ( a 1 − a 0 ) / M ≥ 2 ϵ , an ϵ \epsilon ϵ -accurate estimate falls on the correct side of the midpoint ( a 0 + a 1 ) / ( 2 M ) (a_0+a_1)/(2M) ( a 0 + a 1 ) / ( 2 M ) , so an estimator that succeeds with probability 2 / 3 2/3 2/3 on every input decides between H 0 H_0 H 0 and H 1 H_1 H 1 with probability at least 2 / 3 2/3 2/3 under each hypothesis. By Yao’s principle we may
રસ fix the algorithm’s random bits, so it becomes a deterministic adaptive decision tree; it can then succeed only if the laws L 0 , L 1 L_0,L_1 L 0 , L 1 of its query transcripts satisfy TV ( L 0 , L 1 ) ≥ 1 / 3 \operatorname{TV}(L_0,L_1) \ge1/3 TV ( L 0 , L 1 ) ≥ 1/3 . Repeated queries give no new information, so we may assume that no position is queried twice.
Step 2 (adaptivity does not help). Under H b H_b H b the list is a uniformly random arrangement of a b a_b a b ones and M − a b M-a_b M − a b zeros. Given any history of answers, the unqueried positions still hold a uniformly random arrangement of the remaining entries, so the next answer equals 1 with probability (remaining ones)/(remaining positions), whichever position is chosen. By induction, the answers of any adaptive strategy with q q q queries have the law of q q q draws without replacement from an urn with a b a_b a b ones among M M M balls. The number of ones is a sufficient statistic, so TV ( L 0 , L 1 ) = TV ( Hyp ( M , a 0 , q ) , Hyp ( M , a 1 , q ) ) \operatorname{TV}(L_0,L_1)=\operatorname{TV}(\operatorname{Hyp}(M,a_0,q),\operatorname{Hyp}(M,a_1,q)) TV ( L 0 , L 1 ) = TV ( Hyp ( M , a 0 , q ) , Hyp ( M , a 1 , q )) .
Step 3 (the two laws are close). Let p b = a b / M p_b=a_b/M p b = a b / M and Δ = p 1 − p 0 = t / M \Delta=p_1-p_0=t/M Δ = p 1 − p 0 = t / M . Throughout the proof we use the total-variation convention TV ( P , Q ) = sup A ∣ P ( A ) − Q ( A ) ∣ \operatorname{TV}(P,Q)=\sup_A |P(A)-Q(A)| TV ( P , Q ) = sup A ∣ P ( A ) − Q ( A ) ∣ . For an urn with two colours, the sampling-without-replacement bound of Diaconis and Freedman [38 Theorem 4] gives
TV ( Hyp ( M , a b , q ) , Bin ( q , p b ) ) ≤ 2 q M . \operatorname{TV}(\operatorname{Hyp}(M,a_b,q),\operatorname{Bin}(q,p_b)) \le\frac{2q}{M}. TV ( Hyp ( M , a b , q ) , Bin ( q , p b )) ≤ M 2 q .
We use the weaker bound 4 q / M 4q/M 4 q / M below. The triangle inequality and Pinsker’s inequality then give
TV ( L 0 , L 1 ) ≤ 8 q M + 1 2 q kl ( p 0 ∥ p 1 ) , kl ( p 0 ∥ p 1 ) ≤ Δ 2 p 1 ( 1 − p 1 ) ≤ 16 3 Δ 2 , \operatorname{TV}(L_0,L_1)\le\frac{8q}{M}+\sqrt{\frac{1}{2}q\operatorname{kl}(p_0\Vert p_1)},\qquad\operatorname{kl}(p_0\Vert p_1)\le\frac{\Delta^2}{p_1(1-p_1)}\le\frac{16}{3}\Delta^2, TV ( L 0 , L 1 ) ≤ M 8 q + 2 1 q kl ( p 0 ∥ p 1 ) , kl ( p 0 ∥ p 1 ) ≤ p 1 ( 1 − p 1 ) Δ 2 ≤ 3 16 Δ 2 ,
where kl \operatorname{kl} kl is the Bernoulli relative entropy and the last step uses p 1 ∈ [ 1 / 4 , 3 / 4 ] p_1\in[1/4,3/4] p 1 ∈ [ 1/4 , 3/4 ] , which holds because p 1 ≤ 1 2 + 2 ϵ + 2 / M p_1\le\frac{1}{2}+2\epsilon+2/M p 1 ≤ 2 1 + 2 ϵ + 2/ M .
If M ≤ ϵ − 2 M\le\epsilon^{-2} M ≤ ϵ − 2 , then ϵ ≤ M − 1 / 2 \epsilon\le M^{-1/2} ϵ ≤ M − 1/2 and Δ ≤ 2 ϵ + 2 / M ≤ 4 M − 1 / 2 \Delta\le2\epsilon+2/M\le4M^{-1/2} Δ ≤ 2 ϵ + 2/ M ≤ 4 M − 1/2 . For q ≤ M / 1000 q\le M/1000 q ≤ M /1000 this gives TV ( L 0 , L 1 ) ≤ 0.008 + 1 2 ⋅ 16 3 ⋅ 16 q M ≤ 0.008 + 0.207 < 1 3 \operatorname{TV}(L_0,L_1)\le0.008+\sqrt{\frac{1}{2}\cdot\frac{16}{3}\cdot\frac{16q}{M}}\le0.008+0.207<\frac{1}{3} TV ( L 0 , L 1 ) ≤ 0.008 + 2 1 ⋅ 3 16 ⋅ M 16 q ≤ 0.008 + 0.207 < 3 1 .
If M > ϵ − 2 M>\epsilon^{-2} M > ϵ − 2 , which is the intermediate regime of the classical argument, then 2 / M < 2 ϵ 2 ≤ ϵ 2/M<2\epsilon^2\le\epsilon 2/ M < 2 ϵ 2 ≤ ϵ , so Δ ≤ 3 ϵ \Delta\le3\epsilon Δ ≤ 3 ϵ . For q ≤ ϵ − 2 / 1000 q\le\epsilon^{-2}/1000 q ≤ ϵ − 2 /1000 we also have q < M / 1000 q<M/1000 q < M /1000 , and TV ( L 0 , L 1 ) ≤ 0.008 + 1 2 ⋅ 16 3 ⋅ 9 ϵ 2 q ≤ 0.008 + 0.155 < 1 3 \operatorname{TV}(L_0,L_1)\le0.008+\sqrt{\frac{1}{2}\cdot\frac{16}{3}\cdot9\epsilon^2q}\le0.008+0.155<\frac{1}{3} TV ( L 0 , L 1 ) ≤ 0.008 + 2 1 ⋅ 3 16 ⋅ 9 ϵ 2 q ≤ 0.008 + 0.155 < 3 1 .
In both regimes, fewer than min { M , ϵ − 2 } / 1000 \min\{M,\epsilon^{-2}\}/1000 min { M , ϵ − 2 } /1000 queries give TV ( L 0 , L 1 ) < 1 / 3 \operatorname{TV}(L_0,L_1)<1/3 TV ( L 0 , L 1 ) < 1/3 , which contradicts Step 1. □
Proof of Theorem 3. Observe directly that ∂ x v 1 + ∂ y v 2 = 0 \partial_xv_1+\partial_yv_2=0 ∂ x v 1 + ∂ y v 2 = 0 , ∫ T 2 v d x d y = 0 \int_{\mathbb{T}^2}v\,\mathrm{d}x\,\mathrm{d}y=0 ∫ T 2 v d x d y = 0 , − Δ v = 2 ( 0 , sin x ) T = v -\Delta v=\sqrt{2}(0,\sin x)^T=v − Δ v = 2 ( 0 , sin x ) T = v , and
∥ v ∥ L 2 ( T 2 ) 2 = 1 ( 2 π ) 2 ∫ 0 2 π ∫ 0 2 π 2 sin 2 x d x d y = 1. \lVert v\rVert_{L^2(\mathbb{T}^2)}^2=\frac{1}{(2\pi)^2}\int_0^{2\pi}\int_0^{2\pi}2\sin^2x\,\mathrm{d}x\,\mathrm{d}y=1. ∥ v ∥ L 2 ( T 2 ) 2 = ( 2 π ) 2 1 ∫ 0 2 π ∫ 0 2 π 2 sin 2 x d x d y = 1.
Hence for every s ∈ { 0 , … , M − 1 } s\in\{0,\ldots,M-1\} s ∈ { 0 , … , M − 1 } , the unique Stokes velocity–pressure pair is u s ( x , y ) = z s v ( x , y ) u_s(x,y)=z_sv(x,y) u s ( x , y ) = z s v ( x , y ) and p s ( x , y ) = 0 p_s(x,y)=0 p s ( x , y ) = 0 , whose normalized kinetic energy is g s = ∥ u s ∥ L 2 ( T 2 ) 2 = z s 2 ∥ v ∥ L 2 ( T 2 ) 2 = z s ∈ { 0 , 1 } g_s=\lVert u_s\rVert_{L^2(\mathbb{T}^2)}^2=z_s^2\lVert v\rVert_{L^2(\mathbb{T}^2)}^2=z_s\in\{0,1\} g s = ∥ u s ∥ L 2 ( T 2 ) 2 = z s 2 ∥ v ∥ L 2 ( T 2 ) 2 = z s ∈ { 0 , 1 } . Thus estimating the Stokes ensemble kinetic energy μ = 1 M ∑ s = 0 M − 1 g s \mu=\frac{1}{M}\sum_{s=0}^{M-1}g_s μ = M 1 ∑ s = 0 M − 1 g s is isomorphic to estimating the Hamming weight 1 M ∑ s = 0 M − 1 z s \frac{1}{M}\sum_{s=0}^{M-1}z_s M 1 ∑ s = 0 M − 1 z s . Classically, exhaustive evaluation of all M M M scenarios paired with ordinary Monte Carlo gives Q C = O ( min { M , ϵ − 2 } ) Q_C=O(\min\{M,\epsilon^{-2}\}) Q C = O ( min { M , ϵ − 2 }) , matched below by Lemma 2. Quantumly, evaluating all M M M bits classically when M ≤ ϵ − 1 M\le\epsilon^{-1} M ≤ ϵ − 1 and running coherent Stokes state preparation plus amplitude estimation [9 ] when M > ϵ − 1 M>\epsilon^{-1} M > ϵ − 1 achieves Q Q = O ( min { M , ϵ − 1 } ) Q_Q=O(\min\{M,\epsilon^{-1}\}) Q Q = O ( min { M , ϵ − 1 }) , while the quantum mean-estimation lower bound of Nayak and Wu [10 ] gives Q Q = Ω ( min { M , ϵ − 1 } ) Q_Q=\Omega(\min\{M,\epsilon^{-1}\}) Q Q = Ω ( min { M , ϵ − 1 }) .
Continuum Brinkman Model
This appendix records the well-posedness of the continuum Brinkman problem (12) and explains how the pressure and the mean-flow multiplier are recovered from the velocity. It supports § 7 . Throughout, d ≥ 2 d\ge2 d ≥ 2 , ν > 0 \nu>0 ν > 0 and 0 < α min < α max 0<\alpha_{\min}<\alpha_{\max} 0 < α m i n < α m a x ; the inner product is ⟨ v , w ⟩ L 2 ( T d ) : = ∫ T d v ∗ ⋅ w d μ \langle v,w\rangle_{L^2(\mathbb{T}^d)}:=\int_{\mathbb{T}^d}v^*\cdot w\,\mathrm{d}\mu ⟨ v , w ⟩ L 2 ( T d ) := ∫ T d v ∗ ⋅ w d μ with d μ = ( 2 π ) − d d x \mathrm{d}\mu=(2\pi)^{-d}\mathrm{d}x d μ = ( 2 π ) − d d x , and w ^ ( k ) : = ∫ T d w ( x ) e − i k ⋅ x d μ ( x ) \hat{w}(k):=\int_{\mathbb{T}^d}w(x)e^{-ik\cdot x}\,\mathrm{d}\mu(x) w ^ ( k ) := ∫ T d w ( x ) e − ik ⋅ x d μ ( x ) .
We write H div 1 ( T d ) : = L ˙ div 2 ( T d ) ∩ H 1 ( T d ) d H^1_{\operatorname{div}}(\mathbb{T}^d):=\dot{L}^2_{\operatorname{div}}(\mathbb{T}^d)\cap H^1(\mathbb{T}^d)^d H div 1 ( T d ) := L ˙ div 2 ( T d ) ∩ H 1 ( T d ) d and H ˙ 1 ( T d ) : = { q ∈ H 1 ( T d ) : ∫ T d q d x = 0 } \dot{H}^1(\mathbb{T}^d):=\{q\in H^1(\mathbb{T}^d):\int_{\mathbb{T}^d}q\,\mathrm{d}x=0\} H ˙ 1 ( T d ) := { q ∈ H 1 ( T d ) : ∫ T d q d x = 0 } , and let P ˙ ker D \dot{P}_{\ker D} P ˙ k e r D be the orthogonal (Leray) projector onto L ˙ div 2 ( T d ) \dot{L}^2_{\operatorname{div}}(\mathbb{T}^d) L ˙ div 2 ( T d ) , given in Fourier coordinates by ( P ˙ ker D F ) ( 0 ) = 0 (\dot{P}_{\ker D}F)(0)=0 ( P ˙ k e r D F ) ( 0 ) = 0 and ( P ˙ ker D F ) ( k ) = ( I d − k k T / ∣ k ∣ 2 ) F ^ ( k ) (\dot{P}_{\ker D}F)(k)=(I_d-kk^T/|k|^2)\hat{F}(k) ( P ˙ k e r D F ) ( k ) = ( I d − k k T /∣ k ∣ 2 ) F ^ ( k ) for k ≠ 0 k\ne0 k = 0 . The projected Brinkman operator is the unbounded operator L α s : = P ˙ ker D ( − ν Δ + α s ) \mathcal{L}_{\alpha_s}:=\dot{P}_{\ker D}(-\nu\Delta+\alpha_s) L α s := P ˙ k e r D ( − ν Δ + α s ) on L ˙ div 2 ( T d ) \dot{L}^2_{\operatorname{div}}(\mathbb{T}^d) L ˙ div 2 ( T d ) with domain H ˙ div 1 ( T d ) ∩ H 2 ( T d ) d \dot{H}^1_{\operatorname{div}}(\mathbb{T}^d)\cap H^2(\mathbb{T}^d)^d H ˙ div 1 ( T d ) ∩ H 2 ( T d ) d (for a general H 1 H^1 H 1 field, − Δ u -\Delta u − Δ u is not in L 2 L^2 L 2 ; on H ˙ div 1 \dot{H}^1_{\operatorname{div}} H ˙ div 1 the operator is understood weakly, as the map H ˙ div 1 → ( H ˙ div 1 ) ′ \dot{H}^1_{\operatorname{div}}\to(\dot{H}^1_{\operatorname{div}})' H ˙ div 1 → ( H ˙ div 1 ) ′ induced by the form as below). For measurable α s ∈ [ α min , α max ] \alpha_s\in[\alpha_{\min},\alpha_{\max}] α s ∈ [ α m i n , α m a x ] and real f s ∈ L 2 ( T d ) d f_s\in L^2(\mathbb{T}^d)^d f s ∈ L 2 ( T d ) d , a triple ( u s , p s , λ s ) ∈ ( H ˙ div 1 ( T d ) × H 1 ( T d ) × R d ) (u_s,p_s,\lambda_s)\in(\dot{H}^1_{\operatorname{div}}(\mathbb{T}^d)\times H^1(\mathbb{T}^d)\times\mathbb{R}^d) ( u s , p s , λ s ) ∈ ( H ˙ div 1 ( T d ) × H 1 ( T d ) × R d ) solves (12) if and only if L α s u s = P ˙ ker D f s \mathcal{L}_{\alpha_s}u_s=\dot{P}_{\ker D}f_s L α s u s = P ˙ k e r D f s , and then λ s = ( 2 π ) − d ∫ T d ( f s − α s u s ) d x \lambda_s=(2\pi)^{-d}\int_{\mathbb{T}^d}(f_s-\alpha_su_s)\,\mathrm{d}x λ s = ( 2 π ) − d ∫ T d ( f s − α s u s ) d x ; this is part (i) of the next lemma.
Lemma 3 (Well-posedness and recovery of the multipliers). Let f ∈ L 2 ( T d ) d f \in L^2(\mathbb{T}^d)^d f ∈ L 2 ( T d ) d be real and let G d : = { ∇ p + λ : p ∈ H ˙ 1 ( T d ) , λ ∈ C d } G_d := \{\nabla p + \lambda: p \in\dot{H}^1(\mathbb{T}^d),\ \lambda\in\mathbb{C}^d\} G d := { ∇ p + λ : p ∈ H ˙ 1 ( T d ) , λ ∈ C d } . Then L 2 ( T d ) d = L ˙ d i v 2 ( T d ) ⊕ G d L^2(\mathbb{T}^d)^d = \dot{L}^2_{\mathrm{div}}(\mathbb{T}^d) \oplus G_d L 2 ( T d ) d = L ˙ div 2 ( T d ) ⊕ G d orthogonally in ⟨ ⋅ , ⋅ ⟩ L 2 ( T d ) \langle\cdot,\cdot\rangle_{L^2(\mathbb{T}^d)} ⟨ ⋅ , ⋅ ⟩ L 2 ( T d ) . Consequently, for every real-valued α s ∈ L ∞ ( T d ) \alpha_s \in L^\infty(\mathbb{T}^d) α s ∈ L ∞ ( T d ) satisfying α min ≤ α s ( x ) ≤ α max \alpha_{\min} \le\alpha_s(x) \le\alpha_{\max} α m i n ≤ α s ( x ) ≤ α m a x a.e., there exists a unique real triple ( u s , p s , λ s ) ∈ ( H ˙ d i v 1 ( T d ) ∩ H 2 ( T d ) d ) × H ˙ 1 ( T d ) × R d (u_s,p_s,\lambda_s) \in(\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) \cap H^2(\mathbb{T}^d)^d) \times\dot{H}^1(\mathbb{T}^d) \times\mathbb{R}^d ( u s , p s , λ s ) ∈ ( H ˙ div 1 ( T d ) ∩ H 2 ( T d ) d ) × H ˙ 1 ( T d ) × R d solving the strong Brinkman system (12) in L 2 ( T d ) d L^2(\mathbb{T}^d)^d L 2 ( T d ) d , and u s u_s u s coincides with the unique Lax–Milgram solution on H ˙ d i v 1 ( T d ) \dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) H ˙ div 1 ( T d ) of
a s ( v , u s ) : = ν ⟨ ∇ v , ∇ u s ⟩ L 2 ( T d ) + ⟨ v , α s u s ⟩ L 2 ( T d ) = ⟨ v , f ⟩ L 2 ( T d ) ∀ v ∈ H ˙ d i v 1 ( T d ) . a_s(v,u_s) := \nu\langle\nabla v,\nabla u_s\rangle_{L^2(\mathbb{T}^d)} + \langle v,\alpha_su_s\rangle_{L^2(\mathbb{T}^d)} = \langle v,f\rangle_{L^2(\mathbb{T}^d)} \qquad\forall v \in\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d). a s ( v , u s ) := ν ⟨ ∇ v , ∇ u s ⟩ L 2 ( T d ) + ⟨ v , α s u s ⟩ L 2 ( T d ) = ⟨ v , f ⟩ L 2 ( T d ) ∀ v ∈ H ˙ div 1 ( T d ) .
The decomposition in part (i) is what recovers the two multipliers. The residual f − ( − ν Δ + α s ) u s f - (-\nu\Delta+ \alpha_s)u_s f − ( − ν Δ + α s ) u s of the velocity equation is orthogonal to every divergence-free mean-zero field, so it lies in G d G_d G d ; its unique decomposition as ∇ p s + λ s \nabla p_s+\lambda_s ∇ p s + λ s then defines the pressure (the gradient part, carried by the modes k ≠ 0 k\ne0 k = 0 ) and the mean-flow multiplier (the constant part, carried by the mode k = 0 k=0 k = 0 ).
Proof. Orthogonality. For any p ∈ H ˙ 1 ( T d ) p \in\dot{H}^1(\mathbb{T}^d) p ∈ H ˙ 1 ( T d ) (p ^ ( 0 ) = 0 \hat{p}(0)=0 p ^ ( 0 ) = 0 , ∑ k ≠ 0 ∣ k ∣ 2 ∣ p ^ ( k ) ∣ 2 < ∞ \sum_{k\ne0}|k|^2|\hat{p}(k)|^2<\infty ∑ k = 0 ∣ k ∣ 2 ∣ p ^ ( k ) ∣ 2 < ∞ ), λ ∈ C d \lambda\in\mathbb{C}^d λ ∈ C d , and v ∈ L 2 ( T d ) d v \in L^2(\mathbb{T}^d)^d v ∈ L 2 ( T d ) d , Plancherel’s theorem gives
⟨ ∇ p + λ , v ⟩ L 2 ( T d ) = λ ∗ ⋅ v ^ ( 0 ) + ∑ k ∈ Z d ∖ { 0 } ( − i k p ^ ( k ) ) ∗ ⋅ v ^ ( k ) . \langle\nabla p+\lambda,v\rangle_{L^2(\mathbb{T}^d)}=\lambda^*\cdot\hat{v}(0)+\sum_{k\in\mathbb{Z}^d\setminus\{0\}}(-ik\hat{p}(k))^*\cdot\hat{v}(k). ⟨ ∇ p + λ , v ⟩ L 2 ( T d ) = λ ∗ ⋅ v ^ ( 0 ) + k ∈ Z d ∖ { 0 } ∑ ( − ik p ^ ( k ) ) ∗ ⋅ v ^ ( k ) .
If v ∈ L ˙ d i v 2 ( T d ) v\in\dot{L}^2_{\mathrm{div}}(\mathbb{T}^d) v ∈ L ˙ div 2 ( T d ) (v ^ ( 0 ) = 0 \hat{v}(0)=0 v ^ ( 0 ) = 0 and k ⋅ v ^ ( k ) = 0 k\cdot\hat{v}(k)=0 k ⋅ v ^ ( k ) = 0 for all k ≠ 0 k\ne0 k = 0 ), every term vanishes, so L ˙ d i v 2 ( T d ) ⊥ G d \dot{L}^2_{\mathrm{div}}(\mathbb{T}^d)\perp G_d L ˙ div 2 ( T d ) ⊥ G d . Conversely, for any F ∈ L 2 ( T d ) d F\in L^2(\mathbb{T}^d)^d F ∈ L 2 ( T d ) d , set λ : = F ^ ( 0 ) ∈ C d \lambda:=\hat{F}(0)\in\mathbb{C}^d λ := F ^ ( 0 ) ∈ C d , p ^ ( 0 ) : = 0 \hat{p}(0):=0 p ^ ( 0 ) := 0 , and p ^ ( k ) : = − i ∣ k ∣ − 2 ( k ⋅ F ^ ( k ) ) \hat{p}(k):=-i|k|^{-2}(k\cdot\hat{F}(k)) p ^ ( k ) := − i ∣ k ∣ − 2 ( k ⋅ F ^ ( k )) for k ≠ 0 k\ne0 k = 0 . Since ∑ k ≠ 0 ∣ k ∣ 2 ∣ p ^ ( k ) ∣ 2 = ∑ k ≠ 0 ∣ k ∣ − 2 ∣ k ⋅ F ^ ( k ) ∣ 2 ≤ ∑ k ≠ 0 ∣ F ^ ( k ) ∣ 2 ≤ ∥ F ∥ L 2 2 < ∞ \sum_{k\ne0}|k|^2|\hat{p}(k)|^2=\sum_{k\ne0}|k|^{-2}|k\cdot\hat{F}(k)|^2\le\sum_{k\ne0}|\hat{F}(k)|^2\le\|F\|_{L^2}^2<\infty ∑ k = 0 ∣ k ∣ 2 ∣ p ^ ( k ) ∣ 2 = ∑ k = 0 ∣ k ∣ − 2 ∣ k ⋅ F ^ ( k ) ∣ 2 ≤ ∑ k = 0 ∣ F ^ ( k ) ∣ 2 ≤ ∥ F ∥ L 2 2 < ∞ , we have p ∈ H ˙ 1 ( T d ) p\in\dot{H}^1(\mathbb{T}^d) p ∈ H ˙ 1 ( T d ) and F − ( ∇ p + λ ) ∈ L ˙ d i v 2 ( T d ) F-(\nabla p+\lambda)\in\dot{L}^2_{\mathrm{div}}(\mathbb{T}^d) F − ( ∇ p + λ ) ∈ L ˙ div 2 ( T d ) , with uniqueness of ( p , λ ) (p,\lambda) ( p , λ ) because ∇ p + λ = 0 \nabla p+\lambda=0 ∇ p + λ = 0 implies λ = 0 ^ ( 0 ) = 0 \lambda=\hat{0}(0)=0 λ = 0 ^ ( 0 ) = 0 and i k p ^ ( k ) = 0 ik\hat{p}(k)=0 ik p ^ ( k ) = 0 ( ∀ k ≠ 0 ) (\forall k\ne0) ( ∀ k = 0 ) .
Existence and regularity. On the Hilbert space H ˙ d i v 1 ( T d ) \dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) H ˙ div 1 ( T d ) equipped with ∥ v ∥ E 2 = ν ∥ ∇ v ∥ L 2 2 + α 0 ∥ v ∥ L 2 2 = ∑ k ≠ 0 ( ν ∣ k ∣ 2 + α 0 ) ∣ v ^ ( k ) ∣ 2 \|v\|_E^2=\nu\|\nabla v\|_{L^2}^2+\alpha_0\|v\|_{L^2}^2=\sum_{k\ne0}(\nu|k|^2+\alpha_0)|\hat{v}(k)|^2 ∥ v ∥ E 2 = ν ∥∇ v ∥ L 2 2 + α 0 ∥ v ∥ L 2 2 = ∑ k = 0 ( ν ∣ k ∣ 2 + α 0 ) ∣ v ^ ( k ) ∣ 2 , pointwise bounds α min ≤ α s ( x ) ≤ α max \alpha_{\min}\le\alpha_s(x)\le\alpha_{\max} α m i n ≤ α s ( x ) ≤ α m a x yield α min α 0 ∥ u ∥ E 2 ≤ a s ( u , u ) \frac{\alpha_{\min}}{\alpha_0}\|u\|_E^2\le a_s(u,u) α 0 α m i n ∥ u ∥ E 2 ≤ a s ( u , u ) and ∣ a s ( v , u ) ∣ ≤ α max α 0 ∥ v ∥ E ∥ u ∥ E |a_s(v,u)|\le\frac{\alpha_{\max}}{\alpha_0}\|v\|_E\|u\|_E ∣ a s ( v , u ) ∣ ≤ α 0 α m a x ∥ v ∥ E ∥ u ∥ E . By the Lax–Milgram theorem, there exists a unique u s ∈ H ˙ d i v 1 ( T d ) u_s\in\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) u s ∈ H ˙ div 1 ( T d ) solving a s ( v , u s ) = ⟨ v , f ⟩ L 2 a_s(v,u_s)=\langle v,f\rangle_{L^2} a s ( v , u s ) = ⟨ v , f ⟩ L 2 ( ∀ v ∈ H ˙ d i v 1 ( T d ) ) (\forall v\in\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d)) ( ∀ v ∈ H ˙ div 1 ( T d )) . Because α s \alpha_s α s and f f f are real-valued, complex conjugation shows that u s ‾ ∈ H ˙ d i v 1 ( T d ) \overline{u_s}\in\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) u s ∈ H ˙ div 1 ( T d ) satisfies a s ( v , u s ‾ ) = ⟨ v , f ⟩ L 2 a_s(v,\overline{u_s})=\langle v,f\rangle_{L^2} a s ( v , u s ) = ⟨ v , f ⟩ L 2 for all v v v , so u s ‾ = u s \overline{u_s}=u_s u s = u s by uniqueness. Testing with v ( x ) = w e i k ⋅ x v(x)=we^{ik\cdot x} v ( x ) = w e ik ⋅ x ( k ≠ 0 , w ∈ C d , k ⋅ w = 0 ) (k\ne0,\ w\in\mathbb{C}^d,\ k\cdot w=0) ( k = 0 , w ∈ C d , k ⋅ w = 0 ) shows that ( I d − k k T / ∣ k ∣ 2 ) [ ( ν ∣ k ∣ 2 + α 0 ) u ^ s ( k ) − F ^ s ( k ) ] = 0 (I_d-kk^T/|k|^2)[(\nu|k|^2+\alpha_0)\hat{u}_s(k)-\hat{F}_s(k)]=0 ( I d − k k T /∣ k ∣ 2 ) [( ν ∣ k ∣ 2 + α 0 ) u ^ s ( k ) − F ^ s ( k )] = 0 where F s : = f − ( α s − α 0 ) u s ∈ L 2 ( T d ) d F_s:=f-(\alpha_s-\alpha_0)u_s\in L^2(\mathbb{T}^d)^d F s := f − ( α s − α 0 ) u s ∈ L 2 ( T d ) d ; since k ⋅ u ^ s ( k ) = 0 k\cdot\hat{u}_s(k)=0 k ⋅ u ^ s ( k ) = 0 , this gives ( ν ∣ k ∣ 2 + α 0 ) u ^ s ( k ) = ( I d − k k T / ∣ k ∣ 2 ) F ^ s ( k ) (\nu|k|^2+\alpha_0)\hat{u}_s(k)=(I_d-kk^T/|k|^2)\hat{F}_s(k) ( ν ∣ k ∣ 2 + α 0 ) u ^ s ( k ) = ( I d − k k T /∣ k ∣ 2 ) F ^ s ( k ) , whence ∑ k ≠ 0 ∣ k ∣ 4 ∣ u ^ s ( k ) ∣ 2 ≤ ν − 2 ∥ F s ∥ L 2 2 < ∞ \sum_{k\ne0}|k|^4|\hat{u}_s(k)|^2\le\nu^{-2}\|F_s\|_{L^2}^2<\infty ∑ k = 0 ∣ k ∣ 4 ∣ u ^ s ( k ) ∣ 2 ≤ ν − 2 ∥ F s ∥ L 2 2 < ∞ and u s ∈ H 2 ( T d ) d u_s\in H^2(\mathbb{T}^d)^d u s ∈ H 2 ( T d ) d . Setting R s : = f − ( − ν Δ u s + α s u s ) ∈ L 2 ( T d ) d R_s:=f-(-\nu\Delta u_s+\alpha_su_s)\in L^2(\mathbb{T}^d)^d R s := f − ( − ν Δ u s + α s u s ) ∈ L 2 ( T d ) d , integration by parts gives ⟨ v , R s ⟩ L 2 = ⟨ v , f ⟩ L 2 − a s ( v , u s ) = 0 \langle v,R_s\rangle_{L^2}=\langle v,f\rangle_{L^2}-a_s(v,u_s)=0 ⟨ v , R s ⟩ L 2 = ⟨ v , f ⟩ L 2 − a s ( v , u s ) = 0 for all v ∈ H ˙ d i v 1 ( T d ) v\in\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) v ∈ H ˙ div 1 ( T d ) (which is dense in L ˙ d i v 2 ( T d ) \dot{L}^2_{\mathrm{div}}(\mathbb{T}^d) L ˙ div 2 ( T d ) ). Thus R s ∈ ( L ˙ d i v 2 ( T d ) ) ⊥ = G d R_s\in(\dot{L}^2_{\mathrm{div}}(\mathbb{T}^d))^\perp=G_d R s ∈ ( L ˙ div 2 ( T d ) ) ⊥ = G d decomposes uniquely as R s = ∇ p s + λ s R_s=\nabla p_s+\lambda_s R s = ∇ p s + λ s with real ( p s , λ s ) ∈ H ˙ 1 ( T d ) × R d (p_s,\lambda_s)\in\dot{H}^1(\mathbb{T}^d)\times\mathbb{R}^d ( p s , λ s ) ∈ H ˙ 1 ( T d ) × R d and λ s = ∫ T d ( f − α s u s ) d μ ( x ) \lambda_s=\int_{\mathbb{T}^d}(f-\alpha_su_s)\,d\mu(x) λ s = ∫ T d ( f − α s u s ) d μ ( x ) . Conversely, any strong solution of (12) satisfies a s ( v , u s ) = ⟨ v , f ⟩ L 2 a_s(v,u_s)=\langle v,f\rangle_{L^2} a s ( v , u s ) = ⟨ v , f ⟩ L 2 because ⟨ v , ∇ p s + λ s ⟩ L 2 = 0 \langle v,\nabla p_s+\lambda_s\rangle_{L^2}=0 ⟨ v , ∇ p s + λ s ⟩ L 2 = 0 for all v ∈ H ˙ d i v 1 ( T d ) v\in\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d) v ∈ H ˙ div 1 ( T d ) .
Remark 2 (The variant without a mean-flow constraint). Suppose one sets λ s ≡ 0 \lambda_s\equiv0 λ s ≡ 0 and drops the zero-mean velocity constraint in (12) , solving − ν Δ u s + α s ( x ) u s + ∇ p s = f s -\nu\Delta u_s+\alpha_s(x)u_s+\nabla p_s=f_s − ν Δ u s + α s ( x ) u s + ∇ p s = f s with ∇ ⋅ u s = 0 \nabla\cdot u_s=0 ∇ ⋅ u s = 0 and ∫ T d p s d x = 0 \int_{\mathbb{T}^d}p_s\,dx=0 ∫ T d p s d x = 0 on H ˙ d i v 1 ( T d ) = H ˙ d i v 1 ( T d ) ⊕ R d \dot{H}^1_{\mathrm{div}}(\mathbb{T}^d)=\dot{H}^1_{\mathrm{div}}(\mathbb{T}^d)\oplus\mathbb{R}^d H ˙ div 1 ( T d ) = H ˙ div 1 ( T d ) ⊕ R d , so that the mean velocity ( 2 π ) − d ∫ T d u s d x (2\pi)^{-d}\int_{\mathbb{T}^d}u_s\,dx ( 2 π ) − d ∫ T d u s d x may be nonzero. Because α s ≥ α min > 0 \alpha_s\ge\alpha_{\min}>0 α s ≥ α m i n > 0 , the reference operator A 0 = − ν Δ + α 0 I A_0=-\nu\Delta+\alpha_0I A 0 = − ν Δ + α 0 I is positive definite at k = 0 k=0 k = 0 as well (A 0 ( 0 ) = α 0 I d A_0(0)=\alpha_0I_d A 0 ( 0 ) = α 0 I d ), unlike pure Stokes flow. Keeping the d d d constant modes by setting R ( 0 ) = I d R(0)=I_d R ( 0 ) = I d , K 0 ( 0 ) = α 0 − 1 / 2 I d K_0(0)=\alpha_0^{-1/2}I_d K 0 ( 0 ) = α 0 − 1/2 I d and β w ( 0 ) = 0 \beta_w(0)=0 β w ( 0 ) = 0 (w ( 0 ) = 1 w(0)=1 w ( 0 ) = 1 ) preserves α min α 0 I ⪯ K ~ u n c o n s t ∗ ⪯ α max α 0 I \frac{\alpha_{\min}}{\alpha_0}I\preceq\widetilde{K}_{\mathrm{unconst}}^*\preceq\frac{\alpha_{\max}}{\alpha_0}I α 0 α m i n I ⪯ K unconst ∗ ⪯ α 0 α m a x I , so κ ( K ~ u n c o n s t ) ≲ κ \kappa(\widetilde{K}_{\mathrm{unconst}})\lesssim\kappa κ ( K unconst ) ≲ κ and the bound of Proposition 3 holds for this variant as well. The three-dimensional check in § 8.4 compares the two variants numerically.
The map R E R_{\mathcal{E}} R E can also be written in terms of C C C , but only up to a change of orthonormal coordinates in general. With the compact singular value decomposition C = U Σ V ∗ C=U\Sigma V^* C = U Σ V ∗ and B : = U ∗ A 0 U ≻ 0 B:=U^*A_0U\succ0 B := U ∗ A 0 U ≻ 0 , one has K 0 = V B V ∗ K_0=VBV^* K 0 = V B V ∗ and R K 0 − 1 / 2 = U B − 1 / 2 V ∗ RK_0^{-1/2}=UB^{-1/2}V^* R K 0 − 1/2 = U B − 1/2 V ∗ , whereas C ( C ∗ A 0 C ) † / 2 = U Σ ( Σ B Σ ) − 1 / 2 V ∗ C(C^*A_0C)^{\dagger/2}=U\Sigma(\Sigma B\Sigma)^{-1/2}V^* C ( C ∗ A 0 C ) † /2 = U Σ ( Σ B Σ ) − 1/2 V ∗ . The matrix X : = Σ ( Σ B Σ ) − 1 / 2 X:=\Sigma(\Sigma B\Sigma)^{-1/2} X := Σ ( Σ B Σ ) − 1/2 satisfies X ∗ B X = I X^*BX=I X ∗ B X = I , so B 1 / 2 X B^{1/2}X B 1/2 X is unitary and
C ( C ∗ A 0 C ) † / 2 = R E W C , W C : = V B 1 / 2 X V ∗ unitary on Z 0 . C(C^*A_0C)^{\dagger/2}=R_{\mathcal{E}}W_C,\qquad W_C:=VB^{1/2}XV^*\ \text{unitary on }\mathcal{Z}_0. C ( C ∗ A 0 C ) † /2 = R E W C , W C := V B 1/2 X V ∗ unitary on Z 0 .
If Σ \Sigma Σ and B B B commute, then X = B − 1 / 2 X=B^{-1/2} X = B − 1/2 , W C = I W_C=I W C = I , and C ( C ∗ A 0 C ) † / 2 = R E C(C^*A_0C)^{\dagger/2}=R_{\mathcal{E}} C ( C ∗ A 0 C ) † /2 = R E exactly. This is the case for the Fourier generators used in this paper (the transverse Fourier frame, and the curl of a streamfunction or vector potential): on each wavenumber k k k , both C ∗ C C^*C C ∗ C and U ∗ A 0 U U^*A_0U U ∗ A 0 U act as multiples of the identity on the plane perpendicular to k k k . Since every statement below depends on R E R_{\mathcal{E}} R E only through R E ∗ A s R E R_{\mathcal{E}}^*A_sR_{\mathcal{E}} R E ∗ A s R E up to unitary conjugation, the factor W C W_C W C would not change any spectral bound.
Quantum Circuit Construction and Resource Bounds
A mathematical preconditioner helps a quantum algorithm only if its circuit implementation is efficient. This appendix therefore analyzes the block encoding and the reversible arithmetic used to represent the spatially varying drag. We first prove the normalization and precision guarantees, then show how the flag probability corresponds to the physical kinetic energy. We use these results to establish the conditional gate-complexity theorem. Register layouts and detailed angle-circuit specifications appear afterwards so that the implementation can be checked without interrupting the main proof.
Grid-Independent Block-Encoding Normalization
To analyze multi-mode perturbations cleanly, we distinguish the Fourier ℓ 1 \ell_1 ℓ 1 (Wiener algebra ) semi-norm from the pointwise L ∞ L^\infty L ∞ semi-norm of δ α s ( x ) : = α s ( x ) − α 0 \delta\alpha_s(x) := \alpha_s(x) - \alpha_0 δ α s ( x ) := α s ( x ) − α 0 :
Δ α ℓ 1 : = sup s ∑ ℓ = 1 L ∣ c ℓ y s , ℓ ∣ , Δ α ∞ : = sup s , x ∣ α s ( x ) − α 0 ∣ ≤ α max − α min 2 . (22) \Delta\alpha_{\ell_1} := \sup_s \sum_{\ell=1}^{L} |c_{\ell y_s,\ell}|,\qquad\Delta\alpha_\infty:= \sup_{s,x} |\alpha_s(x)-\alpha_0| \le\frac{\alpha_{\max}-\alpha_{\min}}{2}. \tag*{(22)} Δ α ℓ 1 := s sup ℓ = 1 ∑ L ∣ c ℓ y s , ℓ ∣ , Δ α ∞ := s , x sup ∣ α s ( x ) − α 0 ∣ ≤ 2 α m a x − α m i n . (22)
Because trigonometric sums can cancel in space, Δ α ℓ 1 \Delta\alpha_{\ell_1} Δ α ℓ 1 can be much larger than Δ α ∞ \Delta\alpha_\infty Δ α ∞ when L L L is large, so Lemma 4 gives two constructions.
Lemma 4 (Block encodings of H s H_s H s with grid-independent normalization). Let W ( k ) : = w ( k ) R ( k ) W(k) := w(k)R(k) W ( k ) := w ( k ) R ( k ) with w ( k ) = α 0 1 / 2 ( ν ∣ k ∣ 2 + α 0 ) − 1 / 2 w(k) = \alpha_0^{1/2}(\nu|k|^2+\alpha_0)^{-1/2} w ( k ) = α 0 1/2 ( ν ∣ k ∣ 2 + α 0 ) − 1/2 , so that ∥ W ∥ 2 ≤ 1 \|W\|_2 \le1 ∥ W ∥ 2 ≤ 1 . For every grid size N N N , dimension d d d and viscosity ν > 0 \nu> 0 ν > 0 , the operator H s H_s H s has the following two block encodings.
(i) Construction A (Fourier shifts). Writing H s = ∑ ℓ = 1 L α 0 − 1 c ℓ y s , ℓ W ∗ T q ℓ W H_s = \sum_{\ell=1}^{L}\alpha_0^{-1}c_{\ell y_s,\ell}W^*T_{q_\ell}W H s = ∑ ℓ = 1 L α 0 − 1 c ℓ y s , ℓ W ∗ T q ℓ W , where T q ℓ ∣ k ⟩ = ∣ k + q ℓ ⟩ T_{q_\ell}|k\rangle= |k+q_\ell\rangle T q ℓ ∣ k ⟩ = ∣ k + q ℓ ⟩ , gives a weighted sum of operators W ∗ T q ℓ W W^*T_{q_\ell}W W ∗ T q ℓ W . These terms are contractions, not unitaries (the weight w ( k ) < 1 w(k)<1 w ( k ) < 1 enters through W W W ), but each can be block-encoded using the contraction W W W and the unitary shift T q ℓ T_{q_\ell} T q ℓ ; a linear combination of these block encodings then has normalization
α L C U ( H s ) = 1 α 0 ∑ ℓ = 1 L ∣ c ℓ y s , ℓ ∣ ≤ Δ α ℓ 1 α 0 . (23) \alpha_{\mathrm{LCU}}(H_s) = \frac{1}{\alpha_0}\sum_{\ell=1}^{L}|c_{\ell y_s,\ell}| \le\frac{\Delta\alpha_{\ell_1}}{\alpha_0}. \tag*{(23)} α LCU ( H s ) = α 0 1 ℓ = 1 ∑ L ∣ c ℓ y s , ℓ ∣ ≤ α 0 Δ α ℓ 1 . (23) (ii) Construction B (position space). Writing H s = W ∗ F d † diag x ( ( α s ( x ) − α 0 ) / α 0 ) F d W H_s = W^*F_d^\dagger\operatorname{diag}_x((\alpha_s(x)-\alpha_0)/\alpha_0)F_dW H s = W ∗ F d † diag x (( α s ( x ) − α 0 ) / α 0 ) F d W , where F d F_d F d is the d d d -dimensional quantum Fourier transform, gives a block encoding with normalization
α ∞ ( H s ) = Δ α ∞ α 0 ≤ κ ~ − 1 κ ~ + 1 = r max < 1. (24) \alpha_\infty(H_s) = \frac{\Delta\alpha_\infty}{\alpha_0} \le\frac{\widetilde{\kappa}-1}{\widetilde{\kappa}+1} = r_{\max}<1. \tag*{(24)} α ∞ ( H s ) = α 0 Δ α ∞ ≤ κ + 1 κ − 1 = r m a x < 1. (24)
Neither normalization depends on N N N , d d d or ν \nu ν . Construction A needs the Fourier coefficients of the drag to have a bounded sum; Construction B needs only the pointwise bounds (13) , at the price of two quantum Fourier transforms (O ( d log 2 N ) O(d\log^2 N) O ( d log 2 N ) gates).
Proof. For every k ≠ 0 k\ne0 k = 0 , ∥ R ( k ) ∥ 2 = 1 \|R(k)\|_2=1 ∥ R ( k ) ∥ 2 = 1 and 0 < α 0 ( ν ∣ k ∣ 2 + α 0 ) − 1 < 1 0<\alpha_0(\nu|k|^2+\alpha_0)^{-1}<1 0 < α 0 ( ν ∣ k ∣ 2 + α 0 ) − 1 < 1 , so ∥ W ∥ 2 ≤ 1 \|W\|_2\le1 ∥ W ∥ 2 ≤ 1 . For part (i), W W W is a contraction, so it has a unitary block encoding with normalization 1, and W ∗ T q ℓ W W^*T_{q_\ell}W W ∗ T q ℓ W is block-encoded with normalization 1 by the product of the block encodings of W ∗ W^* W ∗ , T q ℓ T_{q_\ell} T q ℓ and W W W . Combining these L L L block encodings by the standard linear-combination-of-block-encodings construction [4 ] with weights α 0 − 1 c ℓ y s , ℓ \alpha_0^{-1}c_{\ell y_s,\ell} α 0 − 1 c ℓ y s , ℓ gives normalization α 0 − 1 ∑ ℓ ∣ c ℓ y s , ℓ ∣ \alpha_0^{-1}\sum_\ell|c_{\ell y_s,\ell}| α 0 − 1 ∑ ℓ ∣ c ℓ y s , ℓ ∣ . Part (ii) follows because F d F_d F d is unitary and the diagonal operator diag x ( ( α s ( x ) − α 0 ) / Δ α ∞ ) \operatorname{diag}_x((\alpha_s(x)-\alpha_0)/\Delta\alpha_\infty) diag x (( α s ( x ) − α 0 ) /Δ α ∞ ) is a contraction under (13) . □ \square □
Reversible Arithmetic: Accuracy and Cost
The drag-dependent rotation angle is a function of the scenario and grid coordinates. Model II evaluates it reversibly instead of storing all angles in a lookup table. In this subsection we establish two facts needed for the complexity claim: the computed angle is uniformly accurate, and the number of arithmetic operations grows only with the register widths under the stated input assumptions.
This replaces a large table of angles by a compact calculation, provided that the scenario coefficients themselves are efficiently computable. Write U ~ B E , s \widetilde{U}_{\mathrm{BE},s} U BE , s for the Hermitian block encoding of X ~ s : = H s / r b e \widetilde{X}_s := H_s/r_{\mathrm{be}} X s := H s / r be built in stages (2) to (6), with r b e ∈ ( r max , 1 ) r_{\mathrm{be}}\in(r_{\max},1) r be ∈ ( r m a x , 1 ) (Section D.5). We distinguish two compilations of the same circuit: in Model I the rotation angles are exact, and in Model II they are computed by reversible arithmetic of width b a r i t h b_{\mathrm{arith}} b arith . Let X s ( I ) X_s^{(\mathrm{I})} X s ( I ) and X s ( I I ) X_s^{(\mathrm{II})} X s ( II ) be the corresponding signal blocks.
Proposition 4 (Accuracy and gate cost of one block-encoding call). (i) Accuracy. If the viscous, frame and drag angles are computed with worst-case errors δ β w \delta_{\beta_w} δ β w , δ ϕ r o t \delta_{\phi_{\mathrm{rot}}} δ ϕ rot and δ β α \delta_{\beta_\alpha} δ β α , the Model II block encoding differs from the Model I block encoding by at most
∥ X s ( I I ) − X s ( I ) ∥ 2 ≤ ∥ U ~ B E , s ( I I ) − U ~ B E , s ( I ) ∥ 2 ≤ δ β w + δ ϕ r o t + 1 2 δ β α = O ( 2 − b a r i t h ) . (25) \left\|X_s^{(\mathrm{II})}-X_s^{(\mathrm{I})}\right\|_2 \leq\left\|\widetilde{U}_{\mathrm{BE},s}^{(\mathrm{II})}-\widetilde{U}_{\mathrm{BE},s}^{(\mathrm{I})}\right\|_2 \leq\delta_{\beta_w}+\delta_{\phi_{\mathrm{rot}}}+\frac{1}{2}\delta_{\beta_\alpha}=O(2^{-b_{\mathrm{arith}}}). \tag*{(25)} X s ( II ) − X s ( I ) 2 ≤ U BE , s ( II ) − U BE , s ( I ) 2 ≤ δ β w + δ ϕ rot + 2 1 δ β α = O ( 2 − b arith ) . (25) (ii) Cost. Suppose the L ( ϵ ) L(\epsilon) L ( ϵ ) scenario coefficients come from a reversible oracle with polylog ( M , 1 / η K ) \operatorname{polylog}(M,1/\eta_K) polylog ( M , 1/ η K ) gates (Assumption (A1) below) and b a r i t h = O ( log ( 1 / η K ) ) b_{\mathrm{arith}}=O(\log(1/\eta_K)) b arith = O ( log ( 1/ η K )) . Then one call to U ~ B E , s ( I I ) \widetilde{U}_{\mathrm{BE},s}^{(\mathrm{II})} U BE , s ( II ) uses O ( d log N + b a r i t h 2 ) O(d\log N+b_{\mathrm{arith}}^2) O ( d log N + b arith 2 ) reusable clean ancillas and
G K ( η K ) = O ( d ( log N ) 2 + d log N b a r i t h 2 + L ( ϵ ) ( polylog ( M , 1 / η K ) + d log N + b a r i t h 3 ) + b a r i t h log b a r i t h η K ) (26) G_K(\eta_K)=O\left(d(\log N)^2+d\log N b_{\mathrm{arith}}^2+L(\epsilon)\left(\operatorname{polylog}(M,1/\eta_K)+d\log N+b_{\mathrm{arith}}^3\right)+b_{\mathrm{arith}}\log\frac{b_{\mathrm{arith}}}{\eta_K}\right) \tag*{(26)} G K ( η K ) = O ( d ( log N ) 2 + d log N b arith 2 + L ( ϵ ) ( polylog ( M , 1/ η K ) + d log N + b arith 3 ) + b arith log η K b arith ) (26) Clifford+T T T gates.
For coefficients generated from ∣ s ⟩ \lvert s\rangle ∣ s ⟩ by a scrambled Sobol’ digital net [27 ] , the scenario oracle costs O ( ( log M ) b a r i t h + b a r i t h 2 ) O((\log M)b_{\mathrm{arith}}+b_{\mathrm{arith}}^2) O (( log M ) b arith + b arith 2 ) gates (Proposition 5(i)). Loading an unstructured table of M M M scenarios would cost O ( M b a r i t h ) O(Mb_{\mathrm{arith}}) O ( M b arith ) gates instead.
Proof. The block encoding is the product of the five unitary stages U W , R U_{W,R} U W , R , U r o t U_{\mathrm{rot}} U rot , U r e f l , α U_{\mathrm{refl},\alpha} U refl , α , U r o t † U_{\mathrm{rot}}^\dagger U rot † , U W , L U_{W,L} U W , L . Replacing each exact rotation angle by its computed value changes a rotation by at most ∥ R y ( θ + δ ) − R y ( θ ) ∥ 2 = 2 ∣ sin ( δ / 4 ) ∣ ≤ 1 2 ∣ δ ∣ \left\|R_y(\theta+\delta)-R_y(\theta)\right\|_2=2\lvert\sin(\delta/4)\rvert\leq\frac{1}{2}\lvert\delta\rvert ∥ R y ( θ + δ ) − R y ( θ ) ∥ 2 = 2 ∣ sin ( δ /4 )∣ ≤ 2 1 ∣ δ ∣ , so telescoping the product gives 2 ( 1 2 δ β w ) + 2 ( 1 2 δ ϕ r o t ) + 1 2 δ β α 2(\frac{1}{2}\delta_{\beta_w})+2(\frac{1}{2}\delta_{\phi_{\mathrm{rot}}})+\frac{1}{2}\delta_{\beta_\alpha} 2 ( 2 1 δ β w ) + 2 ( 2 1 δ ϕ rot ) + 2 1 δ β α , which is (25) ; the angle errors are O ( 2 − b a r i t h ) O(2^{-b_{\mathrm{arith}}}) O ( 2 − b arith ) by Proposition 5. The gate count (26) is the sum of the costs of the arithmetic components, which are listed in Section D.7.
The drag angle requires care at high contrast. It involves arccos m \arccos m arccos m with ∣ m ∣ \lvert m\rvert ∣ m ∣ close to 1, where the derivative is unbounded. Proposition 5 handles this case uniformly in the contrast by evaluating the equivalent half-angle form 2 arccos ∣ m ∣ = 4 arcsin ( 1 − ∣ m ∣ ) / 2 2\arccos\lvert m\rvert=4\arcsin\sqrt{(1-\lvert m\rvert)/2} 2 arccos ∣ m ∣ = 4 arcsin ( 1 − ∣ m ∣) /2 on dyadic ranges of the gap 1 − ∣ m ∣ 1-\lvert m\rvert 1 − ∣ m ∣ .
Write m s ( x ) : = ( α s ( x ) − α 0 ) / ( r b e α 0 ) m_s(x):=(\alpha_s(x)-\alpha_0)/(r_{\mathrm{be}}\alpha_0) m s ( x ) := ( α s ( x ) − α 0 ) / ( r be α 0 ) for the normalized drag modulation, and let δ β w \delta_{\beta_w} δ β w , δ θ E \delta_{\theta_E} δ θ E , δ ϕ r o t \delta_{\phi_{\mathrm{rot}}} δ ϕ rot and δ β α \delta_{\beta_\alpha} δ β α denote the worst-case errors of the four computed angles. The next proposition summarizes the accuracy of the reversible circuits; the full configuration (register widths, polynomial degrees and guard bits) and the proof are in Section D.
Proposition 5 (Accuracy of the reversible angle circuits). Fix ν > 0 \nu>0 ν > 0 , α 0 > 0 \alpha_0>0 α 0 > 0 and r b e ∈ ( 0 , 1 ) r_{\mathrm{be}}\in(0,1) r be ∈ ( 0 , 1 ) , and let the fixed-point width be b a r i t h ≥ 8 b_{\mathrm{arith}}\geq8 b arith ≥ 8 .
(i) Scenario coefficients. For every M = 2 n M ≥ 2 M=2^{n_M}\geq2 M = 2 n M ≥ 2 , the scrambled Sobol’ circuit O c o e f f O_{\mathrm{coeff}} O coeff computes each coefficient c s , ℓ / ( r b e α 0 ) c_{s,\ell}/(r_{\mathrm{be}}\alpha_0) c s , ℓ / ( r be α 0 ) from ∣ s ⟩ \lvert s\rangle ∣ s ⟩ to within 1 2 2 − b a r i t h \frac{1}{2}2^{-b_{\mathrm{arith}}} 2 1 2 − b arith , using O ( ( log M ) b a r i t h + b a r i t h 2 ) O((\log M)b_{\mathrm{arith}}+b_{\mathrm{arith}}^2) O (( log M ) b arith + b arith 2 ) gates.
(ii) Angles. There is a constant C a r i t h C_{\mathrm{arith}} C arith such that, for all N = 2 n ≥ 4 N=2^n\geq4 N = 2 n ≥ 4 and M ≥ 2 M\geq2 M ≥ 2 , the four angle circuits return every workspace qubit to ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ and, on every computational basis input, satisfy
max { δ β w , δ θ E , δ ϕ r o t , δ β α } ≤ C a r i t h 2 − b a r i t h . (27) \max\{\delta_{\beta_w},\delta_{\theta_E},\delta_{\phi_{\mathrm{rot}}},\delta_{\beta_\alpha}\}\leq C_{\mathrm{arith}}2^{-b_{\mathrm{arith}}}. \tag*{(27)} max { δ β w , δ θ E , δ ϕ rot , δ β α } ≤ C arith 2 − b arith . (27) (iii) Drag angle at any contrast. For the drag angle, (ii) holds (a) with a direct evaluator when sup s , x ∣ m s ( x ) ∣ ≤ m max < 0.75 \sup_{s,x}\lvert m_s(x)\rvert\leq m_{\max}<0.75 sup s , x ∣ m s ( x )∣ ≤ m m a x < 0.75 , and (b) with a half-angle adapter for every contrast κ ~ > 1 \widetilde{\kappa}>1 κ > 1 and every r b ∈ ( r max , 1 ) r_b\in(r_{\max},1) r b ∈ ( r m a x , 1 ) . In case (b), C a r i t h C_{\mathrm{arith}} C arith does not depend on κ ~ \widetilde{\kappa} κ , N N N , M M M , b a r i t h b_{\mathrm{arith}} b arith or the input width b i n b_{\mathrm{in}} b in , and the adapter uses O ( ( b i n + log δ min − 1 + b a r i t h ) a r i t h 2 + b a r i t h 3 ) O((b_{\mathrm{in}}+\log\delta_{\min}^{-1}+b_{\mathrm{arith}})^2_{\mathrm{arith}}+b_{\mathrm{arith}}^3) O (( b in + log δ m i n − 1 + b arith ) arith 2 + b arith 3 ) gates, where δ min : = 1 − r max / r b e \delta_{\min}:=1-r_{\max}/r_{\mathrm{be}} δ m i n := 1 − r m a x / r be .
Two details are left out of the statement. In case (a) the constant C a r i t h C_{\mathrm{arith}} C arith depends on ( ν , α 0 , m max , L ) (\nu,\alpha_0,m_{\max},L) ( ν , α 0 , m m a x , L ) . In (i), the Toffoli, T T T and ancilla counts of O c o e f f O_{\mathrm{coeff}} O coeff do not depend on M M M as long as the Sobol’ coordinate width satisfies B c o o r d ≥ b a r i t h + 3 B_{\mathrm{coord}}\geq b_{\mathrm{arith}}+3 B coord ≥ b arith + 3 ; the choice B c o o r d = max { 32 , log 2 M } B_{\mathrm{coord}}=\max\{32,\log_2 M\} B coord = max { 32 , log 2 M } guarantees this for b a r i t h ≤ 29 b_{\mathrm{arith}}\leq29 b arith ≤ 29 , and beyond that the counts grow at most linearly in log 2 M \log_2 M log 2 M .
Remark 3 (Scope of the explicit gate-level construction in dimension d d d ). The four angle circuits of Proposition 5, the bound (25) , the gate count (26) and all gate-level simulations are constructed explicitly for d = 2 d=2 d = 2 , where the frame stage U r o t U_{\mathrm{rot}} U rot is a single rotation by ϕ r o t ( k x , k y ) \phi_{\mathrm{rot}}(k_x,k_y) ϕ rot ( k x , k y ) . The mathematical results (Propositions 1 to 3, Lemmas 4 and 5) hold for every d ≥ 2 d\geq2 d ≥ 2 , and the three-dimensional checks of Section 8.4 are operator-level, not gate-level. For d ≥ 3 d\geq3 d ≥ 3 the frame R ( k ) R(k) R ( k ) can be realized, for example, by the Householder reflection I − 2 v v T / ∥ v ∥ 2 I-2vv^T/\lVert v\rVert^2 I − 2 v v T / ∥ v ∥ 2 with v = k / ∣ k ∣ − e d v=k/\lvert k\rvert-e_d v = k / ∣ k ∣ − e d , which maps e d e_d e d to k / ∣ k ∣ k/\lvert k\rvert k / ∣ k ∣ and whose first d − 1 d-1 d − 1 columns span ker ( k T ) \ker(k^T) ker ( k T ) . Implementing it on the ⌈ log 2 d ⌉ \lceil\log_2 d\rceil ⌈ log 2 d ⌉ -qubit component register requires reversibly computing k / ∣ k ∣ k/|k| k /∣ k ∣ and the O ( d ) O(d) O ( d ) angles of a state-preparation circuit for v v v , and then conjugating a reflection about ∣ 0 ⟩ |0\rangle ∣0 ⟩ . We do not give a complete reversible synthesis or uniform precision analysis of this stage here. Accordingly, for d ≥ 3 d \ge3 d ≥ 3 the gate-level statements of Proposition 4 and Theorem 4(i) are conditional on the following frame-synthesis hypothesis : the frame stage can be implemented with O ( d polylog ( N , 1 / η K ) ) O(d\operatorname{polylog}(N,1/\eta_K)) O ( d polylog ( N , 1/ η K )) Clifford+T gates and operator-norm error O ( d 2 − b a r i t h ) O(d2^{-b_{\mathrm{arith}}}) O ( d 2 − b arith ) . Under this hypothesis δ ϕ r o t \delta_{\phi_{\mathrm{rot}}} δ ϕ rot in (25) is replaced by O ( d 2 − b a r i t h ) O(d2^{-b_{\mathrm{arith}}}) O ( d 2 − b arith ) , which changes b a r i t h b_{\mathrm{arith}} b arith only by an additive O ( log d ) O(\log d) O ( log d ) and leaves (20) unchanged.
Recovering Kinetic Energy from the Flag Probability
Lemma 5 (From flag probability to kinetic energy). Suppose every forcing f s f_s f s is supported on wavenumbers 0 < ∣ k ∣ ≤ k 0 0<|k|\le k_0 0 < ∣ k ∣ ≤ k 0 and its reduced form b s = R ∗ f ^ s b_s=R^*\hat f_s b s = R ∗ f ^ s satisfies b min ≤ ∥ b s ∥ 2 ≤ b max b_{\min}\le\|b_s\|_2\le b_{\max} b m i n ≤ ∥ b s ∥ 2 ≤ b m a x with b min > 0 b_{\min}>0 b m i n > 0 . Put b ~ max : = ( ν + α 0 ) − 1 / 2 b max \widetilde b_{\max}:=(\nu+\alpha_0)^{-1/2}b_{\max} b m a x := ( ν + α 0 ) − 1/2 b m a x , fix r b e ∈ ( r max , 1 ) r_{\mathrm{be}}\in(r_{\max},1) r be ∈ ( r m a x , 1 ) , and choose a polynomial scale γ Q S V T = 1 2 s c a l e \gamma_{\mathrm{QSVT}}=\frac{1}{2}\,\mathrm{scale} γ QSVT = 2 1 scale with 0 < s c a l e ≤ ( 1 − r b e 2 ) / 2 0<\mathrm{scale}\le(1-r_{\mathrm{be}}^2)/2 0 < scale ≤ ( 1 − r be 2 ) /2 .
(i) Source loading. The preconditioned source b ~ s = K 0 − 1 / 2 b s \widetilde b_s=K_0^{-1/2}b_s b s = K 0 − 1/2 b s satisfies ∥ b ~ s ∥ 2 ≤ b ~ max \|\widetilde b_s\|_2\le\widetilde b_{\max} ∥ b s ∥ 2 ≤ b m a x , so a unitary U b U_b U b can load it without postselection:
U b ∣ s ⟩ ∣ 0 ⟩ s r c ∣ 0 ⟩ m o d e = ∣ s ⟩ ( ∣ 0 ⟩ s r c b ~ s b ~ max + ∣ 1 ⟩ s r c ∣ ⊥ s ⟩ ) . U_b|s\rangle|0\rangle_{\mathrm{src}}|0\rangle_{\mathrm{mode}}=|s\rangle\left(|0\rangle_{\mathrm{src}}\frac{\widetilde b_s}{\widetilde b_{\max}}+|1\rangle_{\mathrm{src}}|\perp_s\rangle\right). U b ∣ s ⟩ ∣0 ⟩ src ∣0 ⟩ mode = ∣ s ⟩ ( ∣0 ⟩ src b m a x b s + ∣1 ⟩ src ∣ ⊥ s ⟩ ) .
(ii) Bounded polynomials. Let P e v e n P_{\mathrm{even}} P even and P o d d P_{\mathrm{odd}} P odd be the degree-d i n v d_{\mathrm{inv}} d inv Chebyshev truncations of f e v e n ( x ) = s c a l e / ( 1 − r b e 2 x 2 ) f_{\mathrm{even}}(x)=\mathrm{scale}/(1-r_{\mathrm{be}}^2x^2) f even ( x ) = scale / ( 1 − r be 2 x 2 ) and f o d d ( x ) = − s c a l e r b e x / ( 1 − r b e 2 x 2 ) f_{\mathrm{odd}}(x)=-\mathrm{scale}\,r_{\mathrm{be}}x/(1-r_{\mathrm{be}}^2x^2) f odd ( x ) = − scale r be x / ( 1 − r be 2 x 2 ) . Then
sup x ∈ [ − 1 , 1 ] ∣ P e v e n ( x ) ∣ ≤ ∑ m = 0 d i n v / 2 ∣ a 2 m ∣ ≤ s c a l e 1 − r b e 2 ≤ 1 2 , (28) \sup_{x\in[-1,1]}|P_{\mathrm{even}}(x)|\le\sum_{m=0}^{d_{\mathrm{inv}}/2}|a_{2m}|\le\frac{\mathrm{scale}}{1-r_{\mathrm{be}}^2}\le\frac{1}{2}, \tag*{(28)} x ∈ [ − 1 , 1 ] sup ∣ P even ( x ) ∣ ≤ m = 0 ∑ d inv /2 ∣ a 2 m ∣ ≤ 1 − r be 2 scale ≤ 2 1 , (28)
sup x ∈ [ − 1 , 1 ] ∣ P o d d ( x ) ∣ ≤ ∑ m = 0 ( d i n v − 1 ) / 2 ∣ b 2 m + 1 ∣ ≤ s c a l e r b e 1 − r b e 2 ≤ 1 2 , \sup_{x\in[-1,1]}|P_{\mathrm{odd}}(x)|\le\sum_{m=0}^{(d_{\mathrm{inv}}-1)/2}|b_{2m+1}|\le\frac{\mathrm{scale}\,r_{\mathrm{be}}}{1-r_{\mathrm{be}}^2}\le\frac{1}{2}, x ∈ [ − 1 , 1 ] sup ∣ P odd ( x ) ∣ ≤ m = 0 ∑ ( d inv − 1 ) /2 ∣ b 2 m + 1 ∣ ≤ 1 − r be 2 scale r be ≤ 2 1 ,
so QSVT can implement both polynomials.
(iii) Energy readout. With the QSVT inverse U Q S V T ≃ γ Q S V T K ~ s − 1 U_{\mathrm{QSVT}}\simeq\gamma_{\mathrm{QSVT}}\widetilde K_s^{-1} U QSVT ≃ γ QSVT K s − 1 and the observable E s = ν + α 0 K 0 − 1 / 2 E_s=\sqrt{\nu+\alpha_0}\,K_0^{-1/2} E s = ν + α 0 K 0 − 1/2 , the flag probability of scenario s s s is
p g o o d , s = ∥ E s ( γ Q S V T b ~ max K ~ s − 1 b ~ s ) ∥ 2 2 = ∥ u s ∥ L 2 2 B n o r m , B n o r m : = b max 2 γ Q S V T 2 ( ν + α 0 ) 2 , (29) p_{\mathrm{good},s}=\left\|E_s\left(\frac{\gamma_{\mathrm{QSVT}}}{\widetilde b_{\max}}\widetilde K_s^{-1}\widetilde b_s\right)\right\|_2^2=\frac{\|u_s\|_{L^2}^2}{B_{\mathrm{norm}}},\qquad B_{\mathrm{norm}}:=\frac{b_{\max}^2}{\gamma_{\mathrm{QSVT}}^2(\nu+\alpha_0)^2}, \tag*{(29)} p good , s = E s ( b m a x γ QSVT K s − 1 b s ) 2 2 = B norm ∥ u s ∥ L 2 2 , B norm := γ QSVT 2 ( ν + α 0 ) 2 b m a x 2 , (29)
and for every N N N , d d d and s s s it is bounded below by
∥ u s ∥ L 2 ≥ b min ν k 0 2 + α max , p g o o d , s ≥ γ Q S V T 2 ( ν + α 0 ) 2 b min 2 b max 2 ( ν k 0 2 + α max ) 2 . (30) \|u_s\|_{L^2}\ge\frac{b_{\min}}{\sqrt{\nu k_0^2+\alpha_{\max}}},\qquad p_{\mathrm{good},s}\ge\frac{\gamma_{\mathrm{QSVT}}^2(\nu+\alpha_0)^2b_{\min}^2}{b_{\max}^2(\nu k_0^2+\alpha_{\max})^2}. \tag*{(30)} ∥ u s ∥ L 2 ≥ ν k 0 2 + α m a x b m i n , p good , s ≥ b m a x 2 ( ν k 0 2 + α m a x ) 2 γ QSVT 2 ( ν + α 0 ) 2 b m i n 2 . (30)
Part (iii) is what lets amplitude estimation read out the energy. The factor B n o r m B_{\mathrm{norm}} B norm does not depend on the grid, so converting a probability into an energy costs a fixed factor, and the lower bound keeps the flag probability away from zero however fine the grid is.
Proof. Part (i) follows from min k ≠ 0 ( ν ∣ k ∣ 2 + α 0 ) = ν + α 0 \min_{k\ne0}(\nu|k|^2+\alpha_0)=\nu+\alpha_0 min k = 0 ( ν ∣ k ∣ 2 + α 0 ) = ν + α 0 . For part (ii), ( 1 − r b e 2 x 2 ) − 1 = ∑ n ≥ 0 r b e 2 n x 2 n (1-r_{\mathrm{be}}^2x^2)^{-1}=\sum_{n\ge0}r_{\mathrm{be}}^{2n}x^{2n} ( 1 − r be 2 x 2 ) − 1 = ∑ n ≥ 0 r be 2 n x 2 n has nonnegative power-series coefficients, hence nonnegative Chebyshev coefficients, so the Chebyshev ℓ 1 \ell_1 ℓ 1 -norm of f e v e n f_{\mathrm{even}} f even equals f e v e n ( 1 ) f_{\mathrm{even}}(1) f even ( 1 ) ; the same holds for − f o d d -f_{\mathrm{odd}} − f odd . Since ∣ T k ( x ) ∣ ≤ 1 |T_k(x)|\le1 ∣ T k ( x ) ∣ ≤ 1 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , the truncations obey (28) . For part (iii), E s E_s E s is a contraction with ∥ E s ∥ 2 = 1 \|E_s\|_2=1 ∥ E s ∥ 2 = 1 , implemented by rotating the observable flag by θ E ( ∣ k ∣ 2 ) = 2 arccos ( ν + α 0 ) / ( ν ∣ k ∣ 2 + α 0 ) \theta_E(|k|^2)=2\arccos\sqrt{(\nu+\alpha_0)/(\nu|k|^2+\alpha_0)} θ E ( ∣ k ∣ 2 ) = 2 arccos ( ν + α 0 ) / ( ν ∣ k ∣ 2 + α 0 ) . Moreover K 0 − 1 / 2 K ~ s − 1 b ~ s = K 0 − 1 / 2 ( K 0 − 1 / 2 K s − 1 K 0 − 1 / 2 ) ( K 0 − 1 / 2 b s ) = K s − 1 b s = ξ s K_0^{-1/2}\widetilde K_s^{-1}\widetilde b_s=K_0^{-1/2}(K_0^{-1/2}K_s^{-1}K_0^{-1/2})(K_0^{-1/2}b_s)=K_s^{-1}b_s=\xi_s K 0 − 1/2 K s − 1 b s = K 0 − 1/2 ( K 0 − 1/2 K s − 1 K 0 − 1/2 ) ( K 0 − 1/2 b s ) = K s − 1 b s = ξ s and ∥ R ξ s ∥ L 2 = ∥ ξ s ∥ 2 = ∥ u s ∥ L 2 \|R\xi_s\|_{L^2}=\|\xi_s\|_2=\|u_s\|_{L^2} ∥ R ξ s ∥ L 2 = ∥ ξ s ∥ 2 = ∥ u s ∥ L 2 , which gives (29) . For the lower bound, test the weak form ⟨ v , A s u s ⟩ = ⟨ v , R b s ⟩ \langle v,A_su_s\rangle=\langle v,Rb_s\rangle ⟨ v , A s u s ⟩ = ⟨ v , R b s ⟩ with v = R b s ∈ K e r D v=Rb_s\in K\!er\,D v = R b s ∈ K er D . Since b s b_s b s is supported on ∣ k ∣ ≤ k 0 |k|\le k_0 ∣ k ∣ ≤ k 0 , ∥ − ν Δ R b s ∥ L 2 2 ≤ ν k 0 2 ∥ b s ∥ 2 2 \|-\nu\Delta Rb_s\|_{L^2}^2\le\nu k_0^2\|b_s\|_2^2 ∥ − ν Δ R b s ∥ L 2 2 ≤ ν k 0 2 ∥ b s ∥ 2 2 and ∥ α R b s ∥ L 2 2 ≤ α max ∥ b s ∥ 2 2 \|\alpha Rb_s\|_{L^2}^2\le\alpha_{\max}\|b_s\|_2^2 ∥ α R b s ∥ L 2 2 ≤ α m a x ∥ b s ∥ 2 2 , so
∥ b s ∥ 2 2 = ⟨ R b s , A s u s ⟩ ≤ ∥ A s R b s ∥ L 2 ∥ u s ∥ L 2 ≤ ( ν k 0 2 + α max ) ∥ b s ∥ 2 ∥ u s ∥ L 2 , \|b_s\|_2^2=\langle Rb_s,A_su_s\rangle\le\|A_sRb_s\|_{L^2}\|u_s\|_{L^2}\le(\nu k_0^2+\alpha_{\max})\|b_s\|_2\|u_s\|_{L^2}, ∥ b s ∥ 2 2 = ⟨ R b s , A s u s ⟩ ≤ ∥ A s R b s ∥ L 2 ∥ u s ∥ L 2 ≤ ( ν k 0 2 + α m a x ) ∥ b s ∥ 2 ∥ u s ∥ L 2 ,
which is (30) after inserting it into (29) . □
Lemma 5(ii) bounds the magnitude of the truncated polynomials. The degree used in Theorem 4 also needs a uniform approximation bound, which the next lemma supplies; the degree-14 numerics of Table 2 illustrate it but do not prove it.
Lemma 6 (Uniform accuracy and degree of the QSVT inverse). Let r : = r b e ∈ ( 0 , 1 ) r := r_{\mathrm{be}} \in(0,1) r := r be ∈ ( 0 , 1 ) and ρ : = ( 1 + 1 − r 2 ) / r > 1 \rho:= (1+\sqrt{1-r^2})/r > 1 ρ := ( 1 + 1 − r 2 ) / r > 1 , and let P e v e n , P o d d P_{\mathrm{even}}, P_{\mathrm{odd}} P even , P odd be the degree-n n n Chebyshev truncations of Lemma 5(ii). Then
sup x ∈ [ − 1 , 1 ] ∣ P e v e n ( x ) + P o d d ( x ) − s c a l e 1 + r x ∣ ≤ 2 s c a l e ρ − ( n + 1 ) 1 − r 2 ( 1 − ρ − 1 ) . (31) \sup_{x\in[-1,1]}\left|P_{\mathrm{even}}(x)+P_{\mathrm{odd}}(x)-\frac{\mathrm{scale}}{1+rx}\right|\leq\frac{2\,\mathrm{scale}\,\rho^{-(n+1)}}{\sqrt{1-r^2}(1-\rho^{-1})}. \tag*{(31)} x ∈ [ − 1 , 1 ] sup P even ( x ) + P odd ( x ) − 1 + r x scale ≤ 1 − r 2 ( 1 − ρ − 1 ) 2 scale ρ − ( n + 1 ) . (31) With r b e = ( 1 + r max ) / 2 r_{\mathrm{be}}=(1+r_{\max})/2 r be = ( 1 + r m a x ) /2 , so that 1 − r b e = ( κ ~ + 1 ) − 1 1-r_{\mathrm{be}}=(\widetilde{\kappa}+1)^{-1} 1 − r be = ( κ + 1 ) − 1 , uniform accuracy η \eta η is reached with
n + 1 ≥ κ ~ + 1 ln 4 s c a l e ( κ ~ + 1 ) η , so d i n v = O ( κ ~ log ( κ ~ / η ) ) ⊆ O ( κ ~ log ( κ ~ / η ) ) . (32) n+1\geq\sqrt{\widetilde{\kappa}+1}\ln\frac{4\,\mathrm{scale}\,(\widetilde{\kappa}+1)}{\eta},\qquad\text{so}\qquad d_{\mathrm{inv}}=O\left(\sqrt{\widetilde{\kappa}}\log(\widetilde{\kappa}/\eta)\right)\subseteq O\left(\widetilde{\kappa}\log(\widetilde{\kappa}/\eta)\right). \tag*{(32)} n + 1 ≥ κ + 1 ln η 4 scale ( κ + 1 ) , so d inv = O ( κ log ( κ / η ) ) ⊆ O ( κ log ( κ / η ) ) . (32) Since P e v e n P_{\mathrm{even}} P even and P o d d P_{\mathrm{odd}} P odd are real, have definite parity and satisfy sup [ − 1 , 1 ] ∣ P ∣ ≤ 1 2 \sup_{[-1,1]}|P|\leq\frac{1}{2} sup [ − 1 , 1 ] ∣ P ∣ ≤ 2 1 by (28) , QSVT phase sequences of length n n n implementing them exist and can be computed classically [4 ] ; each is realized as the real part of a QSVT circuit, and the two parities are combined on the register ∣ q l c u ⟩ |q_{\mathrm{lcu}}\rangle ∣ q lcu ⟩ .
Proof. With a : = 1 / r > 1 a:=1/r>1 a := 1/ r > 1 and ρ = a + a 2 − 1 \rho=a+\sqrt{a^2-1} ρ = a + a 2 − 1 , the classical expansion ( a − x ) − 1 = ( a 2 − 1 ) − 1 / 2 [ 1 + 2 ∑ k ≥ 1 ρ − k T k ( x ) ] (a-x)^{-1}=(a^2-1)^{-1/2}\left[1+2\sum_{k\geq1}\rho^{-k}T_k(x)\right] ( a − x ) − 1 = ( a 2 − 1 ) − 1/2 [ 1 + 2 ∑ k ≥ 1 ρ − k T k ( x ) ] holds uniformly on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Writing f e v e n = s c a l e 2 r [ ( a − x ) − 1 + ( a + x ) − 1 ] f_{\mathrm{even}}=\frac{\mathrm{scale}}{2r}\left[(a-x)^{-1}+(a+x)^{-1}\right] f even = 2 r scale [ ( a − x ) − 1 + ( a + x ) − 1 ] , f o d d = − s c a l e 2 r [ ( a − x ) − 1 − ( a + x ) − 1 ] f_{\mathrm{odd}}=-\frac{\mathrm{scale}}{2r}\left[(a-x)^{-1}-(a+x)^{-1}\right] f odd = − 2 r scale [ ( a − x ) − 1 − ( a + x ) − 1 ] and using T k ( − x ) = ( − 1 ) k T k ( x ) T_k(-x)=(-1)^kT_k(x) T k ( − x ) = ( − 1 ) k T k ( x ) and r a 2 − 1 = 1 − r 2 r\sqrt{a^2-1}=\sqrt{1-r^2} r a 2 − 1 = 1 − r 2 , the Chebyshev coefficients of f e v e n + f o d d = s c a l e / ( 1 + r x ) f_{\mathrm{even}}+f_{\mathrm{odd}}=\mathrm{scale}/(1+rx) f even + f odd = scale / ( 1 + r x ) have modulus 2 s c a l e ρ − k / 1 − r 2 2\,\mathrm{scale}\,\rho^{-k}/\sqrt{1-r^2} 2 scale ρ − k / 1 − r 2 for k ≥ 1 k\geq1 k ≥ 1 . Since ∣ T k ∣ ≤ 1 |T_k|\leq1 ∣ T k ∣ ≤ 1 , the truncation error is at most the coefficient tail 2 s c a l e 1 − r 2 ∑ k > n ρ − k \frac{2\,\mathrm{scale}}{\sqrt{1-r^2}}\sum_{k>n}\rho^{-k} 1 − r 2 2 scale ∑ k > n ρ − k , which is (31) . For (32) , put t : = ( κ ~ + 1 ) − 1 / 2 ∈ ( 0 , 1 ) t:=(\widetilde{\kappa}+1)^{-1/2}\in(0,1) t := ( κ + 1 ) − 1/2 ∈ ( 0 , 1 ) . Then 1 − r 2 ≥ 1 − r = t \sqrt{1-r^2}\geq\sqrt{1-r}=t 1 − r 2 ≥ 1 − r = t , and ln ρ = arccosh ( 1 / r ) ≥ arccosh ( 1 + ( 1 − r ) ) ≥ 1 − r = t \ln\rho=\operatorname{arccosh}(1/r)\geq\operatorname{arccosh}(1+(1-r))\geq\sqrt{1-r}=t ln ρ = arccosh ( 1/ r ) ≥ arccosh ( 1 + ( 1 − r )) ≥ 1 − r = t (because d d δ arccosh ( 1 + δ ) = ( δ ( 2 + δ ) ) − 1 / 2 ≥ d d δ δ \frac{d}{d\delta}\operatorname{arccosh}(1+\delta)=(\delta(2+\delta))^{-1/2}\geq\frac{d}{d\delta}\sqrt{\delta} d δ d arccosh ( 1 + δ ) = ( δ ( 2 + δ ) ) − 1/2 ≥ d δ d δ for 0 < δ ≤ 2 0<\delta\leq2 0 < δ ≤ 2 ). Hence 1 − ρ − 1 ≥ 1 − e − t ≥ t / 2 1-\rho^{-1}\geq1-e^{-t}\geq t/2 1 − ρ − 1 ≥ 1 − e − t ≥ t /2 , and the right side of (31) is at most 4 s c a l e e − ( n + 1 ) t / t 2 4\,\mathrm{scale}\,e^{-(n+1)t}/t^2 4 scale e − ( n + 1 ) t / t 2 , which is at most η \eta η under the stated condition on n n n . The existence and classical computability of the phase sequences for bounded real polynomials of definite parity is the QSVT theorem of [4 ] . □
Proof of the Conditional Gate-Complexity Bound
Proof of Theorem 4. Circuit parameters. The circuit uses QSVT of degree d i n v = O ( κ ~ log ( κ ~ / ϵ ) ) d_{\mathrm{inv}}=O(\widetilde{\kappa}\log(\widetilde{\kappa}/\epsilon)) d inv = O ( κ log ( κ / ϵ )) , which by Lemma 6 (with uniform accuracy η = Θ ( ϵ / B n o r m ) \eta=\Theta(\epsilon/B_{\mathrm{norm}}) η = Θ ( ϵ / B norm ) ) suffices for the polynomial approximation of the inverse, with polynomial scale γ Q S V T = Θ ( κ ~ − 1 ) \gamma_{\mathrm{QSVT}}=\Theta(\widetilde{\kappa}^{-1}) γ QSVT = Θ ( κ − 1 ) and reversible arithmetic of width b a r i t h = O ( log ( κ ~ 2 d i n v / ϵ ) ) b_{\mathrm{arith}}=O(\log(\widetilde{\kappa}^2d_{\mathrm{inv}}/\epsilon)) b arith = O ( log ( κ 2 d inv / ϵ )) . Observable bias O ( ϵ ) O(\epsilon) O ( ϵ ) corresponds to raw probability precision η i m p l ≤ ϵ / ( 8 B n o r m ) \eta_{\mathrm{impl}}\leq\epsilon/(8B_{\mathrm{norm}}) η impl ≤ ϵ / ( 8 B norm ) . The controlled-gate decompositions and register counts are given in Section D.8.
Cost. By Proposition 3 and Lemma 4, both κ ( K ~ s ) ≤ κ ~ \kappa(\widetilde{K}_{\mathrm{s}})\leq\widetilde{\kappa} κ ( K s ) ≤ κ and the block-encoding subnormalization are O ( 1 ) O(1) O ( 1 ) independently of N = Θ ( ϵ − 1 / r ) N=\Theta(\epsilon^{-1/r}) N = Θ ( ϵ − 1/ r ) . By Lemma 5, the normalization scale B n o r m = Θ ( κ ~ 2 ) B_{\mathrm{norm}}=\Theta(\widetilde{\kappa}^2) B norm = Θ ( κ 2 ) multiplies the required raw probability precision and amplitude-estimation query count by O ( κ ~ 2 ) O(\widetilde{\kappa}^2) O ( κ 2 ) . Telescoping the ( d i n v + 1 ) (d_{\mathrm{inv}}+1) ( d inv + 1 ) block-encoding calls via (25) together with the source and observable flag rotations U s r c , U o b s U_{\mathrm{src}},U_{\mathrm{obs}} U src , U obs (angle error δ E = O ( 2 − b a r i t h ) \delta_{\mathrm{E}}=O(2^{-b_{\mathrm{arith}}}) δ E = O ( 2 − b arith ) ) gives
∥ A ( I I ) ∣ 0 ⟩ − A ( I ) ∣ 0 ⟩ ∥ 2 ≤ δ E + ( d i n v + 1 ) ( δ b w + δ b r o t + 1 2 δ α ) = O ( d i n v 2 − b a r i t h ) . \left\|\mathcal{A}^{(\mathrm{II})}|0\rangle-\mathcal{A}^{(\mathrm{I})}|0\rangle\right\|_2\leq\delta_{\mathrm{E}}+(d_{\mathrm{inv}}+1)\left(\delta_{\mathrm{bw}}+\delta_{\mathrm{brot}}+\frac{1}{2}\delta_{\alpha}\right)=O\left(d_{\mathrm{inv}}2^{-b_{\mathrm{arith}}}\right). A ( II ) ∣0 ⟩ − A ( I ) ∣0 ⟩ 2 ≤ δ E + ( d inv + 1 ) ( δ bw + δ brot + 2 1 δ α ) = O ( d inv 2 − b arith ) .
so b a r i t h = O ( log ( κ ~ 2 d i n v / ϵ ) ) b_{\mathrm{arith}}=O(\log(\widetilde{\kappa}^2d_{\mathrm{inv}}/\epsilon)) b arith = O ( log ( κ 2 d inv / ϵ )) guarantees physical observable bias O ( ϵ ) O(\epsilon) O ( ϵ ) . Multiplying d i n v = O ( κ ~ log ( κ ~ / ϵ ) ) d_{\mathrm{inv}}=O(\widetilde{\kappa}\log(\widetilde{\kappa}/\epsilon)) d inv = O ( κ log ( κ / ϵ )) by (26) with log N = O ( 1 r log 1 ϵ ) \log N=O(\frac{1}{r}\log\frac{1}{\epsilon}) log N = O ( r 1 log ϵ 1 ) , and adding the O ( S ( ϵ ) d log N ) O(S(\epsilon)d\log N) O ( S ( ϵ ) d log N ) source preparation cost, the O ( d ( log N ) 2 + d log N ⋅ ( b a r i t h 2 + b a r i t h 3 ) ) O(d(\log N)^2+d\log N\cdot(b_{\mathrm{arith}}^2+b_{\mathrm{arith}}^3)) O ( d ( log N ) 2 + d log N ⋅ ( b arith 2 + b arith 3 )) cost of U s r c U_{\mathrm{src}} U src and U o b s U_{\mathrm{obs}} U obs , and the O ( log M + d log N ) O(\log M+d\log N) O ( log M + d log N ) linear-Toffoli Grover reflection [33 ] , gives (20) . Combining this upper bound with the classical lower bound in Theorem 2 proves sufficiency of (21) . □
Register Layout and Workspace
This subsection lists the registers and the structure of one block-encoding call (Figure 2 ). It is needed to reproduce the circuits, not to follow the argument.
Registers. ∣ s ⟩ |s\rangle ∣ s ⟩ (log 2 M \log_2 M log 2 M qubits) stores the scenario index; ∣ q l c u ⟩ |q_{\mathrm{lcu}}\rangle ∣ q lcu ⟩ (2 qubits) combines the even and odd Chebyshev QSVT branches; ∣ a B E ⟩ = ∣ a W L , a α , a W R , a p o l ⟩ |a_{\mathrm{BE}}\rangle=|a_{\mathrm{WL}},a_{\alpha},a_{\mathrm{WR}},a_{\mathrm{pol}}\rangle ∣ a BE ⟩ = ∣ a WL , a α , a WR , a pol ⟩ (4 ancilla qubits in d = 2 d=2 d = 2 ; in general d ≥ 2 d\geq2 d ≥ 2 , three ancilla qubits ∣ a W L , a α , a W R ⟩ |a_{\mathrm{WL}},a_{\alpha},a_{\mathrm{WR}}\rangle ∣ a WL , a α , a WR ⟩ plus the longitudinal basis state of a ⌈ log 2 d ⌉ \lceil\log_2 d\rceil ⌈ log 2 d ⌉ -qubit velocity-component register ∣ c ⟩ |c\rangle ∣ c ⟩ ) flags the block-encoding signal subspace Π s i g \Pi_{\mathrm{sig}} Π sig ; ∣ k ⟩ |k\rangle ∣ k ⟩ (d log 2 N d\log_2 N d log 2 N qubits) stores two’s-complement Fourier wavenumbers (or grid coordinates ∣ x ⟩ |x\rangle ∣ x ⟩ after inverse QFT); and ∣ f s r c ⟩ , ∣ f o b s ⟩ |f_{\mathrm{src}}\rangle,|f_{\mathrm{obs}}\rangle ∣ f src ⟩ , ∣ f obs ⟩ (2 qubits) mark source preparation and observable extraction.
The block encoding. Fix a subnormalization scale r b e ∈ ( r max , 1 ) r_{\mathrm{be}} \in(r_{\max},1) r be ∈ ( r m a x , 1 ) so that X ~ s : = H s / r b e \widetilde{X}_s := H_s/r_{\mathrm{be}} X s := H s / r be satisfies ∥ X ~ s ∥ 2 < 1 \|\widetilde{X}_s\|_2 < 1 ∥ X s ∥ 2 < 1 . Define the scalar Fourier energy weight w ( k ) : = α 0 / ( ν ∣ k ∣ 2 + α 0 ) ∈ ( 0 , 1 ) w(k) := \sqrt{\alpha_0/(\nu|k|^2+\alpha_0)} \in(0,1) w ( k ) := α 0 / ( ν ∣ k ∣ 2 + α 0 ) ∈ ( 0 , 1 ) for k ≠ 0 k \ne0 k = 0 (and w ( 0 ) : = 0 w(0):=0 w ( 0 ) := 0 ). In Construction B, X ~ s \widetilde{X}_s X s is factored symmetrically into unitary basis changes and single-qubit reflections R y ( θ ) Z R_y(\theta)Z R y ( θ ) Z (Figure 2 (b)):
U ~ B E , s : = S L R U W , L B † U r e f l , α B U W , R , B : = ( I a n c ⊗ F d † ) U r o t . \widetilde{U}_{\mathrm{BE},s}:=S_{LR}U_{W,L}B^\dagger U_{\mathrm{refl},\alpha}B U_{W,R},\qquad B:=(I_{\mathrm{anc}}\otimes\mathcal{F}_d^\dagger)U_{\mathrm{rot}}. U BE , s := S L R U W , L B † U refl , α B U W , R , B := ( I anc ⊗ F d † ) U rot .
Reading from right to left: U W , R U_{W,R} U W , R rotates ancilla ∣ a W R ⟩ |a_{W_R}\rangle ∣ a W R ⟩ by β w ( ∣ k ∣ 2 ) = 2 arccos ( w ( k ) ) \beta_w(|k|^2)=2\arccos(w(k)) β w ( ∣ k ∣ 2 ) = 2 arccos ( w ( k )) (β w ( 0 ) = π \beta_w(0)=\pi β w ( 0 ) = π ) to weight mode k k k by w ( k ) w(k) w ( k ) ; U r o t U_{\mathrm{rot}} U rot maps transverse polarization states onto divergence-free Cartesian velocity vectors perpendicular to k k k (a single rotation by ϕ r o t ( k x , k y ) = 2 arctan 2 ( k x , k y ) \phi_{\mathrm{rot}}(k_x,k_y)=2\arctan2(k_x,k_y) ϕ rot ( k x , k y ) = 2 arctan 2 ( k x , k y ) in d = 2 d=2 d = 2 , the case constructed and simulated here; in general d d d a Householder reflection, whose gate-level synthesis is the hypothesis of Remark 3); F d † \mathcal{F}_d^\dagger F d † transforms ∣ k ⟩ |k\rangle ∣ k ⟩ to position space ∣ x ⟩ |x\rangle ∣ x ⟩ ; U r e f l , α U_{\mathrm{refl},\alpha} U refl , α rotates ∣ a α ⟩ |a_\alpha\rangle ∣ a α ⟩ by β α ( s , x ) = 2 arccos ( ( α s ( x ) − α 0 ) / ( r b e α 0 ) ) \beta_\alpha(s,x)=2\arccos((\alpha_s(x)-\alpha_0)/(r_{\mathrm{be}}\alpha_0)) β α ( s , x ) = 2 arccos (( α s ( x ) − α 0 ) / ( r be α 0 )) to apply pointwise drag multiplication; B † B^\dagger B † and U W , L U_{W,L} U W , L apply the conjugate return path onto ∣ a W L ⟩ |a_{W_L}\rangle ∣ a W L ⟩ ; and S L R = SWAP ( a W L , a W R ) S_{LR}=\operatorname{SWAP}(a_{W_L},a_{W_R}) S L R = SWAP ( a W L , a W R ) swaps the two weight ancillas so that U ~ B E , s \widetilde{U}_{\mathrm{BE},s} U BE , s is strictly Hermitian and self-inverse ( U ~ B E , s † = U ~ B E , s , U ~ B E , s 2 = I ) (\widetilde{U}_{\mathrm{BE},s}^\dagger=\widetilde{U}_{\mathrm{BE},s},\widetilde{U}_{\mathrm{BE},s}^2=I) ( U BE , s † = U BE , s , U BE , s 2 = I ) .
Two compilations. We use two implementations of the same rotation stages (U s r c , U W , R , U r o t , U r e f l , α , U W , L U_{\mathrm{src}},U_{W,R},U_{\mathrm{rot}},U_{\mathrm{refl},\alpha},U_{W,L} U src , U W , R , U rot , U refl , α , U W , L and U o b s U_{\mathrm{obs}} U obs ). Model I loads precomputed floating-point angles through ancilla-free Walsh–Hadamard Gray-code multiplexors [35 ] ; its block is the exact reference X s ( I ) = X ~ s X_s^{(\mathrm{I})}=\widetilde{X}_s X s ( I ) = X s and its gate cost is Θ ( M N d ) \Theta(MN^d) Θ ( M N d ) . Model II evaluates the angles in superposition with b a r i t h b_{\mathrm{arith}} b arith -bit reversible fixed-point arithmetic on reusable clean workspace qubits; its block is X s ( I I ) X_s^{(\mathrm{II})} X s ( II ) and its gate cost is polylogarithmic in N N N and M M M under the input assumptions of Theorem 4.
Reversible Angle-Evaluation Circuits
This subsection proves Proposition 5. Each angle evaluator splits its input range into octaves, splits each octave into eight sub-bins, and evaluates a Chebyshev polynomial on each sub-bin by Horner’s rule in fixed-point arithmetic. Table 6 lists the parameters.
Table 6. Parameters of the reversible angle evaluators, as functions of the arithmetic width b a r i t h b_{\mathrm{arith}} b arith , the ensemble size M M M and the contrast margin δ min : = 1 − r max / r b e \delta_{\min}:=1-r_{\max}/r_{\mathrm{be}} δ m i n := 1 − r m a x / r be .
The drag angle β α ( s , x ) = 2 arccos m s ( x ) \beta_\alpha(s,x)=2\arccos m_s(x) β α ( s , x ) = 2 arccos m s ( x ) is computed in one of two ways. (a) When sup s , x ∣ m s ( x ) ∣ ≤ m max < 0.75 \sup_{s,x}|m_s(x)|\leq m_{\max}<0.75 sup s , x ∣ m s ( x ) ∣ ≤ m m a x < 0.75 , the direct eight-sub-bin evaluator is used. (b) At any contrast, the half-angle adapter takes the b i n b_{\mathrm{in}} b in -bit drag value, computes the gap u s ( x ) : = 1 − ∣ m s ( x ) ∣ u_s(x):=1-|m_s(x)| u s ( x ) := 1 − ∣ m s ( x ) ∣ in width q m q_m q m , finds its leading bit (the octave e ∈ { 1 , … , q m } e\in\{1,\ldots,q_m\} e ∈ { 1 , … , q m } ), and evaluates 2 arccos ∣ m ∣ = 4 arcsin u / 2 2\arccos|m|=4\arcsin\sqrt{u/2} 2 arccos ∣ m ∣ = 4 arcsin u /2 on that octave. It loads the constant π \pi π at u = 1 u=1 u = 1 and reflects θ ↦ 2 π − θ \theta\mapsto2\pi-\theta θ ↦ 2 π − θ when m < 0 m<0 m < 0 . Any r b e ∈ ( r max , 1 ) r_{\mathrm{be}}\in(r_{\max},1) r be ∈ ( r m a x , 1 ) works for (b); the circuits use r b e = γ α = min { 4 3 r max , 1 2 ( 1 + r max ) } r_{\mathrm{be}}=\gamma_\alpha=\min\{\frac{4}{3}r_{\max},\frac{1}{2}(1+r_{\max})\} r be = γ α = min { 3 4 r m a x , 2 1 ( 1 + r m a x )} .
Proposition 6 (Circuit-level accuracy and cost). With the parameters of Table 6 , the following hold.
(i) Scenario oracle. For every M = 2 n ≥ 2 M=2^n\geq2 M = 2 n ≥ 2 and every mode ℓ \ell ℓ , O c o e f f O_{\mathrm{coeff}} O coeff computes c s , ℓ / ( r b e α 0 ) c_{s,\ell}/(r_{\mathrm{be}}\alpha_0) c s , ℓ / ( r be α 0 ) from ∣ s ⟩ |s\rangle ∣ s ⟩ with error at most 2 − q p r o d ≤ 1 2 2 − q p r o d ( n M + 1 ) 2^{-q_{\mathrm{prod}}}\leq\frac{1}{2}2^{-q_{\mathrm{prod}}}(nM+1) 2 − q prod ≤ 2 1 2 − q prod ( n M + 1 ) and uses at most B n e t ( n M + 1 ) B_{\mathrm{net}}(nM+1) B net ( n M + 1 ) elementary X X X gates for each n e t net n e t and B n e t − 1 B_{\mathrm{net}}-1 B net − 1 Cuccaro additions on q p r o d + 2 + ⌈ log 2 ( B n e t + 2 ) ⌉ q_{\mathrm{prod}}+2+\lceil\log_2(B_{\mathrm{net}}+2)\rceil q prod + 2 + ⌈ log 2 ( B net + 2 )⌉ bits. Its Toffoli, T T T and ancilla counts do not depend on M M M when B c o o r d ≥ q p r o d + 2 B_{\mathrm{coord}}\geq q_{\mathrm{prod}}+2 B coord ≥ q prod + 2 , and otherwise grow at most linearly in log 2 M \log_2 M log 2 M .
(ii) Angles. For every N = 2 n ≥ 4 N=2^n\geq4 N = 2 n ≥ 4 , M ≥ 2 M\geq2 M ≥ 2 and b a r i t h ≥ 8 b_{\mathrm{arith}}\geq8 b arith ≥ 8 , the four evaluators return every workspace qubit to ∣ 0 ⟩ |0\rangle ∣0 ⟩ and satisfy
max { δ β w , δ θ E , δ ϕ r o t , δ β α } ≤ C a r i t 2 − b a r i t h (33) \max\{\delta_{\beta_w},\delta_{\theta_E},\delta_{\phi_{\mathrm{rot}}},\delta_{\beta_\alpha}\}\leq C_{\mathrm{arit}}2^{-b_{\mathrm{arith}}} \tag*{(33)} max { δ β w , δ θ E , δ ϕ rot , δ β α } ≤ C arit 2 − b arith (33)
on all basis inputs. The constant C a r i t h C_{\mathrm{arith}} C arith depends only on ( ν , α 0 , m max , L ) (\nu,\alpha_0,m_{\max},L) ( ν , α 0 , m m a x , L ) in case ( a ) (a) ( a ) , and on none of κ ~ \widetilde{\kappa} κ , b i n b_{\mathrm{in}} b in , N N N , M M M and b a r i t h b_{\mathrm{arith}} b arith in case ( b ) (b) ( b ) .
(iii) Adapter cost. The case ( b ) (b) ( b ) adapter uses O ( ( b i n + log δ min − 1 + b a r i t h ) b a r i t h 2 + b a r i t h 3 ) O((b_{\mathrm{in}}+\log\delta_{\min}^{-1}+b_{\mathrm{arith}})b_{\mathrm{arith}}^2+b_{\mathrm{arith}}^3) O (( b in + log δ m i n − 1 + b arith ) b arith 2 + b arith 3 ) Clifford+T T T gates.
Proposition 5 is a direct consequence.
Proof. Part (i) analyzes the scenario oracle. For parts (ii) and (iii), Steps 1 to 3 bound the polynomial approximation error of each angle on its sub-bins, and Step 4 bounds the rounding error of the fixed-point evaluation.
Part (i): the scenario oracle. Let G ( ℓ ) = S ( ℓ ) V ( ℓ ) m o d 2 ∈ F 2 B c o o r d × n M G^{(\ell)}=S^{(\ell)}V^{(\ell)}\bmod2\in\mathbb{F}_2^{B_{\mathrm{coord}}\times n_M} G ( ℓ ) = S ( ℓ ) V ( ℓ ) mod 2 ∈ F 2 B coord × n M and σ ( ℓ ) ∈ F 2 B c o o r d \sigma^{(\ell)}\in\mathbb{F}_2^{B_{\mathrm{coord}}} σ ( ℓ ) ∈ F 2 B coord be the scrambled Sobol’ generator matrix and shift. Computing d s , ℓ = G 1 : B n e t ( ℓ ) σ 1 : B n e t ( ℓ ) d_{s,\ell}=G^{(\ell)}_{1:B_{\mathrm{net}}} \sigma^{(\ell)}_{1:B_{\mathrm{net}}} d s , ℓ = G 1 : B net ( ℓ ) σ 1 : B net ( ℓ ) into B n e t B_{\mathrm{net}} B net clean wires uses at most B n e t n M B_{\mathrm{net}}n_M B net n M CX gates and B n e t B_{\mathrm{net}} B net X gates; extracting neg s , ℓ = 1 ⊕ d s , ℓ , 1 \operatorname{neg}_{s,\ell}=1\oplus d_{s,\ell,1} neg s , ℓ = 1 ⊕ d s , ℓ , 1 and complementing d s , ℓ , 2 : B n e t d_{s,\ell,2:B_{\mathrm{net}}} d s , ℓ , 2 : B net via B n e t − 1 B_{\mathrm{net}}-1 B net − 1 CX gates yields ∣ 2 x s , ℓ − 1 ∣ = ∑ j = 2 B c o o r d 2 − ( j − 1 ) ( d s , ℓ , j ⊕ neg s , ℓ ) + 2 − B c o o r d |2x_{s,\ell}-1|=\sum_{j=2}^{B_{\mathrm{coord}}}2^{-(j-1)}(d_{s,\ell,j}\oplus\operatorname{neg}_{s,\ell})+2^{-B_{\mathrm{coord}}} ∣2 x s , ℓ − 1∣ = ∑ j = 2 B coord 2 − ( j − 1 ) ( d s , ℓ , j ⊕ neg s , ℓ ) + 2 − B coord with zero Toffoli gates. Accumulating the top B n e t − 1 B_{\mathrm{net}}-1 B net − 1 dyadic weights with g c s = 2 + ⌈ log 2 ( B n e t + 2 ) ⌉ g_{\mathrm{cs}}=2+\lceil\log_2(B_{\mathrm{net}}+2)\rceil g cs = 2 + ⌈ log 2 ( B net + 2 )⌉ guard bits bounds the combined tail (< 2 − ( q p r o d + 2 ) <2^{-(q_{\mathrm{prod}}+2)} < 2 − ( q prod + 2 ) ), weight-rounding (≤ 1 2 2 − q p r o d \leq\frac{1}{2}2^{-q_{\mathrm{prod}}} ≤ 2 1 2 − q prod ), and output-rounding (1 2 2 − q p r o d \frac{1}{2}2^{-q_{\mathrm{prod}}} 2 1 2 − q prod ) errors by 2 − q p r o d ≤ 1 2 2 − b a r i t h 2^{-q_{\mathrm{prod}}}\leq\frac{1}{2}2^{-b_{\mathrm{arith}}} 2 − q prod ≤ 2 1 2 − b arith , with Toffoli/T T T count determined solely by ( B n e t , q p r o d ) (B_{\mathrm{net}},q_{\mathrm{prod}}) ( B net , q prod ) and hence independent of M M M whenever B c o o r d ≥ q p r o d + 2 B_{\mathrm{coord}}\geq q_{\mathrm{prod}}+2 B coord ≥ q prod + 2 .
Parts (ii) and (iii), approximation error. Map each sub-bin z ∈ [ 0 , 1 ] z\in[0,1] z ∈ [ 0 , 1 ] (s ∈ { 0 , … , 7 } s\in\{0,\ldots,7\} s ∈ { 0 , … , 7 } ) to t = 2 z − 1 ∈ [ − 1 , 1 ] t=2z-1\in[-1,1] t = 2 z − 1 ∈ [ − 1 , 1 ] and let E ρ = { t = 1 2 ( w + w − 1 ) : ∣ w ∣ = ρ } E_\rho=\{t=\frac{1}{2}(w+w^{-1}):|w|=\rho\} E ρ = { t = 2 1 ( w + w − 1 ) : ∣ w ∣ = ρ } be the Bernstein ellipse of parameter ρ > 1 \rho>1 ρ > 1 .
Step 1 (β w \beta_w β w and θ E \theta_E θ E for all N N N ). K = 0 K=0 K = 0 is loaded at a single point, and for octaves e ∈ { 0 , 1 , 2 , 3 } e\in\{0,1,2,3\} e ∈ { 0 , 1 , 2 , 3 } (2 e ≤ 8 2^e\leq8 2 e ≤ 8 ), K = 2 e ( 1 + ( s + z ) / 8 ) ∈ Z K=2^e(1+(s+z)/8)\in\mathbb{Z} K = 2 e ( 1 + ( s + z ) /8 ) ∈ Z holds for at most one point (z = 0 z=0 z = 0 ) per sub-bin, so exact constant loading has zero polynomial error. For every octave e ≥ 4 e\geq4 e ≥ 4 (2 e / 8 ≥ 2 2^e/8\geq2 2 e /8 ≥ 2 ), on E 16 E_{16} E 16 (ρ 1 = 16 = 2 4 \rho_1=16=2^4 ρ 1 = 16 = 2 4 ) we have ∣ t ∣ ≤ 1 2 ( 16 + 1 16 ) = 8.03125 |t|\leq\frac{1}{2}(16+\frac{1}{16})=8.03125 ∣ t ∣ ≤ 2 1 ( 16 + 16 1 ) = 8.03125 , so Re ( z ) ≥ − 3.515625 \operatorname{Re}(z)\geq-3.515625 Re ( z ) ≥ − 3.515625 and Re ( 8 + s + z ) ≥ 4.484375 \operatorname{Re}(8+s+z)\geq4.484375 Re ( 8 + s + z ) ≥ 4.484375 . Consequently, for W e ( z ) : = ν 8 ( 8 + s + z ) + α 0 W_e(z):=\frac{\nu}{8}(8+s+z)+\alpha_0 W e ( z ) := 8 ν ( 8 + s + z ) + α 0 ,
Re W e ( z ) ≥ 2 ν ( 4.484375 ) + α 0 = 8.96875 ν + α 0 > ν + α 0 > 0 \operatorname{Re}W_e(z)\geq2\nu(4.484375)+\alpha_0=8.96875\nu+\alpha_0>\nu+\alpha_0>0 Re W e ( z ) ≥ 2 ν ( 4.484375 ) + α 0 = 8.96875 ν + α 0 > ν + α 0 > 0
for e ≥ 4 e\geq4 e ≥ 4 , s ∈ { 0 , … , 7 } s\in\{0,\ldots,7\} s ∈ { 0 , … , 7 } and t ∈ E 16 t\in E_{16} t ∈ E 16 . Because Re X > γ > 0 \operatorname{Re}X>\gamma>0 Re X > γ > 0 implies both Re ( γ / X ) > 0 \operatorname{Re}(\gamma/X)>0 Re ( γ / X ) > 0 and Re ( 1 − γ / X ) ≥ 1 − γ / Re X > 0 \operatorname{Re}(1-\gamma/X)\geq1-\gamma/\operatorname{Re}X>0 Re ( 1 − γ / X ) ≥ 1 − γ / Re X > 0 , both ζ w = α 0 / W e ( z ) \zeta_w=\alpha_0/W_e(z) ζ w = α 0 / W e ( z ) and ζ E = ( ν + α 0 ) / W e ( z ) \zeta_E=(\nu+\alpha_0)/W_e(z) ζ E = ( ν + α 0 ) / W e ( z ) remain uniformly bounded away from the branch cuts ( − ∞ , 0 ] ∪ [ 1 , ∞ ) (-\infty,0]\cup[1,\infty) ( − ∞ , 0 ] ∪ [ 1 , ∞ ) of arccos ζ \arccos\sqrt{\zeta} arccos ζ and arcsin ζ \arcsin\sqrt{\zeta} arcsin ζ across all e ≥ 4 e\geq4 e ≥ 4 and t ∈ E 16 t\in E_{16} t ∈ E 16 , with sup e ≥ 4 , s , t ∈ E 16 { ∣ β w ∣ , ∣ θ E ∣ } = : M 1 ( ν , α 0 ) < ∞ \sup_{e\geq4,s,t\in E_{16}}\{|\beta_w|,|\theta_E|\}=:M_1(\nu,\alpha_0)<\infty sup e ≥ 4 , s , t ∈ E 16 { ∣ β w ∣ , ∣ θ E ∣ } =: M 1 ( ν , α 0 ) < ∞ independent of e e e (and hence of N N N ). With D = max { 1 , ⌊ ( b a r i t h − 1 ) / 4 ⌋ } D=\max\{1,\lfloor(b_{\mathrm{arith}}-1)/4\rfloor\} D = max { 1 , ⌊( b arith − 1 ) /4 ⌋} , 16 − ( D + 1 ) ≤ 2 − b a r i t h 16^{-(D+1)}\leq2^{-b_{\mathrm{arith}}} 1 6 − ( D + 1 ) ≤ 2 − b arith , so standard Chebyshev interpolation bounds give sup z ∈ [ 0 , 1 ] ∣ f ( z ) − P D ( z ) ∣ ≤ 2 M 1 15 2 − b a r i t h \sup_{z\in[0,1]}|f(z)-P_D(z)|\leq\frac{2M_1}{15}2^{-b_{\mathrm{arith}}} sup z ∈ [ 0 , 1 ] ∣ f ( z ) − P D ( z ) ∣ ≤ 15 2 M 1 2 − b arith .
Step 2 (θ p r o d \theta_{\mathrm{prod}} θ prod and ∣ cos ( π u ) ∣ |\cos(\pi u)| ∣ cos ( π u ) ∣ ). On E 16 E_{16} E 16 , ∣ Im ( ( s + z ) / 8 ) ∣ ≤ 16 − 1 / 16 32 = 0.49805 < 1 |\operatorname{Im}((s+z)/8)|\leq\frac{16-1/16}{32}=0.49805<1 ∣ Im (( s + z ) /8 ) ∣ ≤ 32 16 − 1/16 = 0.49805 < 1 , avoiding the branch points ± i \pm i ± i of arctan \arctan arctan , while on each sub-bin s ∈ { 0 , … , 3 } s\in\{0,\ldots,3\} s ∈ { 0 , … , 3 } (resp. s ∈ { 4 , … , 7 } s\in\{4,\ldots,7\} s ∈ { 4 , … , 7 } ), ∣ cos ( π ( s + z ) / 8 ) ∣ = + cos ( π ( s + z ) / 8 ) |\cos(\pi(s+z)/8)|=+\cos(\pi(s+z)/8) ∣ cos ( π ( s + z ) /8 ) ∣ = + cos ( π ( s + z ) /8 ) (resp. − cos ( π ( s + z ) / 8 ) -\cos(\pi(s+z)/8) − cos ( π ( s + z ) /8 ) ) is entire on C \mathbb{C} C because the sign change at π / 2 \pi/2 π /2 falls on the sub-bin boundary (s = 4 , z = 0 s=4,z=0 s = 4 , z = 0 ).
Step 3 (β α \beta_\alpha β α on E 8 E_8 E 8 , cases ( a ) (a) ( a ) and ( b ) (b) ( b ) ). In case ( a ) (a) ( a ) , ∣ Im s ∣ ≤ m max < 0.75 = 6 / 8 |\operatorname{Im}s|\leq m_{\max}<0.75=6/8 ∣ Im s ∣ ≤ m m a x < 0.75 = 6/8 , so on E 8 E_8 E 8 (ρ 2 = 8 = 2 3 \rho_2=8=2^3 ρ 2 = 8 = 2 3 ) for s ∈ { 0 , … , 5 } s\in\{0,\ldots,5\} s ∈ { 0 , … , 5 } we have Re ( z ) ∈ [ − 1.53125 , 2.53125 ] \operatorname{Re}(z)\in[-1.53125,2.53125] Re ( z ) ∈ [ − 1.53125 , 2.53125 ] , keeping ( s + z ) / 8 (s+z)/8 ( s + z ) /8 at distance > 0.05 >0.05 > 0.05 from ( − ∞ , − 1 ] ∪ [ 1 , ∞ ) (-\infty,-1]\cup[1,\infty) ( − ∞ , − 1 ] ∪ [ 1 , ∞ ) . In case ( b ) (b) ( b ) , for any 0 < r max / r b e < 1 0<r_{\max}/r_{\mathrm{be}}<1 0 < r m a x / r be < 1 , every bin-independent input α ∈ { 0 , … , 2 b i n − 1 } \alpha\in\{0,\ldots,2^{b_{\mathrm{in}}}-1\} α ∈ { 0 , … , 2 b in − 1 } has each u e x ( α ) = 1 − r max ( α ) / r b e > δ min = 1 − r max / r b e > 0 u_{\mathrm{ex}}(\alpha)=1-r_{\max}(\alpha)/r_{\mathrm{be}}>\delta_{\min}=1-r_{\max}/r_{\mathrm{be}}>0 u ex ( α ) = 1 − r m a x ( α ) / r be > δ m i n = 1 − r m a x / r be > 0 . Accumulating the top B e f f = min { b i n , q m + 3 } B_{\mathrm{eff}}=\min\{b_{\mathrm{in}},q_m+3\} B eff = min { b in , q m + 3 } dyadic weights with g a c c = 3 + ⌈ log 2 ( B e f f + 2 ) ⌉ g_{\mathrm{acc}}=3+\lceil\log_2(B_{\mathrm{eff}}+2)\rceil g acc = 3 + ⌈ log 2 ( B eff + 2 )⌉ guard bits produces u ~ = U i n t 2 − q m \widetilde{u}=U_{\mathrm{int}}2^{-q_m} u = U int 2 − q m (U i n t ∈ { 1 , … , 2 q m } U_{\mathrm{int}}\in\{1,\ldots,2^{q_m}\} U int ∈ { 1 , … , 2 q m } ) satisfying ∣ u ~ − u e x ∣ < 2 − q m ≤ 1 4 δ min |\widetilde{u}-u_{\mathrm{ex}}|<2^{-q_m}\leq\frac{1}{4}\delta_{\min} ∣ u − u ex ∣ < 2 − q m ≤ 4 1 δ m i n , so u ~ ≥ 3 4 δ min ≥ 3 ⋅ 2 − q m \widetilde{u}\geq\frac{3}{4}\delta_{\min}\geq3\cdot2^{-q_m} u ≥ 4 3 δ m i n ≥ 3 ⋅ 2 − q m never underflows and, since d d u [ 4 arcsin u / 2 ] = 2 / u ( 2 − u ) ≤ 2 / u \frac{d}{du}[4\arcsin\sqrt{u/2}]=\sqrt{2}/\sqrt{u(2-u)}\leq\sqrt{2/u} d u d [ 4 arcsin u /2 ] = 2 / u ( 2 − u ) ≤ 2/ u , perturbs 4 arcsin u / 2 4\arcsin\sqrt{u/2} 4 arcsin u /2 by < 8 / ( 3 δ min ) 2 − q m < 1 8 2 − b a r i t h <\sqrt{8/(3\delta_{\min})}2^{-q_m}<\frac{1}{8}2^{-b_{\mathrm{arith}}} < 8/ ( 3 δ m i n ) 2 − q m < 8 1 2 − b arith independently of κ ~ \widetilde{\kappa} κ . Writing u ~ = 2 − ( e + 1 ) ( 1 + ( s + z ) / 8 ) \widetilde{u}=2^{-(e+1)}(1+(s+z)/8) u = 2 − ( e + 1 ) ( 1 + ( s + z ) /8 ) via leading-bit priority encoding over q m + 1 q_m+1 q m + 1 bits (e ∈ { 1 , … , q m } e\in\{1,\ldots,q_m\} e ∈ { 1 , … , q m } ), except exact point values of U i n t = 1 U_{\mathrm{int}}=1 U int = 1 and constant π \pi π at U i n t = 2 q m U_{\mathrm{int}}=2^{q_m} U int = 2 q m , on E 8 E_8 E 8 every e ≥ 1 e\geq1 e ≥ 1 and s ∈ { 0 , … , 7 } s\in\{0,\ldots,7\} s ∈ { 0 , … , 7 } satisfies Re ( 1 + ( s + z ) / 8 ) ≥ 8 − 1.53125 8 = 0.80859 > 0 \operatorname{Re}(1+(s+z)/8)\geq\frac{8-1.53125}{8}=0.80859>0 Re ( 1 + ( s + z ) /8 ) ≥ 8 8 − 1.53125 = 0.80859 > 0 (avoiding ( − ∞ , 0 ] (-\infty,0] ( − ∞ , 0 ] of ⋅ \sqrt{\cdot} ⋅ ) and ∣ ζ e , s ( z ) ∣ : = 2 − ( e + 1 ) ∣ 1 + ( s + z ) / 8 ∣ ≤ 17.53125 32 = 0.54785 < 1 |\zeta_{e,s}(z)|:=2^{-(e+1)}|1+(s+z)/8|\leq\frac{17.53125}{32}=0.54785<1 ∣ ζ e , s ( z ) ∣ := 2 − ( e + 1 ) ∣1 + ( s + z ) /8∣ ≤ 32 17.53125 = 0.54785 < 1 , whence ∣ ζ e , s ( z ) ∣ < 0.741 < 1 |\sqrt{\zeta_{e,s}(z)}|<0.741<1 ∣ ζ e , s ( z ) ∣ < 0.741 < 1 avoids ( − ∞ , − 1 ] ∪ [ 1 , ∞ ) (-\infty,-1]\cup[1,\infty) ( − ∞ , − 1 ] ∪ [ 1 , ∞ ) and sup e ≥ 1 , 0 ≤ s ≤ 7 , t ∈ E 8 ∣ 4 arcsin ζ e , s ( z ) ∣ ≤ 4 arcsin ( 0.741 ) < 3.35 = : M a c o s \sup_{e\geq1,0\leq s\leq7,t\in E_8}|4\arcsin\sqrt{\zeta_{e,s}(z)}|\leq4\arcsin(0.741)<3.35=:M_{\mathrm{acos}} sup e ≥ 1 , 0 ≤ s ≤ 7 , t ∈ E 8 ∣4 arcsin ζ e , s ( z ) ∣ ≤ 4 arcsin ( 0.741 ) < 3.35 =: M acos is a universal constant independent of e e e and κ ~ \widetilde{\kappa} κ . In both cases, D a c o s = max { 1 , ⌈ ( b a r i t h − 1 ) / 3 ⌉ } D_{\mathrm{acos}}=\max\{1,\lceil(b_{\mathrm{arith}}-1)/3\rceil\} D acos = max { 1 , ⌈( b arith − 1 ) /3 ⌉} satisfies 8 − ( D a c o s + 1 ) ≤ 2 − b a r i t h 8^{-(D_{\mathrm{acos}}+1)}\leq2^{-b_{\mathrm{arith}}} 8 − ( D acos + 1 ) ≤ 2 − b arith , while priority encoding and coefficient loading across 8 q m 8q_m 8 q m pairs use O ( q m b a r i t h 2 ) O(q_m b_{\mathrm{arith}}^2) O ( q m b arith 2 ) gates plus O ( B e f f q m + b a r i t h 3 ) O(B_{\mathrm{eff}}q_m+b_{\mathrm{arith}}^3) O ( B eff q m + b arith 3 ) for accumulation and Horner steps.
Part (ii), rounding error. Step 4 (rounding in Horner’s rule). By Cauchy’s estimate inside E ρ E_\rho E ρ , sup D , z ∈ [ 0 , 1 ] ∣ P D ′ ( z ) ∣ ≤ L f < ∞ \sup_{D,z\in[0,1]}|P_D'(z)|\leq L_f<\infty sup D , z ∈ [ 0 , 1 ] ∣ P D ′ ( z ) ∣ ≤ L f < ∞ is independent of D D D , so mantissa/division truncation ∣ z ~ − z ∣ ≤ 2 − q ≤ 2 − ( b a r i t h − 1 ) |\widetilde{z}-z|\leq2^{-q}\leq2^{-(b_{\mathrm{arith}}-1)} ∣ z − z ∣ ≤ 2 − q ≤ 2 − ( b arith − 1 ) perturbs P D ( z ~ ) P_D(\widetilde{z}) P D ( z ) by ≤ 2 L f 2 − b a r i t h \leq2L_f2^{-b_{\mathrm{arith}}} ≤ 2 L f 2 − b arith . In register width w = b o u t + g b i t s w=b_{\mathrm{out}}+g_{\mathrm{bits}} w = b out + g bits , each of the D s t a b D_{\mathrm{stab}} D stab Horner multiply-accumulate steps on z ~ ∈ [ 0 , 1 ] \widetilde{z}\in[0,1] z ∈ [ 0 , 1 ] multiplies prior error by z ~ < 1 \widetilde{z}<1 z < 1 and injects at most 3 2 ULP w \frac{3}{2}\operatorname{ULP}_w 2 3 ULP w (coefficient rounding plus single post-shift truncation). Because 2 g b i t s ≥ 8 ( D s t a b + 2 ) 2^{g_{\mathrm{bits}}}\geq8(D_{\mathrm{stab}}+2) 2 g bits ≥ 8 ( D stab + 2 ) , the total accumulated Horner rounding error satisfies
∑ d = 0 D s t a b − 1 z ~ d ( 3 2 4 π 2 w ) ≤ 3 π ( D s t a b + 1 ) 2 g b i t s 2 − b a r i t h < 3 π 8 2 − b a r i t h , \sum_{d=0}^{D_{\mathrm{stab}}-1}\widetilde{z}^{d}\left(\frac{3}{2}\frac{4\pi}{2^w}\right)\leq\frac{3\pi(D_{\mathrm{stab}}+1)}{2^{g_{\mathrm{bits}}}}\;2^{-b_{\mathrm{arith}}}<\frac{3\pi}{8}2^{-b_{\mathrm{arith}}}, d = 0 ∑ D stab − 1 z d ( 2 3 2 w 4 π ) ≤ 2 g bits 3 π ( D stab + 1 ) 2 − b arith < 8 3 π 2 − b arith ,
canceling the linear D s t a b D_{\mathrm{stab}} D stab growth, and final rounding to b o u t b_{\mathrm{out}} b out bits adds at most π 2 − b a r i t h \pi2^{-b_{\mathrm{arith}}} π 2 − b arith . Summing the polynomial, mantissa, Horner, and output-rounding bounds establishes (27) , while gate-by-gate uncomputation restores every clean ancilla wire to ∣ 0 ⟩ |0\rangle ∣0 ⟩ . ∎
Gate Cost of a Block-Encoding Call
This subsection lists the arithmetic components of one block-encoding call and their gate counts; summing them gives (26) . The circuit computes three angles directly from ( ν , α 0 , r b e ) (\nu, \alpha_0, r_{\mathrm{be}}) ( ν , α 0 , r be ) :
β w ( ∣ k ∣ 2 ) = 2 arccos α 0 ν ∣ k ∣ 2 + α 0 ( β w ( 0 ) = π ) , ϕ r o t ( k x , k y ) = 2 arctan 2 ( k x , k y ) ( d = 2 ) , β α ( s , x ) = 2 arccos α s ( x ) − α 0 r b e α 0 . \begin{aligned}
\beta_w(|k|^2) &= 2\arccos\sqrt{\frac{\alpha_0}{\nu|k|^2+\alpha_0}} \quad(\beta_w(0)=\pi), \qquad\phi_{\mathrm{rot}}(k_x,k_y)=2\arctan2(k_x,k_y) \quad(d=2),\\
\beta_\alpha(s,x) &= 2\arccos\frac{\alpha_s(x)-\alpha_0}{r_{\mathrm{be}}\alpha_0}.
\end{aligned} β w ( ∣ k ∣ 2 ) β α ( s , x ) = 2 arccos ν ∣ k ∣ 2 + α 0 α 0 ( β w ( 0 ) = π ) , ϕ rot ( k x , k y ) = 2 arctan 2 ( k x , k y ) ( d = 2 ) , = 2 arccos r be α 0 α s ( x ) − α 0 .
Wavenumber squaring. Two’s-complement squaring ∣ k ∣ 2 = ∑ j = 1 d k j 2 |k|^2=\sum_{j=1}^{d}k_j^2 ∣ k ∣ 2 = ∑ j = 1 d k j 2 with Cuccaro ripple-carry adders [34 ] uses O ( d ( log N ) 2 ) O(d(\log N)^2) O ( d ( log N ) 2 ) Toffoli gates.
Octave normalization. A priority encoder over the 2 log 2 N + 1 2\log_2 N+1 2 log 2 N + 1 octaves of ∣ k ∣ 2 |k|^2 ∣ k ∣ 2 selects the Chebyshev coefficients of the local approximation in O ( d log N ⋅ b a r i t h 2 ) O(d\log N\cdot b_{\mathrm{arith}}^2) O ( d log N ⋅ b arith 2 ) gates.
Polynomial evaluation. On each of 8 sub-bins per octave, a Chebyshev polynomial of degree D = Θ ( b a r i t h ) D=\Theta(b_{\mathrm{arith}}) D = Θ ( b arith ) is evaluated by signed shift-and-add Horner steps over Θ ( b a r i t h ) \Theta(b_{\mathrm{arith}}) Θ ( b arith ) -bit registers, in O ( b a r i t h 3 ) O(b_{\mathrm{arith}}^3) O ( b arith 3 ) gates and without 2 Θ ( b a r i t h ) 2^{\Theta(b_{\mathrm{arith}})} 2 Θ ( b arith ) lookup tables [37 ] .
Frame angle. Reversible restoring division for arctan 2 \arctan2 arctan 2 uses O ( log N ⋅ b a r i t h ) O(\log N\cdot b_{\mathrm{arith}}) O ( log N ⋅ b arith ) gates.
Drag evaluation. Coherent evaluation of α s ( x ) \alpha_s(x) α s ( x ) across the L ( ϵ ) L(\epsilon) L ( ϵ ) modes adds
O ( L ( ϵ ) ( polylog ( M , 1 / η K ) + d log N + b a r i t h 3 ) ) O\left(L(\epsilon)\left(\operatorname{polylog}(M,1/\eta_K)+d\log N+b_{\mathrm{arith}}^3\right)\right) O ( L ( ϵ ) ( polylog ( M , 1/ η K ) + d log N + b arith 3 ) )
gates.
Rotation synthesis. The O ( b a r i t h ) O(b_{\mathrm{arith}}) O ( b arith ) dyadic single-qubit R y / R z R_y/R_z R y / R z kickback rotations are synthesized into Clifford+T T T gates by the method of Ross and Selinger [36 ] , at cost O ( b a r i t h log ( b a r i t h / η K ) ) O(b_{\mathrm{arith}}\log(b_{\mathrm{arith}}/\eta_K)) O ( b arith log ( b arith / η K )) .
All arithmetic workspace is uncomputed to ∣ 0 ⟩ |0\rangle ∣0 ⟩ after each kickback stage, which gives the ancilla count O ( d log N + b a r i t h 2 ) O(d\log N+b_{\mathrm{arith}}^2) O ( d log N + b arith 2 ) . With a scrambled Sobol’ digital net, O c o e f f O_{\mathrm{coeff}} O coeff computes each c s , ℓ / ( r b e α 0 ) c_{s,\ell}/(r_{\mathrm{be}}\alpha_0) c s , ℓ / ( r be α 0 ) from the log 2 M \log_2 M log 2 M qubits of ∣ s ⟩ |s\rangle ∣ s ⟩ in O ( ( log M ) b a r i t h + b a r i t h 2 ) O((\log M)b_{\mathrm{arith}}+b_{\mathrm{arith}}^2) O (( log M ) b arith + b arith 2 ) gates; one-hot multiplexing of an unstructured table would need O ( M b a r i t h ) O(Mb_{\mathrm{arith}}) O ( M b arith ) gates and O ( M ) O(M) O ( M ) temporary wires.
Controlled Operations and Source Preparation
The QSVT sequence applies coherent six-qubit branch phase gates on the registers ( q l c u , a B E ) (q_{\mathrm{lcu}},a_{\mathrm{BE}}) ( q lcu , a BE ) . The single controlled call needed for the odd branch is implemented by the conjugation
Λ 1 ( U ~ B E ) = Λ 1 ( S W A P ) Λ 1 ( U W , L ) B † Λ 1 ( U r e f l , α ) B Λ 1 ( U W , R ) , B = ( I a n c ⊗ F d † ) U r o t . \Lambda_1(\widetilde{U}_{\mathrm{BE}})=\Lambda_1(\mathrm{SWAP})\,\Lambda_1(U_{W,L})\,B^\dagger\,\Lambda_1(U_{\mathrm{refl},\alpha})\,B\,\Lambda_1(U_{W,R}),\qquad B=(I_{\mathrm{anc}}\otimes F_d^\dagger)U_{\mathrm{rot}}. Λ 1 ( U BE ) = Λ 1 ( SWAP ) Λ 1 ( U W , L ) B † Λ 1 ( U refl , α ) B Λ 1 ( U W , R ) , B = ( I anc ⊗ F d † ) U rot .
so that the Fourier transforms and the frame rotation need no control. The Grover reflections use linear-Toffoli multi-controlled gates [33 ] . In d = 2 d=2 d = 2 the system register has 2 log 2 N + log 2 M + 8 2\log_2 N+\log_2 M+8 2 log 2 N + log 2 M + 8 qubits. When b s b_s b s is supported on ∣ k ∣ 2 ≤ 2 |k|^2\le2 ∣ k ∣ 2 ≤ 2 , the source preparation reduces to 30 + 2 ( log 2 N − 2 ) = O ( log N ) 30+2(\log_2 N-2)=O(\log N) 30 + 2 ( log 2 N − 2 ) = O ( log N ) elementary { R Y , C X } \{\mathrm{RY},\mathrm{CX}\} { RY , CX } gates by two’s-complement sign extension.
Comparison with Reduced-Order Classical Solvers
Detailed Numerical Verification
The main text reports the numerical trends that bear on the theory. This appendix records the test configurations and numerical values needed to reproduce and assess those observations. We separate PDE-level checks, gate-by-gate statevector simulations, and circuit audits so that each result is interpreted at the level actually tested. Table 8 validates the polar Riesz reduction, Table 9 and Table 10 concern amplitude amplification and sampling, and Table 11 to Table 15 give the size of the emitted Model II circuits. In the subcircuit tests of § 8.2 , the wavenumber-squaring circuits had 908 gates (2D ∣ k ∣ 2 |k|^2 ∣ k ∣ 2 at N = 4 N = 4 N = 4 ) and 717 gates (1D k x 2 k_x^2 k x 2 at N = 8 N = 8 N = 8 ), both on 17 qubits, and the 18-qubit compute–kickback–uncompute circuit had 1,836 gates; all matched the exact action to 5.6 × 10 − 15 5.6 \times10^{-15} 5.6 × 1 0 − 15 and agreed with our unitary extractor to 4.5 × 10 − 15 4.5 \times10^{-15} 4.5 × 1 0 − 15 .
Table 8. Numerical validation of the constrained polar Riesz reduction (Propositions 1 and 2).
Table 9: Grover law on the reduced statevector (scenario and flag registers) for the model ensemble at N = 4 N = 4 N = 4 , M = 16 M = 16 M = 16 with a degree-two polynomial inverse.
Table 9.
Table 10: Equal-call RMSE comparison between MLQAE and classical sampling across 180 independent trials (a = 0.3206 a = 0.3206 a = 0.3206 ).
Table 10.
Table 11: Size of the emitted Model II circuit for the runs of Table 7 .
Table 11.
Table 15. Full circuit A \mathcal{A} A for the runs of Table 14 . The T T T -count does not change with M M M .
Circuit Correctness Tests
Constraint elimination. Dense linear-algebra tests of Propositions 1 and 2 for constrained spaces of dimension up to 16 (Table 8 ) give constraint residuals, isometry defects, projector gaps and saddle-point discrepancies at double-precision roundoff (at most 3 × 10 − 15 3 \times10^{-15} 3 × 1 0 − 15 ). The bias bound (7) held in all 200 random four-stage contraction chains.
Stokes benchmark. A spectral discretization of the Stokes family of Theorem 3 at N = 64 N = 64 N = 64 with 257 hidden-bit scenarios reproduces g s = z s g_s = z_s g s = z s to 4.4 × 10 − 16 4.4 \times10^{-16} 4.4 × 1 0 − 16 , with zero discrete divergence and Stokes residual 3.2 × 10 − 13 3.2 \times10^{-13} 3.2 × 1 0 − 13 .
Amplitude amplification. For a model ensemble on the N = 4 N = 4 N = 4 wavenumber grid (M = 16 M = 16 M = 16 ), whose scenario probabilities are a degree-two dyadic Chebyshev approximation of the inverse amplitude, the reduced statevector on the scenario and flag registers follows the Grover law sin 2 ( ( 2 m + 1 ) θ ) \sin^2((2m + 1)\theta) sin 2 (( 2 m + 1 ) θ ) for m ∈ { 0 , 1 , 2 , 4 } m \in\{0, 1, 2, 4\} m ∈ { 0 , 1 , 2 , 4 } to 10 − 15 10^{-15} 1 0 − 15 (Table 9 ). This checks the reflections used by amplitude estimation; it is not a gate-level circuit simulation, which is reported separately below.
Model I circuit. To check the full multi-scenario circuit without matrix diagonalization or classical FFT shortcuts, we compiled A A A (Model I) into elementary { H , Z , P , R Y , R Z , C X } \{H, Z, P, RY, RZ, CX\} { H , Z , P , R Y , R Z , C X } gates at N = 4 N = 4 N = 4 , M = 16 M = 16 M = 16 (16 qubits, 14,475 gates) and N = 8 N = 8 N = 8 , M = 16 M = 16 M = 16 (18 qubits, 48,737 gates). The low-wavenumber forcing (∣ k ∣ 2 ≤ 2 |k|^2 \le2 ∣ k ∣ 2 ≤ 2 ) is prepared by a two’s-complement sign-extension circuit of 29 gates at N = 4 N = 4 N = 4 and 31 gates at N = 8 N = 8 N = 8 , with error 3 × 10 − 16 3 \times10^{-16} 3 × 1 0 − 16 . In all Brinkman experiments the reduced forcing is b ∝ ∑ j = 1 6 j − 1 e k j b \propto\sum_{j=1}^{6}j^{-1}e_{k_j} b ∝ ∑ j = 1 6 j − 1 e k j with ( k 1 , … , k 6 ) = ( ( 0 , 1 ) , ( − 1 , 0 ) , ( 1 , 0 ) , ( 0 , − 1 ) , ( − 1 , 1 ) , ( 1 , − 1 ) ) (k_1,\ldots,k_6) = ((0,1),(-1,0),(1,0),(0,-1),(-1,1),(1,-1)) ( k 1 , … , k 6 ) = (( 0 , 1 ) , ( − 1 , 0 ) , ( 1 , 0 ) , ( 0 , − 1 ) , ( − 1 , 1 ) , ( 1 , − 1 )) for N ≥ 8 N \ge8 N ≥ 8 and ( 0 , 1 ) , ( − 1 , 0 ) , ( 1 , 0 ) , ( 0 , − 1 ) , ( − 1 , 1 ) , ( 1 , 1 ) (0,1),(-1,0),(1,0),(0,-1),(-1,1),(1,1) ( 0 , 1 ) , ( − 1 , 0 ) , ( 1 , 0 ) , ( 0 , − 1 ) , ( − 1 , 1 ) , ( 1 , 1 ) for N = 4 N = 4 N = 4 . These lists are fixed in the code rather than produced by sorting ∣ k ∣ 2 |k|^2 ∣ k ∣ 2 , whose ties would otherwise make the choice depend on the sort implementation. Any six modes with ∣ k ∣ 2 ≤ 2 |k|^2 \le2 ∣ k ∣ 2 ≤ 2 satisfy (A2). The coefficients are not symmetric under k ↦ − k k \mapsto-k k ↦ − k , so this forcing is complex-valued; Lemma 5 does not require a real forcing. Applying A A A and then A † A^\dagger A † to the 262,144-amplitude statevector returns to ∣ 0 18 ⟩ |0^{18}\rangle ∣ 0 18 ⟩ with residual 1.4 × 10 − 13 1.4 \times10^{-13} 1.4 × 1 0 − 13 . The mean good-subspace probability is p ˉ g o o d = 0.023 \bar{p}_{\mathrm{good}} = 0.023 p ˉ good = 0.023 , and the smallest scenario value, 0.022, exceeds the analytic lower bound 0.0097 of (30) . Multiplying by B n o r m = 15.0 B_{\mathrm{norm}} = 15.0 B norm = 15.0 recovers the ensemble kinetic energy 0.341, which differs from the classical PDE value by 1.4 × 10 − 8 1.4 \times10^{-8} 1.4 × 1 0 − 8 . With the good-state reflection (338 Clifford+T T T gates) and the zero-state reflection (1,371 gates at N = 8 N = 8 N = 8 ) built from linear-Toffoli constructions [33 ] , gate-by-gate execution of C m A ∣ 0 18 ⟩ C^mA|0^{18}\rangle C m A ∣ 0 18 ⟩ for m ∈ { 0 , 1 , 2 , 4 } m \in\{0,1,2,4\} m ∈ { 0 , 1 , 2 , 4 } gives probabilities 0.023, 0.19, 0.47 and 0.96, which agree with sin 2 ( ( 2 m + 1 ) θ ) \sin^2((2m+1)\theta) sin 2 (( 2 m + 1 ) θ ) to 1.3 × 10 − 12 1.3 \times10^{-12} 1.3 × 1 0 − 12 .
Numerical agreement with Model I. The Gray-code circuit (Model I) uses only 16 to 18 qubits at N = 4 , 8 N = 4, 8 N = 4 , 8 , but its gate count grows as Θ ( M N 2 ) \Theta(MN^2) Θ ( M N 2 ) in two dimensions. Model II replaces the angle tables by reversible fixed-point arithmetic that computes ∣ k ∣ 2 |k|^2 ∣ k ∣ 2 , the scenario coefficients, and the four angles β w , θ E , ϕ r o t , β α \beta_w,\theta_E,\phi_{\mathrm{rot}},\beta_\alpha β w , θ E , ϕ rot , β α with the configuration of Proposition 6. On dense superposition statevectors, the wavenumber-squaring subcircuits and an 18-qubit compute–kickback–uncompute circuit match the exact action to 6 × 10 − 15 6 \times10^{-15} 6 × 1 0 − 15 . For the complete emitted Model II circuit (192 to 416 qubits, b a r i t h ∈ { 8 , … , 16 } b_{\mathrm{arith}} \in\{8,\ldots,16\} b arith ∈ { 8 , … , 16 } , N = 4 N = 4 N = 4 and 8), a dense statevector cannot be stored, so each compute–kickback–uncompute subcircuit is evaluated gate by gate over all system basis states (ancilla residual at most 4 × 10 − 16 4 \times10^{-16} 4 × 1 0 − 16 at every step), and the resulting subcircuit unitaries evolve the 16- or 18-qubit system state through all stages. Table 7 and Figure 5 show that the block error decays as 2 − b a r i t h 2^{-b_{\mathrm{arith}}} 2 − b arith (fitted log 2 \log_2 log 2 slope − 1.0 -1.0 − 1.0 per bit at both grid sizes), as predicted by (25) and Proposition 5, and that the kinetic-energy error reaches 1.9 × 10 − 8 1.9 \times10^{-8} 1.9 × 1 0 − 8 at N = 8 N = 8 N = 8 , b a r i t h = 16 b_{\mathrm{arith}} = 16 b arith = 16 . This is finite-precision agreement between two compilations, not an exact identity of circuits.
Table 7. Accuracy of the emitted Model II circuit against Model I and the classical ensemble (M = 16 M = 16 M = 16 , ν = 0.1 \nu= 0.1 ν = 0.1 , α 0 = 2.0 \alpha_0 = 2.0 α 0 = 2.0 ; exact β w ( 1 ) = 0.43998 \beta_w(1) = 0.43998 β w ( 1 ) = 0.43998 rad).
Resource-Scaling Tests
Sampling. At matched total oracle calls over 180 independent trials for the model probability a = 0.3206 a = 0.3206 a = 0.3206 of the amplitude-amplification test, maximum-likelihood QAE (MLQAE) [12 ] has an empirical log–log error slope of − 0.96 -0.96 − 0.96 , against − 0.50 -0.50 − 0.50 for classical sampling, and a 9.0× smaller RMSE at 6,288 calls (Figure 7 and Table 10 ). The RMSE is not monotone in the call count because the likelihood can have several nearby maxima at small sample sizes. The comparison counts calls, not gates, and is not evidence of a runtime advantage.
Grid size. We compiled and audited the complete Model II netlist for N N N from 8 to 1024 at b a r i t h = 10 b_{\mathrm{arith}} = 10 b arith = 10 and M = 16 M = 16 M = 16 , with bitwise truth-table and ancilla checks over all reachable ∣ k ∣ 2 \lvert k\rvert^2 ∣ k ∣ 2 values (up to 524,289), all wavevector pairs (up to about 10 6 10^6 1 0 6 ), and all scenario–position triples (up to about 1.7 × 10 7 1.7 \times10^7 1.7 × 1 0 7 at N = 1024 N = 1024 N = 1024 ). The Model II gate count grows quadratically in log 2 N \log_2 N log 2 N (fit R 2 = 0.9998 R^2 = 0.9998 R 2 = 0.9998 ), falls below Model I at N = 256 N = 256 N = 256 (1.4 × 10 7 1.4 \times10^7 1.4 × 1 0 7 against 4.6 × 10 7 4.6 \times10^7 4.6 × 1 0 7 gates), and is 51 times smaller at N = 1024 N = 1024 N = 1024 (Figure 6 ; Table 12 and Table 13 ). Both models are quantum circuits; this is not a comparison with a classical solver.
Table 12: Model II circuit size against grid size (b a r i t h = 10 b_{\mathrm{arith}} = 10 b arith = 10 , ( D , D a c o s ) = ( 2 , 3 ) (D, D_{\mathrm{acos}}) = (2, 3) ( D , D acos ) = ( 2 , 3 ) , M = 16 M = 16 M = 16 ; no dirty ancillas over all 16,777,216 states at N = 1024 N = 1024 N = 1024 ).
Table 12.
Table 13. Full state-preparation circuit A \mathcal{A} A for the runs of Table 12 , compared with the Gray-code circuit (Model I).
Ensemble size. At N = 64 N = 64 N = 64 and b a r i t h = 10 b_{\mathrm{arith}} = 10 b arith = 10 we varied the ensemble size from M = 16 M = 16 M = 16 to M = 2 20 M = 2^{20} M = 2 20 and verified O c o e f f O_{\mathrm{coeff}} O coeff on all M M M basis inputs, with maximum coefficient error 3.8 × 10 − 4 3.8 \times10^{-4} 3.8 × 1 0 − 4 and no dirty ancillas (Figure 6 ; Table 14 and Table 15 ). As Proposition 5(i) predicts, the gate count grows linearly in log 2 M \log_2 M log 2 M , by 886 CX gates per bit (fit R 2 = 0.998 R^2 = 0.998 R 2 = 0.998 ), an increase of 0.11% over a 65,536-fold increase in M M M , and the T T T -count stays at 5.3 × 10 6 5.3 \times10^6 5.3 × 1 0 6 . At M = 2 20 M = 2^{20} M = 2 20 , Model II uses about 10 4 10^4 1 0 4 fewer gates than Model I (1.4 × 10 11 1.4 \times10^{11} 1.4 × 1 0 11 gates). This ratio compares two of our own quantum circuits; it is not a speedup over classical computation.
Table 14. The scrambled Sobol’ scenario oracle O c o e f f O_{\mathrm{coeff}} O coeff inside Model II at N = 64 N = 64 N = 64 , b a r i t h = 10 b_{\mathrm{arith}} = 10 b arith = 10 .
Three-Dimensional Checks
On T 3 \mathbb{T}^3 T 3 at N 3 = 8 N_3 = 8 N 3 = 8 , the explicit 1,022 × 1,022 1{,}022 \times1{,}022 1 , 022 × 1 , 022 mean-zero divergence-free operator has ∥ D R ε , 3 D ∥ 2 = 9 × 10 − 16 \lVert DR_{\varepsilon,3D}\rVert_2 = 9 \times10^{-16} ∥ D R ε , 3 D ∥ 2 = 9 × 1 0 − 16 , and preconditioning lowers its condition number from 4.3 to 1.9, below κ ~ = 3.0 \tilde{\kappa} = 3.0 κ ~ = 3.0 ; the 1,025 × 1,025 1{,}025 \times1{,}025 1 , 025 × 1 , 025 operator without the mean-flow constraint (Remark 2) gives 2.0 (Figure 4 , right). For the drag α ( x ) = α 0 + 0.1 sin x 1 \alpha(x) = \alpha_0 + 0.1\sin x_1 α ( x ) = α 0 + 0.1 sin x 1 (ν = 0.1 \nu= 0.1 ν = 0.1 , α 0 = 2.0 \alpha_0 = 2.0 α 0 = 2.0 , N 3 = 32 N_3 = 32 N 3 = 32 ), the problem without the mean-flow multiplier (λ = 0 \lambda= 0 λ = 0 ) develops a bulk flux ⟨ u 2 ⟩ = − 0.035 \langle u_2\rangle= -0.035 ⟨ u 2 ⟩ = − 0.035 , whereas the constrained problem (12) keeps ∥ u ∥ 2 = 6 × 10 − 17 \lVert u\rVert_2 = 6 \times10^{-17} ∥ u ∥ 2 = 6 × 1 0 − 17 and recovers λ = ( 0 , − 0.071 , 0 ) T \lambda= (0,-0.071,0)^{\mathsf T} λ = ( 0 , − 0.071 , 0 ) T . Omitting λ \lambda λ would leave a momentum residual of 0.071; with the residual is 1.3 × 10 − 15 1.3 \times10^{-15} 1.3 × 1 0 − 15 .