Introduction
A common workflow in quantum algorithms for differential equations [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ] involves discretizing the equation, embedding the discretized operator in a unitary circuit as a block encoding [10 , 11 , 12 ] , and preparing a state proportional to the solution with a quantum linear-system algorithm [13 , 14 , 15 , 16 ] . Its cost grows with the condition number of the discretized operator and with the cost of the block encoding. Spectral discretizations suit this workflow: they expand the solution in a basis of orthogonal functions and converge rapidly for smooth solutions [17 , 18 ] , so small systems often suffice. The choice of basis affects this cost in two ways. First, it determines how differential operators act on the coefficients and therefore the structure and conditioning of the linear system. Second, it determines whether function values at the associated quadrature nodes and expansion coefficients can be converted into one another efficiently. On a quantum computer, this conversion must act coherently on the amplitudes of a state, as the quantum Fourier transform does for the Fourier basis [19 ] .
Existing quantum spectral methods typically use Fourier, sinusoidal, or Chebyshev bases, for which the quantum Fourier transform and its sine and cosine variants provide efficient transforms [20 , 21 ] . The Chebyshev basis, which approximates general nonperiodic boundary conditions, is employed in linear-system solvers [5 , 6 ] , variational models [22 , 23 ] , and effective-Hamiltonian methods [24 ] . However, differentiation matrices in the Chebyshev basis are dense. The resulting linear systems typically have condition numbers that grow polynomially with the basis size [6 , 25 , 26 ] . The classical ultraspherical spectral method avoids this growth by representing each derivative in the ultraspherical (Gegenbauer) basis whose parameter equals the order of the derivative [26 , 27 , 28 , 29 ] . The resulting systems are sparse, and upon diagonal preconditioning, their condition numbers can remain bounded as the system size increases [26 ] . A quantum version of this method needs an efficient transform for each basis. However, only the first two bases—the Chebyshev polynomials of the first and second kinds—correspond to cosine and sine transforms, for which efficient quantum implementations are known.
Our first contribution is an efficient circuit for the quantum ultraspherical transform (QUT) with any fixed integer parameter m m m . The QUT maps function values at Gauss quadrature nodes to expansion coefficients in an orthonormal ultraspherical basis. For m = 0 m = 0 m = 0 and m = 1 m = 1 m = 1 , the QUT reduces to the discrete cosine and sine transforms with efficient circuit implementations [20 , 21 ] . For m ≥ 2 m \ge2 m ≥ 2 , Theorem 1 presents a circuit that implements the QUT to error ε \varepsilon ε with a gate count polylogarithmic in the system size and 1 / ε 1/\varepsilon 1/ ε and a small ancilla overhead. The construction builds on the quantum Fourier transform, followed by corrections and rotational changes of basis that can be implemented efficiently. Together with the cosine and sine transforms, the QUT enables a quantum ultraspherical spectral method, as summarized in Figure 1 .
Figure 1. Discretizing a differential equation in the ultraspherical basis produces a linear system with a banded matrix, except for boundary rows. The QUT, built from a quantum Fourier transform (QFT) with corrections followed by hierarchical rotations, enables a block encoding of the matrix. It can be used by a quantum linear-system algorithm to prepare the solution state.
Other efficient quantum polynomial transforms have recently been developed for Hermite polynomials [30 ] , integer-parameter Laguerre polynomials [31 ] , and several families of hypergeometric orthogonal polynomials [31 , 32 ] . The work [31 ] also addresses the Jacobi family, which contains the ultraspherical polynomials, but its gate count scales linearly with the dimension, with additional polylogarithmic factors. To our knowledge, the QUT is the first efficient transform for a Jacobi family beyond the Chebyshev cases (Table I). We also discuss how a key idea underlying the QUT extends to Jacobi polynomials with half-integer parameters.
Our second contribution uses the QUT to construct a quantum ultraspherical spectral method for regular one-dimensional linear boundary-value problems. Within this method, QUTs convert functions to their expansion coefficients, enabling an efficient block encoding of the discretized system. For uniquely solvable problems with a broad class of boundary conditions, we show that its condition number, upon diagonal preconditioning, is bounded independently of the basis size (Proposition 2 ). Given efficient quantum access to the problem data, the preconditioned solution state can therefore be prepared at a cost polylogarithmic in the basis size and the inverse error. Extracting useful quantities from the solution would add further costs, which determines whether the solver could provide a computational advantage in practice. We therefore do not claim an end-to-end quantum speedup for these one-dimensional problems.
The rest of the paper is organized as follows. Section II introduces the ultraspherical basis, defines the QUT, and states the main theorem. Section III collects the main tools used throughout the paper. Section IV develops the QUT circuit and its complexity analysis. Readers primarily interested in the application may skip this section and proceed directly to § 0.6 , where we apply the transform to a quantum ultraspherical spectral method and analyze its conditioning and complexity. Finally, § 1 discusses the scope of the results and outlook.
This section defines the ultraspherical basis and the corresponding quantum transform before stating the main circuit guarantee and outlining its proof. Throughout the rest of the paper, we use ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 for the ℓ 2 \ell^2 ℓ 2 vector norm and the induced operator norm. For a scalar function f f f on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , we write ∥ f ∥ ∞ = sup x ∈ [ − 1 , 1 ] ∣ f ( x ) ∣ \lVert f\rVert_\infty= \sup_{x\in[-1,1]}|f(x)| ∥ f ∥ ∞ = sup x ∈ [ − 1 , 1 ] ∣ f ( x ) ∣ for the supremum norm.
Ultraspherical basis
The ultraspherical polynomials, also called Gegenbauer polynomials, are denoted by C k ( λ ) ( x ) C_k^{(\lambda)}(x) C k ( λ ) ( x ) . The index k = 0 , 1 , 2 , … k = 0,1,2,\ldots k = 0 , 1 , 2 , … is the polynomial degree, and λ > − 1 / 2 \lambda> -1/2 λ > − 1/2 , λ ≠ 0 \lambda\ne0 λ = 0 , denotes the basis parameter. The polynomials are orthogonal on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] with respect to the weight w λ ( x ) = ( 1 − x 2 ) λ − 1 / 2 w_\lambda(x) = (1-x^2)^{\lambda-1/2} w λ ( x ) = ( 1 − x 2 ) λ − 1/2 :
∫ − 1 1 w λ ( x ) C k ( λ ) ( x ) C ℓ ( λ ) ( x ) d x = h k ( λ ) δ k ℓ , (1) \int_{-1}^{1} w_\lambda(x) C_k^{(\lambda)}(x) C_\ell^{(\lambda)}(x)\,\mathrm{d}x = h_k^{(\lambda)} \delta_{k\ell}, \tag*{(1)} ∫ − 1 1 w λ ( x ) C k ( λ ) ( x ) C ℓ ( λ ) ( x ) d x = h k ( λ ) δ k ℓ , (1)
where δ k ℓ \delta_{k\ell} δ k ℓ is the Kronecker delta and h k ( λ ) h_k^{(\lambda)} h k ( λ ) is the squared norm of C k ( λ ) C_k^{(\lambda)} C k ( λ ) . In terms of Euler’s Gamma function Γ \Gamma Γ ,
h k ( λ ) = π 2 1 − 2 λ Γ ( k + 2 λ ) k ! ( k + λ ) Γ ( λ ) 2 . (2) h_k^{(\lambda)} = \frac{\pi2^{1-2\lambda}\Gamma(k+2\lambda)}{k!(k+\lambda)\Gamma(\lambda)^2}. \tag*{(2)} h k ( λ ) = k ! ( k + λ ) Γ ( λ ) 2 π 2 1 − 2 λ Γ ( k + 2 λ ) . (2)
For λ > 0 \lambda> 0 λ > 0 , the polynomials can be defined through the generating function
( 1 − 2 x t + t 2 ) − λ = ∑ k = 0 ∞ C k ( λ ) ( x ) t k , ∣ x ∣ , ∣ t ∣ < 1. (3) (1-2xt+t^2)^{-\lambda} = \sum_{k=0}^{\infty} C_k^{(\lambda)}(x)t^k,\qquad|x|,|t|<1. \tag*{(3)} ( 1 − 2 x t + t 2 ) − λ = k = 0 ∑ ∞ C k ( λ ) ( x ) t k , ∣ x ∣ , ∣ t ∣ < 1. (3)
Ultraspherical polynomials constitute the symmetric subclass of the Jacobi polynomial family P k ( α , β ) P_k^{(\alpha,\beta)} P k ( α , β ) . In particular, C k ( λ ) ( x ) = ( 2 λ ) k ( λ + 1 / 2 ) k P k ( λ − 1 / 2 , λ − 1 / 2 ) ( x ) C_k^{(\lambda)}(x) = \frac{(2\lambda)_k}{(\lambda+1/2)_k}P_k^{(\lambda-1/2,\lambda-1/2)}(x) C k ( λ ) ( x ) = ( λ + 1/2 ) k ( 2 λ ) k P k ( λ − 1/2 , λ − 1/2 ) ( x ) , where ( α ) k = Γ ( α + k ) Γ ( α ) = α ( α + 1 ) ⋯ ( α + k − 1 ) (\alpha)_k = \frac{\Gamma(\alpha+k)}{\Gamma(\alpha)} = \alpha(\alpha+1)\cdots(\alpha+k-1) ( α ) k = Γ ( α ) Γ ( α + k ) = α ( α + 1 ) ⋯ ( α + k − 1 ) denotes the rising factorial. Several classical polynomial families appear as special cases: λ = 1 2 \lambda= \frac{1}{2} λ = 2 1 yields the Legendre polynomials, while λ = 1 \lambda= 1 λ = 1 corresponds to the Chebyshev polynomials of the second kind. The Chebyshev polynomials of the first kind, T k ( x ) T_k(x) T k ( x ) , arise as a limiting case:
lim λ → 0 k 2 λ C k ( λ ) ( x ) = T k ( x ) , k ≥ 1. (4) \lim_{\lambda\to0}\frac{k}{2\lambda}C_k^{(\lambda)}(x) = T_k(x),\qquad k\ge1. \tag*{(4)} λ → 0 lim 2 λ k C k ( λ ) ( x ) = T k ( x ) , k ≥ 1. (4)
The ultraspherical basis is useful in spectral methods because differentiation maps each nonconstant basis polynomial to a scalar multiple of one polynomial in the next family. We begin by approximating the solution with a Chebyshev expansion,
Table 1. Quantum transforms for classical orthogonal polynomials with known circuits. Polylog denotes a gate count polynomial in log N \log N log N and log ( 1 / ε ) \log(1/\varepsilon) log ( 1/ ε ) .
u ~ N ( x ) : = ∑ k = 0 N − 1 u k T k ( x ) , (5) \widetilde{u}_N(x) := \sum_{k=0}^{N-1} u_k T_k(x), \tag*{(5)} u N ( x ) := k = 0 ∑ N − 1 u k T k ( x ) , (5)
where u k u_k u k are the expansion coefficients. Differentiation then follows from
d T k d x = { k C k − 1 ( 1 ) , k ≥ 1 0 , k = 0 (6) \frac{\mathrm{d}T_k}{\mathrm{d}x} =
\begin{cases}
kC_{k-1}^{(1)}, & k \ge1 \\
0, & k = 0
\end{cases} \tag*{(6)} d x d T k = { k C k − 1 ( 1 ) , 0 , k ≥ 1 k = 0 (6)
and, for λ ≥ 1 \lambda\ge1 λ ≥ 1 ,
d C k ( λ ) d x = { 2 λ C k − 1 ( λ + 1 ) , k ≥ 1 0 , k = 0 (7) \frac{\mathrm{d}C_k^{(\lambda)}}{\mathrm{d}x} =
\begin{cases}
2\lambda C_{k-1}^{(\lambda+1)}, & k \ge1 \\
0, & k = 0
\end{cases} \tag*{(7)} d x d C k ( λ ) = { 2 λ C k − 1 ( λ + 1 ) , 0 , k ≥ 1 k = 0 (7)
Iterating these identities gives the q q q th derivative of a Chebyshev polynomial,
d q d x q T k ( x ) = 2 q − 1 ( q − 1 ) ! k C k − q ( q ) ( x ) , k ≥ q ≥ 1. (8) \frac{\mathrm{d}^q}{\mathrm{d}x^q}T_k(x) = 2^{q-1}(q-1)! \, k C_{k-q}^{(q)}(x), \qquad k \ge q \ge1. \tag*{(8)} d x q d q T k ( x ) = 2 q − 1 ( q − 1 )! k C k − q ( q ) ( x ) , k ≥ q ≥ 1. (8)
The derivative vanishes for k < q k < q k < q . The solution’s derivatives can be written compactly as
d q u ~ N d x q = 2 q − 1 ( q − 1 ) ! ∑ k = q N − 1 k u k C k − q ( q ) ( x ) . (9) \frac{\mathrm{d}^q\widetilde{u}_N}{\mathrm{d}x^q} = 2^{q-1}(q-1)! \sum_{k=q}^{N-1} k u_k C_{k-q}^{(q)}(x). \tag*{(9)} d x q d q u N = 2 q − 1 ( q − 1 )! k = q ∑ N − 1 k u k C k − q ( q ) ( x ) . (9)
Therefore, for 1 ≤ q < N 1 \le q < N 1 ≤ q < N , the q q q th-order differentiation matrix D q ∈ R ( N − q ) × N D_q \in\mathbb{R}^{(N-q)\times N} D q ∈ R ( N − q ) × N maps Chebyshev coefficients u 0 , … , u N − 1 u_0,\ldots,u_{N-1} u 0 , … , u N − 1 to coefficients in the ultraspherical basis C 0 ( q ) , … , C N − q − 1 ( q ) C_0^{(q)},\ldots,C_{N-q-1}^{(q)} C 0 ( q ) , … , C N − q − 1 ( q ) . Its first q q q columns vanish, and the remaining nonzero entries lie on the q q q th superdiagonal,
( D q ) j k = 2 q − 1 ( q − 1 ) ! k δ j , k − q . (10) (D_q)_{jk} = 2^{q-1}(q-1)! \, k \, \delta_{j,k-q}. \tag*{(10)} ( D q ) j k = 2 q − 1 ( q − 1 )! k δ j , k − q . (10)
A differential equation generally involves derivatives of several orders, whose coefficient representations must be expressed in a common basis. The initial conversion from the Chebyshev basis is given by T k ( x ) = 1 2 [ C k ( 1 ) ( x ) − C k − 2 ( 1 ) ( x ) ] T_k(x) = \frac{1}{2}[C_k^{(1)}(x) - C_{k-2}^{(1)}(x)] T k ( x ) = 2 1 [ C k ( 1 ) ( x ) − C k − 2 ( 1 ) ( x )] for k ≥ 1 k \ge1 k ≥ 1 , with T 0 = C 0 ( 1 ) = 1 T_0 = C_0^{(1)} = 1 T 0 = C 0 ( 1 ) = 1 . For λ ≥ 1 \lambda\ge1 λ ≥ 1 , consecutive ultraspherical families are related by
C k ( λ ) ( x ) = λ k + λ [ C k ( λ + 1 ) ( x ) − C k − 2 ( λ + 1 ) ( x ) ] . (11) C_k^{(\lambda)}(x) = \frac{\lambda}{k+\lambda}\left[C_k^{(\lambda+1)}(x) - C_{k-2}^{(\lambda+1)}(x)\right]. \tag*{(11)} C k ( λ ) ( x ) = k + λ λ [ C k ( λ + 1 ) ( x ) − C k − 2 ( λ + 1 ) ( x ) ] . (11)
with the convention that C j ( λ ) ( x ) = 0 C_j^{(\lambda)}(x) = 0 C j ( λ ) ( x ) = 0 for j < 0 j < 0 j < 0 . Accordingly, each conversion matrix contains only the main diagonal and the second superdiagonal. Composing these sparse conversion operators with the differentiation matrices yields a banded representation of the residual operator. Imposing boundary conditions introduces only a small number of dense rows [26 ] .
The QUT uses normalized polynomials p k ( λ ) = C k ( λ ) / h k ( λ ) p_k^{(\lambda)} = C_k^{(\lambda)}/\sqrt{h_k^{(\lambda)}} p k ( λ ) = C k ( λ ) / h k ( λ ) . For N ≥ 1 N \ge1 N ≥ 1 , let x 0 > x 1 > ⋯ > x N − 1 x_0 > x_1 > \cdots> x_{N-1} x 0 > x 1 > ⋯ > x N − 1 be the zeros of C N ( λ ) C_N^{(\lambda)} C N ( λ ) and let w 0 , … , w N − 1 > 0 w_0,\ldots,w_{N-1} > 0 w 0 , … , w N − 1 > 0 be the corresponding Gaussian quadrature weights. These nodes and weights integrate every polynomial of degree at most 2 N − 1 2N-1 2 N − 1 exactly against ω λ \omega_\lambda ω λ . We define the N N N -dimensional QUT operator Q N ( λ ) Q_N^{(\lambda)} Q N ( λ ) , with one row per polynomial degree and one column per quadrature node, by
( Q N ( λ ) ) k j : = w j p k ( λ ) ( x j ) , 0 ≤ k , j < N . (12) \left(Q_N^{(\lambda)}\right)_{kj} := \sqrt{w_j}\,p_k^{(\lambda)}(x_j), \qquad0 \le k,j < N. \tag*{(12)} ( Q N ( λ ) ) k j := w j p k ( λ ) ( x j ) , 0 ≤ k , j < N . (12)
Since p k ( λ ) p ℓ ( λ ) p_k^{(\lambda)}p_\ell^{(\lambda)} p k ( λ ) p ℓ ( λ ) has degree at most 2 N − 2 2N-2 2 N − 2 , Gaussian quadrature yields
∑ j = 0 N − 1 w j p k ( λ ) ( x j ) p ℓ ( λ ) ( x j ) = δ k ℓ . (13) \sum_{j=0}^{N-1} w_j p_k^{(\lambda)}(x_j)p_\ell^{(\lambda)}(x_j) = \delta_{k\ell}. \tag*{(13)} j = 0 ∑ N − 1 w j p k ( λ ) ( x j ) p ℓ ( λ ) ( x j ) = δ k ℓ . (13)
Thus Q N ( λ ) Q N ( λ ) † = I Q_N^{(\lambda)}Q_N^{(\lambda)\dagger} = I Q N ( λ ) Q N ( λ ) † = I , so Q N ( λ ) Q_N^{(\lambda)} Q N ( λ ) is unitary on the N N N -dimensional data space. In a quantum register, its input and output vectors are represented on the basis states ∣ 0 ⟩ , … , ∣ N − 1 ⟩ \lvert0\rangle,\ldots,\lvert N-1\rangle ∣ 0 ⟩ , … , ∣ N − 1 ⟩ .
This work focuses on nonnegative integer parameters λ = m \lambda= m λ = m . For m = 0 m = 0 m = 0 , we use the Chebyshev limit p 0 ( 0 ) = 1 / π p_0^{(0)} = 1/\sqrt{\pi} p 0 ( 0 ) = 1/ π and p k ( 0 ) = 2 / π T k p_k^{(0)} = \sqrt{2/\pi}T_k p k ( 0 ) = 2/ π T k for k ≥ 1 k \ge1 k ≥ 1 , while m = 1 m = 1 m = 1 corresponds to the Chebyshev polynomials of the second kind, U k = C k ( 1 ) U_k = C_k^{(1)} U k = C k ( 1 ) .
To interpret the QUT as a change of representation, let f f f be a nonzero polynomial of degree at most N − 1 N - 1 N − 1 . It can be written in the ultraspherical polynomial basis as
f ( x ) = ∑ k = 0 N − 1 f ^ k p k ( m ) ( x ) , (14) f(x)=\sum_{k=0}^{N-1}\widehat{f}_k p_k^{(m)}(x), \tag*{(14)} f ( x ) = k = 0 ∑ N − 1 f k p k ( m ) ( x ) , (14)
where f ^ k \widehat{f}_k f k is the coefficient of the k k k th basis polynomial. Collect those coefficients into the vector f ^ = ( f ^ 0 , … , f ^ N − 1 ) T \widehat{\boldsymbol{f}}=(\widehat{f}_0,\ldots,\widehat{f}_{N-1})^{\mathsf{T}} f = ( f 0 , … , f N − 1 ) T . The discrete orthogonality property says that this coefficient vector and the vector of weighted samples, ( w j f ( x j ) ) j = 0 N − 1 (\sqrt{w_j}f(x_j))_{j=0}^{N-1} ( w j f ( x j ) ) j = 0 N − 1 , have the same Euclidean norm. Thus, after dividing by ∥ f ^ ∥ 2 \|\widehat{\boldsymbol{f}}\|_2 ∥ f ∥ 2 , each can be viewed as a normalized quantum state. One state encodes the values of f f f at the sample points; the other encodes its expansion coefficients in the ultraspherical basis:
∣ f ( m ) ⟩ : = 1 ∥ f ^ ∥ 2 ∑ j = 0 N − 1 w j f ( x j ) ∣ j ⟩ , \lvert f^{(m)}\rangle:=\frac{1}{\|\widehat{\boldsymbol{f}}\|_2}\sum_{j=0}^{N-1}\sqrt{w_j}f(x_j)\lvert j\rangle, ∣ f ( m ) ⟩ := ∥ f ∥ 2 1 j = 0 ∑ N − 1 w j f ( x j ) ∣ j ⟩ ,
∣ f ^ ( m ) ⟩ : = 1 ∥ f ^ ∥ 2 ∑ k = 0 N − 1 f ^ k ∣ k ⟩ . (15) \lvert\widehat{f}^{(m)}\rangle:=\frac{1}{\|\widehat{\boldsymbol{f}}\|_2}\sum_{k=0}^{N-1}\widehat{f}_k\lvert k\rangle. \tag*{(15)} ∣ f ( m ) ⟩ := ∥ f ∥ 2 1 k = 0 ∑ N − 1 f k ∣ k ⟩ . (15)
The transform and its inverse then satisfy
Q N ( m ) ∣ f ( m ) ⟩ = ∣ f ^ ( m ) ⟩ , Q N ( m ) † ∣ f ^ ( m ) ⟩ = ∣ f ( m ) ⟩ . (16) Q_N^{(m)}\lvert f^{(m)}\rangle=\lvert\widehat{f}^{(m)}\rangle,\qquad Q_N^{(m)\dagger}\lvert\widehat{f}^{(m)}\rangle=\lvert f^{(m)}\rangle. \tag*{(16)} Q N ( m ) ∣ f ( m ) ⟩ = ∣ f ( m ) ⟩ , Q N ( m ) † ∣ f ( m ) ⟩ = ∣ f ( m ) ⟩ . (16)
The first two cases, m = 0 m=0 m = 0 and m = 1 m=1 m = 1 , reduce to standard discrete cosine and sine transforms. For m = 0 m=0 m = 0 ,
Q k j ( 0 ) = { 1 / N , k = 0 , 2 / N cos [ k ( j + 1 / 2 ) π N ] , 1 ≤ k < N , (17) Q_{kj}^{(0)}=
\begin{cases}
1/\sqrt{N}, & k=0,\\
\sqrt{2/N}\cos\left[\dfrac{k(j+1/2)\pi}{N}\right], & 1\le k<N,
\end{cases} \tag*{(17)} Q k j ( 0 ) = ⎩ ⎨ ⎧ 1/ N , 2/ N cos [ N k ( j + 1/2 ) π ] , k = 0 , 1 ≤ k < N , (17)
which is the discrete cosine transform of type II (DCT-II). For m = 1 m=1 m = 1 , the identities C k ( 1 ) = U k C_k^{(1)}=U_k C k ( 1 ) = U k and x j = cos [ ( j + 1 ) π / ( N + 1 ) ] x_j=\cos[(j+1)\pi/(N+1)] x j = cos [( j + 1 ) π / ( N + 1 )] yield
Q k j ( 1 ) = 2 N + 1 sin [ ( k + 1 ) ( j + 1 ) π N + 1 ] , (18) Q_{kj}^{(1)}=\sqrt{\frac{2}{N+1}}\sin\left[\frac{(k+1)(j+1)\pi}{N+1}\right], \tag*{(18)} Q k j ( 1 ) = N + 1 2 sin [ N + 1 ( k + 1 ) ( j + 1 ) π ] , (18)
which is the discrete sine transform of type I (DST-I). Efficient quantum circuits are known for both transforms [20 ] , and the DCT-II has also been implemented as the quantum Chebyshev transform [21 ] .
Our main result is an efficient implementation of the QUT for every fixed integer m ≥ 2 m\ge2 m ≥ 2 . The following theorem states the circuit guarantee, followed by a proof sketch. A complete proof is given in Section IV.F, where we assemble the component circuits and establish the error and resource bounds.
Main result
For the circuit construction, we work in an enlarged space of dimension K = N + m K=N+m K = N + m . Taking K = 2 n K=2^n K = 2 n allows this space to be encoded on n n n qubits and manipulated using quantum circuits.
Theorem 1 (Efficient quantum ultraspherical transform). Fix an integer m ≥ 2 m\ge2 m ≥ 2 and a dimension N ≥ 1 N\ge1 N ≥ 1 with K = N + m = 2 n K=N+m=2^n K = N + m = 2 n . Let 0 < ε < 1 / 2 0<\varepsilon<1/2 0 < ε < 1/2 be the target error. There is a unitary circuit U = U m , N , ε U=U_{m,N,\varepsilon} U = U m , N , ε on n n n system qubits and a a a ancillary qubits such that, for every normalized input ∣ ψ ⟩ ∈ C K \lvert\psi\rangle\in\mathbb{C}^{K} ∣ ψ ⟩ ∈ C K supported on ∣ 0 ⟩ , … , ∣ N − 1 ⟩ \lvert0\rangle,\ldots,\lvert N-1\rangle ∣ 0 ⟩ , … , ∣ N − 1 ⟩ ,
∥ U ∣ 0 a ⟩ ∣ ψ ⟩ − ∣ 0 a ⟩ Q N ( m ) ∣ ψ ⟩ ∥ 2 ≤ ε . (19) \left\|U\lvert0^a\rangle\lvert\psi\rangle-\lvert0^a\rangle Q_N^{(m)}\lvert\psi\rangle\right\|_2\le\varepsilon. \tag*{(19)} U ∣ 0 a ⟩ ∣ ψ ⟩ − ∣ 0 a ⟩ Q N ( m ) ∣ ψ ⟩ 2 ≤ ε . (19) This uniform bound is an operator-norm guarantee on the valid input subspace, including leakage into unused output labels or nonzero ancillas. The adjoint circuit implements Q N ( m ) † Q_N^{(m)\dagger} Q N ( m ) † with the same error and resource bounds.
The circuit U U U can be implemented using
G m ( n , ε ) = O m ( n 3 log n ε + n log 2 1 ε ) (20) G_m(n,\varepsilon)=O_m\left(n^3\log\frac{n}{\varepsilon}+n\log^2\frac{1}{\varepsilon}\right) \tag*{(20)} G m ( n , ε ) = O m ( n 3 log ε n + n log 2 ε 1 ) (20)
single-qubit rotations and CNOT gates, together with
a = O m ( log n + log log 1 ε ) (21) a=O_m\left(\log n+\log\log\frac{1}{\varepsilon}\right) \tag*{(21)} a = O m ( log n + log log ε 1 ) (21)
ancillary qubits, where O m O_m O m allows constants that depend on the fixed parameter m m m . All ancillas start and return to ∣ 0 a ⟩ \lvert0^a\rangle ∣ 0 a ⟩ within the error in Eq. (19). Circuit parameters can be computed and stored classically in time polynomial in n n n and log ( 1 / ε ) \log(1/\varepsilon) log ( 1/ ε ) before quantum execution.
Proof sketch
We construct the QUT from the quantum Fourier transform (QFT) together with additional circuits of polylogarithmic complexity. Writing x = cos θ x=\cos\theta x = cos θ , we use the fact that, for integer m m m , multiplying an ultraspherical polynomial by sin m θ \sin^m\theta sin m θ yields a finite sine or cosine expansion. This relates the QUT to discrete trigonometric transforms evaluated on an equispaced grid in θ \theta θ , which can be implemented efficiently through the QFT. The remaining steps correct the sampling points and quadrature weights and convert the trigonometric coefficients into ultraspherical coefficients.
To correct the sampling points, we expand each sine or cosine about a nearby point on the equispaced θ \theta θ grid. The Taylor terms depend on the product p δ p\delta p δ , where p p p is the Fourier-mode index and δ \delta δ is the angular displacement. With K = N + m K=N+m K = N + m , we prove that ∣ δ ∣ = O m ( K − 1 ) \lvert\delta\rvert=O_m(K^{-1}) ∣ δ ∣ = O m ( K − 1 ) , while p < K p<K p < K , so p δ p\delta p δ remains bounded as N N N grows. The factorial decay of the Taylor remainder therefore allows the truncation order to depend only on the target accuracy, not on N N N . The quadrature-weight corrections are uniformly bounded as well.
A direct table of the corrections would require O ( N ) O(N) O ( N ) data, so we instead approximate them as functions of the node label. Because these correction functions vary most rapidly near the first and last few labels, which belong to the nodes closest to the endpoints x = ± 1 x=\pm1 x = ± 1 , we handle a fixed number of endpoint labels directly and partition the remaining labels into intervals whose lengths double away from each endpoint. After rescaling each interval to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , we show that the corresponding correction functions remain analytic and uniformly bounded on a fixed complex neighborhood, independently of N N N . This yields polynomial approximations whose degree depends only on the Taylor order and target accuracy. We block encode the rescaled labels and use quantum eigenvalue transformation (QET) to apply these polynomial approximations in superposition. All polynomial coefficients and circuit angles are computed classically beforehand. The input-correction stage uses approximately O ( n 2 log n ) O(n^2 \log n) O ( n 2 log n ) gates, up to constants depending on m m m . We omit the dependence on error tolerance in this proof sketch for brevity.
For the trigonometric-to-ultraspherical basis change, we factor the transformation into ⌊ m / 2 ⌋ \lfloor m/2 \rfloor ⌊ m /2 ⌋ stages. Each stage acts separately on even and odd Fourier modes and uses a hierarchy of rotations in two passes. With each mode assigned a specific weight, the first pass forms weighted averages and contrasts of neighboring mode groups, while the second adjusts them into the combinations that map trigonometric coefficients to ultraspherical coefficients. Each pass therefore consists of O ( n ) O(n) O ( n ) layers of two-dimensional rotations acting on selected pairs of amplitudes. The rotation angles depend smoothly on the mode labels and can be approximated by polynomials whose degree depends only on the target accuracy, and we again use QET to apply them coherently in superposition. Because the QET implementation introduces a fixed subnormalization factor, we amplify each layer before applying the next so that these factors do not accumulate through the hierarchy. For fixed m m m , only a constant number of amplification rounds is required per layer, and the full basis change uses approximately O ( n 3 log n ) O(n^3 \log n) O ( n 3 log n ) gates.
Finally, we combine the Taylor terms using the linear combination of unitaries (LCU) method. An auxiliary register stores the Taylor order s s s and selects the corresponding input correction and Fourier block, while the basis change is shared across all orders. The resulting circuit block-encodes the approximate QUT with an overall subnormalization factor, which is known and bounded by a function of m m m alone, so a constant number of final amplitude-amplification rounds suffices to obtain the full transform.
Preliminaries
This section briefly reviews the quantum algorithmic tools used in the QUT construction, including block encodings, linear combinations of unitaries, quantum eigenvalue transformation, and oblivious amplitude amplification.
Block encoding
A block encoding represents a possibly nonunitary operator as a block of a larger unitary circuit. Let A A A act on the system register, and let U U U act on the system together with a a a ancillary qubits. The unitary U U U is an ( α , a , ε ) (\alpha,a,\varepsilon) ( α , a , ε ) block encoding of A A A if α > 0 \alpha> 0 α > 0 , ε ≥ 0 \varepsilon\ge0 ε ≥ 0 , and [11 ]
∥ A − α ( ⟨ 0 a ∣ ⊗ I ) U ( ∣ 0 a ⟩ ⊗ I ) ∥ 2 ≤ ε . (22) \left\| A-\alpha\left(\langle0^a|\otimes I\right)U\left(|0^a\rangle\otimes I\right)\right\|_2\leq\varepsilon. \tag*{(22)} ∥ A − α ( ⟨ 0 a ∣ ⊗ I ) U ( ∣ 0 a ⟩ ⊗ I ) ∥ 2 ≤ ε . (22)
where I I I is the identity on the system register. The parameter ε \varepsilon ε bounds the error in A A A , so the corresponding error in the normalized block is ε / α \varepsilon/\alpha ε / α . For an exact encoding, ε = 0 \varepsilon=0 ε = 0 and the encoded block is A / α A/\alpha A / α , which requires α ≥ ∥ A ∥ 2 \alpha\geq\|A\|_2 α ≥ ∥ A ∥ 2 . We refer to α \alpha α as the subnormalization factor.
For a normalized input ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , an exact block encoding applied to ∣ 0 a ⟩ ∣ ψ ⟩ |0^a\rangle|\psi\rangle ∣ 0 a ⟩ ∣ ψ ⟩ contains the component ∣ 0 a ⟩ A ∣ ψ ⟩ / α |0^a\rangle A|\psi\rangle/\alpha ∣ 0 a ⟩ A ∣ ψ ⟩ / α in the zero-ancilla subspace. Measuring the ancillas therefore returns zero with probability ∥ A ∣ ψ ⟩ ∥ 2 2 / α 2 \|A|\psi\rangle\|_2^2/\alpha^2 ∥ A ∣ ψ ⟩ ∥ 2 2 / α 2 . When A A A is unitary and α \alpha α is known, oblivious amplitude amplification can increase this success probability to one [33 ] .
The linear combination of unitaries (LCU) method combines encoded operators into a weighted sum [14 , 34 ] . Suppose each unitary V j V_j V j has encoded block B j B_j B j , with all circuits using the same ancillary space. For coefficients c j ≥ 0 c_j\geq0 c j ≥ 0 and α = ∑ j c j > 0 \alpha=\sum_j c_j>0 α = ∑ j c j > 0 , define PREP and SELECT by
PREP ∣ 0 ⟩ = ∑ j c j / α ∣ j ⟩ (23) \operatorname{PREP}|0\rangle=\sum_j\sqrt{c_j/\alpha}|j\rangle \tag*{(23)} PREP ∣0 ⟩ = j ∑ c j / α ∣ j ⟩ (23)
and
SELECT = ∑ j ∣ j ⟩ ⟨ j ∣ ⊗ V j . (24) \operatorname{SELECT}=\sum_j|j\rangle\langle j|\otimes V_j. \tag*{(24)} SELECT = j ∑ ∣ j ⟩ ⟨ j ∣ ⊗ V j . (24)
Applying PREP, then SELECT, and finally PREP† ^\dagger † produces the encoded block α − 1 ∑ j c j B j \alpha^{-1}\sum_j c_jB_j α − 1 ∑ j c j B j when both the selector and component ancillas are selected in zero. Signs and phases in the coefficients can be absorbed into the controlled circuits V j V_j V j .
Products of block-encoded operators can be implemented using separate ancillary registers. If U 1 U_1 U 1 and U 2 U_2 U 2 encode A 1 / α 1 A_1/\alpha_1 A 1 / α 1 and A 2 / α 2 A_2/\alpha_2 A 2 / α 2 , respectively, then applying U 1 U_1 U 1 followed by U 2 U_2 U 2 encodes A 2 A 1 / ( α 2 α 1 ) A_2A_1/(\alpha_2\alpha_1) A 2 A 1 / ( α 2 α 1 ) [11 ] . Each circuit acts on the system and its own ancillas, with all ancillary registers selected in zero at the input and output.
Quantum eigenvalue transformation (QET) applies a polynomial to the eigenvalues of a Hermitian operator while preserving its eigenvectors [10 , 11 ] . Let H = ∑ k λ k ∣ u k ⟩ ⟨ u k ∣ H=\sum_k\lambda_k|u_k\rangle\langle u_k| H = ∑ k λ k ∣ u k ⟩ ⟨ u k ∣ be Hermitian with ∥ H ∥ 2 ≤ 1 \|H\|_2\leq1 ∥ H ∥ 2 ≤ 1 , where the vectors ∣ u k ⟩ |u_k\rangle ∣ u k ⟩ form an orthonormal eigenbasis. We call H H H the signal operator , since QET acts on its eigenvalues. Given a block encoding of H H H , QET constructs a block encoding of
P ( H ) = ∑ k P ( λ k ) ∣ u k ⟩ ⟨ u k ∣ , (25) P(H)=\sum_k P(\lambda_k)|u_k\rangle\langle u_k|, \tag*{(25)} P ( H ) = k ∑ P ( λ k ) ∣ u k ⟩ ⟨ u k ∣ , (25)
up to a known subnormalization factor. We consider real polynomials P P P satisfying ∥ P ∥ ∞ ≤ 1 \|P\|_\infty\leq1 ∥ P ∥ ∞ ≤ 1 . QET is the
We describe the phase sequence using an exact ( 1 , a , 0 ) (1,a,0) ( 1 , a , 0 ) block encoding U H U_H U H that is also Hermitian, so U H 2 = I U_H^2=I U H 2 = I . An arbitrary exact block encoding of H H H can be put in this form using one additional ancilla and controlled calls to the encoding and its adjoint [10 , 11 ] . Let Π = ∣ 0 a ⟩ ⟨ 0 a ∣ ⊗ I \Pi=|0^a\rangle\langle0^a|\otimes I Π = ∣ 0 a ⟩ ⟨ 0 a ∣ ⊗ I project onto the zero-ancilla subspace. For real phase angles Φ = ( ϕ 0 , … , ϕ d ) \Phi=(\phi_0,\ldots,\phi_d) Φ = ( ϕ 0 , … , ϕ d ) , the QET sequence is
U Φ = e i ϕ 0 ( 2 Π − I ) U H e i ϕ 1 ( 2 Π − I ) ⋯ U H e i ϕ d ( 2 Π − I ) , (26) U_\Phi=e^{i\phi_0(2\Pi-I)}U_He^{i\phi_1(2\Pi-I)}\cdots U_He^{i\phi_d(2\Pi-I)}, \tag*{(26)} U Φ = e i ϕ 0 ( 2Π − I ) U H e i ϕ 1 ( 2Π − I ) ⋯ U H e i ϕ d ( 2Π − I ) , (26)
which uses d d d calls to U H U_H U H and d + 1 d+1 d + 1 phase rotations. Its encoded block is a generally complex polynomial in H H H of degree at most d d d . The polynomial is even when d d d is even and odd when d d d is odd.
For a real polynomial P P P of degree at most d d d with this parity and ∥ P ∥ ∞ ≤ 1 \lVert P\rVert_\infty\leq1 ∥ P ∥ ∞ ≤ 1 , the phases can be chosen so that the real part of the encoded polynomial equals P P P [11 ] . On each eigenspace, replacing Φ \Phi Φ by − Φ -\Phi − Φ conjugates the encoded polynomial. A selector qubit coherently selects between the QET sequences with phases Φ \Phi Φ and − Φ -\Phi − Φ . Applying a Hadamard before and after the selection extracts their average, whose encoded block is P ( H ) P(H) P ( H ) .
To implement a polynomial containing both parities, decompose it as P = P e + P o P=P_e+P_o P = P e + P o , where
P e ( x ) = P ( x ) + P ( − x ) 2 , P o ( x ) = P ( x ) − P ( − x ) 2 . (27) \begin{aligned}
P_e(x)&=\frac{P(x)+P(-x)}{2},\\
P_o(x)&=\frac{P(x)-P(-x)}{2}. \tag*{(27)}
\end{aligned} P e ( x ) P o ( x ) = 2 P ( x ) + P ( − x ) , = 2 P ( x ) − P ( − x ) . (27)
Both parts are bounded by one on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . After constructing their real blocks as above, a second selector qubit combines them with equal LCU weights. The resulting circuit U P U_P U P satisfies
( ⟨ 0 ∣ ⊗ I ) U P ( ∣ 0 ⟩ ⊗ I ) = P ( H ) 2 , (28) (\langle0|\otimes I)U_P(|0\rangle\otimes I)=\frac{P(H)}{2}, \tag*{(28)} (⟨ 0∣ ⊗ I ) U P ( ∣0 ⟩ ⊗ I ) = 2 P ( H ) , (28)
where ∣ 0 ⟩ |0\rangle ∣0 ⟩ denotes the joint all-zero state of the block-encoding ancillas and the two selector qubits. The factor 1 / 2 1/2 1/2 comes from averaging P e ( H ) P_e(H) P e ( H ) and P o ( H ) P_o(H) P o ( H ) . For a polynomial of definite parity, this average is unnecessary, and the encoded block is P ( H ) P(H) P ( H ) . In either case, a degree-d d d transformation uses O ( d ) O(d) O ( d ) calls to U H U_H U H .
Dyadic intervals and diagonal signals. For a function of a binary label, a useful choice of H H H is a diagonal operator whose entries are rescaled labels. If the function varies on different scales across the label range, we can approximate it separately on dyadic intervals. For an n n n -qubit register, define
I ν = { 2 ν , … , 2 ν + 1 − 1 } , 1 ≤ ν ≤ n − 1. (29) I_\nu=\{2^\nu,\ldots,2^{\nu+1}-1\},\qquad1\leq\nu\leq n-1. \tag*{(29)} I ν = { 2 ν , … , 2 ν + 1 − 1 } , 1 ≤ ν ≤ n − 1. (29)
For b ≥ 2 b\geq2 b ≥ 2 , with bit positions numbered from zero, any b ∈ I ν b\in I_\nu b ∈ I ν has its highest nonzero bit at position ν \nu ν , while the lower ν \nu ν bits encode the offset v = b − 2 ν v=b-2^\nu v = b − 2 ν . Thus the binary representation identifies both the interval and the position within it. We rescale this offset to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] by
x ν , v = 2 v − 2 ν + 1 2 ν − 1 , 0 ≤ v < 2 ν . (30) x_{\nu,v}=\frac{2v-2^\nu+1}{2^\nu-1},\qquad0\leq v<2^\nu. \tag*{(30)} x ν , v = 2 ν − 1 2 v − 2 ν + 1 , 0 ≤ v < 2 ν . (30)
For example, the labels in I 2 = { 4 , 5 , 6 , 7 } I_2=\{4,5,6,7\} I 2 = { 4 , 5 , 6 , 7 } map to − 1 , − 1 / 3 , 1 / 3 , 1 -1,-1/3,1/3,1 − 1 , − 1/3 , 1/3 , 1 . The corresponding diagonal signal operator is
B ν = diag ( x ν , v ) = − ∑ a = 0 ν − 1 2 a 2 ν − 1 Z a , (31) B_\nu=\operatorname{diag}(x_{\nu,v})=-\sum_{a=0}^{\nu-1}\frac{2^a}{2^\nu-1}Z_a, \tag*{(31)} B ν = diag ( x ν , v ) = − a = 0 ∑ ν − 1 2 ν − 1 2 a Z a , (31)
where Z a ∣ v ⟩ = ( − 1 ) v a ∣ v ⟩ Z_a|v\rangle=(-1)^{v_a}|v\rangle Z a ∣ v ⟩ = ( − 1 ) v a ∣ v ⟩ and v = ∑ a 2 a v a v=\sum_a2^av_a v = ∑ a 2 a v a . Since the weights 2 a / ( 2 ν − 1 ) 2^a/(2^\nu-1) 2 a / ( 2 ν − 1 ) sum to one, LCU offers an exact block encoding with subnormalization one. We prepare a selector register with amplitudes 2 a / ( 2 ν − 1 ) \sqrt{2^a/(2^\nu-1)} 2 a / ( 2 ν − 1 ) , apply − Z a -Z_a − Z a when the selector is in state a a a , and undo the preparation. The selector uses ⌈ log 2 ν ⌉ = O ( log n ) \lceil\log_2\nu\rceil=O(\log n) ⌈ log 2 ν ⌉ = O ( log n ) qubits, with unused selector states assigned the identity. The resulting block encoding is Hermitian and diagonal in the label basis, leaving the label b b b unchanged. Applying QET to this encoding implements P ( B ν ) = diag ( P ( x ν , v ) ) P(B_\nu)=\operatorname{diag}(P(x_{\nu,v})) P ( B ν ) = diag ( P ( x ν , v )) with the subnormalization in Eq. (28) when both parities are used.
The labels b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } are handled separately by operations controlled on the label. The same treatment applies to any additional labels excluded from the polynomial approximation.
Bounded polynomial approximation. To implement a target function f f f , we need a polynomial that approximates f f f and satisfies the QET bound one on the whole interval [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Suppose f f f is real, ∥ f ∥ ∞ ≤ 1 \lVert f\rVert_\infty\leq1 ∥ f ∥ ∞ ≤ 1 , and a polynomial p d p_d p d has uniform error ∥ p d − f ∥ ∞ ≤ δ \lVert p_d-f\rVert_\infty\leq\delta ∥ p d − f ∥ ∞ ≤ δ . The rescaled polynomial P = p d / ( 1 + δ ) P=p_d/(1+\delta) P = p d / ( 1 + δ ) then satisfies ∥ P ∥ ∞ ≤ 1 \lVert P\rVert_\infty\leq1 ∥ P ∥ ∞ ≤ 1 and ∥ P − f ∥ ∞ ≤ 2 δ 1 + δ ≤ 2 δ \lVert P-f\rVert_\infty\leq\frac{2\delta}{1+\delta}\leq2\delta ∥ P − f ∥ ∞ ≤ 1 + δ 2 δ ≤ 2 δ . By the spectral decomposition of H H H , we have the error bound ∥ P ( H ) − f ( H ) ∥ 2 ≤ 2 δ \lVert P(H)-f(H)\rVert_2\leq2\delta ∥ P ( H ) − f ( H ) ∥ 2 ≤ 2 δ . If f f f is needed only on a subinterval containing the spectrum of H H H , the approximation error need only be controlled there, but P P P must still be bounded by one throughout [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] .
For analytic functions, Chebyshev interpolation converges exponentially with the polynomial degree. Let E ϱ E_\varrho E ϱ , ϱ > 1 \varrho>1 ϱ > 1 , be the closed Bernstein ellipse whose boundary is z = ( w + w − 1 ) / 2 z=(w+w^{-1})/2 z = ( w + w − 1 ) /2 for ∣ w ∣ = ϱ |w|=\varrho ∣ w ∣ = ϱ . If f f f is analytic in a neighborhood of E ϱ E_\varrho E ϱ and bounded there by M M M , then its degree-d d d interpolant at the Chebyshev nodes x j = cos ( j π / d ) x_j=\cos(j\pi/d) x j = cos ( j π / d ) , j = 0 , … , d j=0,\ldots,d j = 0 , … , d , satisfies [35 Theorem 8.2]
∥ f − p d ∥ ∞ ≤ 4 M ϱ − d ϱ − 1 , d ≥ 1. (32) \lVert f-p_d\rVert_\infty\leq\frac{4M\varrho^{-d}}{\varrho-1},\qquad d\geq1. \tag*{(32)} ∥ f − p d ∥ ∞ ≤ ϱ − 1 4 M ϱ − d , d ≥ 1. (32)
Thus, for fixed M M M and ϱ \varrho ϱ , an error at most δ \delta δ requires d = O ( log ( 1 / δ ) ) d=O(\log(1/\delta)) d = O ( log ( 1/ δ )) . If the rescaled functions on all dyadic intervals satisfy the same bounds, the same degree works on every interval.
Coherent selection of phase sequences. The QET phase angles ϕ 0 , … , ϕ d \phi_0,\ldots,\phi_d ϕ 0 , … , ϕ d are computed classically from the polynomial coefficients [36 , 37 ] . Several polynomials can use the same signal block encoding and differ only in their phase angles. Consider a family of L L L polynomials P j P_j P j , j = 0 , … , L − 1 j=0,\ldots,L-1 j = 0 , … , L − 1 , with the same parity and phase sequences of equal length. At each QET step, an index register storing j j j selects the phase angle associated with P j P_j P j , while all branches share the same signal call. Because the index register is preserved, the selected polynomial is applied coherently even when j j j is in superposition. The phase selection is implemented with uniformly controlled rotations, where each control value specifies one rotation angle [38 ] . With p = ⌈ log 2 L ⌉ p=\lceil\log_2 L\rceil p = ⌈ log 2 L ⌉ control bits, a general uniformly controlled rotation requires O ( 2 p ) O(2^p) O ( 2 p ) single-qubit rotations and CNOT gates. Selecting among L L L phase sequences therefore adds O ( L ) O(L) O ( L ) gates per phase step, in addition to the shared signal calls.
This coherent phase selection can be combined with the dyadic construction above to apply different polynomial approximations on different intervals. We apply QET to the dyadic intervals one at a time. For each interval, a flag qubit marks whether the current label belongs to that interval and controls the corresponding phase sequence. Because the label register is unchanged, the flag can be uncomputed and reused for the next interval. Each interval circuit acts as the identity outside its assigned label set. Since the intervals are disjoint, the resulting operator is a direct sum over the intervals, so its operator-norm error is the maximum interval error while the gate counts add. Within each interval, an additional control register can similarly select among several polynomials P j P_j P j through their phase angles, giving a direct sum over both interval labels and polynomial indices.
Oblivious amplitude amplification
The constructions above produce the desired operator with a known subnormalization factor. When the target operator is unitary, oblivious amplitude amplification (OAA) can remove this factor coherently [33 , 34 ] . OAA uses the encoding circuit, its inverse, and reflections about designated input and output subspaces. Because these reflections are independent of the particular input state, the procedure works for an arbitrary state in the input subspace.
Let W W W be a unitary circuit, and let Π i n \Pi_{\mathrm{in}} Π in and Π o u t \Pi_{\mathrm{out}} Π out project onto its input and successful output subspaces. Suppose that V V V maps these subspaces unitarily and that, for every normalized state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ in the input subspace,
Π o u t W ∣ ψ ⟩ = 1 α V ∣ ψ ⟩ , α ≥ 1. (33) \Pi_{\mathrm{out}}W|\psi\rangle=\frac{1}{\alpha}V|\psi\rangle,\qquad\alpha\ge1. \tag*{(33)} Π out W ∣ ψ ⟩ = α 1 V ∣ ψ ⟩ , α ≥ 1. (33)
The success probability is therefore 1 / α 2 1/\alpha^2 1/ α 2 , independently of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ . For an ordinary block encoding with a a a ancilla qubits, both projectors are ∣ 0 a ⟩ ⟨ 0 a ∣ ⊗ I |0^a\rangle\langle0^a|\otimes I ∣ 0 a ⟩ ⟨ 0 a ∣ ⊗ I .
To amplify the successful component, define the reflections S i n = I − 2 Π i n S_{\mathrm{in}}=I-2\Pi_{\mathrm{in}} S in = I − 2 Π in and S o u t = I − 2 Π o u t S_{\mathrm{out}}=I-2\Pi_{\mathrm{out}} S out = I − 2 Π out . After t ≥ 0 t\ge0 t ≥ 0 amplification rounds, the circuit is
U t = ( − W S i n W † S o u t ) t W . (34) U_t=\left(-WS_{\mathrm{in}}W^\dagger S_{\mathrm{out}}\right)^tW. \tag*{(34)} U t = ( − W S in W † S out ) t W . (34)
With θ = arcsin ( 1 / α ) \theta=\arcsin(1/\alpha) θ = arcsin ( 1/ α ) , we obtain
Π o u t U t ∣ ψ ⟩ = sin ( ( 2 t + 1 ) θ ) V ∣ ψ ⟩ . (35) \Pi_{\mathrm{out}}U_t|\psi\rangle=\sin\left((2t+1)\theta\right)V|\psi\rangle. \tag*{(35)} Π out U t ∣ ψ ⟩ = sin ( ( 2 t + 1 ) θ ) V ∣ ψ ⟩ . (35)
The same change in amplitude occurs for every input state. The circuit uses 2 t + 1 2t+1 2 t + 1 calls to W W W or W † W^\dagger W † and 2 t 2t 2 t reflections.
For a known α \alpha α , we can adjust the initial amplitude so that an integer number of rounds achieves unit success probability. Choose t ≥ 1 t\ge1 t ≥ 1 such that
α ≤ β t , β t = 1 sin ( π / ( 4 t + 2 ) ) . (36) \alpha\le\beta_t,\qquad\beta_t=\frac{1}{\sin\left(\pi/(4t+2)\right)}. \tag*{(36)} α ≤ β t , β t = sin ( π / ( 4 t + 2 ) ) 1 . (36)
Prepare an additional ancilla with amplitude α / β t \alpha/\beta_t α / β t on ∣ 0 ⟩ |0\rangle ∣0 ⟩ , and include its zero state in both the input and successful output projectors. The adjusted circuit W t W_t W t then encodes V / β t V/\beta_t V / β t . Applying the same amplification procedure to W t W_t W t implements V V V exactly, since ( 2 t + 1 ) arcsin ( 1 / β t ) = π / 2 (2t+1)\arcsin(1/\beta_t)=\pi/2 ( 2 t + 1 ) arcsin ( 1/ β t ) = π /2 . Choosing the smallest such t t t requires O ( α ) O(\alpha) O ( α ) circuit calls; a constant normalization factor therefore requires only a constant number of rounds.
The construction remains stable under small errors in the encoded operator [11 , 34 ] . Suppose V ^ t \widehat{V}_t V t encodes V ^ / β t \widehat{V}/\beta_t V / β t with error ∥ V ^ − V ∥ ≤ Δ \lVert\widehat{V}-V\rVert\le\Delta ∥ V − V ∥ ≤ Δ . For fixed t ≥ 1 t\ge1 t ≥ 1 and exact circuit operations, the amplified output differs from the ideal output by O ( Δ ) O(\Delta) O ( Δ ) in vector norm, uniformly over normalized inputs, including any leakage outside the successful output subspace. Errors in the encoding circuit and reflections contribute separately and add over their occurrences.
Construction of the QUT
Operator factorization
For m ≥ 2 m\ge2 m ≥ 2 , the zeros x 0 , … , x N − 1 x_0,\ldots,x_{N-1} x 0 , … , x N − 1 of C N ( m ) C_N^{(m)} C N ( m ) , which we call the Gauss–ultraspherical nodes,1 do not coincide with the sampling points of a standard discrete sine or cosine transform. The key observation is that, after writing x = cos θ x=\cos\theta x = cos θ and multiplying by an angular weight, each orthonormal ultraspherical polynomial becomes a finite trigonometric series. We can therefore evaluate these series on an auxiliary equispaced grid in θ \theta θ using a discrete sine or cosine transform, and then shift the sampled values to the angles corresponding to x 0 , … , x N − 1 x_0,\ldots,x_{N-1} x 0 , … , x N − 1 . A Taylor expansion performs this shift, while additional factors account for the quadrature weights. Truncating the expansion provides an approximate factorization into a trigonometric transform, a change from trigonometric to ultraspherical coefficients, and diagonal corrections for the sampling points and weights.
Throughout this section, we follow the assumptions of Theorem 1, in particular m ≥ 2 m\ge2 m ≥ 2 and K = N + m = 2 n K=N+m=2^n K = N + m = 2 n . Writing x = cos θ x=\cos\theta x = cos θ , we define the angular functions
G k ( m ) ( θ ) : = sin m θ p k ( m ) ( cos θ ) . (37) G_k^{(m)}(\theta):=\sin^m\theta\,p_k^{(m)}(\cos\theta). \tag*{(37)} G k ( m ) ( θ ) := sin m θ p k ( m ) ( cos θ ) . (37)
The factor sin m θ \sin^m\theta sin m θ incorporates the integration weight, so the functions G k ( m ) G_k^{(m)} G k ( m ) are orthonormal with respect to d θ \mathrm{d}\theta d θ on [ 0 , π ] [0,\pi] [ 0 , π ] . For integer m m m , each G k ( m ) G_k^{(m)} G k ( m ) is a trigonometric polynomial. Since p k ( m ) ( cos θ ) p_k^{(m)}(\cos\theta) p k ( m ) ( cos θ ) is even in θ \theta θ , G k ( m ) G_k^{(m)} G k ( m ) has a finite cosine expansion when m m m is even and a finite sine expansion when m m m is odd. For 0 ≤ k < N 0\leq k<N 0 ≤ k < N , its highest frequency is k + m < K k+m<K k + m < K .
This finite frequency support allows exact evaluation on an equispaced angular grid. For even integers m ≥ 2 m\geq2 m ≥ 2 , we use
θ ~ ℓ = ( ℓ + 1 / 2 ) π K , 0 ≤ ℓ ≤ K − 1 , (38) \widetilde{\theta}_{\ell}=\frac{(\ell+1/2)\pi}{K},\qquad0\leq\ell\leq K-1, \tag*{(38)} θ ℓ = K ( ℓ + 1/2 ) π , 0 ≤ ℓ ≤ K − 1 , (38)
together with the cosine basis
e p ( θ ) = { 1 / π , p = 0 , 2 / π cos ( p θ ) , p = 1 , … , K − 1 , (39) e_p(\theta)=
\begin{cases}
1/\sqrt{\pi}, & p=0,\\
\sqrt{2/\pi}\cos(p\theta), & p=1,\ldots,K-1,
\end{cases} \tag*{(39)} e p ( θ ) = { 1/ π , 2/ π cos ( pθ ) , p = 0 , p = 1 , … , K − 1 , (39)
which is orthonormal in L 2 ( [ 0 , π ] , d θ ) L^2([0,\pi],\mathrm{d}\theta) L 2 ([ 0 , π ] , d θ ) . For odd integers m ≥ 3 m\geq3 m ≥ 3 , we instead use
θ ~ ℓ = ℓ π K , 1 ≤ ℓ ≤ K − 1 , (40) \widetilde{\theta}_{\ell}=\frac{\ell\pi}{K},\qquad1\leq\ell\leq K-1, \tag*{(40)} θ ℓ = K ℓ π , 1 ≤ ℓ ≤ K − 1 , (40)
with the orthonormal sine basis
e p ( θ ) = 2 / π sin ( p θ ) , p = 1 , … , K − 1. (41) e_p(\theta)=\sqrt{2/\pi}\sin(p\theta),\qquad p=1,\ldots,K-1. \tag*{(41)} e p ( θ ) = 2/ π sin ( pθ ) , p = 1 , … , K − 1. (41)
Sampling the trigonometric basis on these grids defines the sine or cosine transform matrix T = ( T p ℓ ) \mathcal{T}=(\mathcal{T}_{p\ell}) T = ( T p ℓ ) ,
T p ℓ = π K e p ( θ ~ ℓ ) . (42) \mathcal{T}_{p\ell}=\sqrt{\frac{\pi}{K}}e_p(\widetilde{\theta}_{\ell}). \tag*{(42)} T p ℓ = K π e p ( θ ℓ ) . (42)
Discrete orthogonality makes T \mathcal{T} T unitary in dimension K K K for even m m m and K − 1 K-1 K − 1 for odd m m m . It maps grid samples to trigonometric coefficients.
To change from trigonometric coefficients to the angular basis { G k ( m ) } \{G_k^{(m)}\} { G k ( m ) } , define L = ( L k p ) L=(L_{kp}) L = ( L k p ) by
L k p = ∫ 0 π G k ( m ) ( θ ) e p ( θ ) d θ , 0 ≤ k < N . (43) L_{kp}=\int_0^\pi G_k^{(m)}(\theta)e_p(\theta)\,\mathrm{d}\theta,\qquad0\leq k<N. \tag*{(43)} L k p = ∫ 0 π G k ( m ) ( θ ) e p ( θ ) d θ , 0 ≤ k < N . (43)
The entries L k p L_{kp} L k p are the trigonometric expansion coefficients of G k ( m ) G_k^{(m)} G k ( m ) . Evaluating these expansions on the equispaced grid gives
( L T ) k ℓ = π K G k ( m ) ( θ ~ ℓ ) . (44) (L\mathcal{T})_{k\ell}=\sqrt{\frac{\pi}{K}}G_k^{(m)}(\widetilde{\theta}_{\ell}). \tag*{(44)} ( L T ) k ℓ = K π G k ( m ) ( θ ℓ ) . (44)
Since the orthonormal functions G k ( m ) G_k^{(m)} G k ( m ) have exact expansions in the orthonormal basis { e p } \{e_p\} { e p } , their coefficient vectors, which form the rows of L L L , are orthonormal. Hence L L † = I N LL^\dagger=I_N L L † = I N . Since L L L has fewer rows than columns, its circuit implementation requires a unitary completion. Section IV.E constructs this completion through successive rotations, while Appendix D derives the corresponding coefficients.
It remains to shift the equispaced angles to the Gauss–ultraspherical nodes. Let θ j : = arccos x j \theta_j:=\arccos x_j θ j := arccos x j and pair each
node with the grid index ℓ j : = j + ⌈ m / 2 ⌉ \ell_j:=j+\lceil m/2\rceil ℓ j := j + ⌈ m /2 ⌉ . The corresponding angular displacement and weight correction are
δ j = θ j − θ ~ ℓ j , ξ j = K w j π sin 2 m θ j . (45) \delta_j=\theta_j-\widetilde{\theta}_{\ell_j},\qquad\xi_j=\sqrt{\frac{K w_j}{\pi\sin^{2m}\theta_j}}. \tag*{(45)} δ j = θ j − θ ℓ j , ξ j = π sin 2 m θ j K w j . (45)
This constant-shift pairing matches the leading bulk location of the Gauss nodes. For fixed m m m , Jacobi zero asymptotics imply θ j = [ j + ( m + 1 ) / 2 ] π / K + O ( K − 2 ) \theta_j=[j+(m+1)/2]\pi/K+O(K^{-2}) θ j = [ j + ( m + 1 ) /2 ] π / K + O ( K − 2 ) when j / N j/N j / N is bounded away from 0 and 1 [39 ] , while the parity-dependent grid places θ ~ j + ⌈ m / 2 ⌉ \widetilde{\theta}_{j+\lceil m/2\rceil} θ j + ⌈ m /2 ⌉ exactly at this leading-order angle. By reflection symmetry, this choice minimizes the maximum angular displacement among constant-shift pairings ℓ j = j + c \ell_j=j+c ℓ j = j + c . Near the endpoints, where the bulk asymptotics are not uniform, a nonconsecutive nearest-grid pairing can achieve a smaller maximum displacement. The constant shift is nevertheless preferable for the circuit because it reduces the input relabeling to a fixed addition while keeping the bulk corrections small. Figure 2 illustrates the two angle sets and their pairing, with the largest angular mismatches ∣ δ j ∣ |\delta_j| ∣ δ j ∣ occurring near the endpoints.
Figure 2. Gauss–ultraspherical nodes and paired uniform-grid points. Each panel specifies ( m , N , K ) (m,N,K) ( m , N , K ) with K = N + m K=N+m K = N + m at fixed K = 16 K=16 K = 16 and places its markers at ( cos θ , sin θ ) (\cos\theta,\sin\theta) ( cos θ , sin θ ) on the upper unit semicircle. Filled markers show the Gauss nodes; green rings show their paired uniform-grid points, and pink rings show unpaired grid points. For m = 0 m=0 m = 0 and m = 1 m=1 m = 1 , the Gauss nodes coincide with the uniform grid. The separation becomes visible as m m m increases, with the largest mismatches occurring near the endpoints.
Both corrections in Eq. (45) are determined by a single phase function. At each node angle θ j \theta_j θ j , the phase is an integer multiple of π \pi π , while its derivative determines the corresponding quadrature weight. Appendix B.1 constructs this continuous phase function, denoted by Φ K ( m ) ( θ ) \Phi_K^{(m)}(\theta) Φ K ( m ) ( θ ) , and proves
Φ K ( m ) ( θ j ) = ( j + m ) π , ξ j 2 = K Φ K ( m ) ′ ( θ j ) . (46) \Phi_{K}^{(m)}(\theta_j)=(j+m)\pi,\qquad\xi_j^2=\frac{K}{\Phi_{K}^{(m)\prime}(\theta_j)}. \tag*{(46)} Φ K ( m ) ( θ j ) = ( j + m ) π , ξ j 2 = Φ K ( m ) ′ ( θ j ) K . (46)
Thus, inverting the phase function gives the node angle θ j \theta_j θ j and hence the displacement δ j \delta_j δ j , while its derivative determines the weight correction ξ j \xi_j ξ j .
Next, collect the correction quantities in the diagonal matrices D δ : = diag ( δ j ) D_\delta:=\operatorname{diag}(\delta_j) D δ := diag ( δ j ) and Ξ : = diag ( ξ j ) \Xi:=\operatorname{diag}(\xi_j) Ξ := diag ( ξ j ) . For each derivative order s ≥ 0 s\ge0 s ≥ 0 , define the differentiated sampling matrix E s E_s E s by
( E s ) p j = π K d s e p ( θ ) d θ s ∣ θ = θ ~ ℓ j . (47) (E_s)_{pj}=\left.\sqrt{\frac{\pi}{K}}\frac{\mathrm{d}^s e_p(\theta)}{\mathrm{d}\theta^s}\right|_{\theta=\widetilde{\theta}_{\ell j}}. \tag*{(47)} ( E s ) p j = K π d θ s d s e p ( θ ) θ = θ ℓ j . (47)
Expanding G k ( m ) ( θ ) = ∑ p L k p e p ( θ ) G_k^{(m)}(\theta)=\sum_p L_{kp}e_p(\theta) G k ( m ) ( θ ) = ∑ p L k p e p ( θ ) about θ ~ ℓ j \widetilde{\theta}_{\ell j} θ ℓ j and using θ j = θ ~ ℓ j + δ j \theta_j=\widetilde{\theta}_{\ell j}+\delta_j θ j = θ ℓ j + δ j yields
( Q N ( m ) ) k j = ξ j π K G k ( m ) ( θ j ) = ξ j π K ∑ s = 0 ∞ δ j s s ! ∑ p L k p d s e p ( θ ) d θ s ∣ θ = θ ~ ℓ j = ∑ s = 0 ∞ ξ j δ j s ( L E s ) k j s ! . (48) (Q_N^{(m)})_{kj}=\xi_j\sqrt{\frac{\pi}{K}}G_k^{(m)}(\theta_j)
=\xi_j\sqrt{\frac{\pi}{K}}\sum_{s=0}^{\infty}\frac{\delta_j^s}{s!}\sum_p L_{kp}\left.\frac{\mathrm{d}^s e_p(\theta)}{\mathrm{d}\theta^s}\right|_{\theta=\widetilde{\theta}_{\ell j}}
=\sum_{s=0}^{\infty}\frac{\xi_j\delta_j^s(LE_s)_{kj}}{s!}. \tag*{(48)} ( Q N ( m ) ) k j = ξ j K π G k ( m ) ( θ j ) = ξ j K π s = 0 ∑ ∞ s ! δ j s p ∑ L k p d θ s d s e p ( θ ) θ = θ ℓ j = s = 0 ∑ ∞ s ! ξ j δ j s ( L E s ) k j . (48)
Right multiplication by D δ s Ξ D_\delta^s\Xi D δ s Ξ will provide the factors δ j s ξ j \delta_j^s\xi_j δ j s ξ j . Truncating the Taylor series at order r r r therefore results in
Q ~ N , r ( m ) : = L ( ∑ s = 0 r E s D δ s s ! ) Ξ . (49) \widetilde{Q}_{N,r}^{(m)}:=L\left(\sum_{s=0}^{r}\frac{E_sD_\delta^s}{s!}\right)\Xi. \tag*{(49)} Q N , r ( m ) := L ( s = 0 ∑ r s ! E s D δ s ) Ξ. (49)
Reading Eq. (49) from right to left, Ξ \Xi Ξ corrects the quadrature weights, D δ s D_\delta^s D δ s supplies the angular displacements, E s E_s E s samples derivatives of the trigonometric basis, and L L L maps trigonometric coefficients to ultraspherical coefficients. Each E s E_s E s can be implemented from a Fourier transform together with frequency-dependent factors and phases. The retained Taylor terms are implemented in superposition and combined via LCU.
We next bound the truncation error in operator norm. Define
τ : = K max j ∣ δ j ∣ , ξ max : = max j ξ j . (50) \tau:=K\max_j|\delta_j|,\qquad\xi_{\max}:=\max_j\xi_j. \tag*{(50)} τ := K j max ∣ δ j ∣ , ξ m a x := j max ξ j . (50)
Since the rows of L L L are orthonormal, ∥ L ∥ 2 = 1 \lVert L\rVert_2=1 ∥ L ∥ 2 = 1 . To bound ∥ E s ∥ 2 \lVert E_s\rVert_2 ∥ E s ∥ 2 , note that taking s s s derivatives of a sine or cosine mode multiplies it by a factor of magnitude p s p^s p s . Without these frequency factors, the corresponding sampling matrices have operator norm at most one. For even m m m , the cosine rows and the nonzero sine rows sampled at θ ~ ℓ = ( ℓ + 1 / 2 ) π / K \widetilde{\theta}_\ell=(\ell+1/2)\pi/K θ ℓ = ( ℓ + 1/2 ) π / K are orthonormal. For odd m m m , the sine rows sampled at θ ~ ℓ = ℓ π / K \widetilde{\theta}_\ell=\ell\pi/K θ ℓ = ℓ π / K are orthonormal, while the cosine rows with 1 ≤ p < K 1\le p<K 1 ≤ p < K become orthonormal after adding the endpoint samples at θ = 0 \theta=0 θ = 0 and θ = π \theta=\pi θ = π , each scaled by 1 / 2 1/\sqrt{2} 1/ 2 . Removing these endpoint columns, and then selecting only the paired grid columns, cannot increase the operator norm. Since every frequency satisfies 0 ≤ p < K 0\le p<K 0 ≤ p < K , ∥ E s ∥ 2 ≤ ( K − 1 ) s ≤ K s \lVert E_s\rVert_2\le(K-1)^s\le K^s ∥ E s ∥ 2 ≤ ( K − 1 ) s ≤ K s . Hence
∥ Q N ( m ) − Q ~ N , r ( m ) ∥ 2 ≤ ξ max ∑ s = r + 1 ∞ τ s s ! ≤ ξ max e τ τ r + 1 ( r + 1 ) ! . (51) \left\lVert Q_N^{(m)}-\widetilde{Q}_{N,r}^{(m)}\right\rVert_2
\le\xi_{\max}\sum_{s=r+1}^{\infty}\frac{\tau^s}{s!}
\le\xi_{\max}e^\tau\frac{\tau^{r+1}}{(r+1)!}. \tag*{(51)} Q N ( m ) − Q N , r ( m ) 2 ≤ ξ m a x s = r + 1 ∑ ∞ s ! τ s ≤ ξ m a x e τ ( r + 1 )! τ r + 1 . (51)
Thus, when the scaled displacements K δ j K\delta_j K δ j and weight corrections ξ j \xi_j ξ j are bounded, the error decreases factorially with r r r . Choosing r r r so that the error in Eq. (51) is at most ε \varepsilon ε yields
r = O ( log ( 1 / ε ) log log ( 1 / ε ) ) . (52) r=O\left(\frac{\log(1/\varepsilon)}{\log\log(1/\varepsilon)}\right). \tag*{(52)} r = O ( log log ( 1/ ε ) log ( 1/ ε ) ) . (52)
independently of the transform dimension. Appendix A shows explicit sufficient choices. When τ = 0 \tau=0 τ = 0 , the zeroth-order term is exact.
To normalize the factors for block encoding, choose bounds T ≥ τ T\ge\tau T ≥ τ and X ≥ ξ max X\ge\xi_{\max} X ≥ ξ m a x and define
Γ s = diag ( γ s , j ) , γ s , j = ξ j X ( K δ j T ) s . (53) \Gamma_s=\operatorname{diag}(\gamma_{s,j}),\qquad\gamma_{s,j}=\frac{\xi_j}{X}\left(\frac{K\delta_j}{T}\right)^s. \tag*{(53)} Γ s = diag ( γ s , j ) , γ s , j = X ξ j ( T K δ j ) s . (53)
By construction, ∥ Γ s ∥ 2 ≤ 1 \lVert\Gamma_s\rVert_2\le1 ∥ Γ s ∥ 2 ≤ 1 . Since ∥ E s ∥ 2 ≤ ( K − 1 ) s \lVert E_s\rVert_2\le(K-1)^s ∥ E s ∥ 2 ≤ ( K − 1 ) s , we normalize the derivative block by ( K − 1 ) s (K-1)^s ( K − 1 ) s and absorb this scale into the Taylor coefficient. Define
λ f r e q = K − 1 K , c s = X ( λ f r e q T ) s s ! . (54) \lambda_{\mathrm{freq}}=\frac{K-1}{K},\qquad c_s=\frac{X(\lambda_{\mathrm{freq}}T)^s}{s!}. \tag*{(54)} λ freq = K K − 1 , c s = s ! X ( λ freq T ) s . (54)
Then
Q ~ N , r ( m ) = L ∑ s = 0 r X T s s ! E s K s Γ s = L ∑ s = 0 r c s E s ( K − 1 ) s Γ s . (55) \widetilde{Q}_{N,r}^{(m)}=L\sum_{s=0}^{r}\frac{XT^s}{s!}\frac{E_s}{K^s}\Gamma_s
=L\sum_{s=0}^{r}c_s\frac{E_s}{(K-1)^s}\Gamma_s. \tag*{(55)} Q N , r ( m ) = L s = 0 ∑ r s ! X T s K s E s Γ s = L s = 0 ∑ r c s ( K − 1 ) s E s Γ s . (55)
The two expressions agree term by term because c s / ( K − 1 ) s = X T s / ( s ! K s ) c_s/(K-1)^s=XT^s/(s!K^s) c s / ( K − 1 ) s = X T s / ( s ! K s ) .
The positive LCU coefficients sum to
α r = ∑ s = 0 r c s = X ∑ s = 0 r ( λ f r e q T ) s s ! , (56) \alpha_r=\sum_{s=0}^{r}c_s=X\sum_{s=0}^{r}\frac{(\lambda_{\mathrm{freq}}T)^s}{s!}, \tag*{(56)} α r = s = 0 ∑ r c s = X s = 0 ∑ r s ! ( λ freq T ) s , (56)
with α r ≤ X e λ f r e q T < X e T \alpha_r\le Xe^{\lambda_{\mathrm{freq}}T}<Xe^T α r ≤ X e λ freq T < X e T . We construct a block encoding of Γ s / 2 \Gamma_s/2 Γ s /2 , so the assembled circuit block-encodes Q ~ N , r ( m ) / ( 2 α r ) \widetilde{Q}_{N,r}^{(m)}/(2\alpha_r) Q N , r ( m ) / ( 2 α r ) . For a normalized input ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , the corresponding success probability is
p s u c c ( ψ ) = ∥ Q ~ N , r ( m ) ∣ ψ ⟩ ∥ 2 ( 2 α r ) 2 . (57) p_{\mathrm{succ}}(\psi)=\frac{\left\lVert\widetilde{Q}_{N,r}^{(m)}|\psi\rangle\right\rVert^2}{(2\alpha_r)^2}. \tag*{(57)} p succ ( ψ ) = ( 2 α r ) 2 Q N , r ( m ) ∣ ψ ⟩ 2 . (57)
Because Q ~ N , r ( m ) \widetilde{Q}_{N,r}^{(m)} Q N , r ( m ) approximates the unitary QUT, this probability is close to ( 2 α r ) − 2 (2\alpha_r)^{-2} ( 2 α r ) − 2 . We use oblivious amplitude amplification to raise the selected amplitude to nearly one. The bounds on T T T and X X X therefore control both the required Taylor order and the number of amplification rounds.
Normalization bounds. We now describe explicit choices for T T T and X X X , with the full derivation given in Appendix B.2. Both corrections attain their largest magnitude at the endpoint nodes,
τ = ( m + 1 ) π 2 − K θ 0 , ξ max = ξ 0 . (58) \tau=\frac{(m+1)\pi}{2}-K\theta_0,\qquad\xi_{\max}=\xi_0. \tag*{(58)} τ = 2 ( m + 1 ) π − K θ 0 , ξ m a x = ξ 0 . (58)
These maxima can be bounded without evaluating the node x 0 x_0 x 0 . Let z m z_m z m be the first positive zero of the Bessel function J m − 1 / 2 J_{m-1/2} J m − 1/2 [39 ] , and define
ϑ m , K = z m K 2 − m ( m − 1 ) / 3 . (59) \vartheta_{m,K}=\frac{z_m}{\sqrt{K^2-m(m-1)/3}}. \tag*{(59)} ϑ m , K = K 2 − m ( m − 1 ) /3 z m . (59)
Using the lower bound θ 0 ≥ ϑ m , K \theta_0\ge\vartheta_{m,K} θ 0 ≥ ϑ m , K established in Appendix B.2, we choose
T = ( m + 1 ) π 2 − K ϑ m , K . (60) T=\frac{(m+1)\pi}{2}-K\vartheta_{m,K}. \tag*{(60)} T = 2 ( m + 1 ) π − K ϑ m , K . (60)
for the displacement bound. The same lower bound on θ 0 \theta_0 θ 0 gives the weight bound
X 2 = ∑ q = 0 m − 1 sin − 2 q ϑ m , K ∏ a = 1 q ( 2 a − 1 ) ( m − a ) ( m + a − 1 ) 2 a ( K 2 − a 2 ) . (61) X^2=\sum_{q=0}^{m-1}\sin^{-2q}\vartheta_{m,K}\prod_{a=1}^{q}\frac{(2a-1)(m-a)(m+a-1)}{2a(K^2-a^2)}. \tag*{(61)} X 2 = q = 0 ∑ m − 1 sin − 2 q ϑ m , K a = 1 ∏ q 2 a ( K 2 − a 2 ) ( 2 a − 1 ) ( m − a ) ( m + a − 1 ) . (61)
with the convention that an empty product equals one. These choices satisfy T ≥ τ T\ge\tau T ≥ τ and X ≥ ξ max X\ge\xi_{\max} X ≥ ξ m a x for all integers m ≥ 2 m\ge2 m ≥ 2 and K ≥ m + 1 K\ge m+1 K ≥ m + 1 . Figure 3 shows that the bounds rapidly approach the exact maxima as K K K grows. Moreover, T ≤ ( m + 1 ) π / 2 − z m T\le(m+1)\pi/2-z_m T ≤ ( m + 1 ) π /2 − z m and X X X remains bounded independently of K K K .
Figure 3. Tightness of the normalization bounds for m = 2 , 3 , 4 , 5 m=2,3,4,5 m = 2 , 3 , 4 , 5 . Solid curves with filled markers show ( T − τ ) / τ (T-\tau)/\tau ( T − τ ) / τ , and dashed curves with open markers show ( X − ξ max ) / ξ max (X-\xi_{\max})/\xi_{\max} ( X − ξ m a x ) / ξ m a x . Here τ = max j ∣ t j ∣ \tau=\max_j|t_j| τ = max j ∣ t j ∣ with t j = K δ j t_j=K\delta_j t j = K δ j . The gray dashed line indicates a K − 4 K^{-4} K − 4 reference slope. Insets show T T T (upper right) and X X X (lower left) as functions of log 2 K \log_2K log 2 K .
The resulting subnormalization α Q E T = 2 α r ≤ 2 X e λ f r e q T ≤ 2 X e T \alpha_{\mathrm{QET}}=2\alpha_r\le2Xe^{\lambda_{\mathrm{freq}}T}\le2Xe^T α QET = 2 α r ≤ 2 X e λ freq T ≤ 2 X e T is therefore bounded uniformly in K K K . Table II lists the corresponding bounds and sufficient round counts for 2 ≤ m ≤ 8 2\le m\le8 2 ≤ m ≤ 8 .
Table II. Correction bounds, uniform subnormalization bounds and sufficient amplification rounds for K = 2 n ≥ m + 1 K=2^n\ge m+1 K = 2 n ≥ m + 1 . Since T T T is increasing and X X X is decreasing with respect to K K K , we report T T T at K → ∞ K\to\infty K → ∞ and a representative value of X X X at K = 64 K=64 K = 64 . The upper bound A A A of α Q E T \alpha_{\mathrm{QET}} α QET and the round count are obtained from Eq. (170) and Eq. (171) , respectively.
Circuit overview
According to Eq. (55) , each Taylor term has three main operations. The input correction Γ s \Gamma_s Γ s accounts for the node displacement and quadrature weight, the Fourier block E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s evaluates the corresponding derivative of the trigonometric expansion, and the basis change L L L maps the resulting trigonometric coefficients to ultraspherical coefficients. We now construct quantum circuits for these components.
The input correction depends on the node label, while the basis change uses rotations whose angles depend on the frequency label. We implement these label-dependent functions using quantum eigenvalue transformation (QET) of block-encoded diagonal Hermitian signal operators [40 ] . For each target function, we construct a bounded-degree polynomial approximation classically and synthesize the corresponding QET phase sequence. The Taylor terms are combined using LCU, and oblivious amplitude amplification removes the resulting subnormalization.
The system register contains n = log 2 K n=\log_2K n = log 2 K qubits. Its label changes from the paired grid point ℓ j = j + ⌈ m / 2 ⌉ \ell_j=j+\lceil m/2\rceil ℓ j = j + ⌈ m /2 ⌉ , to a frequency p p p , and finally to k + m k+m k + m for ultraspherical degree k k k . Standard quantum adders implement the fixed input and output shifts. An order register of ⌈ log 2 ( r + 1 ) ⌉ \lceil\log_2(r+1)\rceil ⌈ log 2 ( r + 1 )⌉ qubits stores the Taylor order s s s . A branch qubit is used within the Fourier block to combine the opposite Fourier labels p p p and 2 K − p 2K-p 2 K − p into the required sine or cosine mode. Selector qubits encode the required controlled operations, while reusable flag qubits record conditions such as interval membership or successful block selection. Figure 4 shows these registers and the complete circuit. Here U i n U_{\mathrm{in}} U in denotes the input-correction circuit, U F U_F U F the Fourier circuit, U L U_L U L the basis-change circuit, and W t W_t W t the combined block used in t t t amplification rounds.
Figure 4. QUT circuit for K = N + m = 2 n K=N+m=2^n K = N + m = 2 n and m ≥ 2 m\geq2 m ≥ 2 . (a) Amplified QUT circuit, including the fixed input and output label shifts. The dashed block is repeated t t t times. (b) One call to the padded block W t W_t W t . The input circuit encodes Γ s / 2 \Gamma_s/2 Γ s /2 , the Fourier circuit encodes E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s , and U L U_{\mathcal{L}} U L implements the trigonometric-to-ultraspherical basis change. The work wires group the ancillary registers used by the input, Fourier, and basis-change circuits. The output bras select the encoded block without measurement, and valid output labels are k + m k+m k + m for 0 ≤ k < N 0\leq k<N 0 ≤ k < N .
We construct the input circuit U i n U_{\mathrm{in}} U in , which block-encodes Γ s / 2 \Gamma_s/2 Γ s /2 for every fixed integer m ≥ 2 m \ge2 m ≥ 2 . The correction combines the scaled displacement t j = K δ j t_j = K\delta_j t j = K δ j and weight factor ξ j \xi_j ξ j . Using the bounds T ≥ ∣ t j ∣ T \ge|t_j| T ≥ ∣ t j ∣ and X ≥ ξ j X \ge\xi_j X ≥ ξ j from Eqs. (60) and (61) , we extend these discrete corrections to continuous functions of the grid label and approximate them by polynomials. The continuous extension is obtained from a phase representation of the Gauss–ultraspherical nodes. Appendix B.1 derives this representation using Darboux transformations; we summarize the main construction here.
For 1 ≤ q ≤ m 1 \le q \le m 1 ≤ q ≤ m , define the Schrödinger operator
H q : = − ∂ θ 2 + q ( q − 1 ) csc 2 θ , (62) H_q := -\partial_\theta^2 + q(q-1)\csc^2\theta, \tag*{(62)} H q := − ∂ θ 2 + q ( q − 1 ) csc 2 θ , (62)
and, for 1 ≤ q ≤ m − 1 1 \le q \le m-1 1 ≤ q ≤ m − 1 , define
A q : = ∂ θ − q cot θ . (63) A_q := \partial_\theta- q\cot\theta. \tag*{(63)} A q := ∂ θ − q cot θ . (63)
They satisfy the intertwining relation H q + 1 A q = A q H q H_{q+1}A_q = A_qH_q H q + 1 A q = A q H q . This is the standard Darboux transformation for this hierarchy of Schrödinger operators [41 ] . Hence, if H q Z q − 1 = K 2 Z q − 1 H_qZ_{q-1} = K^2Z_{q-1} H q Z q − 1 = K 2 Z q − 1 , then Z q : = K − 1 A q Z q − 1 Z_q := K^{-1}A_qZ_{q-1} Z q := K − 1 A q Z q − 1 satisfies H q + 1 Z q = K 2 Z q H_{q+1}Z_q = K^2Z_q H q + 1 Z q = K 2 Z q . Thus each step changes the potential from q ( q − 1 ) csc 2 θ q(q-1)\csc^2\theta q ( q − 1 ) csc 2 θ to q ( q + 1 ) csc 2 θ q(q+1)\csc^2\theta q ( q + 1 ) csc 2 θ while preserving the eigenvalue K 2 K^2 K 2 . We note that the angular function G N ( m ) G_N^{(m)} G N ( m ) satisfies H m G N ( m ) = K 2 G N ( m ) H_mG_N^{(m)} = K^2G_N^{(m)} H m G N ( m ) = K 2 G N ( m ) . Figure 5 illustrates this ladder of Darboux steps.
Figure 5. From Fourier modes to ultraspherical modes: Each panel H q H_q H q shows the potential corresponding to − ∂ θ 2 + q ( q − 1 ) csc 2 θ -\partial_\theta^2+q(q-1)\csc^2\theta − ∂ θ 2 + q ( q − 1 ) csc 2 θ . We start with a particle in a box, whose modes are sin K θ \sin K\theta sin K θ with energies E = K 2 E=K^2 E = K 2 . Each Darboux transformation A q = ∂ θ − q cot θ A_q=\partial_\theta-q\cot\theta A q = ∂ θ − q cot θ changes the potential and maps the modes to the next well without changing their energies, except for the lowest mode, which disappears. After m − 1 m-1 m − 1 steps, sin K θ \sin K\theta sin K θ becomes proportional to sin m θ C N ( m ) ( cos θ ) \sin^m\theta C_N^{(m)}(\cos\theta) sin m θ C N ( m ) ( cos θ ) . Orange dots mark the Gauss–ultraspherical nodes, while circles mark the equispaced grid used by sine or cosine transforms. The two grids nearly coincide, but differ near the walls, where some grid points have no corresponding node (gray circles). The QUT uses a QFT on the equispaced grid and corrects for these small shifts.
Starting from Z 0 ( θ ) = e i K θ Z_0(\theta) = e^{iK\theta} Z 0 ( θ ) = e i K θ and applying m − 1 m-1 m − 1 steps produces Z m − 1 Z_{m-1} Z m − 1 such that Im Z m − 1 ( θ ) ∝ G N ( m ) ( θ ) \operatorname{Im} Z_{m-1}(\theta) \propto G_N^{(m)}(\theta) Im Z m − 1 ( θ ) ∝ G N ( m ) ( θ ) . Set u = cot ( θ ) / K u = \cot(\theta)/K u = cot ( θ ) / K and h = 1 / K h = 1/K h = 1/ K . Expanding Z q = K − 1 A q Z q − 1 Z_q = K^{-1}A_qZ_{q-1} Z q = K − 1 A q Z q − 1 yields the expression
Z q ( θ ) = P q ( u ; h ) e i K θ , (64) Z_q(\theta) = P_q(u;h)e^{iK\theta}, \tag*{(64)} Z q ( θ ) = P q ( u ; h ) e i K θ , (64)
where P q ( u ; h ) P_q(u;h) P q ( u ; h ) is a polynomial in u u u defined recursively by P 0 = 1 P_0 = 1 P 0 = 1 and
P q ( u ; h ) = ( i − q u ) P q − 1 ( u ; h ) − ( u 2 + h 2 ) ∂ u P q − 1 ( u ; h ) . (65) P_q(u;h) = (i-qu)P_{q-1}(u;h) - (u^2+h^2)\partial_uP_{q-1}(u;h). \tag*{(65)} P q ( u ; h ) = ( i − q u ) P q − 1 ( u ; h ) − ( u 2 + h 2 ) ∂ u P q − 1 ( u ; h ) . (65)
Note that deg ( P q ) = q \deg(P_q) = q deg ( P q ) = q , independent of K K K . Using the continuous branch fixed in Appendix B.1, we define the phase function
Φ K ( m ) ( θ ) = arg Z m − 1 ( θ ) = K θ + ( m − 1 ) π 2 + ψ m ( u ; h ) , (66) \Phi_K^{(m)}(\theta) = \arg Z_{m-1}(\theta)
= K\theta+ \frac{(m-1)\pi}{2} + \psi_m(u;h), \tag*{(66)} Φ K ( m ) ( θ ) = arg Z m − 1 ( θ ) = K θ + 2 ( m − 1 ) π + ψ m ( u ; h ) , (66)
where
ψ m ( u ; h ) : = arg P m − 1 ( u ; h ) − m − 1 2 π . (67) \psi_m(u;h) := \arg P_{m-1}(u;h) - \frac{m-1}{2}\pi. \tag*{(67)} ψ m ( u ; h ) := arg P m − 1 ( u ; h ) − 2 m − 1 π . (67)
Thus ψ m \psi_m ψ m measures the deviation of the phase from its linear part K θ + ( m − 1 ) π / 2 K\theta+ (m-1)\pi/2 K θ + ( m − 1 ) π /2 .
We use this phase function to extend the node corrections to a continuous grid label. Let ζ m = 1 / 2 \zeta_m = 1/2 ζ m = 1/2 for even m m m and ζ m = 0 \zeta_m = 0 ζ m = 0 for odd m m m , so that the grid angles are θ ~ ℓ = π ( ℓ + ζ m ) / K \widetilde{\theta}_\ell= \pi(\ell+\zeta_m)/K θ ℓ = π ( ℓ + ζ m ) / K . Treating ℓ \ell ℓ as a real variable, define θ ( ℓ ) \theta(\ell) θ ( ℓ ) as the solution of
K θ ( ℓ ) + ψ m ( cot θ ( ℓ ) K ; 1 K ) = π ( ℓ + ζ m ) . (68) K\theta(\ell) + \psi_m\left(\frac{\cot\theta(\ell)}{K};\frac{1}{K}\right) = \pi(\ell+\zeta_m). \tag*{(68)} K θ ( ℓ ) + ψ m ( K cot θ ( ℓ ) ; K 1 ) = π ( ℓ + ζ m ) . (68)
At ℓ = ℓ j \ell= \ell_j ℓ = ℓ j , since ℓ j + ζ m = j + ( m + 1 ) / 2 \ell_j+\zeta_m = j+(m+1)/2 ℓ j + ζ m = j + ( m + 1 ) /2 , Eq. (68) reduces to the node condition in Eq. (46) , and hence θ ( ℓ j ) = θ j \theta(\ell_j) = \theta_j θ ( ℓ j ) = θ j . The corresponding scaled displacement is
t ( ℓ ) = K θ ( ℓ ) − π ( ℓ + ζ m ) = K ( θ ( ℓ ) − θ ~ ℓ ) , (69) t(\ell) = K\theta(\ell) - \pi(\ell+\zeta_m) = K\bigl(\theta(\ell)-\widetilde{\theta}_\ell\bigr), \tag*{(69)} t ( ℓ ) = K θ ( ℓ ) − π ( ℓ + ζ m ) = K ( θ ( ℓ ) − θ ℓ ) , (69)
so that t ( ℓ j ) = K δ j t(\ell_j) = K\delta_j t ( ℓ j ) = K δ j . Appendix B.1 also establishes
∣ P m − 1 ( u ; h ) ∣ 2 Φ K ( m ) ′ ( θ ) = K D m − 1 ( h ) , (70) \left|P_{m-1}(u;h)\right|^2\Phi_K^{(m)\prime}(\theta) = K D_{m-1}(h), \tag*{(70)} ∣ P m − 1 ( u ; h ) ∣ 2 Φ K ( m ) ′ ( θ ) = K D m − 1 ( h ) , (70)
where D m − 1 ( h ) = ∏ q = 1 m − 1 ( 1 − q 2 h 2 ) D_{m-1}(h) = \prod_{q=1}^{m-1}(1-q^2h^2) D m − 1 ( h ) = ∏ q = 1 m − 1 ( 1 − q 2 h 2 ) . With u ( ℓ ) = cot ( θ ( ℓ ) ) / K u(\ell) = \cot(\theta(\ell))/K u ( ℓ ) = cot ( θ ( ℓ )) / K , we extend the weight correction by
ξ ( ℓ ) = K Φ K ( m ) ′ ( θ ( ℓ ) ) = ∣ P m − 1 ( u ( ℓ ) ; h ) ∣ D m − 1 ( h ) . (71) \xi(\ell) = \sqrt{\frac{K}{\Phi_K^{(m)\prime}(\theta(\ell))}} = \frac{|P_{m-1}(u(\ell);h)|}{\sqrt{D_{m-1}(h)}}. \tag*{(71)} ξ ( ℓ ) = Φ K ( m ) ′ ( θ ( ℓ )) K = D m − 1 ( h ) ∣ P m − 1 ( u ( ℓ ) ; h ) ∣ . (71)
Thus ξ ( ℓ j ) = ξ j \xi(\ell_j) = \xi_j ξ ( ℓ j ) = ξ j . We combine the two extensions into
g s , m , K ( ℓ ) = ξ ( ℓ ) X ( t ( ℓ ) T ) s , (72) g_{s,m,K}(\ell) = \frac{\xi(\ell)}{X}\left(\frac{t(\ell)}{T}\right)^s, \tag*{(72)} g s , m , K ( ℓ ) = X ξ ( ℓ ) ( T t ( ℓ ) ) s , (72)
with g s , m , K ( ℓ j ) = γ s , j g_{s,m,K}(\ell_j) = \gamma_{s,j} g s , m , K ( ℓ j ) = γ s , j .
All evaluations of these functions are performed classically. For each interpolation label ℓ \ell ℓ , we solve Eq. (68) for θ ( ℓ ) \theta(\ell) θ ( ℓ ) , or equivalently for t ( ℓ ) t(\ell) t ( ℓ ) . The phase correction ψ m \psi_m ψ m is evaluated from the fixed-degree polynomial P m − 1 P_{m-1} P m − 1 , after which Eqs. (71) and (72) determine ξ ( ℓ ) \xi(\ell) ξ ( ℓ ) and g s , m , K ( ℓ ) g_{s,m,K}(\ell) g s , m , K ( ℓ ) .
We next exploit reflection symmetry to restrict the polynomial approximation to one half of the grid. Let ρ \rho ρ be the highest bit of the grid label ℓ \ell ℓ and define the folded label b : = min ( ℓ , K − 1 − ℓ ) b := \min(\ell,K-1-\ell) b := min ( ℓ , K − 1 − ℓ ) , which ranges over the left half { 0 , … , K / 2 − 1 } \{0,\ldots,K/2-1\} { 0 , … , K /2 − 1 } and is obtained by complementing the lower n − 1 n-1 n − 1 bits of ℓ \ell ℓ when ρ = 1 \rho=1 ρ = 1 . The reflection θ ↦ π − θ \theta\mapsto\pi-\theta θ ↦ π − θ maps the grid angle θ ~ ℓ \widetilde{\theta}_\ell θ ℓ to θ ~ K − 1 − ℓ \widetilde{\theta}_{K-1-\ell} θ K − 1 − ℓ for even m m m and to θ ~ K − ℓ \widetilde{\theta}_{K-\ell} θ K − ℓ for odd m m m ; it reverses the displacement but preserves the weight. Hence the correction at ℓ \ell ℓ is ( − 1 ) ρ s g s , m , K ( b ) (-1)^{\rho s}g_{s,m,K}(b) ( − 1 ) ρ s g s , m , K ( b ) for even m m m and ( − 1 ) ρ s g s , m , K ( b + ρ ) (-1)^{\rho s}g_{s,m,K}(b+\rho) ( − 1 ) ρ s g s , m , K ( b + ρ ) for odd m m m , where the shift by ρ \rho ρ appears because the reflected label K − ℓ K-\ell K − ℓ exceeds K − 1 − ℓ K-1-\ell K − 1 − ℓ by one.
The correction varies most rapidly near the grid endpoints, where the constant-shift pairing produces the largest mismatch, as shown in Figure 2 . A single rescaling of the full label range to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] would compress these variations into intervals of width O ( K − 1 ) O(K^{-1}) O ( K − 1 ) . We therefore treat the first B m B_m B m folded labels directly, where B m B_m B m depends only on m m m and is independent of K K K , and approximate the remaining labels on dyadic intervals. Labels with b < B m b < B_m b < B m are implemented using fixed rotations, while the remaining labels are divided into intervals I ν I_\nu I ν with 2 ν ≥ B m 2^\nu\geq B_m 2 ν ≥ B m . Appendix B.3 specifies a sufficient choice of B m B_m B m and proves uniform approximation bounds on these intervals. A sufficient choice is the smallest power of two larger than m ( m − 1 ) / 2 m(m-1)/2 m ( m − 1 ) /2 , for example B 2 = 2 B_2=2 B 2 = 2 , B 3 = 4 B_3=4 B 3 = 4 , and B 4 = 8 B_4=8 B 4 = 8 .
Fix an approximation error 0 < η Γ < 1 0<\eta_\Gamma<1 0 < η Γ < 1 . On I ν = { 2 ν , … , 2 ν + 1 − 1 } I_\nu=\{2^\nu,\ldots,2^{\nu+1}-1\} I ν = { 2 ν , … , 2 ν + 1 − 1 } , rescale the continuous folded label b ∈ [ 2 ν , 2 ν + 1 − 1 ] b\in[2^\nu,2^{\nu+1}-1] b ∈ [ 2 ν , 2 ν + 1 − 1 ] to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] by
x = 2 ( b − 2 ν ) 2 ν − 1 − 1 , (73) x=\frac{2(b-2^\nu)}{2^\nu-1}-1, \tag*{(73)} x = 2 ν − 1 2 ( b − 2 ν ) − 1 , (73)
or equivalently,
b = b ν ( x ) : = 2 ν + 2 ν − 1 2 ( x + 1 ) . (74) b=b_\nu(x):=2^\nu+\frac{2^\nu-1}{2}(x+1). \tag*{(74)} b = b ν ( x ) := 2 ν + 2 2 ν − 1 ( x + 1 ) . (74)
For even m m m , we approximate g s , m , K ( b ν ( x ) ) g_{s,m,K}(b_\nu(x)) g s , m , K ( b ν ( x )) as a function of x x x . For odd m m m , we construct the approximation separately for ρ = 0 \rho=0 ρ = 0 and ρ = 1 \rho=1 ρ = 1 , using g s , m , K ( b ν ( x ) + ρ ) g_{s,m,K}(b_\nu(x)+\rho) g s , m , K ( b ν ( x ) + ρ ) .
After the fold, the lower n − 1 n-1 n − 1 qubits of the system register hold b b b (Appendix B.4). On I ν I_\nu I ν , the polynomial is applied through the dyadic signal B ν B_\nu B ν of Eq. (31) , which acts on the ν \nu ν least significant of these qubits. Its diagonal entry on the folded label b = 2 ν + v ∈ I ν b=2^\nu+v\in I_\nu b = 2 ν + v ∈ I ν is x ν , v = ( 2 v − 2 ν + 1 ) / ( 2 ν − 1 ) x_{\nu,v}=(2v-2^\nu+1)/(2^\nu-1) x ν , v = ( 2 v − 2 ν + 1 ) / ( 2 ν − 1 ) , the rescaled coordinate x x x of b b b , so that b ν ( x ν , v ) = b b_\nu(x_{\nu,v})=b b ν ( x ν , v ) = b . QET with a polynomial P P P then encodes P ( B ν ) / 2 P(B_\nu)/2 P ( B ν ) /2 as in Eq. (28) , and P ( x ν , v ) P(x_{\nu,v}) P ( x ν , v ) approximates g s , m , K ( b ) g_{s,m,K}(b) g s , m , K ( b ) for even m m m and g s , m , K ( b + ρ ) g_{s,m,K}(b+\rho) g s , m , K ( b + ρ ) for odd m m m . The same signal serves every order s s s and, for odd m m m , both values of ρ \rho ρ ; these enter only through the selected QET phase angles. Since the interval circuit acts as the identity outside I ν I_\nu I ν , the entries of B ν B_\nu B ν on other folded labels do not enter the input block.
Appendix B.3 shows that these rescaled functions are analytic and uniformly bounded by the constant M M M of Eq. (179) on a fixed complex neighborhood of [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Chebyshev interpolation yields polynomial approximations of degree
d Γ = ⌈ log 2 16 M η Γ ⌉ . (75) d_\Gamma=\left\lceil\log_2\frac{16M}{\eta_\Gamma}\right\rceil. \tag*{(75)} d Γ = ⌈ log 2 η Γ 16 M ⌉ . (75)
The same degree works for every Taylor order 0 ≤ s ≤ r 0\leq s\leq r 0 ≤ s ≤ r and, when m m m is odd, for both ρ = 0 \rho=0 ρ = 0 and ρ = 1 \rho=1 ρ = 1 . At fixed m m m ,
d Γ = O m ( r + log 1 η Γ ) , (76) d_\Gamma=O_m\left(r+\log\frac{1}{\eta_\Gamma}\right), \tag*{(76)} d Γ = O m ( r + log η Γ 1 ) , (76)
independently of K K K .
We implement the interval polynomials using the QET circuits of Section III, together with fixed rotations for the endpoint labels. After restoring the reflection sign and the original grid labels, the resulting input circuit satisfies
⟨ 0 ∣ U i n ∣ 0 ⟩ = ∑ s = 0 r ∣ s ⟩ ⟨ s ∣ ⊗ Γ ^ s 2 , (77) \langle0|U_{\mathrm{in}}|0\rangle=\sum_{s=0}^{r}|s\rangle\langle s|\otimes\frac{\widehat{\Gamma}_s}{2}, \tag*{(77)} ⟨ 0∣ U in ∣0 ⟩ = s = 0 ∑ r ∣ s ⟩ ⟨ s ∣ ⊗ 2 Γ s , (77)
on the valid paired labels, with ∥ Γ ^ s − Γ s ∥ 2 ≤ η Γ \lVert\widehat{\Gamma}_s-\Gamma_s\rVert_2\leq\eta_\Gamma ∥ Γ s − Γ s ∥ 2 ≤ η Γ . All interpolation data, rotation angles, and QET phase sequences are computed classically before quantum execution.
Extension to other Jacobi parameters. For integer m m m , the QUT covers Jacobi polynomials with equal parameters α = β = m − 1 / 2 \alpha=\beta=m-1/2 α = β = m − 1/2 , and both ingredients of the input correction extend to asymmetric pairs of half-integer parameters. First-order Darboux steps analogous to A q A_q A q shift ( α , β ) (\alpha,\beta) ( α , β ) by ( ± 1 , ± 1 ) (\pm1,\pm1) ( ± 1 , ± 1 ) , so a number of steps independent of N N N connects the four Chebyshev families ( ± 1 / 2 , ± 1 / 2 ) (\pm1/2,\pm1/2) ( ± 1/2 , ± 1/2 ) to every admissible half-integer pair [42 ] . The resulting intertwiner has a fixed order and therefore maps each Fourier mode to the same mode multiplied by a polynomial of fixed degree in its frequency, whose coefficients depend only on the angle [41 ] , just as P m − 1 ( u ; h ) P_{m-1}(u;h) P m − 1 ( u ; h ) in Z m − 1 Z_{m-1} Z m − 1 is a polynomial of fixed degree in u = cot θ / K u=\cot\theta/K u = cot θ / K and h = 1 / K h=1/K h = 1/ K . For modes on which every step has a positive norm, the phase of the resulting normalized wave again determines the nodes and weights as in Eq. (46) . We present these parameter shifts and phase–quadrature identities in Appendix G.
The exact construction stops at half-integer parameters. By Proposition 4, a nonzero finite-order differential operator with analytic, frequency-independent coefficients can map Fourier modes to solutions of the Jacobi angular equation for infinitely many frequencies only if α , β ∈ 1 / 2 + Z \alpha,\beta\in1/2+\mathbb{Z} α , β ∈ 1/2 + Z , which is also exactly when the Jacobi angular functions are finite trigonometric polynomials, as the finite basis change L L L requires. Legendre polynomials, with α = β = 0 \alpha=\beta=0 α = β = 0 , therefore fall outside this construction. For such parameters, trigonometric asymptotic expansions [43 ] and the nonoscillatory phase functions of classical fast Jacobi transforms [44 ] still describe the angular functions as Fourier modes with amplitude and phase corrections, but these corrections are no longer finite sums of powers of the frequency. A fixed-degree correction does not automatically make a Jacobi transform efficient on a quantum computer. In the example discussed in Appendix G, one coefficient in the angular function diverges at an endpoint although the complete function is regular. Block-encoding this coefficient on the Gauss grid costs a subnormalization of order N N N . A Jacobi transform with the complexity of Theorem 1 would therefore need a discretization that preserves the regularity of the angular functions and an efficient circuit that implements it.
Fourier block and frequency powers
We next implement E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s for each Taylor order s s s . Recall from Eq. (47) that E s E_s E s samples the s s s th derivatives of the trigonometric basis functions at the paired grid points. For p > 0 p>0 p > 0 , these functions are e p ( θ ) = 2 / π cos ( p θ ) e_p(\theta)=\sqrt{2/\pi}\cos(p\theta) e p ( θ ) = 2/ π cos ( pθ ) for even m m m and e p ( θ ) = 2 / π sin ( p θ ) e_p(\theta)=\sqrt{2/\pi}\sin(p\theta) e p ( θ ) = 2/ π sin ( pθ ) for odd m m m . Differentiating s s s times introduces a factor p s p^s p s , changes between sine and cosine when s s s is odd, and introduces a sign that depends on m m m and s s s . We therefore implement E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s in two steps: a Fourier-based circuit produces the required trigonometric samples, and a second circuit applies the factor [ p / ( K − 1 ) ] s [p/(K-1)]^s [ p / ( K − 1 ) ] s .
The trigonometric function required after s s s derivatives is determined by
σ s = ( m + s ) mod 2 , (78) \sigma_s=(m+s)\mathbin{\operatorname{mod}}2, \tag*{(78)} σ s = ( m + s ) mod 2 , (78)
where σ s = 0 \sigma_s=0 σ s = 0 denotes cosine and σ s = 1 \sigma_s=1 σ s = 1 denotes sine. To obtain these real transforms from the complex QFT, we first apply a unitary B i n ( s ) B_{\mathrm{in}}(s) B in ( s ) that forms symmetric or antisymmetric combinations of grid labels and their reflections in a 2 K 2K 2 K -dimensional register. Define
ref m ( ℓ ) = { 2 K − 1 − ℓ , m even , 2 K − ℓ , m odd . (79) \operatorname{ref}_m(\ell)=
\begin{cases}
2K-1-\ell, & m\ \text{even},\\
2K-\ell, & m\ \text{odd}.
\end{cases} \tag*{(79)} ref m ( ℓ ) = { 2 K − 1 − ℓ , 2 K − ℓ , m even , m odd . (79)
For a paired grid label ℓ j = j + ⌊ m / 2 ⌋ \ell_j=j+\lfloor m/2\rfloor ℓ j = j + ⌊ m /2 ⌋ ,
B i n ( s ) ∣ 0 ⟩ b r ∣ ℓ j ⟩ s y s = ∣ ℓ j ⟩ + ( − 1 ) σ s ∣ ref m ( ℓ j ) ⟩ 2 . (80) B_{\mathrm{in}}(s)|0\rangle_{\mathrm{br}}|\ell_j\rangle_{\mathrm{sys}}
=\frac{|\ell_j\rangle+(-1)^{\sigma_s}|\operatorname{ref}_m(\ell_j)\rangle}{\sqrt{2}}. \tag*{(80)} B in ( s ) ∣0 ⟩ br ∣ ℓ j ⟩ sys = 2 ∣ ℓ j ⟩ + ( − 1 ) σ s ∣ ref m ( ℓ j )⟩ . (80)
The kets on the right denote labels of the joint b r ⊗ s y s \mathrm{br}\otimes\mathrm{sys} br ⊗ sys register, with the branch qubit as the most significant bit. Thus the input is symmetric for the cosine transform and antisymmetric for the sine transform. The QFT unitary, denoted by F \mathcal{F} F , then acts on these n + 1 n+1 n + 1 qubits. Its matrix entries are
F p ℓ = 1 2 K e i π p ℓ / K , 0 ≤ p , ℓ < 2 K . (81) \mathcal{F}_{p\ell}=\frac{1}{\sqrt{2K}}e^{i\pi p\ell/K},\qquad0\leq p,\ell<2K. \tag*{(81)} F p ℓ = 2 K 1 e iπ p ℓ / K , 0 ≤ p , ℓ < 2 K . (81)
The same QFT is shared by all Taylor orders. After the QFT, a second unitary B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) combines the output frequencies p p p and 2 K − p 2K-p 2 K − p and returns the branch qubit to zero. For even m m m , this combination includes the phase associated with the half-grid shift θ ~ ℓ = ( ℓ + 1 / 2 ) π / K \widetilde{\theta}_\ell=(\ell+1/2)\pi/K θ ℓ = ( ℓ + 1/2 ) π / K ; for odd m m m , no such shift is needed. Define
ϕ m , p = { π p / ( 2 K ) , m even , 0 , m odd , (82) \phi_{m,p}=
\begin{cases}
\pi p/(2K), & m\text{ even},\\
0, & m\text{ odd},
\end{cases} \tag*{(82)} ϕ m , p = { π p / ( 2 K ) , 0 , m even , m odd , (82)
and let the derivative sign be
χ m , s = { ( − 1 ) ⌈ s / 2 ⌉ , m even , ( − 1 ) ⌊ s / 2 ⌋ , m odd . (83) \chi_{m,s}=
\begin{cases}
(-1)^{\lceil s/2\rceil}, & m\text{ even},\\
(-1)^{\lfloor s/2\rfloor}, & m\text{ odd}.
\end{cases} \tag*{(83)} χ m , s = { ( − 1 ) ⌈ s /2 ⌉ , ( − 1 ) ⌊ s /2 ⌋ , m even , m odd . (83)
For 1 ≤ p < K 1\le p<K 1 ≤ p < K , we choose B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) so that
B o u t ( s ) e − i ϕ m , p ∣ p ⟩ + ( − 1 ) σ s e i ϕ m , p ∣ 2 K − p ⟩ 2 = χ m , s ∣ 0 ⟩ b r ∣ p ⟩ s y s . (84) B_{\mathrm{out}}(s)\frac{e^{-i\phi_{m,p}}|p\rangle+(-1)^{\sigma_s}e^{i\phi_{m,p}}|2K-p\rangle}{\sqrt{2}}
=\chi_{m,s}|0\rangle_{\mathrm{br}}|p\rangle_{\mathrm{sys}}. \tag*{(84)} B out ( s ) 2 e − i ϕ m , p ∣ p ⟩ + ( − 1 ) σ s e i ϕ m , p ∣2 K − p ⟩ = χ m , s ∣0 ⟩ br ∣ p ⟩ sys . (84)
This adds the two frequency components for cosine and subtracts them, with a factor of i i i , for sine. The orthogonal combination is mapped to the branch state ∣ 1 ⟩ b r |1\rangle_{\mathrm{br}} ∣1 ⟩ br . Appendix C presents an explicit construction of B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) and treats the special Fourier labels p = 0 p=0 p = 0 and p = K p=K p = K separately.
It remains to apply the frequency factor [ p / ( K − 1 ) ] s [p/(K-1)]^s [ p / ( K − 1 ) ] s . Since this factor depends only on the frequency label, we implement it using QET. Writing p = ∑ a = 0 n − 1 2 a p a p=\sum_{a=0}^{n-1}2^a p_a p = ∑ a = 0 n − 1 2 a p a with p a ∈ { 0 , 1 } p_a\in\{0,1\} p a ∈ { 0 , 1 } , we construct
A f r e q = diag ( p / K ) = K − 1 2 K I − ∑ a = 0 n − 1 2 a 2 K Z a . (85) A_{\mathrm{freq}}=\operatorname{diag}(p/K)=\frac{K-1}{2K}I-\sum_{a=0}^{n-1}\frac{2^a}{2K}Z_a. \tag*{(85)} A freq = diag ( p / K ) = 2 K K − 1 I − a = 0 ∑ n − 1 2 K 2 a Z a . (85)
The absolute values of these coefficients sum to
λ f r e q = K − 1 2 K + ∑ a = 0 n − 1 2 a 2 K = K − 1 K . (86) \lambda_{\mathrm{freq}}=\frac{K-1}{2K}+\sum_{a=0}^{n-1}\frac{2^a}{2K}=\frac{K-1}{K}. \tag*{(86)} λ freq = 2 K K − 1 + a = 0 ∑ n − 1 2 K 2 a = K K − 1 . (86)
Using these coefficients in an LCU construction therefore produces a Hermitian unitary U f r e q U_{\mathrm{freq}} U freq that block-encodes
A ‾ f r e q = A f r e q λ f r e q = diag ( p K − 1 ) . (87) \overline{A}_{\mathrm{freq}}=\frac{A_{\mathrm{freq}}}{\lambda_{\mathrm{freq}}}=\operatorname{diag}\left(\frac{p}{K-1}\right). \tag*{(87)} A freq = λ freq A freq = diag ( K − 1 p ) . (87)
The corresponding selector register requires ⌈ log 2 ( n + 1 ) ⌉ \lceil\log_2(n+1)\rceil ⌈ log 2 ( n + 1 )⌉ qubits. Since the selected Pauli terms square to the identity, the resulting signal unitary satisfies U f r e q 2 = I U_{\mathrm{freq}}^2=I U freq 2 = I .
For s ≥ 1 s\ge1 s ≥ 1 , the target polynomial x s x^s x s is bounded by one on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] and has definite parity. A single QET parity sequence, together with the real-part extraction described in Section III, therefore produces a circuit R p ( s ) R_p(s) R p ( s ) such that
( ⟨ 0 ∣ ⊗ I ) R p ( s ) ∣ 0 ⟩ ∣ p ⟩ = ( p K − 1 ) s ∣ p ⟩ . (88) (\langle0|\otimes I)R_p(s)|0\rangle|p\rangle=\left(\frac{p}{K-1}\right)^s|p\rangle. \tag*{(88)} (⟨ 0∣ ⊗ I ) R p ( s ) ∣0 ⟩ ∣ p ⟩ = ( K − 1 p ) s ∣ p ⟩ . (88)
Here ∣ 0 ⟩ |0\rangle ∣0 ⟩ denotes the joint zero state of the frequency selector and real-part ancilla. No even–odd combination is needed, so this block introduces no additional subnormalization. For s = 0 s=0 s = 0 , we define R p ( 0 ) = I R_p(0)=I R p ( 0 ) = I .
To implement all orders 0 ≤ s ≤ r 0\le s\le r 0 ≤ s ≤ r coherently, we use a common sequence with r r r signal-query positions. The degree-s s s sequence requires only s s s queries; the remaining positions are padded so that the extra signal calls cancel in pairs using U f r e q 2 = I U_{\mathrm{freq}}^2=I U freq 2 = I . The order register selects the QET phase at each step. We show in Appendix C.2 that this shared construction reproduces the individual degree-s s s sequences on every order branch. When r = 0 r=0 r = 0 , the frequency circuit is omitted.
By combining the trigonometric transform and the frequency factor, we obtain
U E ( s ) = R p ( s ) B o u t ( s ) F B i n ( s ) , (89) U_E(s)=R_p(s)B_{\mathrm{out}}(s)F B_{\mathrm{in}}(s), \tag*{(89)} U E ( s ) = R p ( s ) B out ( s ) F B in ( s ) , (89)
which block-encodes E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s on the paired grid inputs. Composing it with U i n U_{\mathrm{in}} U in therefore results in, for each Taylor order s s s , the block E s ( K − 1 ) s Γ ^ s \frac{E_s}{(K-1)^s}\widehat{\Gamma}_s ( K − 1 ) s E s Γ s . The next step is to apply the basis change L L L to map these frequency amplitudes to ultraspherical coefficients.
Weighted Helmert basis change
To convert frequency amplitudes to ultraspherical coefficients, we extend the rectangular matrix L L L from Eq. (43) to a unitary L \mathcal{L} L on the system register. Its relevant output rows satisfy
⟨ k + m ∣ L ∣ p ⟩ = L k p , 0 ≤ k < N , 0 ≤ p < K . (90) \langle k+m|\mathcal{L}|p\rangle=L_{kp},\qquad0\le k<N,\quad0\le p<K. \tag*{(90)} ⟨ k + m ∣ L ∣ p ⟩ = L k p , 0 ≤ k < N , 0 ≤ p < K . (90)
We construct L \mathcal{L} L through successive changes between the angular bases { G k ( λ ) } \{G_k^{(\lambda)}\} { G k ( λ ) } , starting from λ = m m o d 2 \lambda=m\bmod2 λ = m mod 2 and increasing λ \lambda λ by two until λ = m \lambda=m λ = m . Using sin 2 θ = 1 − cos 2 θ \sin^2\theta=1-\cos^2\theta sin 2 θ = 1 − cos 2 θ , we expand G k ( λ + 2 ) G_k^{(\lambda+2)} G k ( λ + 2 ) as a linear combination of G j ( λ ) G_j^{(\lambda)} G j ( λ ) with j ≤ k + 2 j\le k+2 j ≤ k + 2 and the same parity as k k k . After ⌈ m / 2 ⌉ \lceil m/2\rceil ⌈ m /2 ⌉ such steps, we obtain the target basis.
For a fixed intermediate parameter λ \lambda λ , assign each mode G k ( λ ) G_k^{(\lambda)} G k ( λ ) a positive weight μ k \mu_k μ k . Let I k = { j : 0 ≤ j < k , j ≡ k ( m o d 2 ) } \mathcal{I}_k=\{j:0\le j<k,\ j\equiv k\pmod2\} I k = { j : 0 ≤ j < k , j ≡ k ( mod 2 )} denote the preceding mode labels with the same parity as k k k . Their normalized weighted mean is
∣ w k ⟩ = 1 M k ∑ j ∈ I k μ j ∣ j ⟩ , M k = ∑ j ∈ I k μ j . (91) |w_k\rangle=\frac{1}{\sqrt{M_k}}\sum_{j\in\mathcal{I}_k}\sqrt{\mu_j}|j\rangle,\qquad M_k=\sum_{j\in\mathcal{I}_k}\mu_j. \tag*{(91)} ∣ w k ⟩ = M k 1 j ∈ I k ∑ μ j ∣ j ⟩ , M k = j ∈ I k ∑ μ j . (91)
A weighted contrast compares the current mode ∣ k ⟩ |k\rangle ∣ k ⟩ with this weighted mean. For k ≥ 2 k\ge2 k ≥ 2 , define
∣ h k ⟩ = M k M k + 2 ∣ k ⟩ − μ k M k + 2 ∣ w k ⟩ . (92) |h_k\rangle=\sqrt{\frac{M_k}{M_{k+2}}}|k\rangle-\sqrt{\frac{\mu_k}{M_{k+2}}}|w_k\rangle. \tag*{(92)} ∣ h k ⟩ = M k + 2 M k ∣ k ⟩ − M k + 2 μ k ∣ w k ⟩ . (92)
Since M k + 2 = M k + μ k M_{k+2}=M_k+\mu_k M k + 2 = M k + μ k , this combination has unit norm and is orthogonal to the weighted mean obtained after adding mode k k k . Thus ∣ h k ⟩ |h_k\rangle ∣ h k ⟩ represents the difference between mode k k k and the weighted mean of all preceding modes with the same parity. For each parity group, the weighted mean of all its modes together with these successive contrasts forms an orthonormal basis, known as the weighted Helmert basis [45 ] .
To reproduce the angular basis conversion, we choose
μ k = { ( k + λ ) Γ ( k + 2 λ ) k ! , λ ≥ 1 , 1 2 , λ = 0 , k = 0 , 1 , λ = 0 , k > 0. (93) \mu_k =
\begin{cases}
\frac{(k+\lambda)\Gamma(k+2\lambda)}{k!}, & \lambda\ge1,\\
\frac{1}{2}, & \lambda=0,\ k=0,\\
1, & \lambda=0,\ k>0.
\end{cases} \tag*{(93)} μ k = ⎩ ⎨ ⎧ k ! ( k + λ ) Γ ( k + 2 λ ) , 2 1 , 1 , λ ≥ 1 , λ = 0 , k = 0 , λ = 0 , k > 0. (93)
For k ≥ 2 k \ge2 k ≥ 2 , the corresponding cumulative weight is
M k = 1 2 ( 2 λ + 1 ) ∏ j = 1 2 λ + 1 ( k + j − 2 ) , (94) M_k=\frac{1}{2(2\lambda+1)}\prod_{j=1}^{2\lambda+1}(k+j-2), \tag*{(94)} M k = 2 ( 2 λ + 1 ) 1 j = 1 ∏ 2 λ + 1 ( k + j − 2 ) , (94)
with M 0 = M 1 = 0 M_0=M_1=0 M 0 = M 1 = 0 . Thus, for fixed λ \lambda λ , M k M_k M k is a polynomial in k k k of degree 2 λ + 1 2\lambda+1 2 λ + 1 , independent of the number of modes. With these weights, the contrast indexed by k + 2 k+2 k + 2 implements the basis conversion through
G k ( λ + 2 ) ( θ ) = − ∑ 0 ≤ j ≤ k + 2 j ≡ k ( mod 2 ) ⟨ h k + 2 ∣ j ⟩ G j ( λ ) ( θ ) . (95) G_k^{(\lambda+2)}(\theta)=-\sum_{\substack{0\le j\le k+2\\j\equiv k\ (\operatorname{mod} 2)}}\langle h_{k+2}\mid j\rangle G_j^{(\lambda)}(\theta). \tag*{(95)} G k ( λ + 2 ) ( θ ) = − 0 ≤ j ≤ k + 2 j ≡ k ( mod 2 ) ∑ ⟨ h k + 2 ∣ j ⟩ G j ( λ ) ( θ ) . (95)
The derivation of the weights, the expression for M k M_k M k , and the overall sign in the conversion are given in Appendix D. Let H λ \mathcal{H}_\lambda H λ denote a unitary whose relevant rows are these weighted contrasts. Since degree j j j at parameter λ \lambda λ is stored at system label j + λ j+\lambda j + λ , we require
⟨ k + λ + 2 ∣ H λ ∣ j + λ ⟩ = ⟨ h k + 2 ∣ j ⟩ . (96) \langle k+\lambda+2|\mathcal{H}_\lambda|j+\lambda\rangle=\langle h_{k+2}\mid j\rangle. \tag*{(96)} ⟨ k + λ + 2∣ H λ ∣ j + λ ⟩ = ⟨ h k + 2 ∣ j ⟩ . (96)
The remaining rows can be chosen to complete the transformation to a unitary; an explicit completion is provided in Appendix D. The full basis change is therefore
L = ( − 1 ) ⌊ m / 2 ⌋ H m − 2 H m − 4 ⋯ H m mod 2 , (97) \mathcal{L}=(-1)^{\lfloor m/2\rfloor}\mathcal{H}_{m-2}\mathcal{H}_{m-4}\cdots\mathcal{H}_{m\ \operatorname{mod}\ 2}, \tag*{(97)} L = ( − 1 ) ⌊ m /2 ⌋ H m − 2 H m − 4 ⋯ H m mod 2 , (97)
where the prefactor accounts for the minus sign in each conversion.
We implement each H λ \mathcal{H}_\lambda H λ separately on the even and odd parity groups using two passes through a binary tree. We call the first the splitting pass and the second the correction pass . The splitting pass recursively forms weighted means and contrasts between neighboring groups of modes. The correction pass then converts these intermediate contrasts into the weighted Helmert contrasts of Eq. (92) . Figure 6 illustrates the two-pass construction, which we describe below.
Figure 6. Two-pass tree construction of H λ \mathcal{H}_{\lambda} H λ for K = 16 K = 16 K = 16 . (a) The parity bit σ = p 0 \sigma= p_0 σ = p 0 separates the labels into two parity groups with identical block trees. (b) For a block A = L ∪ R A = L \cup R A = L ∪ R with preceding modes P P P , the splitting layer applies R ( φ ) R(\varphi) R ( φ ) and the correction layer applies R ( − ϑ ) R(-\vartheta) R ( − ϑ ) to the first labels of L L L and R R R . (c) Sequence of splitting and correction layers, together with the resulting coefficient sign patterns. The bit shown below each layer is the qubit acted on by the rotations in that layer. White correction halves in (a) and dashed correction blocks in (c) correspond to P = ∅ P = \varnothing P = ∅ , for which the correction is the identity.
Consider a block A = L ∪ R A=L\cup R A = L ∪ R of consecutive modes within one parity group, divided into left and right halves. Let
μ L = ∑ j ∈ L μ j , μ R = ∑ j ∈ R μ j , μ A = μ L + μ R . (98) \mu_L=\sum_{j\in L}\mu_j,\qquad\mu_R=\sum_{j\in R}\mu_j,\qquad\mu_A=\mu_L+\mu_R. \tag*{(98)} μ L = j ∈ L ∑ μ j , μ R = j ∈ R ∑ μ j , μ A = μ L + μ R . (98)
The splitting rotation acts on the two-dimensional subspace spanned by the first labels of L L L and R R R . When L L L and R R R each contain a single mode, their amplitudes are the original mode amplitudes; when they contain several modes, they store the normalized weighted means of the two groups. We apply
R ( φ ) = ( cos φ sin φ − sin φ cos φ ) , (99) R(\varphi)=
\begin{pmatrix}
\cos\varphi& \sin\varphi\\
-\sin\varphi& \cos\varphi
\end{pmatrix}, \tag*{(99)} R ( φ ) = ( cos φ − sin φ sin φ cos φ ) , (99)
where φ \varphi φ is determined by cos φ = μ L / μ A \cos\varphi=\sqrt{\mu_L/\mu_A} cos φ = μ L / μ A and sin φ = μ R / μ A \sin\varphi=\sqrt{\mu_R/\mu_A} sin φ = μ R / μ A . The first output is the weighted mean of A A A , while the second is a contrast between L L L and R R R . At the first layer, L L L and R R R each contain one mode. Subsequent layers combine pairs into groups of four, then eight, and so on. The splitting pass therefore produces the weighted mean of the full parity group together with a hierarchy of contrasts between neighboring blocks.
Consider λ = 0 \lambda=0 λ = 0 and K = 8 K=8 K = 8 , and focus on the odd labels 1 , 3 , 5 , 7 1,3,5,7 1 , 3 , 5 , 7 , whose weights are all one. Let their input amplitudes be c 1 , c 3 , c 5 , c 7 c_1,c_3,c_5,c_7 c 1 , c 3 , c 5 , c 7 . The first splitting layer acts on the pairs ( 1 , 3 ) (1,3) ( 1 , 3 ) and ( 5 , 7 ) (5,7) ( 5 , 7 ) , and the second combines the two resulting means. After these two layers, the amplitudes are
v 1 = c 1 + c 3 + c 5 + c 7 2 , v_1=\frac{c_1+c_3+c_5+c_7}{2}, v 1 = 2 c 1 + c 3 + c 5 + c 7 ,
v 3 = − c 1 + c 3 2 , v_3=\frac{-c_1+c_3}{\sqrt{2}}, v 3 = 2 − c 1 + c 3 ,
v 5 = − c 1 − c 3 + c 5 + c 7 2 , v_5=\frac{-c_1-c_3+c_5+c_7}{2}, v 5 = 2 − c 1 − c 3 + c 5 + c 7 ,
v 7 = − c 5 + c 7 2 . (100) v_7=\frac{-c_5+c_7}{\sqrt{2}}. \tag*{(100)} v 7 = 2 − c 5 + c 7 . (100)
Here v 1 v_1 v 1 is the mean of all four modes, while v 3 v_3 v 3 , v 5 v_5 v 5 , and v 7 v_7 v 7 are contrasts produced at different levels of the tree. These contrasts are not yet all in the form required by Eq. (92) . For example, v 5 v_5 v 5 still contains c 7 c_7 c 7 , whereas the contrast for mode 5 5 5 should involve only c 5 c_5 c 5 and preceding modes c 1 c_1 c 1 and c 3 c_3 c 3 . The correction pass can remove these later-mode contributions.
For the correction pass, consider again a block A = L ∪ R A=L\cup R A = L ∪ R . Let P P P denote the modes of the same parity that precede A A A , with total weight μ P \mu_P μ P . The pass applies R ( − ϑ ) R(-\vartheta) R ( − ϑ ) to the amplitudes at the first labels of L L L and R R R , where
sin 2 ϑ = μ P μ R μ A ( μ P + μ L ) . (101) \sin^2\vartheta=\frac{\mu_P\mu_R}{\mu_A(\mu_P+\mu_L)}. \tag*{(101)} sin 2 ϑ = μ A ( μ P + μ L ) μ P μ R . (101)
This replaces the two intermediate contrasts by the contrast of L L L with P P P and a contrast of R R R with P ∪ L P\cup L P ∪ L . When P P P is empty, ϑ = 0 \vartheta=0 ϑ = 0 and no correction is needed.
In the example above, only the block containing modes 5 5 5 and 7 7 7 requires a correction. Here P = { 1 , 3 } P=\{1,3\} P = { 1 , 3 } , L = { 5 } L=\{5\} L = { 5 } , and R = { 7 } R=\{7\} R = { 7 } , so μ P = 2 \mu_P=2 μ P = 2 and μ L = μ R = 1 \mu_L=\mu_R=1 μ L = μ R = 1 , which implies sin 2 ϑ = 1 / 3 \sin^2\vartheta=1/3 sin 2 ϑ = 1/3 . Applying R ( − ϑ ) R(-\vartheta) R ( − ϑ ) to v 5 v_5 v 5 and v 7 v_7 v 7 yields
2 3 v 5 − v 7 3 = − c 1 − c 3 + 2 c 5 6 , \sqrt{\frac{2}{3}}v_5-\frac{v_7}{\sqrt{3}}=\frac{-c_1-c_3+2c_5}{\sqrt{6}}, 3 2 v 5 − 3 v 7 = 6 − c 1 − c 3 + 2 c 5 ,
v 5 3 + 2 3 v 7 = − c 1 − c 3 − c 5 + 3 c 7 12 . (102) \frac{v_5}{\sqrt{3}}+\sqrt{\frac{2}{3}}v_7=\frac{-c_1-c_3-c_5+3c_7}{\sqrt{12}}. \tag*{(102)} 3 v 5 + 3 2 v 7 = 12 − c 1 − c 3 − c 5 + 3 c 7 . (102)
The first output is the contrast of mode 5 5 5 with the preceding modes 1 1 1 and 3 3 3 , while the second is the contrast of mode 7 7 7 with modes 1 1 1 , 3 3 3 , and 5 5 5 . Together with the existing contrast at label 3 3 3 , these are the weighted Helmert contrasts for this parity group.
In general, the correction pass traverses the tree in the reverse direction of the splitting pass. It begins with the two halves of the full parity group, then proceeds through quarters and successively smaller blocks until pairs are reached. The final amplitudes are the weighted mean and the contrasts in Eq. (92) .
On the system register, the least significant bit identifies the parity group, while the remaining n − 1 n-1 n − 1 bits specify the position within that group. For 0 ≤ l ≤ n − 2 0 \le l \le n-2 0 ≤ l ≤ n − 2 , let S l S_l S l denote the splitting layer acting on position bit l l l , and for 0 ≤ l ≤ n − 3 0 \le l \le n-3 0 ≤ l ≤ n − 3 , let C l C_l C l denote the corresponding correction layer. The splitting pass applies S 0 , … , S n − 2 S_0,\ldots,S_{n-2} S 0 , … , S n − 2 from small to large blocks, while the correction pass applies C n − 3 , … , C 0 C_{n-3},\ldots,C_0 C n − 3 , … , C 0 in the reverse direction. Thus,
H λ = C 0 C 1 ⋯ C n − 3 S n − 2 S n − 3 ⋯ S 0 , (103) \mathcal{H}_{\lambda}=C_0C_1\cdots C_{n-3}S_{n-2}S_{n-3}\cdots S_0, \tag*{(103)} H λ = C 0 C 1 ⋯ C n − 3 S n − 2 S n − 3 ⋯ S 0 , (103)
where the rightmost operator acts first. Each parameter conversion λ → λ + 2 \lambda\to\lambda+ 2 λ → λ + 2 therefore uses n − 1 n-1 n − 1 splitting layers and n − 2 n-2 n − 2 correction layers, for a total of 2 n − 3 2n-3 2 n − 3 rotation layers.
We next describe how the rotation angles are implemented within each layer. Write the system label as ( p n − 1 ⋯ p 1 p 0 ) 2 (p_{n-1}\cdots p_1p_0)_2 ( p n − 1 ⋯ p 1 p 0 ) 2 , where p 0 p_0 p 0 identifies the parity group. In layer l l l , the rotation acts on p l + 1 p_{l+1} p l + 1 . Requiring the less significant position bits p 1 , … , p l p_1,\ldots,p_l p 1 , … , p l to be zero selects the first labels of the two halves L L L and R R R . The more significant bits encode the block address
b = ( p n − 1 ⋯ p l + 2 ) 2 , (104) b=(p_{n-1}\cdots p_{l+2})_2, \tag*{(104)} b = ( p n − 1 ⋯ p l + 2 ) 2 , (104)
which identifies the block acted on by that layer.
For each layer and parity group, the weights μ k \mu_k μ k and cumulative weights M k M_k M k determine the rotation angle as a function of b b b : φ = φ l ( b ) \varphi=\varphi_l(b) φ = φ l ( b ) for a splitting layer S l S_l S l and ϑ = ϑ l ( b ) \vartheta=\vartheta_l(b) ϑ = ϑ l ( b ) for a correction layer C l C_l C l . We therefore implement the cosine and sine of the rotation angle as functions of the block address. These functions vary most rapidly at the first few block addresses. We handle the first C m C_m C m addresses directly using fixed rotations, where C m C_m C m depends only on m m m and is independent of K K K . Any power of two C m ≥ max { 2 , 2 3 ( m − 1 ) } C_m \ge\max\{2,\frac{2}{3}(m-1)\} C m ≥ max { 2 , 3 2 ( m − 1 )} suffices for the approximation bounds (see Appendix D, Lemma 5). Since fixed rotations are cheaper than QET sequences on short intervals, we use the smallest power of two no smaller than 16 ( m + 1 ) 16(m+1) 16 ( m + 1 ) .
On each interval, we encode the block address in a diagonal Hermitian signal operator B ν H B_\nu^H B ν H . Its eigenvalues lie in a fixed interval independent of the layer and of K K K . We approximate the cosine and sine of the layer’s rotation angle by real polynomials P C P_C P C and P S P_S P S , respectively. We describe the signal construction in Appendix D.3 and prove that, for fixed m m m , degree
d L = O m ( log 1 η L ) (105) d_L=O_m\left(\log\frac{1}{\eta_L}\right) \tag*{(105)} d L = O m ( log η L 1 ) (105)
suffices to approximate the angle functions to accuracy η L \eta_L η L , uniformly over all layers and block addresses.
Using QET, we construct block encodings of P C ( B ν H ) / 2 P_C(B_\nu^H)/2 P C ( B ν H ) /2 and P S ( B ν H ) / 2 P_S(B_\nu^H)/2 P S ( B ν H ) /2 . Since
R ( α ) = cos α I + i sin α Y , (106) R(\alpha)=\cos\alpha\,I+i\sin\alpha\,Y, \tag*{(106)} R ( α ) = cos α I + i sin α Y , (106)
we combine the two scalar blocks with an additional selector qubit. For a splitting layer, the sine branch applies i Y iY iY to the target qubit, while for a correction layer it applies − i Y -iY − iY . The selected block is therefore
P C ( B ν H ) I ± i P S ( B ν H ) Y 4 = R ^ 4 , (107) \frac{P_C(B_\nu^{\mathrm{H}})I \pm iP_S(B_\nu^{\mathrm{H}})Y}{4}=\frac{\widehat{R}}{4}, \tag*{(107)} 4 P C ( B ν H ) I ± i P S ( B ν H ) Y = 4 R , (107)
where the plus sign approximates the splitting rotation R ( φ ) R(\varphi) R ( φ ) and the minus sign approximates the correction rotation R ( − ϑ ) R(-\vartheta) R ( − ϑ ) . One factor of 1 / 2 1/2 1/2 comes from combining the even and odd parts of each QET polynomial, and the second comes from combining the cosine and sine branches.
The fixed rotations for b < C m b<C_m b < C m are encoded with the same factor 1 / 4 1/4 1/4 . Positions where a layer should not act receive I / 4 I/4 I /4 . Thus every block address within a given layer has the same subnormalization, allowing the whole layer to be amplified coherently.
We amplify each layer before applying the next so that the factor 1 / 4 1/4 1/4 does not accumulate through the tree. We first pad the block encoding to the subnormalization β 3 = csc π 14 \beta_3=\csc\frac{\pi}{14} β 3 = csc 14 π . Three rounds of oblivious amplitude amplification then raise the success amplitude to one for an exact rotation. Including the initial block application, an amplified layer uses seven calls to the padded block encoding or its inverse. The amplification also returns the layer workspace to zero, so the same workspace can be reused by the next layer. However, approximation and gate-synthesis errors can leave a small residual component outside the zero-workspace subspace. Figure 7 summarizes the complete basis-change construction.
Figure 7. Helmert basis-change circuits. (a) Padded block W l W_l W l for a splitting layer S l S_l S l . The product runs over disjoint address regions R \mathcal{R} R , selected by the predicate qubit ∣ ⋅ ⟩ p r |\cdot\rangle_{\mathrm{pr}} ∣ ⋅ ⟩ pr : addresses b < C m b<C_m b < C m use fixed rotations, dyadic intervals I ν I_\nu I ν use QET, and positions with nonzero lower bits are idle. The small filled squares indicate the register values that activate the corresponding operation. The block encoding U P U_P U P implements the region-dependent cosine or sine factor, either by a fixed rotation or a QET block. Here, W l W_l W l is an approximate block encoding of R ( φ ) / β 3 R(\varphi)/\beta_3 R ( φ ) / β 3 . For a correction layer C l C_l C l , the same circuit replaces φ \varphi φ by ϑ \vartheta ϑ and reverses the controlled Pauli gates to Z Z Z then X X X , yielding R ( − ϑ ) / β 3 R(-\vartheta)/\beta_3 R ( − ϑ ) / β 3 . (b) Three rounds of amplitude amplification achieve unit success amplitude in the ideal case. (c) Successive parameter conversions for K = 16 K=16 K = 16 and m = 6 m=6 m = 6 , with L = ( − 1 ) 3 H 4 H 2 H 0 \mathcal{L}=(-1)^3\mathcal{H}_4\mathcal{H}_2\mathcal{H}_0 L = ( − 1 ) 3 H 4 H 2 H 0 . At parameter λ \lambda λ , system label p p p represents degree p − λ p-\lambda p − λ in the basis { G k ( λ ) } \{G_k^{(\lambda)}\} { G k ( λ ) } .
Circuit assembly and analysis
We assemble the input correction, Fourier block, and weighted Helmert basis change into the QUT circuit shown in Figure 4 . The following error and resource analysis completes the proof of Theorem 1.
Full circuit implementation
We first combine the component circuits to implement the Taylor sum in Eq. (55) . Using the coefficients c s c_s c s from Eq. (54) and the normalization α r \alpha_r α r from Eq. (56) , we prepare the order register as
P R E P ∣ 0 ⟩ o r d = ∑ s = 0 r c s α r ∣ s ⟩ o r d . (108) \mathrm{PREP}|0\rangle_{\mathrm{ord}}=\sum_{s=0}^{r}\sqrt{\frac{c_s}{\alpha_r}}|s\rangle_{\mathrm{ord}}. \tag*{(108)} PREP ∣0 ⟩ ord = s = 0 ∑ r α r c s ∣ s ⟩ ord . (108)
The input and Fourier stages in Eqs. (77) and (89) depend on the Taylor order s s s , while the basis change is shared by all orders. Let U E U_E U E denote the controlled circuit that applies U E ( s ) U_E(s) U E ( s ) on the order state ∣ s ⟩ |s\rangle ∣ s ⟩ for 0 ≤ s ≤ r 0\le s\le r 0 ≤ s ≤ r and acts as the identity on unused order labels. Since the Fourier block encodes E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s , the coefficients c s c_s c s restore the corresponding Taylor weights. Applying the three components and then undoing the order preparation creates
W = P R E P † U L U E U i n P R E P . (109) W=\mathrm{PREP}^{\dagger}U_{\mathcal{L}}U_EU_{\mathrm{in}}\mathrm{PREP}. \tag*{(109)} W = PREP † U L U E U in PREP . (109)
Let ∣ i n j ⟩ : = ∣ 0 ⟩ a u x ∣ ℓ j ⟩ s y s |{\rm in}_j\rangle:=|0\rangle_{\mathrm{aux}}|\ell_j\rangle_{\mathrm{sys}} ∣ in j ⟩ := ∣0 ⟩ aux ∣ ℓ j ⟩ sys and ∣ o u t k ⟩ : = ∣ 0 ⟩ a u x ∣ k + m ⟩ s y s |{\rm out}_k\rangle:=|0\rangle_{\mathrm{aux}}|k+m\rangle_{\mathrm{sys}} ∣ out k ⟩ := ∣0 ⟩ aux ∣ k + m ⟩ sys , where ∣ 0 ⟩ a u x |0\rangle_{\mathrm{aux}} ∣0 ⟩ aux denotes the state with all auxiliary registers zero. In the ideal implementation, the encoded block is
⟨ o u t k ∣ W ∣ i n j ⟩ = ( Q ~ N , r ( m ) ) k j α Q E T , α Q E T = 2 α r . (110) \langle{\rm out}_k|W|{\rm in}_j\rangle=\frac{(\widetilde{Q}_{N,r}^{(m)})_{kj}}{\alpha_{\mathrm{QET}}},\qquad\alpha_{\mathrm{QET}}=2\alpha_r. \tag*{(110)} ⟨ out k ∣ W ∣ in j ⟩ = α QET ( Q N , r ( m ) ) k j , α QET = 2 α r . (110)
The basis-change unitary also contains output labels outside k + m k+m k + m , 0 ≤ k < N 0\le k<N 0 ≤ k < N . These labels are part of its unitary completion but are not valid QUT outputs.
We next amplify the encoded transform. Choose the smallest t ≥ 1 t \ge1 t ≥ 1 such that
α Q E T ≤ β t , β t = 1 sin [ π / ( 4 t + 2 ) ] , (111) \alpha_{\mathrm{QET}} \le\beta_t,\qquad\beta_t=\frac{1}{\sin[\pi/(4t+2)]}, \tag*{(111)} α QET ≤ β t , β t = sin [ π / ( 4 t + 2 )] 1 , (111)
as in Eq. (36) . Following Section III.C, we add a padding flag whose amplitude on ∣ 0 ⟩ |0\rangle ∣0 ⟩ is α Q E T / β t \alpha_{\mathrm{QET}}/\beta_t α QET / β t . The resulting circuit W t W_t W t block-encodes Q ~ N , r ( m ) / β t \widetilde{Q}^{(m)}_{N,r}/\beta_t Q N , r ( m ) / β t .
Let Π i n \Pi_{\mathrm{in}} Π in project onto states for which all work registers and the padding flag are zero and the system label is one of the paired labels ℓ j \ell_j ℓ j , 0 ≤ j < N 0 \le j < N 0 ≤ j < N . Similarly, let Π o u t \Pi_{\mathrm{out}} Π out project onto states with zero auxiliaries and a valid output label k + m k+m k + m , 0 ≤ k < N 0 \le k < N 0 ≤ k < N . Define
S i n = I − 2 Π i n , S o u t = I − 2 Π o u t . (112) S_{\mathrm{in}}=I-2\Pi_{\mathrm{in}},\qquad S_{\mathrm{out}}=I-2\Pi_{\mathrm{out}}. \tag*{(112)} S in = I − 2 Π in , S out = I − 2 Π out . (112)
The amplified circuit is
U t = ( − W t S i n W t † S o u t ) t W t , (113) U_t=(-W_tS_{\mathrm{in}}W_t^\dagger S_{\mathrm{out}})^tW_t, \tag*{(113)} U t = ( − W t S in W t † S out ) t W t , (113)
which uses 2 t + 1 2t+1 2 t + 1 calls to W t W_t W t and W t † W_t^\dagger W t † . For a unitary target, the amplification raises the success amplitude to one. At m = 2 m=2 m = 2 , the bound α Q E T ≤ 2.551 < β 2 = 1 + 5 \alpha_{\mathrm{QET}}\le2.551<\beta_2=1+\sqrt{5} α QET ≤ 2.551 < β 2 = 1 + 5 indicates that two amplification rounds and five block calls suffice.
Finally, we include the fixed input and output label shifts needed to obtain the circuit U U U of Theorem 1. Let ADD c \operatorname{ADD}_c ADD c add the integer c c c to the system label modulo K K K . Then
U = ( I a u x ⊗ ADD − m ) U t ( I a u x ⊗ ADD ⌈ m / 2 ⌉ ) , (114) U=(I_{\mathrm{aux}}\otimes\operatorname{ADD}_{-m})U_t(I_{\mathrm{aux}}\otimes\operatorname{ADD}_{\lceil m/2\rceil}), \tag*{(114)} U = ( I aux ⊗ ADD − m ) U t ( I aux ⊗ ADD ⌈ m /2 ⌉ ) , (114)
where I a u x I_{\mathrm{aux}} I aux acts on all ancillary registers. The input shift sends j j j to its paired grid label ℓ j = j + ⌈ m / 2 ⌉ \ell_j=j+\lceil m/2\rceil ℓ j = j + ⌈ m /2 ⌉ , while the output shift maps the label k + m k+m k + m back to the ultraspherical degree k k k .
Complexity analysis
There are two sources of error: approximation of the transform components and implementation of the resulting circuit. We bound these contributions separately, combine them to meet the target precision, and then count the required gates and qubits. We first analyze the circuit with separate work registers for its components.
Proof of Theorem 1. Fix m ≥ 2 m\ge2 m ≥ 2 and write K = 2 n K=2^n K = 2 n . The displacement and weight bounds T T T and X X X remain bounded as K K K grows, hence α Q E T = 2 α r ≤ 2 X e T = O m ( 1 ) \alpha_{\mathrm{QET}}=2\alpha_r\le2Xe^T=O_m(1) α QET = 2 α r ≤ 2 X e T = O m ( 1 ) , so the outer amplification requires only t = O m ( 1 ) t=O_m(1) t = O m ( 1 ) rounds.
Component approximation errors. We first consider the errors that arise from truncating the Taylor series and approximating the input correction, frequency block, and basis change. From Eq. (51) , a truncation at order r r r has the error bound
ε T ( r ) = X e T T r + 1 ( r + 1 ) ! . (115) \varepsilon_T(r)=Xe^T\frac{T^{r+1}}{(r+1)!}. \tag*{(115)} ε T ( r ) = X e T ( r + 1 )! T r + 1 . (115)
Let η Γ \eta_\Gamma η Γ bound the operator error in Γ s \Gamma_s Γ s for all 0 ≤ s ≤ r 0\le s\le r 0 ≤ s ≤ r . Since the circuit encodes Γ s / 2 \Gamma_s/2 Γ s /2 , the corresponding block error is at most η Γ / 2 \eta_\Gamma/2 η Γ /2 . Likewise, let η E \eta_E η E bound the error in E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s . The polynomial x s x^s x s can be implemented exactly by QET, so η E = 0 \eta_E=0 η E = 0 for exact phase angles; we retain η E \eta_E η E to account for finite-precision classical phase computation. For the basis change, let ε L \varepsilon_L ε L satisfy
∥ U L ( ∣ 0 ⟩ ⊗ I ) − ∣ 0 ⟩ ⊗ L ∥ 2 ≤ ε L , (116) \left\|U_L(|0\rangle\otimes I)-|0\rangle\otimes\mathcal{L}\right\|_2\le\varepsilon_L, \tag*{(116)} ∥ U L ( ∣0 ⟩ ⊗ I ) − ∣0 ⟩ ⊗ L ∥ 2 ≤ ε L , (116)
where ∣ 0 ⟩ |0\rangle ∣0 ⟩ is the joint zero state of the basis-change work qubits. This bound includes both accumulated layer errors and any amplitude remaining in nonzero work states. With separate work registers, the encoded component blocks multiply, giving an error at most η Γ + η E + ε L \eta_\Gamma+\eta_E+\varepsilon_L η Γ + η E + ε L for each Taylor term. Let Q ^ \widehat{Q} Q denote the resulting unnormalized transform. Summing over the Taylor orders and adding the truncation remainder yields the overall approximation error
∥ Q ^ − Q N ( m ) ∥ 2 ≤ ε T ( r ) + ∑ s = 0 r c s ( η Γ + η E + ε L ) = ε T ( r ) + α r ( η Γ + η E + ε L ) = : Δ . (117) \left\|\widehat{Q}-Q_N^{(m)}\right\|_2\le\varepsilon_T(r)+\sum_{s=0}^{r}c_s(\eta_\Gamma+\eta_E+\varepsilon_L)
=\varepsilon_T(r)+\alpha_r(\eta_\Gamma+\eta_E+\varepsilon_L)=:\Delta. \tag*{(117)} Q − Q N ( m ) 2 ≤ ε T ( r ) + s = 0 ∑ r c s ( η Γ + η E + ε L ) = ε T ( r ) + α r ( η Γ + η E + ε L ) =: Δ. (117)
The quantity Δ \Delta Δ is an error bound of the encoded transform. Appendix Appendix E shows that, with exact elementary gates, amplification changes this into an output-state error of at most 4 Δ 4\Delta 4Δ . More precisely, for every normalized ∣ ψ ⟩ ∈ H v a l i d |\psi\rangle\in\mathcal{H}_{\mathrm{valid}} ∣ ψ ⟩ ∈ H valid , where H v a l i d = span { ∣ 0 ⟩ , … , N − 1 } \mathcal{H}_{\mathrm{valid}}=\operatorname{span}\{|0\rangle,\ldots,N-1\} H valid = span { ∣0 ⟩ , … , N − 1 } , the amplified output differs from ∣ 0 a ⟩ ⊗ Q N ( m ) ∣ ψ ⟩ |0^a\rangle\otimes Q_N^{(m)}|\psi\rangle ∣ 0 a ⟩ ⊗ Q N ( m ) ∣ ψ ⟩ by at most 4 Δ 4\Delta 4Δ in vector norm, provided t ≥ 1 t\ge1 t ≥ 1 and Δ ≤ 1 / 10 \Delta\le1/10 Δ ≤ 1/10 .
Circuit implementation errors. Next, we fix these component approximations and analyze errors in the circuit implementation. Let ε W \varepsilon_W ε W bound the operator-norm difference between an implemented padded block W t W_t W t and its reference circuit with exact elementary gates; the same bound applies for W t † W_t^\dagger W t † . Let ε R \varepsilon_R ε R bound the error in either reflection S i n S_{\mathrm{in}} S in or S o u t S_{\mathrm{out}} S out from Eq. (112) . Since the amplification circuit uses 2 t + 1 2t+1 2 t + 1 calls to W t W_t W t or W t † W_t^\dagger W t † and 2 t 2t 2 t reflections, these errors contribute at most ( 2 t + 1 ) ε W + 2 t ε R (2t+1)\varepsilon_W+2t\varepsilon_R ( 2 t + 1 ) ε W + 2 t ε R . Errors in the input and output label shifts would add to this bound, but we treat these shifts as exact for simplicity.
Total error and parameter choices. For the implemented circuit U U U , the total output error satisfies
ε o u t : = sup ∣ ψ ⟩ ∈ H v a l i d ∥ ψ ∥ 2 = 1 ∥ U ∣ 0 a ⟩ ∣ ψ ⟩ − ∣ 0 a ⟩ Q N ( m ) ∣ ψ ⟩ ∥ 2 (118) \varepsilon_{\mathrm{out}}:=\sup_{\substack{|\psi\rangle\in\mathcal{H}_{\mathrm{valid}}\\ \|\psi\|_2=1}}\left\|U|0^a\rangle|\psi\rangle-|0^a\rangle Q_N^{(m)}|\psi\rangle\right\|_2 \tag*{(118)} ε out := ∣ ψ ⟩ ∈ H valid ∥ ψ ∥ 2 = 1 sup U ∣ 0 a ⟩ ∣ ψ ⟩ − ∣ 0 a ⟩ Q N ( m ) ∣ ψ ⟩ 2 (118)
≤ 4 Δ + ( 2 t + 1 ) ε W + 2 t ε R . \le4\Delta+(2t+1)\varepsilon_W+2t\varepsilon_R. ≤ 4Δ + ( 2 t + 1 ) ε W + 2 t ε R .
This norm includes the system and all ancillary registers, including amplitude on unused system labels.
It is sufficient to choose
ε T ( r ) ≤ ε 32 , η Γ , η E , ε L ≤ ε 32 α r , (119) \varepsilon_T(r)\le\frac{\varepsilon}{32},\qquad
\eta_\Gamma,\eta_E,\varepsilon_L\le\frac{\varepsilon}{32\alpha_r}, \tag*{(119)} ε T ( r ) ≤ 32 ε , η Γ , η E , ε L ≤ 32 α r ε , (119)
for the approximation errors and
ε W ≤ ε 4 ( 2 t + 1 ) , ε R ≤ ε 8 t . (120) \varepsilon_W\le\frac{\varepsilon}{4(2t+1)},\qquad
\varepsilon_R\le\frac{\varepsilon}{8t}. \tag*{(120)} ε W ≤ 4 ( 2 t + 1 ) ε , ε R ≤ 8 t ε . (120)
for the implementation errors. Then Δ ≤ ε / 8 < 1 / 10 \Delta\le\varepsilon/8 < 1/10 Δ ≤ ε /8 < 1/10 and ε o u t ≤ ε \varepsilon_{\mathrm{out}} \le\varepsilon ε out ≤ ε .
We now choose the approximation orders to meet these tolerances. The factorially decreasing Taylor remainder shows that it is sufficient to take
r = O m ( log ( 1 / ε ) log ( log ( 1 / ε ) + c ) ) (121) r = O_m\left(\frac{\log(1/\varepsilon)}{\log(\log(1/\varepsilon)+c)}\right) \tag*{(121)} r = O m ( log ( log ( 1/ ε ) + c ) log ( 1/ ε ) ) (121)
to achieve ε T ( r ) ≤ ε / 32 \varepsilon_T(r) \le\varepsilon/32 ε T ( r ) ≤ ε /32 . Any fixed constant c ≥ 1 − log 2 c \ge1-\log2 c ≥ 1 − log 2 keeps the denominator positive for all 0 < ε < 1 / 2 0 < \varepsilon< 1/2 0 < ε < 1/2 and does not affect the asymptotic scaling as ε → 0 \varepsilon\to0 ε → 0 .
Once r r r is fixed, the input correction must approximate all Γ s \Gamma_s Γ s , 0 ≤ s ≤ r 0 \le s \le r 0 ≤ s ≤ r , to accuracy η Γ \eta_\Gamma η Γ . From Section IV.C, a sufficient polynomial degree is d Γ = O m ( r + log ( 1 / η Γ ) ) d_\Gamma= O_m(r+\log(1/\eta_\Gamma)) d Γ = O m ( r + log ( 1/ η Γ )) . Since α r = O m ( 1 ) \alpha_r = O_m(1) α r = O m ( 1 ) , Eq. (119) allows η Γ = Θ m ( ε ) \eta_\Gamma= \Theta_m(\varepsilon) η Γ = Θ m ( ε ) , and hence
d Γ = O m ( log ( 1 / ε ) ) . (122) d_\Gamma= O_m(\log(1/\varepsilon)). \tag*{(122)} d Γ = O m ( log ( 1/ ε )) . (122)
For the basis change, we divide the error budget ε L \varepsilon_L ε L among its successive layers. Let η L \eta_L η L bound the approximation error in each of cos φ \cos\varphi cos φ , sin φ \sin\varphi sin φ , cos ϑ \cos\vartheta cos ϑ , and sin ϑ \sin\vartheta sin ϑ . Appendix E.1 shows that, provided η L ≤ 10 − 2 \eta_L \le10^{-2} η L ≤ 1 0 − 2 , each amplified layer has error at most 10 η L 10\eta_L 10 η L on the system and work registers together. Since there are L t o t = ⌊ m 2 ⌋ ( 2 n − 3 ) L_{\mathrm{tot}} = \left\lfloor\frac{m}{2}\right\rfloor(2n-3) L tot = ⌊ 2 m ⌋ ( 2 n − 3 ) layers, we choose
η L = min { 10 − 2 , ε L 10 L t o t } . (123) \eta_L = \min\left\{10^{-2},\frac{\varepsilon_L}{10L_{\mathrm{tot}}}\right\}. \tag*{(123)} η L = min { 1 0 − 2 , 10 L tot ε L } . (123)
Since ε L = Θ m ( ε ) \varepsilon_L = \Theta_m(\varepsilon) ε L = Θ m ( ε ) and L t o t = Θ m ( n ) L_{\mathrm{tot}} = \Theta_m(n) L tot = Θ m ( n ) , this implies η L = Θ m ( ε / n ) \eta_L = \Theta_m(\varepsilon/n) η L = Θ m ( ε / n ) . On the block addresses treated by QET, the rotation functions can be approximated with degree
d L = O m ( log 1 η L ) = O m ( log ( n ε ) ) . (124) d_L = O_m\left(\log\frac{1}{\eta_L}\right) = O_m\left(\log\left(\frac{n}{\varepsilon}\right)\right). \tag*{(124)} d L = O m ( log η L 1 ) = O m ( log ( ε n ) ) . (124)
Resource counts. We count single-qubit rotations and CNOT gates. For fixed m m m , the input correction, frequency powers, and basis change require
C Γ = O m ( ( d Γ + 1 ) [ n 2 log n + n ( r + 1 ) ] ) , C f r e q = O ( r n log n + r 2 ) , C L = O m ( ( d L + 1 ) n 3 ) . (125) \begin{aligned}
C_\Gamma&= O_m\left((d_\Gamma+1)\left[n^2\log n+n(r+1)\right]\right),\\
C_{\mathrm{freq}} &= O\left(rn\log n+r^2\right),\\
C_L &= O_m\left((d_L+1)n^3\right). \tag*{(125)}
\end{aligned} C Γ C freq C L = O m ( ( d Γ + 1 ) [ n 2 log n + n ( r + 1 ) ] ) , = O ( r n log n + r 2 ) , = O m ( ( d L + 1 ) n 3 ) . (125)
The input and frequency circuits share signal calls across Taylor orders, while their phase rotations are selected by the order register. The basis-change cost includes all splitting and correction layers and their amplification. Appendices B.4, C.2, and D.4 establish these counts.
Each padded transform block also contains the QFT and the preparation and unpreparation of the order register, which require O ( n 2 + r ) O(n^2+r) O ( n 2 + r ) gates. Since the outer amplification uses t = O m ( 1 ) t=O_m(1) t = O m ( 1 ) rounds, the block calls, reflections, and fixed label shifts change the total cost only by an m m m -dependent constant factor. Hence
C t o t = O m ( C Γ + C f r e q + C L + n 2 + r ) . (126) C_{\mathrm{tot}} = O_m\left(C_\Gamma+C_{\mathrm{freq}}+C_L+n^2+r\right). \tag*{(126)} C tot = O m ( C Γ + C freq + C L + n 2 + r ) . (126)
Using Eqs. (121) , (122) , and (124) , we obtain the bound on G m ( n , ε ) = C t o t G_m(n,\varepsilon)=C_{\mathrm{tot}} G m ( n , ε ) = C tot stated in Theorem 1,
C t o t = O m ( n 3 log n ε + n log 2 1 ε ) . (127) C_{\mathrm{tot}} = O_m\left(n^3\log\frac{n}{\varepsilon}+n\log^2\frac{1}{\varepsilon}\right). \tag*{(127)} C tot = O m ( n 3 log ε n + n log 2 ε 1 ) . (127)
In particular, the basis-change cost C L C_L C L controls the leading dependence on n n n , O m ( n 3 log ( n / ε ) ) O_m(n^3\log(n/\varepsilon)) O m ( n 3 log ( n / ε )) , while the input correction C Γ C_\Gamma C Γ accounts for the leading quadratic dependence on log ( 1 / ε ) \log(1/\varepsilon) log ( 1/ ε ) .
The order register requires ⌈ log 2 ( r + 1 ) ⌉ \lceil\log_2(r+1)\rceil ⌈ log 2 ( r + 1 )⌉ qubits. The input and frequency selector registers together require O ( log n ) O(\log n) O ( log n ) qubits. All remaining auxiliary registers require only a constant number of qubits. From Eq. (121) , log ( r + 1 ) = O m ( log log ( 1 / ε ) ) \log(r+1)=O_m(\log\log(1/\varepsilon)) log ( r + 1 ) = O m ( log log ( 1/ ε )) , so the total number of auxiliary qubits is
a = O m ( log n + log log 1 ε ) . (128) a = O_m\left(\log n+\log\log\frac{1}{\varepsilon}\right). \tag*{(128)} a = O m ( log n + log log ε 1 ) . (128)
The error analysis above used separate work registers. Reusing workspace does not affect asymptotic resource bounds, while its additional error can be absorbed into the circuit implementation budget. All polynomial coefficients, QET phase sequences, fixed rotations, and order-state amplitudes are computed classically before quantum execution. For fixed m m m , only polynomially many such quantities are required, and their computation takes time polynomial in n n n and log ( 1 / ε ) \log(1/\varepsilon) log ( 1/ ε ) .
The same error and resource bounds hold for the inverse transform implemented by U † U^\dagger U † . For any normalized valid output ∣ ϕ ⟩ \lvert\phi\rangle ∣ ϕ ⟩ , apply Eq. (19) to Q N ( m ) † ∣ ϕ ⟩ Q_N^{(m)\dagger}\lvert\phi\rangle Q N ( m ) † ∣ ϕ ⟩ and use the unitarity of U † U^\dagger U † and Q N ( m ) Q_N^{(m)} Q N ( m ) to obtain the corresponding inverse bound.
Thus, U U U satisfies Eq. (19) with the resource bounds above, completing the proof of Theorem 1. These bounds assume fixed m m m , count arbitrary single-qubit rotations and CNOT gates, and exclude input-state preparation and synthesis into a discrete gate set.
Compiled circuits and empirical errors
We compiled the full circuit U U U of Eq. (114) for m = 2 , 3 , 4 m=2,3,4 m = 2 , 3 , 4 and 6 ≤ n ≤ 10 6\le n\le10 6 ≤ n ≤ 10 at the target error ε = 10 − 5 \varepsilon=10^{-5} ε = 1 0 − 5 . The compilation uses the cutoffs C m C_m C m of Section IV.E and the error allocation of Eqs. (119) and (120) . The resulting counts include all 2 t + 1 2t+1 2 t + 1 calls of W t W_t W t and W t † W_t^\dagger W t † , the 2 t 2t 2 t reflections, and the two label shifts. Figure 8 reports the number of CNOT gates in the gate set of single-qubit unitaries and CNOT gates. It also reports the number of T T T gates in the Clifford+T T T gate set, in which every rotation is synthesized with the algorithm of Ross and Selinger [46 ] to precision ε W / G \varepsilon_W/G ε W / G , where G G G is the number of rotations in each block. For n = 10 n=10 n = 10 and m = 2 m=2 m = 2 , which corresponds to N = 1022 N=1022 N = 1022 , the circuit acts on 25 qubits, 15 of which are ancillas. It uses 4.9 × 10 5 4.9\times10^5 4.9 × 1 0 5 CNOT gates or, after Clifford+T T T synthesis, 2.2 × 10 7 2.2\times10^7 2.2 × 1 0 7 T T T gates.
Figure 8. A compilation of resources for the full QUT circuit for ε = 10 − 5 \varepsilon= 10^{-5} ε = 1 0 − 5 and m = 2 , 3 , 4 m=2,3,4 m = 2 , 3 , 4 . Left: number of CNOT gates in the gate set of single-qubit unitaries and CNOT gates. Center: number of T T T gates in the Clifford+T T T gate set. Right: number of ancillary qubits.
The basis change accounts for 55% of the CNOT gates and 87% of the synthesized rotations in one block call. For n ≤ 8 n \le8 n ≤ 8 when m = 2 , 3 m=2,3 m = 2 , 3 , and for n ≤ 9 n \le9 n ≤ 9 when m = 4 m=4 m = 4 , every block address of the basis change lies below C m C_m C m . In these cases, the basis change consists of fixed rotations only. The asymptotic scaling of Theorem 1 is therefore not expected at these sizes.
To test the error analysis, we applied the same circuits to the uniform superposition ∣ ψ ⟩ = N − 1 / 2 ∑ j = 0 N − 1 ∣ j ⟩ |\psi\rangle= N^{-1/2}\sum_{j=0}^{N-1}|j\rangle ∣ ψ ⟩ = N − 1/2 ∑ j = 0 N − 1 ∣ j ⟩ in a state-vector simulation. Because the simulation uses exact single-qubit rotations, only the approximation term 4 Δ 4\Delta 4Δ of Eq. (118) applies. Figure 9 compares the resulting output error with this bound and with the target error ε = 10 − 5 \varepsilon=10^{-5} ε = 1 0 − 5 . The output error, which includes amplitude in unused labels and in nonzero ancilla states, remains below 3 × 10 − 7 3\times10^{-7} 3 × 1 0 − 7 for all m m m and n n n and varies little with n n n . It lies roughly one to two orders of magnitude below the bound 4 Δ 4\Delta 4Δ . The error of the component with all ancillas in ∣ 0 ⟩ |0\rangle ∣0 ⟩ and a valid output label is about two to three orders of magnitude smaller than the output error. This error also decreases with n n n . The output error is therefore dominated by leakage out of the valid output subspace.
Figure 9. Simulation errors of the full QUT circuit constructed for ε = 10 − 5 \varepsilon=10^{-5} ε = 1 0 − 5 , applied to the uniform superposition over ∣ 0 ⟩ , … , ∣ N − 1 ⟩ |0\rangle,\ldots,|N-1\rangle ∣0 ⟩ , … , ∣ N − 1 ⟩ . Filled markers show the output error and Eq. (19), including leakage into unused labels and nonzero ancilla states. Open markers show the error of the component with all ancillas in ∣ 0 ⟩ |0\rangle ∣0 ⟩ and a valid output label. The dashed line shows the state error bound 4 Δ 4\Delta 4Δ for m = 3 m=3 m = 3 , the largest of the three for 6 ≤ n ≤ 10 6\le n\le10 6 ≤ n ≤ 10 ; the bounds for m ∈ { 2 , 4 } m\in\{2,4\} m ∈ { 2 , 4 } lie slightly below it.
Quantum ultraspherical spectral method
We now use the QUT to construct a quantum version of the ultraspherical spectral method for linear boundary-value problems, following the classical framework of Olver and Townsend [26 ] . We suppose the solution is expanded in Chebyshev polynomials, so that its λ \lambda λ th derivative is represented in the ultraspherical basis with parameter λ \lambda λ . Sparse conversion operators map these terms into the ultraspherical basis with parameter equal to the differential order q q q , so they can be combined in a single linear system. For uniquely solvable problems with suitable boundary conditions, diagonal preconditioning can make this system well conditioned as the number of coefficients increases.
The QUT enables three operations within this discretization: preparing the forcing term directly in the parameter-q q q basis, implementing multiplication by the variable coefficients a λ a_\lambda a λ through their values at the Gauss–ultraspherical nodes of a single basis, and returning derivatives of the solution as weighted samples. With K = 2 n K=2^n K = 2 n Chebyshev coefficients, the λ \lambda λ th derivative contains exactly N λ = K − λ N_\lambda=K-\lambda N λ = K − λ ultraspherical coefficients. These steps therefore require transforms Q N λ ( λ ) Q_{N_\lambda}^{(\lambda)} Q N λ ( λ ) for λ = 0 , 1 , … , q \lambda=0,1,\ldots,q λ = 0 , 1 , … , q on the same n n n -qubit register, which satisfy the dimension requirement N + m = 2 n N+m=2^n N + m = 2 n of Theorem 1 with N = N λ N=N_\lambda N = N λ and m = λ m=\lambda m = λ . The integer QUTs, together with the cosine and sine transforms for λ = 0 \lambda=0 λ = 0 and 1 1 1 , therefore provide the complete family of transforms needed for an order-q q q ultraspherical discretization.
We first define the boundary-value problem and its discretization in orthonormal coefficient bases. We then show that diagonal preconditioning keeps the condition number bounded independently of the resolution K K K for a broad class of boundary conditions. Using the resulting structure, we construct a block encoding of the preconditioned operator from QUTs and simple diagonal operations, and examine the cost of preparing the solution and estimating relevant outputs. Finally, we evaluate the discretization error and identify necessary conditions under which the quantum method might outperform classical solvers. Figure 10 provides an overview of the construction, with supporting proofs given in Appendix F.
Figure 10. Quantum ultraspherical solver. (a) Solver pipeline: preparation of the forcing state, QSVT inversion, and readout, from top to bottom, of the q q q th derivative samples, the solution samples, or a linear functional. The shift + q +q + q reserves the first q q q labels for boundary equations. (b) LCU decomposition of the preconditioned operator A K \mathcal{A}_K A K . Gray labels show the normalization weights, which sum to α \alpha α . (c) One lower-order contribution in Eq. (138) , with basis conversions before and after multiplication in the common parameter-μ ⋆ \mu^\star μ ⋆ basis. All lower-order terms share the same QUT pair.
Boundary-value problems of order q q q
Fix an integer q ≥ 1 q \ge1 q ≥ 1 . We consider the linear differential equation
∑ λ = 0 q a λ ( x ) u ( λ ) ( x ) = f ( x ) , (129) \sum_{\lambda=0}^{q} a_\lambda(x)u^{(\lambda)}(x)=f(x), \tag*{(129)} λ = 0 ∑ q a λ ( x ) u ( λ ) ( x ) = f ( x ) , (129)
on ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) , subject to q q q linear boundary conditions
B i u = c i , i = 0 , … , q − 1. (130) \mathcal{B}_i u=c_i,\qquad i=0,\ldots,q-1. \tag*{(130)} B i u = c i , i = 0 , … , q − 1. (130)
We assume that the equation is regular, with a q ( x ) ≠ 0 a_q(x)\ne0 a q ( x ) = 0 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , and, without loss of generality, take a q ≡ 1 a_q\equiv1 a q ≡ 1 . We further assume that a 0 , … , a q − 1 a_0,\ldots,a_{q-1} a 0 , … , a q − 1 are continuous on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] and define a ˉ λ : = max [ − 1 , 1 ] ∣ a λ ∣ \bar a_\lambda:=\max_{[-1,1]}|a_\lambda| a ˉ λ := max [ − 1 , 1 ] ∣ a λ ∣ .
Each B i \mathcal{B}_i B i is a bounded linear functional on C q ( [ − 1 , 1 ] ) C^q([-1,1]) C q ([ − 1 , 1 ]) . Examples include endpoint values u ( j ) ( ± 1 ) u^{(j)}(\pm1) u ( j ) ( ± 1 ) and interior values u ( j ) ( x 0 ) u^{(j)}(x_0) u ( j ) ( x 0 ) for j < q j<q j < q , weighted integrals ∫ − 1 1 ϖ ( x ) u ( x ) d x \int_{-1}^{1}\varpi(x)u(x)\,\mathrm{d}x ∫ − 1 1 ϖ ( x ) u ( x ) d x with integrable ϖ \varpi ϖ , and linear combinations of these. We assume that the corresponding homogeneous boundary-value problem has only the trivial solution. Equivalently, if y 0 , … , y q − 1 y_0,\ldots,y_{q-1} y 0 , … , y q − 1 form a basis of solutions of the homogeneous differential equation, the q × q q\times q q × q matrix with entries B i y j \mathcal{B}_i y_j B i y j must be invertible. This is the standard uniqueness condition for a linear boundary-value problem.
The problem class includes first-order initial-value problems with q = 1 q=1 q = 1 and B 0 u = u ( − 1 ) \mathcal{B}_0u=u(-1) B 0 u = u ( − 1 ) , second-order advection–reaction–diffusion equations with Dirichlet conditions, and fourth-order beam equations with clamped ends. We exclude equations whose leading coefficient vanishes on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , such as the ultraspherical operator − ( 1 − x 2 ) u ′ ′ + ( 2 m + 1 ) x u ′ -(1-x^2)u''+(2m+1)xu' − ( 1 − x 2 ) u ′′ + ( 2 m + 1 ) x u ′ , whose eigenfunctions are the polynomials p k ( m ) p_k^{(m)} p k ( m ) . However, for equations of the form μ u − ( 1 − x 2 ) u ′ ′ + ( 2 m + 1 ) x u ′ = f \mu u-(1-x^2)u''+(2m+1)xu'=f μu − ( 1 − x 2 ) u ′′ + ( 2 m + 1 ) x u ′ = f with μ > 0 \mu>0 μ > 0 , the QUT directly diagonalizes the differential operator, allowing fast inversion [47 ] in its eigenbasis.
Orthonormal ultraspherical discretization
Let K = 2 n > q K=2^n>q K = 2 n > q . We approximate the solution by a polynomial of degree less than K K K ,
u K ( x ) = ∑ k = 0 K − 1 u k p k ( 0 ) ( x ) , (131) u_K(x)=\sum_{k=0}^{K-1}u_kp_k^{(0)}(x), \tag*{(131)} u K ( x ) = k = 0 ∑ K − 1 u k p k ( 0 ) ( x ) , (131)
with coefficient vector u = ( u 0 , … , u K − 1 ) T \boldsymbol{u}=(u_0,\ldots,u_{K-1})^\mathsf{T} u = ( u 0 , … , u K − 1 ) T . Since the QUT acts on orthonormal coefficients, we express all operators in the orthonormal bases p k ( λ ) p_k^{(\lambda)} p k ( λ ) . Differentiation is particularly simple in these bases: each derivative maps a basis polynomial to a single polynomial in the next ultraspherical basis. Combining Eq. (8) with the norms in Eq. (2) yields, for k ≥ λ ≥ 0 k\ge\lambda\ge0 k ≥ λ ≥ 0 ,
d λ p k ( 0 ) d x λ = d k ( λ ) p k − λ ( λ ) , d k ( λ ) : = ∏ j = 0 λ − 1 k 2 − j 2 , (132) \frac{\mathrm{d}^\lambda p_k^{(0)}}{\mathrm{d}x^\lambda}=d_k^{(\lambda)}p_{k-\lambda}^{(\lambda)},\qquad d_k^{(\lambda)}:=\prod_{j=0}^{\lambda-1}\sqrt{k^2-j^2}, \tag*{(132)} d x λ d λ p k ( 0 ) = d k ( λ ) p k − λ ( λ ) , d k ( λ ) := j = 0 ∏ λ − 1 k 2 − j 2 , (132)
while the derivative vanishes for k < λ k<\lambda k < λ . Each factor arises from one differentiation, which maps p k − j ( j ) p_{k-j}^{(j)} p k − j ( j ) to k 2 − j 2 p k − j − 1 ( j + 1 ) \sqrt{k^2-j^2}p_{k-j-1}^{(j+1)} k 2 − j 2 p k − j − 1 ( j + 1 ) . Thus, the differentiation matrix D ~ λ ∈ R N λ × K \widetilde{D}_\lambda\in\mathbb{R}^{N_\lambda\times K} D λ ∈ R N λ × K has only one nonzero entry per column k ≥ λ k\ge\lambda k ≥ λ , given by ( D ~ λ ) k − λ , k = d k ( λ ) (\widetilde{D}_\lambda)_{k-\lambda,k}=d_k^{(\lambda)} ( D λ ) k − λ , k = d k ( λ ) . For example, ( D ~ 2 ) k − 2 , k = k k 2 − 1 (\widetilde{D}_2)_{k-2,k}=k\sqrt{k^2-1} ( D 2 ) k − 2 , k = k k 2 − 1 for k ≥ 2 k\ge2 k ≥ 2 .
The differentiation matrix D ~ λ \widetilde{D}_\lambda D λ produces coefficients directly in the parameter-λ \lambda λ ultraspherical basis. One can apply Q N λ ( λ ) † Q_{N_\lambda}^{(\lambda)\dagger} Q N λ ( λ ) † to convert these coefficients into weighted samples of u K ( λ ) u_K^{(\lambda)} u K ( λ ) at the corresponding Gauss–ultraspherical nodes. All these transforms use the same n n n -qubit register, with the first N λ N_\lambda N λ labels holding the valid coefficients. For λ = 0 \lambda=0 λ = 0 and λ = 1 \lambda=1 λ = 1 , the corresponding transforms are the DCT-II and DST-I from Eqs. (17) and (18).
To combine derivatives of different orders, we use sparse conversion operators that express each polynomial in the next ultraspherical basis. Rewriting Eq. (11) in the next basis normalized basis gives
p k ( λ ) = s k ( λ ) p k ( λ + 1 ) − t k ( λ ) p k − 2 ( λ + 1 ) , (133) p_k^{(\lambda)}=s_k^{(\lambda)}p_k^{(\lambda+1)}-t_k^{(\lambda)}p_{k-2}^{(\lambda+1)}, \tag*{(133)} p k ( λ ) = s k ( λ ) p k ( λ + 1 ) − t k ( λ ) p k − 2 ( λ + 1 ) , (133)
where, for λ ≥ 1 \lambda\ge1 λ ≥ 1 ,
s k ( λ ) = 1 2 ( k + 2 λ ) ( k + 2 λ + 1 ) ( k + λ ) ( k + λ + 1 ) , t k ( λ ) = 1 2 k ( k − 1 ) ( k + λ ) ( k + λ − 1 ) . (134) s_k^{(\lambda)}=\frac{1}{2}\sqrt{\frac{(k+2\lambda)(k+2\lambda+1)}{(k+\lambda)(k+\lambda+1)}},
\qquad
t_k^{(\lambda)}=\frac{1}{2}\sqrt{\frac{k(k-1)}{(k+\lambda)(k+\lambda-1)}}. \tag*{(134)} s k ( λ ) = 2 1 ( k + λ ) ( k + λ + 1 ) ( k + 2 λ ) ( k + 2 λ + 1 ) , t k ( λ ) = 2 1 ( k + λ ) ( k + λ − 1 ) k ( k − 1 ) . (134)
For λ = 0 \lambda= 0 λ = 0 , these formulas extend to s k ( 0 ) s_k^{(0)} s k ( 0 ) for k ≥ 1 k \ge1 k ≥ 1 and to t k ( 0 ) t_k^{(0)} t k ( 0 ) for k ≥ 2 k \ge2 k ≥ 2 , with s 0 ( 0 ) = 1 / 2 s_0^{(0)} = 1/\sqrt{2} s 0 ( 0 ) = 1/ 2 . We set t 0 ( λ ) = t 1 ( λ ) = 0 t_0^{(\lambda)} = t_1^{(\lambda)} = 0 t 0 ( λ ) = t 1 ( λ ) = 0 for every λ \lambda λ . Applying Eq. (133) μ − λ \mu- \lambda μ − λ times allows rewriting p k ( λ ) p_k^{(\lambda)} p k ( λ ) as a linear combination of p k ( μ ) , p k − 2 ( μ ) , … , p k − 2 ( μ − λ ) ( μ ) p_k^{(\mu)},p_{k-2}^{(\mu)},\ldots,p_{k-2(\mu-\lambda)}^{(\mu)} p k ( μ ) , p k − 2 ( μ ) , … , p k − 2 ( μ − λ ) ( μ ) for any μ ≥ λ \mu\ge\lambda μ ≥ λ . For λ ≤ μ ≤ q \lambda\le\mu\le q λ ≤ μ ≤ q , we therefore define the conversion matrix S ^ λ → μ ∈ R N μ × N λ \widehat{S}_{\lambda\to\mu} \in\mathbb{R}^{N_\mu\times N_\lambda} S λ → μ ∈ R N μ × N λ , which maps the coefficients of a polynomial of degree less than N λ N_\lambda N λ in the basis p ( λ ) p^{(\lambda)} p ( λ ) to its first N μ N_\mu N μ coefficients in the basis p ( μ ) p^{(\mu)} p ( μ ) . Its matrix representation is upper triangular: column k k k of S ^ λ → μ \widehat{S}_{\lambda\to\mu} S λ → μ has nonzero entries only in the rows k , k − 2 , … , k − 2 ( μ − λ ) k,k-2,\ldots,k-2(\mu-\lambda) k , k − 2 , … , k − 2 ( μ − λ ) . For a single step, these entries are ( S ^ λ → λ + 1 ) k , k = s k ( λ ) (\widehat{S}_{\lambda\to\lambda+1})_{k,k}=s_k^{(\lambda)} ( S λ → λ + 1 ) k , k = s k ( λ ) and ( S ^ λ → λ + 1 ) k − 2 , k = − t k ( λ ) (\widehat{S}_{\lambda\to\lambda+1})_{k-2,k}=-t_k^{(\lambda)} ( S λ → λ + 1 ) k − 2 , k = − t k ( λ ) . For μ > λ + 1 \mu> \lambda+1 μ > λ + 1 , S ^ λ → μ \widehat{S}_{\lambda\to\mu} S λ → μ applies these single steps to all N λ N_\lambda N λ coefficients and keeps only the first N μ N_\mu N μ coefficients at the end. Since the weight functions w λ ( x ) = ( 1 − x 2 ) λ − 1 / 2 w_\lambda(x)=(1-x^2)^{\lambda-1/2} w λ ( x ) = ( 1 − x 2 ) λ − 1/2 satisfy w μ = ( 1 − x 2 ) μ − λ w λ ≤ w λ w_{\mu}=(1-x^{2})^{\mu-\lambda}w_{\lambda}\leq w_{\lambda} w μ = ( 1 − x 2 ) μ − λ w λ ≤ w λ for μ ≥ λ \mu\geq\lambda μ ≥ λ , every conversion is contractive, ∥ S ^ λ → μ ∥ 2 ≤ 1 \lVert\widehat{S}_{\lambda\to\mu}\rVert_{2}\leq1 ∥ S λ → μ ∥ 2 ≤ 1 .
The QUT also provides a convenient representation of multiplication operators. Let J N λ ( λ ) J_{N_{\lambda}}^{(\lambda)} J N λ ( λ ) be the N λ × N λ N_{\lambda}\times N_{\lambda} N λ × N λ Jacobi matrix representing multiplication by x x x in the basis p 0 ( λ ) , … , p N λ − 1 ( λ ) p_{0}^{(\lambda)},\ldots,p_{N_{\lambda}-1}^{(\lambda)} p 0 ( λ ) , … , p N λ − 1 ( λ ) , truncated to degree less than N λ N_{\lambda} N λ . If x j x_{j} x j is a zero of p N λ ( λ ) p_{N_{\lambda}}^{(\lambda)} p N λ ( λ ) , the three-term recurrence implies that ( p 0 ( λ ) ( x j ) , … , p N λ − 1 ( λ ) ( x j ) ) T (p_{0}^{(\lambda)}(x_{j}),\ldots,p_{N_{\lambda}-1}^{(\lambda)}(x_{j}))^{\mathsf{T}} ( p 0 ( λ ) ( x j ) , … , p N λ − 1 ( λ ) ( x j ) ) T is an eigenvector of J N λ ( λ ) J_{N_{\lambda}}^{(\lambda)} J N λ ( λ ) with eigenvalue x j x_{j} x j . After weighting these vectors by w j \sqrt{w_{j}} w j , Eq. (13) yields an orthonormal eigenbasis [48 ] . Hence,
Q N λ ( λ ) diag ( x 0 , … , x N λ − 1 ) Q N λ ( λ ) † = J N λ ( λ ) . (135) Q_{N_{\lambda}}^{(\lambda)}\operatorname{diag}(x_{0},\ldots,x_{N_{\lambda}-1})Q_{N_{\lambda}}^{(\lambda)\dagger}=J_{N_{\lambda}}^{(\lambda)}. \tag*{(135)} Q N λ ( λ ) diag ( x 0 , … , x N λ − 1 ) Q N λ ( λ ) † = J N λ ( λ ) . (135)
For a function a ( x ) a(x) a ( x ) on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , we therefore define the N λ × N λ N_{\lambda}\times N_{\lambda} N λ × N λ Gauss multiplication matrix
M λ [ a ] : = Q N λ ( λ ) diag ( a ( x 0 ) , … , a ( x N λ − 1 ) ) Q N λ ( λ ) † = a ( J N λ ( λ ) ) . (136) M_{\lambda}[a]:=Q_{N_{\lambda}}^{(\lambda)}\operatorname{diag}(a(x_{0}),\ldots,a(x_{N_{\lambda}-1}))Q_{N_{\lambda}}^{(\lambda)\dagger}
=a(J_{N_{\lambda}}^{(\lambda)}). \tag*{(136)} M λ [ a ] := Q N λ ( λ ) diag ( a ( x 0 ) , … , a ( x N λ − 1 )) Q N λ ( λ ) † = a ( J N λ ( λ ) ) . (136)
Applied to the coefficients of a polynomial g g g of degree less than N λ N_{\lambda} N λ , M λ [ a ] M_{\lambda}[a] M λ [ a ] returns the coefficients of the polynomial that interpolates a g ag a g at the N λ N_{\lambda} N λ Gauss nodes. If a a a is a polynomial, Gaussian quadrature implies
( M λ [ a ] ) i k = ∫ − 1 1 w λ ( x ) p i ( λ ) ( x ) a ( x ) p k ( λ ) ( x ) d x (137) (M_{\lambda}[a])_{ik}=\int_{-1}^{1}w_{\lambda}(x)p_{i}^{(\lambda)}(x)a(x)p_{k}^{(\lambda)}(x)\,\mathrm{d}x \tag*{(137)} ( M λ [ a ] ) ik = ∫ − 1 1 w λ ( x ) p i ( λ ) ( x ) a ( x ) p k ( λ ) ( x ) d x (137)
whenever i + k + deg a ≤ 2 N λ − 1 i+k+\deg a\leq2N_{\lambda}-1 i + k + deg a ≤ 2 N λ − 1 . Thus, except for entries involving the highest degrees, M λ [ a ] M_{\lambda}[a] M λ [ a ] is exactly the matrix obtained by multiplying by a a a and projecting the result onto the first N λ N_{\lambda} N λ ultraspherical basis functions. The possible discrepancy is confined to entries with i + k + deg a > 2 N λ − 1 i+k+\deg a>2N_{\lambda}-1 i + k + deg a > 2 N λ − 1 , where the product exceeds the degree for which the N λ N_{\lambda} N λ -point Gauss rule is exact. Moreover, ∥ M λ [ a ] ∥ 2 = max j ∣ a ( x j ) ∣ ≤ max [ − 1 , 1 ] ∣ a ∣ \lVert M_{\lambda}[a]\rVert_{2}=\max_{j}|a(x_{j})|\leq\max_{[-1,1]}|a| ∥ M λ [ a ] ∥ 2 = max j ∣ a ( x j ) ∣ ≤ max [ − 1 , 1 ] ∣ a ∣ .
We now apply these multiplication operators to the differential equation. Let μ ⋆ \mu^{\star} μ ⋆ be the largest λ < q \lambda<q λ < q with a λ ≢ 0 a_{\lambda}\not\equiv0 a λ ≡ 0 . For each lower-order term a λ u ( λ ) a_{\lambda}u^{(\lambda)} a λ u ( λ ) , the differentiation matrix D ^ λ \widehat{D}_{\lambda} D λ first produces the coefficients of u ( λ ) u^{(\lambda)} u ( λ ) in the parameter-λ \lambda λ ultraspherical basis. We convert them to the parameter-μ ⋆ \mu^{\star} μ ⋆ basis, apply M μ ⋆ [ a λ ] M_{\mu^{\star}}[a_{\lambda}] M μ ⋆ [ a λ ] there, and convert the result to the common parameter-q q q basis. With exact polynomial representations, multiplication by a λ a_{\lambda} a λ commutes with the basis conversions: either order represents the same function a λ u ( λ ) a_{\lambda}u^{(\lambda)} a λ u ( λ ) . Differences can arise only from finite truncation near the highest degrees. This choice therefore allows all lower-order terms to use the same multiplication basis, and hence the same transform. The interior equations are therefore represented by the N q × K N_{q}\times K N q × K matrix
A K i n t : = D ^ q + ∑ λ = 0 q − 1 S ^ μ ⋆ → q M μ ⋆ [ a λ ] S ^ λ → μ ⋆ D ^ λ . (138) A_{K}^{\mathrm{int}}:=\widehat{D}_{q}+\sum_{\lambda=0}^{q-1}\widehat{S}_{\mu^{\star}\to q}M_{\mu^{\star}}[a_{\lambda}]\widehat{S}_{\lambda\to\mu^{\star}}\widehat{D}_{\lambda}. \tag*{(138)} A K int := D q + λ = 0 ∑ q − 1 S μ ⋆ → q M μ ⋆ [ a λ ] S λ → μ ⋆ D λ . (138)
Since a conversion only changes how a polynomial is written, any common basis at or above the highest derivative order that appears represents the same products. We use the lowest such basis, μ ⋆ \mu^{\star} μ ⋆ , because transforms become more expensive as the parameter grows, from the O ( n 2 ) O(n^{2}) O ( n 2 ) DCT-II and DST-I for μ ⋆ ≤ 1 \mu^{\star}\leq1 μ ⋆ ≤ 1 to QUTs whose cost increases with the parameter.
The forcing is represented by its interpolant at the N q N_{q} N q Gauss nodes of C N q ( q ) C_{N_{q}}^{(q)} C N q ( q ) . From the weighted samples F ^ j : = w j f ( x j ) \widehat{F}_{j}:=\sqrt{w_{j}}f(x_{j}) F j := w j f ( x j ) , Eq. (16) yields f ^ : = C N q ( q ) F ∈ R N q \widehat{f}:=C_{N_{q}}^{(q)}F\in\mathbb{R}^{N_{q}} f := C N q ( q ) F ∈ R N q , the orthonormal coefficient vector of this interpolant. The boundary functionals act on the Chebyshev coefficients through B ∈ R q × K B\in\mathbb{R}^{q\times K} B ∈ R q × K , with entries B i k : = B i ( p k ( 0 ) ) B_{ik}:=\mathcal{B}_{i}(p_{k}^{(0)}) B ik := B i ( p k ( 0 ) ) . With c = ( c 0 , … , c q − 1 ) T c=(c_{0},\ldots,c_{q-1})^{\mathsf{T}} c = ( c 0 , … , c q − 1 ) T , the boundary and interior equations form the square system
A K u = [ c f ^ ] , A K : = [ B A K i n t ] . (139) A_{K}u=\begin{bmatrix}c\\\widehat{f}\end{bmatrix},\qquad A_{K}:=\begin{bmatrix}B\\A_{K}^{\mathrm{int}}\end{bmatrix}. \tag*{(139)} A K u = [ c f ] , A K := [ B A K int ] . (139)
Since A K A_{K} A K is K × K K\times K K × K with K = 2 n K=2^{n} K = 2 n , the full system still stays on the same n n n -qubit register. The solution coefficient u k u_{k} u k occupies label k k k , while the output labels 0 , … , q − 1 0,\ldots,q-1 0 , … , q − 1 represent the boundary equations and labels q , … , K − 1 q,\ldots,K-1 q , … , K − 1 represent the interior equations. The transform Q N q ( q ) Q_{N_{q}}^{(q)} Q N q ( q ) initially places the N q N_{q} N q forcing coefficients on labels 0 , … , N q − 1 0,\ldots,N_{q}-1 0 , … , N q − 1 . We apply an addition by q q q to shift them to labels q , … , K − 1 q,\ldots,K-1 q , … , K − 1 , leaving the first q q q labels for the boundary data.
Numerical conditioning
The expression in Eq. (132) implies d k ( q ) = Θ ( k q ) d_{k}^{(q)}=\Theta(k^{q}) d k ( q ) = Θ ( k q ) , causing κ 2 ( A K ) \kappa_{2}(A_{K}) κ 2 ( A K ) to grow like K q K^{q} K q , as shown in Figure 11 (a). We can rescale the unknowns with the K × K K\times K K × K diagonal matrix R : = diag ( R k k ) R:=\operatorname{diag}(R_{kk}) R := diag ( R k k ) , where
Figure 11. Preconditioned ultraspherical systems. All equations are written as Eq. (129) with a q = 1 a_q = 1 a q = 1 and discretized by Eq. (139) . (a) Condition numbers κ 2 ( A K ) \kappa_2(A_K) κ 2 ( A K ) (solid) and κ 2 ( A K ) \kappa_2(A_K) κ 2 ( A K ) without rescaling (dashed) for u ′ + 4 x u = f u' + 4xu = f u ′ + 4 xu = f with known u ( − 1 ) u(-1) u ( − 1 ) (q = 1 q = 1 q = 1 ); u ′ ′ + sin ( 2 x ) u ′ − ( 2 + cos 3 x ) u = f u'' + \sin(2x)u' - (2 + \cos3x)u = f u ′′ + sin ( 2 x ) u ′ − ( 2 + cos 3 x ) u = f with Dirichlet data (q = 2 q = 2 q = 2 ); u ′ ′ ′ + x u ′ ′ − ( 1 + x 2 ) u ′ + ( cos x ) u = f u''' + xu'' - (1 + x^2)u' + (\cos x)u = f u ′′′ + x u ′′ − ( 1 + x 2 ) u ′ + ( cos x ) u = f with u ( ± 1 ) u(\pm1) u ( ± 1 ) and u ′ ( 1 ) u'(1) u ′ ( 1 ) (q = 3 q = 3 q = 3 ); and u ( 4 ) + ( 1 + x 2 ) u ′ ′ − x u ′ + ( 2 + sin x ) u = f u^{(4)} + (1 + x^2)u'' - xu' + (2 + \sin x)u = f u ( 4 ) + ( 1 + x 2 ) u ′′ − x u ′ + ( 2 + sin x ) u = f with clamped ends (q = 4 q = 4 q = 4 ). (b) Direct (filled markers) and split (open markers) discretizations of two problems: u ′ ′ − ( 1 + x 2 ) u = f u'' - (1 + x^2)u = f u ′′ − ( 1 + x 2 ) u = f with Neumann data u ′ ( ± 1 ) u'(\pm1) u ′ ( ± 1 ) (red), split into a first-order system, and the q = 4 q = 4 q = 4 equation with u ( ± 1 ) u(\pm1) u ( ± 1 ) and u ′ ′ ( ± 1 ) u''(\pm1) u ′′ ( ± 1 ) (brown), split into two coupled second-order Dirichlet blocks for u u u and u ′ ′ u'' u ′′ . For comparison, the q = 2 q = 2 q = 2 equation of panel (a) with the conditions u ′ ( 0 ) u'(0) u ′ ( 0 ) and ∫ − 1 1 u d x \int_{-1}^{1}u\,\mathrm{d}x ∫ − 1 1 u d x is shown in orange. (c) Coefficients of frequency ω \omega ω with Dirichlet conditions. We take K K K as the smallest power of two with K ≥ 1.25 ω + 64 K \ge1.25\omega+ 64 K ≥ 1.25 ω + 64 , or K ≥ 6 ω + 64 K \ge6\omega+ 64 K ≥ 6 ω + 64 for the divergence form (red). Doubling K K K changes each plotted value by at most 0.01%. (d) Recovery probability for an oscillatory coefficient with smooth forcing and for an oscillatory forcing, both with u ( ± 1 ) = 0 u(\pm1) = 0 u ( ± 1 ) = 0 .
R k k : = { 1 , k < q , 1 / d k ( q ) , k ≥ q . (140) R_{kk}:=\begin{cases}
1, & k<q,\\
1/d_{k}^{(q)}, & k\geq q.
\end{cases} \tag*{(140)} R k k := { 1 , 1/ d k ( q ) , k < q , k ≥ q . (140)
We then solve A K v = ( c , f ^ ) T A_{K}v=(c,\widehat{f})^{\mathsf{T}} A K v = ( c , f ) T with A K : = A K R A_{K}:=A_{K}R A K := A K R and recover u = R v u=Rv u = R v . The rescaling cancels the factor d k ( q ) d_{k}^{(q)} d k ( q ) in the highest derivative: D ^ q R \widehat{D}_{q}R D q R maps column k ≥ q k\geq q k ≥ q to row k − q k-q k − q with unit coefficient. It therefore removes the resolution-dependent growth caused by differentiation. This is analogous to the fast-inversion strategy of [47 ] , but here the known differentiation factors are inverted explicitly.
In the register layout above, D ^ q R \widehat{D}_{q}R D q R acts as the identity on labels q , … , K − 1 q,\ldots,K-1 q , … , K − 1 , so
A K = I − Π < q + ∑ i = 0 q − 1 ∣ i ⟩ ⟨ Π < K r i ∣ + C K . (141) A_{K}=I-\Pi_{<q}+\sum_{i=0}^{q-1}|i\rangle\langle\Pi_{<K}r_{i}|+C_{K}. \tag*{(141)} A K = I − Π < q + i = 0 ∑ q − 1 ∣ i ⟩ ⟨ Π < K r i ∣ + C K . (141)
Here Π < M \Pi_{<M} Π < M denotes the projection onto the first M M M labels. The rescaled boundary row r i r_{i} r i is an infinite sequence with entries r i k : = R k k B i ( p k ( 0 ) ) r_{ik}:=R_{kk}\mathcal{B}_{i}(p_{k}^{(0)}) r ik := R k k B i ( p k ( 0 ) ) for all k ≥ 0 k\geq0 k ≥ 0 , with R k k R_{kk} R k k from Eq. (140) , so Π < K r i \Pi_{<K}r_{i} Π < K r i is the i i i th row of B R BR B R . The lower-order terms are collected in the K × K K\times K K × K matrix C K C_{K} C K . whose first q q q rows vanish and whose last N q N_q N q rows are ( A K i n t − D ^ q ) R (A^{\mathrm{int}}_K-\widehat{D}_q)R ( A K int − D q ) R , with A K i n t A^{\mathrm{int}}_K A K int from Eq. (138) .
The rescaling also suppresses the lower-order terms at high polynomial degree. For k ≥ q k\ge q k ≥ q , the contribution of the term of order λ \lambda λ to column k k k has norm at most a ˉ ( λ ) d k ( λ ) / d k ( q ) = O ( k λ − q ) \bar{a}^{(\lambda)}d_k^{(\lambda)}/d_k^{(q)}=O(k^{\lambda-q}) a ˉ ( λ ) d k ( λ ) / d k ( q ) = O ( k λ − q ) . Thus, every term with λ < q \lambda<q λ < q decays as k k k increases.
It remains to control the rescaled boundary rows uniformly in K K K . For endpoint derivatives, evaluating Eq. (8) at x = ± 1 x=\pm1 x = ± 1 yields, for k ≥ 1 k\ge1 k ≥ 1 ,
∂ x ( j ) p k ( 0 ) ( ± 1 ) = ( ± 1 ) k + j 2 / π ∏ ℓ < j ( k 2 − ℓ 2 ) / ( 2 ℓ + 1 ) , \partial_x^{(j)}p_k^{(0)}(\pm1)=(\pm1)^{k+j}\sqrt{2/\pi}\prod_{\ell<j}(k^2-\ell^2)/(2\ell+1), ∂ x ( j ) p k ( 0 ) ( ± 1 ) = ( ± 1 ) k + j 2/ π ℓ < j ∏ ( k 2 − ℓ 2 ) / ( 2 ℓ + 1 ) ,
and therefore ∣ r i k ∣ = Θ ( k 2 j − q ) |r_{ik}|=\Theta(k^{2j-q}) ∣ r ik ∣ = Θ ( k 2 j − q ) . More generally, suppose that B i \mathcal{B}_i B i is a bounded linear functional on C j ( [ − 1 , 1 ] ) C^j([-1,1]) C j ([ − 1 , 1 ]) . Applying the higher-order Markov brothers’ inequality [49 ] to the degree-k k k polynomial p k ( 0 ) p_k^{(0)} p k ( 0 ) gives
∥ ∂ x ℓ p k ( 0 ) ∥ ∞ ≤ k 2 ( k 2 − 1 2 ) ⋯ ( k 2 − ( ℓ − 1 ) 2 ) ( 2 ℓ − 1 ) ! ! ∥ p k ( 0 ) ∥ ∞ . (142) \left\|\partial_x^\ell p_k^{(0)}\right\|_\infty\le\frac{k^2(k^2-1^2)\cdots(k^2-(\ell-1)^2)}{(2\ell-1)!!}\left\|p_k^{(0)}\right\|_\infty. \tag*{(142)} ∂ x ℓ p k ( 0 ) ∞ ≤ ( 2 ℓ − 1 )!! k 2 ( k 2 − 1 2 ) ⋯ ( k 2 − ( ℓ − 1 ) 2 ) p k ( 0 ) ∞ . (142)
Since the normalized Chebyshev basis has bounded norm ∥ p k ( 0 ) ∥ ∞ = O ( 1 ) \left\|p_k^{(0)}\right\|_\infty=O(1) p k ( 0 ) ∞ = O ( 1 ) , it follows that ∥ ∂ x ℓ p k ( 0 ) ∥ ∞ = O ( k 2 ℓ ) \left\|\partial_x^\ell p_k^{(0)}\right\|_\infty=O(k^{2\ell}) ∂ x ℓ p k ( 0 ) ∞ = O ( k 2 ℓ ) for ℓ ≤ j \ell\le j ℓ ≤ j . Boundedness of B i \mathcal{B}_i B i on C j ( [ − 1 , 1 ] ) C^j([-1,1]) C j ([ − 1 , 1 ]) then implies ∣ B i ( p k ( 0 ) ) ∣ = O ( k 2 j ) |\mathcal{B}_i(p_k^{(0)})|=O(k^{2j}) ∣ B i ( p k ( 0 ) ) ∣ = O ( k 2 j ) , and hence ∣ r i k ∣ = O ( k 2 j − q ) |r_{ik}|=O(k^{2j-q}) ∣ r ik ∣ = O ( k 2 j − q ) . These estimates demonstrate the sufficient condition j < q / 2 j<q/2 j < q /2 for square summability of the rescaled boundary rows. Appendix F.2 proves the following proposition, which also admits interior derivative conditions of every order below q q q .
Proposition 1 (Bounded boundary rows). Let r = ( R k k B ( p k ( 0 ) ) ) k ≥ 0 r=(R_{kk}\mathcal{B}(p_k^{(0)}))_{k\ge0} r = ( R k k B ( p k ( 0 ) ) ) k ≥ 0 be the rescaled row associated with a boundary functional B \mathcal{B} B . Then r ∈ ℓ 2 ( N ) r\in\ell^2(\mathbb{N}) r ∈ ℓ 2 ( N ) , and hence ∥ Π < K r ∥ 2 \|\Pi_{<K}r\|_2 ∥ Π < K r ∥ 2 is bounded uniformly in K K K , in either of the following cases:
(i) B \mathcal{B} B is bounded on C j ( [ − 1 , 1 ] ) C^j([-1,1]) C j ([ − 1 , 1 ]) for some j < q / 2 j<q/2 j < q /2 . This includes endpoint conditions B u = u ( j ) ( ± 1 ) \mathcal{B}u=u^{(j)}(\pm1) B u = u ( j ) ( ± 1 ) and, for j = 0 j=0 j = 0 , weighted integrals B u = ∫ − 1 1 ϖ u d x \mathcal{B}u=\int_{-1}^{1}\varpi u\,\mathrm{d}x B u = ∫ − 1 1 ϖ u d x with integrable ϖ \varpi ϖ ;
(ii) B u = u ( j ) ( x 0 ) \mathcal{B}u=u^{(j)}(x_0) B u = u ( j ) ( x 0 ) with ∣ x 0 ∣ < 1 |x_0|<1 ∣ x 0 ∣ < 1 and j < q j<q j < q .
If B u = u ( j ) ( ± 1 ) \mathcal{B}u=u^{(j)}(\pm1) B u = u ( j ) ( ± 1 ) with q / 2 ≤ j < q q/2\le j<q q /2 ≤ j < q , then ∥ Π < K r ∥ 2 = Θ ( K 2 j − q + 1 / 2 ) \|\Pi_{<K}r\|_2=\Theta(K^{2j-q+1/2}) ∥ Π < K r ∥ 2 = Θ ( K 2 j − q + 1/2 ) .
For second-order equations, this includes Dirichlet conditions but excludes Neumann and Robin conditions. For fourth-order equations, it also includes first-derivative conditions such as those at clamped boundaries, although higher-order endpoint derivatives may still fall outside the admissible range. Such cases can be handled by introducing derivatives as additional unknowns and rewriting the equation as a first-order system, as described at the end of this subsection.
For these admissible boundary conditions, the boundary contribution in Eq. (141) consists of q q q rows whose norms are bounded independently of K K K . The lower-order terms are also controlled: within C K C_K C K , the contribution of derivative order λ < q \lambda<q λ < q has a k k k th column of norm O ( k λ − q ) O(k^{\lambda-q}) O ( k λ − q ) , which decays with k k k . Together with uniqueness of the continuous boundary-value problem, these properties lead to uniform conditioning as the number of coefficients increases.
Proposition 2 (Uniform conditioning). Assume that a 0 , … , a q − 1 a_0,\ldots,a_{q-1} a 0 , … , a q − 1 are continuous on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , that every boundary functional is bounded on C q ( [ − 1 , 1 ] ) C^q([-1,1]) C q ([ − 1 , 1 ]) , and has a rescaled row in ℓ 2 ( N ) \ell^2(\mathbb{N}) ℓ 2 ( N ) , and that the homogeneous problem has only the trivial solution. Extend A K A_K A K by the identity on labels k ≥ K k\ge K k ≥ K . Then A K A_K A K converges in operator norm to an invertible operator
A ∞ = I + K A_\infty=I+\mathcal{K} A ∞ = I + K on ℓ 2 ( N ) \ell^2(\mathbb{N}) ℓ 2 ( N ) , where K \mathcal{K} K is compact, i.e., a norm limit of finite-rank operators. Consequently, for every γ > 1 \gamma>1 γ > 1 , there exists K 0 K_0 K 0 such that, for all K ≥ K 0 K\ge K_0 K ≥ K 0 ,
κ 2 ( A K ) ≤ γ κ 2 ( A ∞ ) . (143) \kappa_2(A_K)\le\gamma\kappa_2(A_\infty). \tag*{(143)} κ 2 ( A K ) ≤ γ κ 2 ( A ∞ ) . (143)
We prove this proposition by adapting Lemmas 4.3 and 4.4 of [26 ] to the orthonormal bases used here. The details are given in Appendix F.3. The limiting condition number depends on the differential coefficients and boundary conditions. The proof does not provide an explicit threshold K 0 K_0 K 0 , but Lemma 7 in Appendix F.4 specifies a computable one together with an explicit bound on ∥ A K − 1 ∥ 2 \|A_K^{-1}\|_2 ∥ A K − 1 ∥ 2 .
Figure Figure 11 (a) illustrates this behavior at finite resolution. We consider four linear ODEs of orders one through four, with variable coefficients and boundary conditions satisfying Proposition 1. Over the range 8 ≤ K ≤ 1024 8\le K\le1024 8 ≤ K ≤ 1024 , κ 2 ( A K ) \kappa_2(A_K) κ 2 ( A K ) remains nearly constant and below 50 in all four examples. Without the rescaling, by contrast, the condition number grows approximately as K q K^q K q . The singular values of the preconditioned matrices also cluster near one, consistent with the correction to the identity. For the q = 2 q=2 q = 2 example at K = 1024 K=1024 K = 1024 , only 14 of the 1024 singular values lie outside [ 0.99 , 1.01 ] [0.99,1.01] [ 0.99 , 1.01 ] .
Rapid oscillation of the coefficients alone does not cause poor conditioning. Figure Figure 11 (c) considers − u ′ ′ + ( 1 + 1 2 sin ω x ) u = 1 -u''+(1+\frac{1}{2}\sin\omega x)u=1 − u ′′ + ( 1 + 2 1 sin ω x ) u = 1 with u ( ± 1 ) = 0 u(\pm1)=0 u ( ± 1 ) = 0 . As ω \omega ω increases from 10 to 1000, the required resolution grows from K = 128 K=128 K = 128 to K = 2048 K=2048 K = 2048 , while κ 2 ( A K ) \kappa_2(A_K) κ 2 ( A K ) remains small. Adding the term 2 sin ( ω x + 1 ) u ′ 2\sin(\omega x+1)u' 2 sin ( ω x + 1 ) u ′ and increasing the oscillation amplitude in the coefficient of u u u from 1 / 2 1/2 1/2 to 0.9 0.9 0.9 raises the condition number only moderately over the same frequency range.
In these examples, the coefficient amplitudes are bounded independently of ω \omega ω . Conditioning can deteriorate more strongly when normalization by the leading coefficient introduces terms whose amplitudes grow with frequency. For − ( 2 + sin ω x ) u ′ + u = 1 -(2+\sin\omega x)u'+u=1 − ( 2 + sin ω x ) u ′ + u = 1 , dividing by the leading coefficient produces a 1 ( x ) = ω cos ( ω x ) / ( 2 + sin ω x ) a_1(x)=\omega\cos(\omega x)/(2+\sin\omega x) a 1 ( x ) = ω cos ( ω x ) / ( 2 + sin ω x ) , whose maximum magnitude is ω / 3 \omega/\sqrt{3} ω / 3 . Correspondingly, κ 2 ( A K ) \kappa_2(A_K) κ 2 ( A K ) increases from about 10 1 10^1 1 0 1 at ω = 10 \omega=10 ω = 10 to about 10 4 10^4 1 0 4 at ω = 300 \omega=300 ω = 300 .
Higher-order endpoint conditions provide another source of growth with K K K . For u ′ ′ − ( 1 + x 2 ) u = f u''-(1+x^2)u=f u ′′ − ( 1 + x 2 ) u = f with prescribed Neumann data u ′ ( ± 1 ) u'(\pm1) u ′ ( ± 1 ) . Proposition 1 predicts boundary-row norms of order K 1 / 2 K^{1/2} K 1/2 . In this example, κ 2 ( A K ) \kappa_2(A_K) κ 2 ( A K ) grows approximately linearly with K K K , as shown in Figure 11 (b).
This growth can be avoided by introducing the derivatives as separate unknowns, U j : = u ( j ) U_j := u^{(j)} U j := u ( j ) for 0 ≤ j < q 0 \le j < q 0 ≤ j < q . Equation (129) then becomes the first-order system
{ U j ′ = U j + 1 , 0 ≤ j < q − 1 , U q − 1 ′ + ∑ λ = 0 q − 1 a λ U λ = f . (144) \begin{cases}
U'_j = U_{j+1}, & 0 \le j < q-1, \\
U'_{q-1} + \sum_{\lambda=0}^{q-1} a_\lambda U_\lambda= f. \tag*{(144)}
\end{cases} { U j ′ = U j + 1 , U q − 1 ′ + ∑ λ = 0 q − 1 a λ U λ = f . 0 ≤ j < q − 1 , (144)
Endpoint conditions on u , u ′ , … , u ( q − 1 ) u,u',\ldots,u^{(q-1)} u , u ′ , … , u ( q − 1 ) become value conditions on the corresponding components. Applying the q = 1 q=1 q = 1 discretization and rescaling to each equation produces bounded boundary rows by Proposition 1. For the Neumann example above, the condition number of the reformulated system remains close to 3 throughout the tested range of K K K . This first-order formulation also covers initial-value problems of arbitrary order and requires only the transforms for λ = 0 \lambda=0 λ = 0 and 1.
When p > 1 p>1 p > 1 divides q q q , we can instead rewrite the problem as coupled equations of order p p p . Each component equation then uses ultraspherical transforms up to parameter p p p , including QUTs with λ ≥ 2 \lambda\ge2 λ ≥ 2 , while the boundary conditions involve lower-order derivatives of the new unknowns. To satisfy Proposition 1, each endpoint condition must involve derivatives of order below p / 2 p/2 p /2 of the corresponding unknown. For example, a simply supported beam with prescribed u ( ± 1 ) u(\pm1) u ( ± 1 ) and u ′ ′ ( ± 1 ) u''(\pm1) u ′′ ( ± 1 ) can be written as two coupled second-order equations with Dirichlet conditions on u u u and u ′ ′ u'' u ′′ . This formulation uses Q ( 2 ) Q^{(2)} Q ( 2 ) and keeps κ 2 ≈ 5.28 \kappa_2 \approx5.28 κ 2 ≈ 5.28 across the tested resolutions, whereas the direct fourth-order discretization has a condition number one to two orders of magnitude larger and continues to grow with K K K . Appendix F.§ 2.5.6 provides the details of both reformulations.
Block encoding with QUT
We construct a block encoding of A K / α A_K/\alpha A K / α by combining the terms in Eq. (141) through the LCU method. Figure 10 shows the resulting circuit and its role in the solver. The identity contribution I − Π < q I-\Pi_{<q} I − Π < q has normalization one and is implemented with a comparator that selects labels k ≥ q k \ge q k ≥ q .
For the boundary contribution, let V i V_i V i prepare from ∣ 0 ⟩ |0\rangle ∣0 ⟩ a state whose component with a flag qubit in ∣ 0 ⟩ |0\rangle ∣0 ⟩ is Π < K r i / ∥ r i ∥ 2 \Pi_{<K}r_i/\|r_i\|_2 Π < K r i /∥ r i ∥ 2 . Applying V i † V_i^\dagger V i † , selecting the zero label, and relabeling 0 ↦ i 0 \mapsto i 0 ↦ i produces a block encoding of ∣ i ⟩ ⟨ Π < K r i ∣ / ∥ r i ∥ 2 |i\rangle\langle\Pi_{<K}r_i|/\|r_i\|_2 ∣ i ⟩ ⟨ Π < K r i ∣/∥ r i ∥ 2 . If every rescaled boundary row is square summable, an LCU over i i i with weights ∥ r i ∥ 2 \|r_i\|_2 ∥ r i ∥ 2 then represents the full boundary contribution with subnormalization ∑ i = 0 q − 1 ∥ r i ∥ 2 \sum_{i=0}^{q-1}\|r_i\|_2 ∑ i = 0 q − 1 ∥ r i ∥ 2 , which is independent of K K K .
For endpoint conditions B i u = u ( j ) ( ± 1 ) \mathcal{B}_i u=u^{(j)}(\pm1) B i u = u ( j ) ( ± 1 ) with j < q / 2 j<q/2 j < q /2 , V i V_i V i can be constructed using an envelope that is constant on dyadic intervals, as detailed in Appendix F.§ 2.5.7 . Beyond a fixed set of low degrees, the envelope has height C 2 − s ( q − 2 j ) C2^{-s(q-2j)} C 2 − s ( q − 2 j ) on 2 s ≤ k < 2 s + 1 2^s \le k < 2^{s+1} 2 s ≤ k < 2 s + 1 , where C C C depends only on q q q and j j j . A normalized envelope state is first prepared over the degree labels. Then, a controlled rotation by the ratio of each row entry to the corresponding envelope value produces the desired amplitudes on a flagged branch. Since the unnormalized envelope has bounded ℓ 2 \ell^2 ℓ 2 -norm, the success probability is bounded below independently of K K K . A constant number of amplification rounds followed by a padding rotation then prepares the flagged component Π < K r i / ∥ r i ∥ 2 \Pi_{<K}r_i/\|r_i\|_2 Π < K r i /∥ r i ∥ 2 . For other boundary functionals, we assume efficient preparation of the rescaled row and denote its cost T r i T_{r_i} T r i below.
Each lower-order term contains the rescaled derivative D ^ λ R \widehat{D}_\lambda R D λ R , the multiplication operator M μ ∗ [ a λ ] M_{\mu_*}[a_\lambda] M μ ∗ [ a λ ] , and the conversions S ^ λ → μ ∗ \widehat{S}_{\lambda\to\mu_*} S λ → μ ∗ and S ^ μ ∗ → q \widehat{S}_{\mu_*\to q} S μ ∗ → q before and after it. We implement them from right to left in Eq. (138) .
First, D ^ λ R \widehat{D}_\lambda R D λ R is block-encoded with subnormalization ρ λ : = max k d k ( λ ) R k k = d q − 1 ( λ ) \rho_\lambda:= \max_k d_k^{(\lambda)}R_{kk}=d_{q-1}^{(\lambda)} ρ λ := max k d k ( λ ) R k k = d q − 1 ( λ ) . A rotation controlled by the label k k k sets the selected ancilla amplitude to d k ( λ ) R k k / ρ λ d_k^{(\lambda)}R_{kk}/\rho_\lambda d k ( λ ) R k k / ρ λ . We then apply the adder ADD − λ \operatorname{ADD}_{-\lambda} ADD − λ of Eq. (114) to shift the degree label from k k k to k − λ k-\lambda k − λ , accounting for the decrease in polynomial degree after λ \lambda λ derivatives. Labels k < λ k<\lambda k < λ have zero selected amplitude.
Second, we convert the coefficients to the parameter-μ ∗ \mu_* μ ∗ basis with S ^ λ → μ ∗ \widehat{S}_{\lambda\to\mu_*} S λ → μ ∗ , which is described in the next paragraph. A value oracle followed by a controlled rotation and uncomputation of the oracle workspace realizes diag ( a λ ( x j ) / a ˉ λ ) \operatorname{diag}(a_\lambda(x_j)/\bar a_\lambda) diag ( a λ ( x j ) / a ˉ λ ) at the nodes x j x_j x j of C N μ ∗ ( μ ∗ ) C_{N_{\mu_*}}^{(\mu_*)} C N μ ∗ ( μ ∗ ) . Conjugating this diagonal block by Q N μ ∗ ( μ ∗ ) Q_{N_{\mu_*}}^{(\mu_*)} Q N μ ∗ ( μ ∗ ) implements M μ ∗ [ a λ ] M_{\mu_*}[a_\lambda] M μ ∗ [ a λ ] with subnormalization a ˉ λ \bar a_\lambda a ˉ λ , as in Eq. (136) . Since this transform is the same for every λ \lambda λ , one pair, applied before and after the diagonals selected by λ \lambda λ , serves all lower-order terms.
Third, we convert the product coefficients to the parameter-q q q basis using S ^ μ ∗ → q \widehat{S}_{\mu_*\to q} S μ ∗ → q . Both S ^ λ → μ ∗ \widehat{S}_{\lambda\to\mu_*} S λ → μ ∗ and S ^ μ ∗ → q \widehat{S}_{\mu_*\to q} S μ ∗ → q act on the register one step at a time and end with a comparator that keeps the first N μ ∗ N_{\mu_*} N μ ∗ or N q N_q N q labels. For λ ≤ ν < q \lambda\le\nu< q λ ≤ ν < q , the step from parameter ν \nu ν to ν + 1 \nu+1 ν + 1 acts on the labels as
diag ( s k ( ν ) ) − 1 2 ADD − 2 diag ( 2 t k ( ν ) ) . (145) \operatorname{diag}(s_k^{(\nu)})-\frac{1}{2}\operatorname{ADD}_{-2}\operatorname{diag}(2t_k^{(\nu)}). \tag*{(145)} diag ( s k ( ν ) ) − 2 1 ADD − 2 diag ( 2 t k ( ν ) ) . (145)
which we implement by LCU. Since s k ( ν ) ≤ 1 s_k^{(\nu)}\le1 s k ( ν ) ≤ 1 and t k ( ν ) ≤ 1 / 2 t_k^{(\nu)}\le1/2 t k ( ν ) ≤ 1/2 , both diagonal factors have subnormalization one. The corresponding LCU weights 1 and 1 / 2 1/2 1/2 yield subnormalization 3 / 2 3/2 3/2 for each step and therefore ( 3 / 2 ) q − λ (3/2)^{q-\lambda} ( 3/2 ) q − λ for S ^ λ → μ ∗ \widehat{S}_{\lambda\to\mu_*} S λ → μ ∗ and S ^ μ ∗ → q \widehat{S}_{\mu_*\to q} S μ ∗ → q together.
After the conversion, we apply ADD q \operatorname{ADD}_q ADD q to place the N q N_q N q coefficients in rows q , … , K − 1 q,\ldots,K-1 q , … , K − 1 , below the q q q boundary rows. Comparators around the QUT pair restrict its input and output to the valid labels k < N μ ∗ k<N_{\mu_*} k < N μ ∗ , so the selected block vanishes on all other labels. This restriction allows the error guarantee of Theorem 1 to be applied directly to the QUT components.
Combining the identity, boundary, and lower-order terms creates a block encoding of A K / α \mathcal{A}_K/\alpha A K / α with
α : = 1 + ∑ i = 0 q − 1 ∥ r i ∥ 2 + ∑ λ = 0 q − 1 ( 3 2 ) q − λ ρ λ a ˉ λ . (146) \alpha:= 1+\sum_{i=0}^{q-1}\|r_i\|_2+\sum_{\lambda=0}^{q-1}\left(\frac{3}{2}\right)^{q-\lambda}\rho_\lambda\bar{a}_\lambda. \tag*{(146)} α := 1 + i = 0 ∑ q − 1 ∥ r i ∥ 2 + λ = 0 ∑ q − 1 ( 2 3 ) q − λ ρ λ a ˉ λ . (146)
Under the conditions of Proposition 1, α \alpha α is independent of K K K . For the four problems in Figure 11 (a), α \alpha α ranges from 8.2 to 82, while the inversion parameter α ∥ A K − 1 ∥ 2 \alpha\|\mathcal{A}_K^{-1}\|_2 α ∥ A K − 1 ∥ 2 ranges from 15 to 166 at K = 1024 K=1024 K = 1024 . The value of α \alpha α exceeds ∥ A K ∥ 2 \|\mathcal{A}_K\|_2 ∥ A K ∥ 2 by factors between 3.4 and 6.9. We next apply QSVT to this block encoding to approximate A K − 1 \mathcal{A}_K^{-1} A K − 1 and discuss the resulting error and gate complexity.
Proposition 3 (QUT implementation of the preconditioned inverse). Under the assumptions of Proposition 2, let K ≥ K 0 K\ge K_0 K ≥ K 0 and suppose that a bound κ ˉ ≥ α ∥ A K − 1 ∥ 2 \bar{\kappa}\ge\alpha\|\mathcal{A}_K^{-1}\|_2 κ ˉ ≥ α ∥ A K − 1 ∥ 2 is known. Then there exists a circuit U i n v U_{\mathrm{inv}} U inv with a i n v a_{\mathrm{inv}} a inv ancillas such that
∥ ( ⟨ 0 a i n v ∣ ⊗ I ) U i n v ( ∣ 0 a i n v ⟩ ⊗ I ) − α 2 κ ˉ A K − 1 ∥ 2 ≤ η , (147) \left\|\left(\langle0^{a_{\mathrm{inv}}}|\otimes I\right)U_{\mathrm{inv}}\left(|0^{a_{\mathrm{inv}}}\rangle\otimes I\right)-\frac{\alpha}{2\bar{\kappa}}\mathcal{A}_K^{-1}\right\|_2\le\eta, \tag*{(147)} ( ⟨ 0 a inv ∣ ⊗ I ) U inv ( ∣ 0 a inv ⟩ ⊗ I ) − 2 κ ˉ α A K − 1 2 ≤ η , (147) using L η = O ( κ ˉ log ( κ ˉ / η ) ) L_\eta=O\left(\bar{\kappa}\log(\bar{\kappa}/\eta)\right) L η = O ( κ ˉ log ( κ ˉ / η ) ) calls to the block encoding of A K / α \mathcal{A}_K/\alpha A K / α and its adjoint. It suffices for each call to have error δ η = O ( η 2 / L η 2 ) \delta_\eta=O(\eta^2/L_\eta^2) δ η = O ( η 2 / L η 2 ) . Each call has gate cost
C b l k ( δ ) = 2 G μ ⋆ ( n , O ( δ ) ) + ∑ λ = 0 q − 1 T a λ ( O ( log 1 δ ) ) C_{\mathrm{blk}}(\delta)=2G_{\mu^\star}\left(n,O(\delta)\right)+\sum_{\lambda=0}^{q-1}T_{a_\lambda}\left(O\left(\log\frac{1}{\delta}\right)\right) C blk ( δ ) = 2 G μ ⋆ ( n , O ( δ ) ) + λ = 0 ∑ q − 1 T a λ ( O ( log δ 1 ) ) + ∑ i = 0 q − 1 T r i ( O ( δ ) ) + poly q ( n , log 1 δ ) . (148) +\sum_{i=0}^{q-1}T_{r_i}\left(O(\delta)\right)+\operatorname{poly}_q\left(n,\log\frac{1}{\delta}\right). \tag*{(148)} + i = 0 ∑ q − 1 T r i ( O ( δ ) ) + poly q ( n , log δ 1 ) . (148) Here, G μ ⋆ G_{\mu^\star} G μ ⋆ denotes the QUT gate complexity from Eq. (20) with m = μ ⋆ m=\mu^\star m = μ ⋆ if μ ⋆ ≥ 2 \mu^\star\ge2 μ ⋆ ≥ 2 , and G μ ⋆ = O ( n 2 ) G_{\mu^\star}=O(n^2) G μ ⋆ = O ( n 2 ) if μ ⋆ ∈ { 0 , 1 } \mu^\star\in\{0,1\} μ ⋆ ∈ { 0 , 1 } [20 ] . The quantity T a λ ( b ) T_{a_\lambda}(b) T a λ ( b ) is the cost of evaluating a λ / a ˉ λ a_\lambda/\bar{a}_\lambda a λ / a ˉ λ at a Gauss node of C N q , λ ⋆ ( q ) C_{N_{q,\lambda}^\star}^{(q)} C N q , λ ⋆ ( q ) to b b b bits, including computation of the node from its label, while T r i T_{r_i} T r i is the cost of implementing V i V_i V i . The a i n v a_{\mathrm{inv}} a inv ancillas comprise those used by the QUTs in Eq. (21), together with the LCU selectors, flags, and oracle workspace.
The construction and error allocation are detailed in Appendix F.6. Briefly, we apply QSVT to implement the inverse by approximating ( 2 κ ˉ x ) − 1 (2\bar{\kappa}x)^{-1} ( 2 κ ˉ x ) − 1 on [ 1 / κ ˉ , 1 ] [1/\bar{\kappa},1] [ 1/ κ ˉ , 1 ] with an odd polynomial and applying this polynomial to the singular values of the block-encoded operator [11 , 14 ] . If the value oracles and row preparations have cost polynomial in n n n and log ( 1 / δ ) \log(1/\delta) log ( 1/ δ ) , then the inverse block has complexity polynomial in n n n and log ( 1 / η ) \log(1/\eta) log ( 1/ η ) , with constants depending on q q q , α \alpha α , and κ ˉ \bar{\kappa} κ ˉ , but not on K K K .
The QSVT polynomial depends on κ ˉ \bar{\kappa} κ ˉ , so κ ˉ \bar{\kappa} κ ˉ must be known before the circuit is built. We obtain a rigorous value from one small classical computation. To do so, we pick an integer K 1 ≥ q K_1\ge q K 1 ≥ q and split the labels into the first K 1 K_1 K 1 labels and the rest. Let K 3 K_3 K 3 exceed K 1 K_1 K 1 by an amount that depends only on q q q and on the degree of a polynomial approximation of the coefficients. For every K ≥ K 3 K\ge K_3 K ≥ K 3 , the entries of A K \mathcal{A}_K A K in the first K 1 K_1 K 1 rows or columns then equal those of A ∞ \mathcal{A}_\infty A ∞ . The only exceptions are the boundary rows, which are known explicitly, and a small, bounded error when the coefficients are not polynomials. We therefore compute these entries once, from A K 3 \mathcal{A}_{K_3} A K 3 . The remaining block differs from the identity by an explicitly bounded amount. We use a Schur-complement argument, which eliminates this block, to bound ∥ A K − 1 ∥ 2 \|\mathcal{A}_K^{-1}\|_2 ∥ A K − 1 ∥ 2 for all K ≥ K 3 K\ge K_3 K ≥ K 3 at a classical cost that depends on K 3 K_3 K 3 but not on K K K (Lemma 7 in Appendix F.4). For the four problems in Figure 11 (a), with K 1 = 32 K_1=32 K 1 = 32 , κ ˉ \bar{\kappa} κ ˉ is at most 2.1% above the largest computed α ∥ A K − 1 ∥ 2 \alpha\|\mathcal{A}_K^{-1}\|_2 α ∥ A K − 1 ∥ 2 for K 3 ≤ K ≤ 4096 K_3\le K\le4096 K 3 ≤ K ≤ 4096 .
Solution recovery and output extraction
We now use the inverse circuit to prepare states encoding the solution and its derivatives, or to estimate scalar responses directly. We first prepare the forcing and boundary data as the input state.
The forcing is encoded through its weighted samples at the Gauss nodes of C N q ( q ) C_{N_q}^{(q)} C N q ( q ) . We assume a circuit that prepares
∣ F ⟩ = 1 β ∑ j = 0 N q − 1 w j f ( x j ) ∣ j ⟩ (149) |F\rangle=\frac{1}{\beta}\sum_{j=0}^{N_q-1}\sqrt{w_j}\,f(x_j)|j\rangle \tag*{(149)} ∣ F ⟩ = β 1 j = 0 ∑ N q − 1 w j f ( x j ) ∣ j ⟩ (149)
with cost T F ( s ) T_F(s) T F ( s ) for error s s s , where β 2 : = ∑ j w j ∣ f ( x j ) ∣ 2 > 0 \beta^2:=\sum_j w_j|f(x_j)|^2>0 β 2 := ∑ j w j ∣ f ( x j ) ∣ 2 > 0 . By Eq. (16), Q N q ( q ) ∣ F ⟩ = f ^ / β Q_{N_q}^{(q)}|F\rangle=\hat{f}/\beta Q N q ( q ) ∣ F ⟩ = f ^ / β , and ADDq _q q shifts these coefficients to the residual labels. For homogeneous boundary data, ∣ b ⟩ : = A D D q Q N q ( q ) ∣ F ⟩ |b\rangle:=\mathrm{ADD}_{q}Q_{N_q}^{(q)}|F\rangle ∣ b ⟩ := ADD q Q N q ( q ) ∣ F ⟩ is therefore the normalized right-hand side of Eq. (139) , with preparation cost P b ( s ) = T F ( O ( s ) ) + G q ( n , O ( s ) ) + O ( n ) P_b(s)=T_F(O(s))+G_q(n,O(s))+O(n) P b ( s ) = T F ( O ( s )) + G q ( n , O ( s )) + O ( n ) . For inhomogeneous boundary data, one controlled rotation combines the boundary vector c c c on the first q q q labels with the forcing state, using amplitudes proportional to ∥ c ∥ 2 \|c\|_2 ∥ c ∥ 2 and β \beta β . This requires the value of β \beta β , which must be supplied or estimated. For brevity, we take c = 0 c=0 c = 0 below.
Applying U i n v U_{\mathrm{inv}} U inv to ∣ b ⟩ |b\rangle ∣ b ⟩ produces on the successful branch a state proportional to ( α / 2 κ ˉ ) A K − 1 ∣ b ⟩ (\alpha/2\bar{\kappa})\mathcal{A}_K^{-1}|b\rangle ( α /2 κ ˉ ) A K − 1 ∣ b ⟩ . Its ideal success amplitude is at least 1 / ( 2 κ ˉ ) 1/(2\bar{\kappa}) 1/ ( 2 κ ˉ ) , since
∥ A K − 1 ∣ b ⟩ ∥ 2 ≥ 1 ∥ A K ∥ 2 ≥ 1 α . (150) \|\mathcal{A}_K^{-1}|b\rangle\|_2\ge\frac{1}{\|\mathcal{A}_K\|_2}\ge\frac{1}{\alpha}. \tag*{(150)} ∥ A K − 1 ∣ b ⟩ ∥ 2 ≥ ∥ A K ∥ 2 1 ≥ α 1 . (150)
Therefore, preparing the normalized state ∣ v ⟩ |v\rangle ∣ v ⟩ to error ϵ \epsilon ϵ through amplitude amplification [50 ] requires
C v ( ϵ ) = O ~ ( κ ˉ [ P b ( ϵ / κ ˉ ) + C i n v ( ϵ / κ ˉ ) ] ) (151) C_v(\epsilon)=\widetilde{O}\left(\bar{\kappa}\left[P_b(\epsilon/\bar{\kappa})+C_{\mathrm{inv}}(\epsilon/\bar{\kappa})\right]\right) \tag*{(151)} C v ( ϵ ) = O ( κ ˉ [ P b ( ϵ / κ ˉ ) + C inv ( ϵ / κ ˉ ) ] ) (151)
gates, where C i n v ( η ) = O ( L η C b l k ( δ η ) ) C_{\mathrm{inv}}(\eta)=O(L_\eta C_{\mathrm{blk}}(\delta_\eta)) C inv ( η ) = O ( L η C blk ( δ η )) and O ~ \widetilde{O} O suppresses logarithmic factors in the failure probability. This success amplitude is bounded below by 1 / ( 2 κ ˉ ) 1/(2\bar{\kappa}) 1/ ( 2 κ ˉ ) independently of the forcing, which affects only the recovery step below. We note that the cost in Eq. (151) involves O ( κ ˉ 2 log ( κ ˉ / ϵ ) ) O(\bar{\kappa}^2\log(\bar{\kappa}/\epsilon)) O ( κ ˉ 2 log ( κ ˉ / ϵ )) block calls. Linear-system solvers based on the discrete adiabatic theorem can reduce this to O ~ ( κ ˉ log ( 1 / ϵ ) ) \widetilde{O}(\bar{\kappa}\log(1/\epsilon)) O ( κ ˉ log ( 1/ ϵ )) [15 ] .
Extracting the highest derivative. The state ∣ v ⟩ |v\rangle ∣ v ⟩ itself is a useful output. Its labels q , … , K − 1 q,\ldots,K-1 q , … , K − 1 contain the orthonormal coefficients of ∂ x q u K \partial_x^q u_K ∂ x q u K in the parameter-q q q basis, while the first q q q labels contain u 0 , … , u q − 1 u_0,\ldots,u_{q-1} u 0 , … , u q − 1 . We can apply a comparator to select the derivative coefficients with probability ∥ u K ( q ) ∥ L 2 ( w q ) 2 / ∥ v ∥ 2 \lVert u_K^{(q)}\rVert_{L^2(w_q)}^2/\lVert v\rVert^2 ∥ u K ( q ) ∥ L 2 ( w q ) 2 / ∥ v ∥ 2 . On this branch, applying ADD − q \operatorname{ADD}_{-q} ADD − q followed by Q N q ( q ) † Q_{N_q}^{(q)\dagger} Q N q ( q ) † converts the coefficients into amplitudes proportional to w j u K ( q ) ( x j ) \sqrt{w_j}u_K^{(q)}(x_j) w j u K ( q ) ( x j ) at the Gauss nodes of C N q ( q ) C_{N_q}^{(q)} C N q ( q ) . Thus, weighted samples of the highest derivative can be extracted from ∣ v ⟩ |v\rangle ∣ v ⟩ with the cost associated with selecting this branch.
Solution recovery. Recovering the solution coefficients requires applying the rescaling R R R , which is a contraction and can be implemented by a label-controlled rotation. Applied to ∣ v ⟩ |v\rangle ∣ v ⟩ , this step succeeds with recovery probability
p r e c : = ∥ R v ∥ 2 2 ∥ v ∥ 2 2 = ∥ u K ∥ L 2 ( w 0 ) 2 ∑ k < q u k 2 + ∥ ∂ x q u K ∥ L 2 ( w q ) 2 . (152) p_{\mathrm{rec}}:=\frac{\lVert Rv\rVert_2^2}{\lVert v\rVert_2^2}=\frac{\lVert u_K\rVert_{L^2(w_0)}^2}{\sum_{k<q}u_k^2+\lVert\partial_x^q u_K\rVert_{L^2(w_q)}^2}. \tag*{(152)} p rec := ∥ v ∥ 2 2 ∥ R v ∥ 2 2 = ∑ k < q u k 2 + ∥ ∂ x q u K ∥ L 2 ( w q ) 2 ∥ u K ∥ L 2 ( w 0 ) 2 . (152)
Applying the inverse quantum Chebyshev transform Q K ( 0 ) † Q_K^{(0)\dagger} Q K ( 0 ) † [21 ] to the recovered coefficients produces amplitudes proportional to w j u K ( x j ) \sqrt{w_j}u_K(x_j) w j u K ( x j ) at the Chebyshev nodes. More generally, applying D ~ λ R / ρ λ \widetilde{D}_\lambda R/\rho_\lambda D λ R / ρ λ to ∣ v ⟩ |v\rangle ∣ v ⟩ and then Q N λ ( λ ) † Q_{N_\lambda}^{(\lambda)\dagger} Q N λ ( λ ) † produces weighted samples of ∂ x λ u K \partial_x^\lambda u_K ∂ x λ u K at the Gauss nodes of C N λ ( λ ) C_{N_\lambda}^{(\lambda)} C N λ ( λ ) , with success probability ∥ D ~ λ R v ∥ 2 2 / ρ λ 2 ∥ v ∥ 2 2 \lVert\widetilde{D}_\lambda Rv\rVert_2^2/\rho_\lambda^2\lVert v\rVert_2^2 ∥ D λ R v ∥ 2 2 / ρ λ 2 ∥ v ∥ 2 2 . Figure 11 (d) illustrates the behavior of p r e c p_{\mathrm{rec}} p rec in two different scenarios. One of them is the equation − u ′ ′ + ( 1 + x 2 ) u = cos ω x -u^{\prime\prime}+(1+x^2)u=\cos\omega x − u ′′ + ( 1 + x 2 ) u = cos ω x . Its solution satisfies u ≈ cos ( ω x ) / ω 2 u\approx\cos(\omega x)/\omega^2 u ≈ cos ( ω x ) / ω 2 , so u ′ ′ ≈ − cos ( ω x ) u^{\prime\prime}\approx-\cos(\omega x) u ′′ ≈ − cos ( ω x ) and p r e c p_{\mathrm{rec}} p rec decreases as ω − 4 \omega^{-4} ω − 4 . Amplitude amplification of the recovery step therefore incurs an additional factor p r e c − 1 / 2 p_{\mathrm{rec}}^{-1/2} p rec − 1/2 .
Estimating scalar responses. If only a linear functional O [ u ] = ∑ k ℓ k u k \mathcal{O}[u]=\sum_k\ell_k u_k O [ u ] = ∑ k ℓ k u k of the solution is required, we can estimate it directly without recovering the state. Since O [ u K ] = ℓ T R v \mathcal{O}[u_K]=\ell^\mathsf{T}Rv O [ u K ] = ℓ T R v , we prepare ∣ g ⟩ : = R ℓ / ∥ R ℓ ∥ 2 |g\rangle:=R\ell/\lVert R\ell\rVert_2 ∣ g ⟩ := R ℓ / ∥ R ℓ ∥ 2 and define Y : = α 2 κ ˉ ⟨ g ∣ A K − 1 ∣ b ⟩ \mathcal{Y}:=\frac{\alpha}{2\bar{\kappa}}\langle g|A_K^{-1}|b\rangle Y := 2 κ ˉ α ⟨ g ∣ A K − 1 ∣ b ⟩ . Then
O [ u K ] = 2 κ ˉ α β ∥ R ℓ ∥ 2 Y . (153) \mathcal{O}[u_K]=\frac{2\bar{\kappa}}{\alpha}\beta\lVert R\ell\rVert_2\mathcal{Y}. \tag*{(153)} O [ u K ] = α 2 κ ˉ β ∥ R ℓ ∥ 2 Y . (153)
A Hadamard test combining U i n v U_{\mathrm{inv}} U inv with the preparations of ∣ b ⟩ |b\rangle ∣ b ⟩ and ∣ g ⟩ |g\rangle ∣ g ⟩ can provide access to the overlap Y \mathcal{Y} Y . Estimating it to additive error τ \tau τ using amplitude estimation needs
C r e s p ( τ ) = O ~ ( P b ( τ ) + P g ( τ ) + C i n v ( τ ) τ ) (154) C_{\mathrm{resp}}(\tau)=\widetilde{O}\left(\frac{P_b(\tau)+P_g(\tau)+C_{\mathrm{inv}}(\tau)}{\tau}\right) \tag*{(154)} C resp ( τ ) = O ( τ P b ( τ ) + P g ( τ ) + C inv ( τ ) ) (154)
gates, where P g P_g P g is the cost of preparing ∣ g ⟩ |g\rangle ∣ g ⟩ .
Accuracy and comparison with classical solvers
We relate the solution of the finite system in Eq. (139) to the boundary-value problem through a discretization bound. Let u u u be the exact solution, let T K u T_Ku T K u be its Chebyshev truncation to degree less than K K K , with coefficient vector u ⋆ u^\star u ⋆ , and define the residual ζ K : = A K u ⋆ − ( c , f ˉ ) T \zeta_K:=A_Ku^\star-(c,\bar{f})^\mathsf{T} ζ K := A K u ⋆ − ( c , f ˉ ) T . Since A K ( v − R − 1 u ⋆ ) = − ζ K A_K(v-R^{-1}u^\star)=-\zeta_K A K ( v − R − 1 u ⋆ ) = − ζ K and ∥ R ∥ 2 ≤ 1 \lVert R\rVert_2\leq1 ∥ R ∥ 2 ≤ 1 , we show
∥ u K − T K u ∥ L 2 ( w 0 ) + ∥ ∂ x q u K − ∂ x q T K u ∥ L 2 ( w q ) ≤ 2 ∥ A K − 1 ∥ 2 ∥ ζ K ∥ 2 . (155) \lVert u_K-T_Ku\rVert_{L^2(w_0)}+\lVert\partial_x^q u_K-\partial_x^qT_Ku\rVert_{L^2(w_q)}
\leq2\lVert A_K^{-1}\rVert_2\lVert\zeta_K\rVert_2. \tag*{(155)} ∥ u K − T K u ∥ L 2 ( w 0 ) + ∥ ∂ x q u K − ∂ x q T K u ∥ L 2 ( w q ) ≤ 2 ∥ A K − 1 ∥ 2 ∥ ζ K ∥ 2 . (155)
The residual ζ K \zeta_K ζ K can be bounded by the tails of the rescaled boundary rows and of the expansions of u ( λ ) u^{(\lambda)} u ( λ ) , α λ u ( λ ) \alpha_\lambda u^{(\lambda)} α λ u ( λ ) , and f f f , together with the Gaussian interpolation errors. In particular, when these functions are analytic in a Bernstein ellipse, ζ K \zeta_K ζ K decays geometrically with K K K , while ∥ A K − 1 ∥ 2 \lVert A_K^{-1}\rVert_2 ∥ A K − 1 ∥ 2 is bounded by Proposition 2. Details are presented in Appendix F.§ 2.5.8 .
When the discretization error is controlled and ∥ A K − 1 ∥ 2 \lVert A_K^{-1}\rVert_2 ∥ A K − 1 ∥ 2 is bounded, the quantum cost depends on the resolution only through n = log 2 K n=\log_2 K n = log 2 K . For fixed q q q , K K K can be prepared with gate complexity polynomial in n n n and log ( 1 / ϵ ) \log(1/\epsilon) log ( 1/ ϵ ) (Eq. (151) ), while recovering the solution adds the factor p r e c − 1 / 2 p_{\mathrm{rec}}^{-1/2} p rec − 1/2 . By comparison, the adaptive QRS solver for the classical ultraspherical spectral method costs O ( K ) O(K) O ( K ) [26 ] , and fast polynomial transforms cost O ( K log 2 K ) O(K\log^2 K) O ( K log 2 K ) [51 ] . Compared to the classical solver, the quantum dependence on K K K is polylogarithmic, but the output is a quantum state rather than an explicit coefficient vector.
This reduction is useful only under three additional conditions. First, increasing the resolution should not cause κ 2 ( A ∞ ) \kappa_2(A_\infty) κ 2 ( A ∞ ) or α \alpha α to grow substantially. Fine scales in bounded coefficient sets can increase K K K without degrading conditioning, as in Figure 11 (c), whereas large normalized coefficients may increase both. Second, the coefficients, forcing, and boundary rows must have efficient access; for example, a forcing specified by a formula can satisfy this requirement, while an arbitrary table of K K K samples does not. Third, the desired output should be a quantum state, samples from it, or a scalar at moderate precision. Recovering the solution incurs the factor p r e c − 1 / 2 p_{\mathrm{rec}}^{-1/2} p rec − 1/2 , while estimating a scalar response to additive error τ \tau τ costs O ( 1 / τ ) O(1/\tau) O ( 1/ τ ) .
These conditions are necessary but not sufficient for an end-to-end quantum advantage, since a classical method may also compute the target output directly without reconstructing the full solution. For example, classical methods can compute scalar responses without reconstructing all K K K coefficients. Analyses of quantum finite-element and PDE algorithms similarly show that, once output precision is included, the quantum speedup for smooth problems at fixed spatial dimension is typically only polynomial [3 , 52 ] . In particular, the problems considered here are one-dimensional and well preconditioned, so the 1 / τ 1/\tau 1/ τ dependence in Eq. (154) can become the dominant cost in scalar estimation. We therefore do not claim an end-to-end quantum advantage for one-dimensional boundary-value problems.
Our contribution in this section is a QUT-based block encoding of the preconditioned ultraspherical operator whose subnormalization and condition number remain bounded independently of the resolution, together with the corresponding solution-state preparation. Such a construction is useful when the solution state is consumed coherently by a later quantum subroutine and may also serve as a building block for higher-dimensional solvers, where the relative advantage over classical methods can increase with dimension [3 ] . Our resolution-independent conditioning also improves on earlier quantum spectral solvers for nonperiodic problems. In particular, previous work on quantum Chebyshev spectral methods can lead to linear systems or operators that become ill-conditioned as the basis size grows [6 , 24 ] . By contrast, periodic wavelet methods can achieve resolution-independent conditioning through diagonal preconditioning [53 ] . The ultraspherical formulation offers the same uniform conditioning to nonperiodic boundary conditions while preserving spectral accuracy.
Discussion
Quantum linear-system algorithms provide a theoretically feasible way to solve linear differential equations efficiently on quantum computers. However, their rigorous efficiency guarantees require the discretized system to have a small condition number. This work makes progress toward this requirement for spectral discretizations of nonperiodic problems through two contributions. First, we have constructed an efficient circuit for the QUT, which maps function values at Gauss nodes to orthonormal ultraspherical coefficients. For fixed m ≥ 2 m \ge2 m ≥ 2 and N + m = 2 n N + m = 2^n N + m = 2 n , it achieves error ε \varepsilon ε with O m ( n 3 log ( n / ε ) + n log 2 ( 1 / ε ) ) O_m(n^3 \log(n/\varepsilon) + n\log^2(1/\varepsilon)) O m ( n 3 log ( n / ε ) + n log 2 ( 1/ ε )) gates (Theorem 1). Second, we have used QUTs to construct a quantum version of the ultraspherical spectral method. For regular, uniquely solvable linear boundary-value problems in one dimension with a broad class of boundary conditions, the preconditioned system has a condition number that remains bounded as the system size increases (Proposition 2 ). Given efficient access to the problem data, this makes it possible to prepare a quantum state encoding the preconditioned solution at a cost polylogarithmic in the system size and inverse error. In what follows, we discuss the underlying mechanism of the QUT construction and its possible extension to other polynomial families and offer an outlook on extending the spectral method beyond one dimension.
Several mechanisms for constructing efficient quantum transforms have been proposed (Table I). Our work contributes a new technique, in which a known efficient transform, here the QFT, is combined with an exact basis change and with corrections that are uniformly smooth and therefore can be implemented efficiently. This structure arises because a chain of m − 1 m-1 m − 1 Darboux transformations maps Fourier modes to ultraspherical modes. Darboux transformations, a common tool in supersymmetric quantum mechanics, relate partner Hamiltonians whose spectra coincide except possibly for finitely many levels [41 , 54 ] . Orthogonal-polynomial families beyond the ultraspherical case might admit efficient transforms of a similar form if their associated Schrödinger operators are connected by a finite Darboux chain to an operator whose eigenbasis already has an efficient transform. For such families, the complexity of the transform would depend on how the finite Darboux chain is implemented in the circuit.
The practical utility of the quantum ultraspherical spectral method remains an open question, particularly for higher-dimensional problems. Possible directions include tensor-product and multi-element discretizations [27 , 29 ] , but extending the one-dimensional conditioning result to multiple dimensions is not straightforward. In one dimension, conversion operators appear only in lower-order terms, which are suppressed by the diagonal rescaling. In a tensor-product discretization, however, the highest-order terms can also require conversions, namely in each coordinate in which another term is differentiated to higher order. When these conversions appear in the highest-order terms, a tensor product of one-dimensional diagonal rescalings need not suppress them at high polynomial degree, so uniform conditioning is no longer guaranteed. Constructing a preconditioner with this guarantee, together with a quantum workflow for efficiently loading in problem data and extracting quantities of interest, is therefore an important step toward assessing the method’s practicality.
LLM assistance
We made extensive use of frontier large language models (LLMs), including ChatGPT and Claude, throughout the development of this work. All programming and numerical implementations, together with the first draft, were generated by LLMs and subsequently refined. Based on our initial observation about the Gauss–ultraspherical nodes, we used LLMs to help design and optimize the QUT component circuits. We also used them to adapt the classical ultraspherical spectral method for a quantum algorithm based on the QUT. We have verified LLM-generated arguments and constructions, both theoretically and empirically, to the best of our knowledge.
Guide to the appendices
Appendices A–E complete the proof of Theorem 1 in the order of Section IV: the Taylor order, the node and weight corrections, the Fourier block, the weighted Helmert basis change, and the amplification errors. Appendix F contains the proofs for the spectral solver of § 0.6 , and Appendix G, on which no other result depends, discusses extensions to Jacobi transforms. Each appendix uses the notation of the main text and relies on no other appendix; its title names the section it supports.
Taylor expansion order
Appendix A: Taylor expansion order (Section IV.A)
The truncation bound in Eq. (51) decreases factorially with the Taylor order r r r once the scaled displacements and weight corrections are bounded. With the circuit constants T ≥ τ T \ge\tau T ≥ τ and X ≥ ξ max X \ge\xi_{\max} X ≥ ξ m a x of Eqs. (60) and (61) , the remainder is at most X e T T r + 1 / ( r + 1 ) ! Xe^T T^{r+1}/(r+1)! X e T T r + 1 / ( r + 1 )! , and we now determine how large r r r must be for this bound to fall below a target error 0 < ε < X e T 0 < \varepsilon< Xe^{T} 0 < ε < X e T . Since ( r + 1 ) ! ≥ [ ( r + 1 ) / e ] r + 1 (r+1)! \geq[(r+1)/e]^{r+1} ( r + 1 )! ≥ [( r + 1 ) / e ] r + 1 , it suffices that
( r + 1 ) log r + 1 e T ≥ Λ ε , Λ ε : = log X e T ε . (156) (r+1)\log\frac{r+1}{eT} \geq\Lambda_{\varepsilon},\qquad\Lambda_{\varepsilon}:=\log\frac{Xe^{T}}{\varepsilon}. \tag*{(156)} ( r + 1 ) log e T r + 1 ≥ Λ ε , Λ ε := log ε X e T . (156)
Writing r + 1 = e T e y r+1=e^{T}e^{y} r + 1 = e T e y turns this condition into y e y ≥ Λ ε / ( e T ) ye^{y}\geq\Lambda_{\varepsilon}/(e^{T}) y e y ≥ Λ ε / ( e T ) , which holds exactly when y ≥ W 0 ( Λ ε / ( e T ) ) y\geq W_{0}(\Lambda_{\varepsilon}/(eT)) y ≥ W 0 ( Λ ε / ( e T )) , where W 0 W_{0} W 0 is the principal branch of the Lambert function. A sufficient order is therefore
r + 1 = ⌈ Λ ε W 0 ( Λ ε / ( e T ) ) ⌉ , (157) r+1=\left\lceil\frac{\Lambda_{\varepsilon}}{W_{0}(\Lambda_{\varepsilon}/(eT))}\right\rceil, \tag*{(157)} r + 1 = ⌈ W 0 ( Λ ε / ( e T )) Λ ε ⌉ , (157)
and the asymptotic form W 0 ( z ) = log z − log log z + o ( 1 ) W_{0}(z)=\log z-\log\log z+o(1) W 0 ( z ) = log z − log log z + o ( 1 ) as z → ∞ z\to\infty z → ∞ yields Eq. (52) whenever T T T and X X X stay bounded. A choice that avoids the Lambert function follows from the same estimate. If r + 1 ≥ 2 e T r+1\geq2eT r + 1 ≥ 2 e T , then [ e T / ( r + 1 ) ] r + 1 ≤ 2 − ( r + 1 ) [eT/(r+1)]^{r+1}\leq2^{-(r+1)} [ e T / ( r + 1 ) ] r + 1 ≤ 2 − ( r + 1 ) , so that
r + 1 = max { ⌈ 2 e T ⌉ , ⌈ log 2 X e T ε ⌉ } (158) r+1=\max\left\{\lceil2eT\rceil,\left\lceil\log_{2}\frac{Xe^{T}}{\varepsilon}\right\rceil\right\} \tag*{(158)} r + 1 = max { ⌈ 2 e T ⌉ , ⌈ log 2 ε X e T ⌉ } (158)
also suffices. This order exceeds Eq. (157) by a factor of order log log ( 1 / ε ) \log\log(1/\varepsilon) log log ( 1/ ε ) as ε → 0 \varepsilon\to0 ε → 0 .
Node and weight corrections
This appendix analyzes the corrections applied by the input circuit. We derive the phase representation of the Gauss–ultraspherical nodes and weights stated in Eqs. (46) and (70) , prove the normalization bounds of Section IV.A, establish the K K K -independent polynomial degree of Eq. (75) , and finally describe the input circuit and count its gates. Throughout, m ≥ 2 m\geq2 m ≥ 2 is an integer, K = N + m ≥ m + 1 K=N+m\geq m+1 K = N + m ≥ m + 1 , and u = cot θ / K u=\cot\theta/K u = cot θ / K and h = 1 / K h=1/K h = 1/ K are the scaled variables of Section IV.C; the circuit results assume in addition that K = 2 n K=2^{n} K = 2 n .
Phase function
The phase function is built from the Darboux ladder of Section IV.C. Starting from Z 0 = e i K θ Z_{0}=e^{iK\theta} Z 0 = e i K θ , the steps Z q = K − 1 A q Z q − 1 Z_{q}=K^{-1}A_{q}Z_{q-1} Z q = K − 1 A q Z q − 1 with A q = ∂ θ − q cot θ A_{q}=\partial_{\theta}-q\cot\theta A q = ∂ θ − q cot θ produce Z q = P q ( u ; h ) e i K θ Z_{q}=P_{q}(u;h)e^{iK\theta} Z q = P q ( u ; h ) e i K θ , where P q P_{q} P q obeys the recurrence (65) , and Z q Z_{q} Z q solves H q + 1 Z q = K 2 Z q H_{q+1}Z_{q}=K^{2}Z_{q} H q + 1 Z q = K 2 Z q . The quantity that controls the phase of these solutions is the Wronskian of their real and imaginary parts,
J [ Z ] : = Im ( Z Z ′ ‾ ) , (159) J[Z]:=\operatorname{Im}(Z\overline{Z'}), \tag*{(159)} J [ Z ] := Im ( Z Z ′ ) , (159)
which equals ∣ Z ∣ 2 Φ ′ |Z|^{2}\Phi' ∣ Z ∣ 2 Φ ′ for Z = ∣ Z ∣ e i Φ Z=|Z|e^{i\Phi} Z = ∣ Z ∣ e i Φ . A closed form for J [ Z m − 1 ] J[Z_{m-1}] J [ Z m − 1 ] is therefore a closed form for the derivative of the phase.
Lemma 1 (Phase function). For 1 ≤ q ≤ m − 1 1\leq q\leq m-1 1 ≤ q ≤ m − 1 and real u u u ,
Im [ P q ( u ; h ) P q − 1 ( u ; h ) ‾ ] = D q − 1 ( h ) > 0 , (160) \operatorname{Im}\left[P_{q}(u;h)\overline{P_{q-1}(u;h)}\right]=D_{q-1}(h)>0, \tag*{(160)} Im [ P q ( u ; h ) P q − 1 ( u ; h ) ] = D q − 1 ( h ) > 0 , (160)
where D q ( h ) = ∏ a = 1 q ( 1 − a 2 h 2 ) D_{q}(h)=\prod_{a=1}^{q}(1-a^{2}h^{2}) D q ( h ) = ∏ a = 1 q ( 1 − a 2 h 2 ) . Hence each phase increment arg ( P q / P q − 1 ) \arg(P_{q}/P_{q-1}) arg ( P q / P q − 1 ) lies in ( 0 , π ) (0,\pi) ( 0 , π ) , and
ψ m ( u ; h ) = − ∑ q = 1 m − 1 arctan Re [ P q P q − 1 ‾ ] D q − 1 ( h ) (161) \psi_{m}(u;h)=-\sum_{q=1}^{m-1}\arctan\frac{\operatorname{Re}[P_{q}\overline{P_{q-1}}]}{D_{q-1}(h)} \tag*{(161)} ψ m ( u ; h ) = − q = 1 ∑ m − 1 arctan D q − 1 ( h ) Re [ P q P q − 1 ] (161)
is a continuous branch of arg P m − 1 − ( m − 1 ) π / 2 \arg P_{m-1}-(m-1)\pi/2 arg P m − 1 − ( m − 1 ) π /2 with ψ m ( 0 ; h ) = 0 \psi_{m}(0;h)=0 ψ m ( 0 ; h ) = 0 . With this branch, the phase function Φ K ( m ) \Phi_{K}^{(m)} Φ K ( m ) of Eq. (66) satisfies Eq. (70) , and for 0 ≤ j < N 0\leq j<N 0 ≤ j < N ,
Φ K ( m ) ( θ j ) = ( j + m ) π , ξ j 2 = K Φ K ( m ) ′ ( θ j ) . (162) \Phi_{K}^{(m)}(\theta_{j})=(j+m)\pi,\qquad\xi_{j}^{2}=\frac{K}{\Phi_{K}^{(m)\prime}(\theta_{j})}. \tag*{(162)} Φ K ( m ) ( θ j ) = ( j + m ) π , ξ j 2 = Φ K ( m ) ′ ( θ j ) K . (162)
Proof. Wronskian. Because Z q − 1 Z_{q-1} Z q − 1 solves Z ′ ′ + [ K 2 − q ( q − 1 ) csc 2 θ ] Z = 0 Z''+[K^{2}-q(q-1)\csc^{2}\theta]Z=0 Z ′′ + [ K 2 − q ( q − 1 ) csc 2 θ ] Z = 0 , the pair ( A q Z q − 1 , ( A q Z q − 1 ) ′ ) (A_{q}Z_{q-1},(A_{q}Z_{q-1})') ( A q Z q − 1 , ( A q Z q − 1 ) ′ ) follows from ( Z q − 1 , Z q − 1 ′ ) (Z_{q-1},Z_{q-1}') ( Z q − 1 , Z q − 1 ′ ) by the real matrix
( − q cot θ 1 q 2 csc 2 θ − K 2 − q cot θ ) , \begin{pmatrix}
-q\cot\theta& 1\\
q^{2}\csc^{2}\theta-K^{2} & -q\cot\theta
\end{pmatrix}, ( − q cot θ q 2 csc 2 θ − K 2 1 − q cot θ ) ,
whose determinant is K 2 − q 2 K^{2}-q^{2} K 2 − q 2 . The Wronskian transforms with this determinant, so J [ Z q ] = ( 1 − q 2 h 2 ) J [ Z q − 1 ] J[Z_{q}]=(1-q^{2}h^{2})J[Z_{q-1}] J [ Z q ] = ( 1 − q 2 h 2 ) J [ Z q − 1 ] . Then J [ Z 0 ] = K J[Z_{0}]=K J [ Z 0 ] = K implies J [ Z q ] = K D q ( h ) J[Z_{q}]=KD_{q}(h) J [ Z q ] = K D q ( h ) . Since ∣ Z q ∣ = ∣ P q ∣ |Z_{q}|=|P_{q}| ∣ Z q ∣ = ∣ P q ∣ , the case q = m − 1 q=m-1 q = m − 1 is Eq. (70) . Moreover, Z q Z q − 1 ‾ = P q P q − 1 ‾ Z_{q}\overline{Z_{q-1}}=P_{q}\overline{P_{q-1}} Z q Z q − 1 = P q P q − 1 has imaginary part K − 1 J [ Z q − 1 ] = D q − 1 ( h ) K^{-1}J[Z_{q-1}]=D_{q-1}(h) K − 1 J [ Z q − 1 ] = D q − 1 ( h ) , which proves Eq. (160) ; the bound K ≥ m + 1 K\geq m+1 K ≥ m + 1 makes it positive.
Branch. A straightforward induction on the recurrence relation in Eq. (65) shows P q ( − u ; h ) = ( − 1 ) q P q ( u ; h ) P_{q}(-u;h)=(-1)^{q}P_{q}(u;h) P q ( − u ; h ) = ( − 1 ) q P q ( u ; h ) for real u u u and h h h . Thus P q ( 0 ; h ) P_{q}(0;h) P q ( 0 ; h ) is real for even q q q and imaginary for odd q q q , and every real part in Eq. (161) vanishes at u = 0 u=0 u = 0 , and ψ m ( 0 ; h ) = 0 \psi_{m}(0;h)=0 ψ m ( 0 ; h ) = 0 .
Nodes. The operators A q A_{q} A q are real. Using Eq. (7) , we can compute A q [ sin q θ C k ( q ) ( cos θ ) ] = − 2 q sin q + 1 θ C k − 1 ( q + 1 ) ( cos θ ) A_{q}[\sin^{q}\theta C_{k}^{(q)}(\cos\theta)]=-2q\sin^{q+1}\theta C_{k-1}^{(q+1)}(\cos\theta) A q [ sin q θ C k ( q ) ( cos θ )] = − 2 q sin q + 1 θ C k − 1 ( q + 1 ) ( cos θ ) . Starting from Im Z 0 = sin K θ = sin θ C K − 1 ( 1 ) ( cos θ ) \operatorname{Im}Z_{0}=\sin K\theta=\sin\theta C_{K-1}^{(1)}(\cos\theta) Im Z 0 = sin K θ = sin θ C K − 1 ( 1 ) ( cos θ ) , the ladder shows that Im Z m − 1 = ∣ P m − 1 ∣ sin Φ K ( m ) \operatorname{Im}Z_{m-1}=|P_{m-1}|\sin\Phi_{K}^{(m)} Im Z m − 1 = ∣ P m − 1 ∣ sin Φ K ( m ) is a nonzero multiple of sin m θ C N ( m ) ( cos θ ) \sin^{m}\theta C_{N}^{(m)}(\cos\theta) sin m θ C N ( m ) ( cos θ ) . Since P m − 1 P_{m-1} P m − 1 has no real zeros by Eq. (160) , the nodes θ j \theta_{j} θ j are the zeros of sin Φ K ( m ) \sin\Phi_{K}^{(m)} sin Φ K ( m ) in ( 0 , π ) (0,\pi) ( 0 , π ) . The phase increases strictly by Eq. (70) , and its limits follow from the leading term ( − 1 ) q ( 2 q − 1 ) ! ! u q (-1)^{q}(2q-1)!!\,u^{q} ( − 1 ) q ( 2 q − 1 )!! u q of P q P_{q} P q : every increment tends to π \pi π as θ → 0 + \theta\to0^{+} θ → 0 + , where u → + ∞ u\to+\infty u → + ∞ , and to zero as θ → π − \theta\to\pi^{-} θ → π − . Hence Φ K ( m ) \Phi_{K}^{(m)} Φ K ( m ) increases from ( m − 1 ) π (m-1)\pi ( m − 1 ) π to K π K\pi K π and takes each value m π , … , ( K − 1 ) π m\pi,\ldots,(K-1)\pi mπ , … , ( K − 1 ) π exactly once, at the N N N nodes in increasing order, which is the node identity in Eq. (162) .
Weights. For eigenfunctions of H q H_{q} H q with eigenvalue K 2 K^{2} K 2 that vanish at both endpoints, integration by parts gives ∥ A q f ∥ 2 = ( K 2 − q 2 ) ∥ f ∥ 2 \|A_{q}f\|^{2}=(K^{2}-q^{2})\|f\|^{2} ∥ A q f ∥ 2 = ( K 2 − q 2 ) ∥ f ∥ 2 in L 2 ( [ 0 , π ] ) L^{2}([0,\pi]) L 2 ([ 0 , π ]) . Starting from ∥ sin K θ ∥ 2 = π / 2 \|\sin K\theta\|^{2}=\pi/2 ∥ sin K θ ∥ 2 = π /2 , the orthonormal angular function of degree N N N is therefore G N ( m ) = G_{N}^{(m)}= G N ( m ) = ± [ 2 / ( π D m − 1 ( h ) ) ] 1 / 2 ∣ Z m − 1 ∣ sin Φ K ( m ) \pm[2/(\pi D_{m-1}(h))]^{1/2}|Z_{m-1}|\sin\Phi_K^{(m)} ± [ 2/ ( π D m − 1 ( h )) ] 1/2 ∣ Z m − 1 ∣ sin Φ K ( m ) . At a node, where sin Φ K ( m ) = 0 \sin\Phi_K^{(m)}=0 sin Φ K ( m ) = 0 , the identity ∣ Z m − 1 ∣ Φ K ( m ) ′ = K D m − 1 ( h ) |Z_{m-1}|\Phi_K^{(m)\prime}=KD_{m-1}(h) ∣ Z m − 1 ∣ Φ K ( m ) ′ = K D m − 1 ( h ) yields
G N ( m ) ′ ( θ j ) 2 = 2 K π Φ K ( m ) ′ ( θ j ) . (163) G_N^{(m)\prime}(\theta_j)^2=\frac{2K}{\pi}\Phi_K^{(m)\prime}(\theta_j). \tag*{(163)} G N ( m ) ′ ( θ j ) 2 = π 2 K Φ K ( m ) ′ ( θ j ) . (163)
On the other hand, the Christoffel–Darboux formula w j − 1 = ∑ k < N p k ( m ) ( x j ) 2 = β N p N ( m ) ′ ( x j ) p N − 1 ( m ) ( x j ) w_j^{-1}=\sum_{k<N}p_k^{(m)}(x_j)^2=\beta_Np_N^{(m)\prime}(x_j)p_{N-1}^{(m)}(x_j) w j − 1 = ∑ k < N p k ( m ) ( x j ) 2 = β N p N ( m ) ′ ( x j ) p N − 1 ( m ) ( x j ) , where β N \beta_N β N is the coefficient of p N ( m ) p_N^{(m)} p N ( m ) in x p N − 1 ( m ) xp_{N-1}^{(m)} x p N − 1 ( m ) , combines with the derivative identity ( 1 − x 2 ) p N ( m ) ′ = 2 K β N p N − 1 ( m ) (1-x^2)p_N^{(m)\prime}=2K\beta_Np_{N-1}^{(m)} ( 1 − x 2 ) p N ( m ) ′ = 2 K β N p N − 1 ( m ) at the zeros of p N ( m ) p_N^{(m)} p N ( m ) [39 , 55 ] into w j = 2 K / [ ( 1 − x j 2 ) p N ( m ) ′ ( x j ) 2 ] w_j=2K/[(1-x_j^2)p_N^{(m)\prime}(x_j)^2] w j = 2 K / [( 1 − x j 2 ) p N ( m ) ′ ( x j ) 2 ] . Since G N ( m ) ′ ( θ j ) = − sin m + 1 θ j p N ( m ) ′ ( x j ) G_N^{(m)\prime}(\theta_j)=-\sin^{m+1}\theta_jp_N^{(m)\prime}(x_j) G N ( m ) ′ ( θ j ) = − sin m + 1 θ j p N ( m ) ′ ( x j ) , this reads w j = 2 K sin 2 m θ j / G N ( m ) ′ ( θ j ) 2 w_j=2K\sin^{2m}\theta_j/G_N^{(m)\prime}(\theta_j)^2 w j = 2 K sin 2 m θ j / G N ( m ) ′ ( θ j ) 2 , and Eq. (163) turns the definition of ξ j \xi_j ξ j in Eq. (45) into the weight identity in Eq. (162) . □
Normalization bounds
By Lemma 1, the phase derivative is Φ K ( m ) ′ = K / F m , K \Phi_K^{(m)\prime}=K/F_{m,K} Φ K ( m ) ′ = K / F m , K with
F m , K ( θ ) : = ∣ P m − 1 ( cot θ / K ; 1 / K ) ∣ 2 D m − 1 ( 1 / K ) . (164) F_{m,K}(\theta):=\frac{\lvert P_{m-1}(\cot\theta/K;1/K)\rvert^2}{D_{m-1}(1/K)}. \tag*{(164)} F m , K ( θ ) := D m − 1 ( 1/ K ) ∣ P m − 1 ( cot θ / K ; 1/ K ) ∣ 2 . (164)
Both corrections are therefore determined by F m , K F_{m,K} F m , K and by the phase deviation, which we write as ψ m ( θ ) \psi_m(\theta) ψ m ( θ ) in place of ψ m ( cot θ / K ; 1 / K ) \psi_m(\cot\theta/K;1/K) ψ m ( cot θ / K ; 1/ K ) : the continuous corrections of Section IV.C are t = − ψ m t=-\psi_m t = − ψ m and ξ = F m , K \xi=F_{m,K} ξ = F m , K at the angle θ ( ℓ ) \theta(\ell) θ ( ℓ ) of Eq. (68) , and at the nodes they reduce to t j = K δ j t_j=K\delta_j t j = K δ j and ξ j \xi_j ξ j .
Lemma 2 (Normalization bounds). Let m ≥ 2 m\ge2 m ≥ 2 and K ≥ m + 1 K\ge m+1 K ≥ m + 1 . Then
F m , K ( θ ) = ∑ q = 0 m − 1 b q sin 2 q θ (165) F_{m,K}(\theta)=\sum_{q=0}^{m-1}\frac{b_q}{\sin^{2q}\theta} \tag*{(165)} F m , K ( θ ) = q = 0 ∑ m − 1 sin 2 q θ b q (165)
with the positive coefficients
b q = ( m − 1 + q ) ! ( m − 1 − q ) ! ( 2 q q ) 4 q ∏ a = 1 q ( K 2 − a 2 ) . (166) b_q=\frac{(m-1+q)!}{(m-1-q)!}\frac{\binom{2q}{q}}{4^q\prod_{a=1}^{q}(K^2-a^2)}. \tag*{(166)} b q = ( m − 1 − q )! ( m − 1 + q )! 4 q ∏ a = 1 q ( K 2 − a 2 ) ( q 2 q ) . (166)
On [ θ 0 , π − θ 0 ] [\theta_0,\pi-\theta_0] [ θ 0 , π − θ 0 ] , the continuous corrections satisfy ∣ ψ m ∣ ≤ τ |\psi_m|\le\tau ∣ ψ m ∣ ≤ τ and F m , K ≤ ξ 2 F_{m,K}\le\xi^2 F m , K ≤ ξ 2 , with equality at the endpoints, which proves Eq. (58) . Moreover, θ 0 ≥ ϑ m , K \theta_0\ge\vartheta_{m,K} θ 0 ≥ ϑ m , K , so the constants of Eqs. (60) and (61) satisfy T ≥ τ T\ge\tau T ≥ τ and X ≥ ξ max X\ge\xi_{\max} X ≥ ξ m a x . As K K K grows, T T T increases from a positive value toward ( m + 1 ) π / 2 − z m (m+1)\pi/2-z_m ( m + 1 ) π /2 − z m , X X X decreases, and both bounds become tight.
Proof. Positive expansion. Both the real and imaginary parts of Z m − 1 Z_{m-1} Z m − 1 satisfy y ′ ′ + Q y = 0 y''+Qy=0 y ′′ + Q y = 0 , where Q = K 2 − m ( m − 1 ) csc 2 θ Q=K^2-m(m-1)\csc^2\theta Q = K 2 − m ( m − 1 ) csc 2 θ . The product of any two solutions of this equation satisfies w ′ ′ ′ + 4 Q w ′ + 2 Q ′ w = 0 w'''+4Qw'+2Q'w=0 w ′′′ + 4 Q w ′ + 2 Q ′ w = 0 . Since ∣ Z m − 1 ∣ 2 |Z_{m-1}|^2 ∣ Z m − 1 ∣ 2 is a sum of such products, it satisfies the same equation, as does F m , K = ∣ Z m − 1 ∣ 2 / D m − 1 F_{m,K}=|Z_{m-1}|^2/D_{m-1} F m , K = ∣ Z m − 1 ∣ 2 / D m − 1 . The symmetry P q ( − u ; h ) = ( − 1 ) q P q ( u ; h ) P_q(-u;h)=(-1)^qP_q(u;h) P q ( − u ; h ) = ( − 1 ) q P q ( u ; h ) makes F m , K F_{m,K} F m , K even in u u u , hence a polynomial of degree m − 1 m-1 m − 1 in u 2 = ( csc 2 θ − 1 ) / K 2 u^2=(\csc^2\theta-1)/K^2 u 2 = ( csc 2 θ − 1 ) / K 2 , that is, in csc 2 θ \csc^2\theta csc 2 θ . Its leading coefficient b m − 1 = [ ( 2 m − 3 ) ! ! ] 2 / ∏ a = 1 m − 1 ( K 2 − a 2 ) b_{m-1}=[(2m-3)!!]^2/\prod_{a=1}^{m-1}(K^2-a^2) b m − 1 = [( 2 m − 3 )!! ] 2 / ∏ a = 1 m − 1 ( K 2 − a 2 ) follows from the leading term of P m − 1 P_{m-1} P m − 1 , and substituting F = ∑ q b q csc 2 q θ F=\sum_qb_q\csc^{2q}\theta F = ∑ q b q csc 2 q θ into the third-order governing equation yields
b q + 1 = ( 2 q + 1 ) ( m + q ) ( m − 1 − q ) 2 ( q + 1 ) [ K 2 − ( q + 1 ) 2 ] b q . (167) b_{q+1}=\frac{(2q+1)(m+q)(m-1-q)}{2(q+1)[K^2-(q+1)^2]}b_q. \tag*{(167)} b q + 1 = 2 ( q + 1 ) [ K 2 − ( q + 1 ) 2 ] ( 2 q + 1 ) ( m + q ) ( m − 1 − q ) b q . (167)
This recurrence determines all coefficients from b m − 1 b_{m-1} b m − 1 , and Eq. (166) satisfies it.
Endpoint maxima. All b q b_q b q are positive for K ≥ m + 1 K\ge m+1 K ≥ m + 1 , so F m , K ≥ b 0 = 1 F_{m,K}\ge b_0=1 F m , K ≥ b 0 = 1 is symmetric about π / 2 \pi/2 π /2 and decreases on ( 0 , π / 2 ] (0,\pi/2] ( 0 , π /2 ] . By Lemma 1, ψ m ′ = K ( F m , K − 1 − 1 ) ≤ 0 \psi_m'=K(F_{m,K}^{-1}-1)\le0 ψ m ′ = K ( F m , K − 1 − 1 ) ≤ 0 , and ψ m ( π − θ ) = − ψ m ( θ ) \psi_m(\pi-\theta)=-\psi_m(\theta) ψ m ( π − θ ) = − ψ m ( θ ) because the real parts in Eq. (161) are odd in u u u . Both ∣ ψ m ∣ |\psi_m| ∣ ψ m ∣ and F m , K F_{m,K} F m , K therefore attain their maxima over [ θ 0 , π − θ 0 ] [\theta_0,\pi-\theta_0] [ θ 0 , π − θ 0 ] at the endpoints. At θ 0 \theta_0 θ 0 , the node identity Φ K ( m ) ( θ 0 ) = m π \Phi_K^{(m)}(\theta_0)=m\pi Φ K ( m ) ( θ 0 ) = mπ implies ψ m ( θ 0 ) = ( m + 1 ) π / 2 − K θ 0 = τ \psi_m(\theta_0)=(m+1)\pi/2-K\theta_0=\tau ψ m ( θ 0 ) = ( m + 1 ) π /2 − K θ 0 = τ . Since t j = − ψ m ( θ j ) t_j=-\psi_m(\theta_j) t j = − ψ m ( θ j ) and ξ j 2 = F m , K ( θ j ) \xi_j^2=F_{m,K}(\theta_j) ξ j 2 = F m , K ( θ j ) , this proves Eq. (58) .
Lower bound on θ 0 \theta_0 θ 0 . Removing the term θ − 2 \theta^{-2} θ − 2 from the partial-fraction expansion csc 2 θ = ∑ k ∈ Z ( θ − k π ) − 2 \csc^2\theta=\sum_{k\in\mathbb{Z}}(\theta-k\pi)^{-2} csc 2 θ = ∑ k ∈ Z ( θ − k π ) − 2 [39 ] leaves terms ( k π − θ ) − 2 + ( k π + θ ) − 2 (k\pi-\theta)^{-2}+(k\pi+\theta)^{-2} ( k π − θ ) − 2 + ( k π + θ ) − 2 that increase with θ \theta θ , so that
1 3 ≤ csc 2 θ − 1 θ 2 ≤ 1 − 4 π 2 , 0 < θ ≤ π 2 . (168) \frac{1}{3}\le\csc^2\theta-\frac{1}{\theta^2}\le1-\frac{4}{\pi^2},\qquad0<\theta\le\frac{\pi}{2}. \tag*{(168)} 3 1 ≤ csc 2 θ − θ 2 1 ≤ 1 − π 2 4 , 0 < θ ≤ 2 π . (168)
The function y = sin m θ C N ( m ) ( cos θ ) y=\sin^m\theta\,C_N^{(m)}(\cos\theta) y = sin m θ C N ( m ) ( cos θ ) solves y ′ ′ + [ K 2 − m ( m − 1 ) csc 2 θ ] y = 0 y''+[K^2-m(m-1)\csc^2\theta]y=0 y ′′ + [ K 2 − m ( m − 1 ) csc 2 θ ] y = 0 , while v = θ J m − 1 / 2 ( k θ ) v=\sqrt{\theta}J_{m-1/2}(k\theta) v = θ J m − 1/2 ( k θ ) with k 2 = K 2 − m ( m − 1 ) / 3 k^2=K^2-m(m-1)/3 k 2 = K 2 − m ( m − 1 ) /3 solves v ′ ′ + [ k 2 − m ( m − 1 ) θ − 2 ] v = 0 v''+[k^2-m(m-1)\theta^{-2}]v=0 v ′′ + [ k 2 − m ( m − 1 ) θ − 2 ] v = 0 and has its first zero at ϑ m , K = z m / k \vartheta_{m,K}=z_m/k ϑ m , K = z m / k . Both behave as positive multiples of θ m \theta^m θ m near zero, and by the lower bound in Eq. (168) , the coefficient in the equation for v v v is at least that for y y y . Hence, wherever y , v > 0 y,v>0 y , v > 0 , the Wronskian-like quantity y ′ v − y v ′ y'v-yv' y ′ v − y v ′ has a nonnegative derivative and is therefore nondecreasing. It vanishes at 0 + 0^+ 0 + , so y / v y/v y / v is nondecreasing and y y y cannot vanish before v v v . In other words, the first zero of y y y occurs no earlier than the first zero of v v v . This proves θ 0 ≥ ϑ m , K \theta_0\ge\vartheta_{m,K} θ 0 ≥ ϑ m , K and thus T ≥ τ T\ge\tau T ≥ τ . Since F m , K F_{m,K} F m , K decreases on ( 0 , π / 2 ] (0,\pi/2] ( 0 , π /2 ] and by Eq. (61) is X 2 = F m , K ( ϑ m , K ) X^2=F_{m,K}(\vartheta_{m,K}) X 2 = F m , K ( ϑ m , K ) , it follows that X 2 ≥ ξ 0 X^2\ge\xi_0 X 2 ≥ ξ 0 .
Dependence on K K K . The upper bound in Eq. (168) provides the reverse comparison, with k 2 k^2 k 2 replaced by K 2 − m ( m − 1 ) ( 1 − 4 / π 2 ) K^2-m(m-1)(1-4/\pi^2) K 2 − m ( m − 1 ) ( 1 − 4/ π 2 ) , once the corresponding Bessel zero lies below π / 2 \pi/2 π /2 . Hence K θ 0 → z m K\theta_0\to z_m K θ 0 → z m , and by Eq. (165) both bounds become tight as K → ∞ K\to\infty K → ∞ . Since K ϑ m , K = z m [ 1 − m ( m − 1 ) / ( 3 K 2 ) ] − 1 / 2 K\vartheta_{m,K}=z_m[1-m(m-1)/(3K^2)]^{-1/2} K ϑ m , K = z m [ 1 − m ( m − 1 ) / ( 3 K 2 ) ] − 1/2 decreases with K K K , T T T increases toward ( m + 1 ) π / 2 − z m (m+1)\pi/2-z_m ( m + 1 ) π /2 − z m ; it is already positive at K = m + 1 K=m+1 K = m + 1 , where N = 1 N=1 N = 1 , θ 0 = π / 2 \theta_0=\pi/2 θ 0 = π /2 , and the comparison is strict. For X X X , put c = m ( m − 1 ) / 3 c=m(m-1)/3 c = m ( m − 1 ) /3 and abbreviate ϑ = ϑ m , K \vartheta=\vartheta_{m,K} ϑ = ϑ m , K . Each nonconstant term of Eq. (61) is a constant divided by ( K sin ϑ ) 2 q ∏ a ≤ q ( 1 − a 2 / K 2 ) (K\sin\vartheta)^{2q}\prod_{a\le q}(1-a^2/K^2) ( K sin ϑ ) 2 q ∏ a ≤ q ( 1 − a 2 / K 2 ) , and
d d K ( K sin ϑ ) = cos ϑ ( tan ϑ − ϑ − c z m 2 ϑ 3 ) > 0. (169) \frac{\mathrm{d}}{\mathrm{d}K}(K\sin\vartheta)=\cos\vartheta\left(\tan\vartheta-\vartheta-\frac{c}{z_m^2}\vartheta^3\right)>0. \tag*{(169)} d K d ( K sin ϑ ) = cos ϑ ( tan ϑ − ϑ − z m 2 c ϑ 3 ) > 0. (169)
because tan ϑ ≥ ϑ + ϑ 3 / 3 \tan\vartheta\ge\vartheta+\vartheta^3/3 tan ϑ ≥ ϑ + ϑ 3 /3 and z m 2 > 3 c z_m^2>3c z m 2 > 3 c ; the latter holds because θ J m − 1 / 2 ( θ ) \sqrt{\theta}J_{m-1/2}(\theta) θ J m − 1/2 ( θ ) is convex and increasing while θ 2 < \theta^2< θ 2 < m ( m − 1 ) m(m-1) m ( m − 1 ) and therefore cannot vanish there. Hence X X X decreases with K K K . □
The monotonicity in Lemma 2 reduces the uniform subnormalization bound in Table II to finitely many evaluations. For K ≥ 64 K \ge64 K ≥ 64 , we bound X X X by its value X 64 X_{64} X 64 at K = 64 K = 64 K = 64 and T T T by its limit T ∞ = ( m + 1 ) π / 2 − z m T_{\infty} = (m+1)\pi/2-z_m T ∞ = ( m + 1 ) π /2 − z m , while the power-of-two values m + 1 ≤ K < 64 m+1 \le K < 64 m + 1 ≤ K < 64 are evaluated directly. With α Q E T = 2 α r ≤ 2 X e T \alpha_{\mathrm{QET}} = 2\alpha_r \le2Xe^T α QET = 2 α r ≤ 2 X e T , this means
α Q E T ≤ A : = max { 2 X 64 e T ∞ , max K < 64 2 X e T } , (170) \alpha_{\mathrm{QET}} \le A := \max\left\{2X_{64}e^{T_{\infty}},\max_{K<64}2Xe^T\right\}, \tag*{(170)} α QET ≤ A := max { 2 X 64 e T ∞ , K < 64 max 2 X e T } , (170)
where the inner maximum runs over K = 2 n ≥ m + 1 K=2^n \ge m+1 K = 2 n ≥ m + 1 . For 2 ≤ m ≤ 8 2 \le m \le8 2 ≤ m ≤ 8 , the first term is the larger one, and Table II lists A A A rounded upward. The padding condition α Q E T ≤ β t \alpha_{\mathrm{QET}} \le\beta_t α QET ≤ β t of Eq. (36) then holds for the smallest integer t t t with A ≤ β t A \le\beta_t A ≤ β t ,
t = ⌈ π 4 arcsin ( 1 / A ) − 1 2 ⌉ , (171) t=\left\lceil\frac{\pi}{4\arcsin(1/A)}-\frac{1}{2}\right\rceil, \tag*{(171)} t = ⌈ 4 arcsin ( 1/ A ) π − 2 1 ⌉ , (171)
which gives the round counts in the table.
We now show that the rescaled corrections of Section IV.C are analytic and uniformly bounded on a fixed Bernstein ellipse around [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , which underlies the K K K -independent degree in Eq. (75) . As in Section III.B, E ϱ E_{\varrho} E ϱ denotes the closed region bounded by the ellipse { ( w + w − 1 ) / 2 : ∣ w ∣ = ϱ } \{(w+w^{-1})/2:|w|=\varrho\} {( w + w − 1 ) /2 : ∣ w ∣ = ϱ } ; we use ϱ = 2 \varrho=2 ϱ = 2 . Fix a dyadic interval I ν I_{\nu} I ν in the range B m ≤ 2 ν ≤ K / 4 B_m\le2^{\nu}\le K/4 B m ≤ 2 ν ≤ K /4 , and let b ν ( x ) = 2 ν + ( 2 ν − 1 ) ( x + 1 ) / 2 b_{\nu}(x)=2^{\nu}+(2^{\nu}-1)(x+1)/2 b ν ( x ) = 2 ν + ( 2 ν − 1 ) ( x + 1 ) /2 be the affine coordinate of Section IV.C, which maps [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] onto [ 2 ν , 2 ν + 1 − 1 ] [2^{\nu},2^{\nu+1}-1] [ 2 ν , 2 ν + 1 − 1 ] . For a folded label b b b , the corrections are evaluated at the grid label b + ζ − ζ m b+\zeta-\zeta_m b + ζ − ζ m , where ζ = ζ m = 1 / 2 \zeta=\zeta_m=1/2 ζ = ζ m = 1/2 for even m m m and ζ = ρ ∈ { 0 , 1 } \zeta=\rho\in\{0,1\} ζ = ρ ∈ { 0 , 1 } for odd m m m ; this label is b b b for even m m m and b + ρ b+\rho b + ρ for odd m m m , as required by the reflection. For real b b b , we write t ζ ( b ) : = t ( b + ζ − ζ m ) t_{\zeta}(b):=t(b+\zeta-\zeta_m) t ζ ( b ) := t ( b + ζ − ζ m ) and ξ ζ ( b ) : = ξ ( b + ζ − ζ m ) \xi_{\zeta}(b):=\xi(b+\zeta-\zeta_m) ξ ζ ( b ) := ξ ( b + ζ − ζ m ) for the displacement and weight as functions of the folded label. Since ℓ + ζ m = b + ζ \ell+\zeta_m=b+\zeta ℓ + ζ m = b + ζ at this label, Eqs. (68) and (69) show that t ζ ( b ) t_{\zeta}(b) t ζ ( b ) is a fixed point of
F b ( t ) : = − ψ m ( u ; h ) , (172) F_b(t):=-\psi_m(u;h), \tag*{(172)} F b ( t ) := − ψ m ( u ; h ) , (172)
where u = h cot z u=h\cot z u = h cot z is the scaled cotangent at the angle z = h [ π ( b + ζ ) + t ] z=h[\pi(b+\zeta)+t] z = h [ π ( b + ζ ) + t ] . To extend t ζ ( b ) t_{\zeta}(b) t ζ ( b ) to complex-valued labels, we first extend ψ m \psi_m ψ m to complex u u u . The next lemma expresses its bounds through
Λ m : = ( m 2 ) = m ( m − 1 ) 2 (173) \Lambda_m:=\binom{m}{2}=\frac{m(m-1)}{2} \tag*{(173)} Λ m := ( 2 m ) = 2 m ( m − 1 ) (173)
and coefficientwise domination: f ≪ g f\ll g f ≪ g means that every Taylor coefficient of f f f at the origin is bounded in modulus by the corresponding coefficient of g g g .
Lemma 3 (Phase bounds on a disk). Let q = m − 1 q=m-1 q = m − 1 and 0 < h ≤ h 0 0<h\le h_0 0 < h ≤ h 0 with ϵ : = h 2 ( q 3 − q ) / 6 < 1 / 2 \epsilon:=h^2(q^3-q)/6<1/2 ϵ := h 2 ( q 3 − q ) /6 < 1/2 , and set γ = ( 1 − 2 ϵ ) − 1 \gamma=(1-2\epsilon)^{-1} γ = ( 1 − 2 ϵ ) − 1 and
D ^ ( R ) = γ Λ m R 1 − Λ m R / 2 , \widehat{D}(R)=\frac{\gamma\Lambda_mR}{1-\Lambda_mR/2}, D ( R ) = 1 − Λ m R /2 γ Λ m R , Ψ ( R ) = 1 2 log 1 − D ^ ( − R ) 1 − D ^ ( R ) . (174) \Psi(R)=\frac{1}{2}\log\frac{1-\widehat{D}(-R)}{1-\widehat{D}(R)}. \tag*{(174)} Ψ ( R ) = 2 1 log 1 − D ( R ) 1 − D ( − R ) . (174) If Λ m R < 2 \Lambda_mR<2 Λ m R < 2 and D ^ ( R ) < 1 \widehat{D}(R)<1 D ( R ) < 1 , then ψ m ( ⋅ ; h ) \psi_m(\mathord{\cdot};h) ψ m ( ⋅ ; h ) extends analytically to a neighborhood of the disk ∣ u ∣ ≤ R |u|\le R ∣ u ∣ ≤ R , where ∣ ψ m ∣ ≤ Ψ ( R ) |\psi_m|\le\Psi(R) ∣ ψ m ∣ ≤ Ψ ( R ) and ∣ ∂ u ψ m ∣ ≤ Ψ ′ ( R ) |\partial_u\psi_m|\le\Psi'(R) ∣ ∂ u ψ m ∣ ≤ Ψ ′ ( R ) .
Proof. Multiplying the recurrence (65) by i − q i^{-q} i − q shows that i − q P q ( u ; h ) = Y q ( i u , − h 2 ) i^{-q}P_q(u;h)=Y_q(iu,-h^2) i − q P q ( u ; h ) = Y q ( i u , − h 2 ) , where Y 0 = 1 Y_0=1 Y 0 = 1 and
Y k = ( 1 + k x ) Y k − 1 + ( x 2 + σ ) ∂ x Y k − 1 . (175) Y_k=(1+kx)Y_{k-1}+(x^2+\sigma)\partial_xY_{k-1}. \tag*{(175)} Y k = ( 1 + k x ) Y k − 1 + ( x 2 + σ ) ∂ x Y k − 1 . (175)
By induction, Y q Y_q Y q has nonnegative coefficients in x x x and σ \sigma σ , and at σ = 0 \sigma=0 σ = 0 it is the Bessel polynomial y q ( x ) = ∑ k β k x k y_q(x)=\sum_k\beta_kx^k y q ( x ) = ∑ k β k x k with β k = ( q + k ) ! / [ k ! ( q − k ) ! 2 k ] \beta_k=(q+k)!/[k!(q-k)!2^k] β k = ( q + k )! / [ k ! ( q − k )! 2 k ] [39 Section 18.34] . In these variables, the equation H q + 1 Z q = K 2 Z q H_{q+1}Z_q=K^2Z_q H q + 1 Z q = K 2 Z q becomes ( x 2 + σ ) Y q ′ ′ + 2 ( x + 1 ) Y q ′ − q ( q + 1 ) Y q = 0 (x^2+\sigma)Y_q''+2(x+1)Y_q'-q(q+1)Y_q=0 ( x 2 + σ ) Y q ′′ + 2 ( x + 1 ) Y q ′ − q ( q + 1 ) Y q = 0 , so the coefficients of Y q = ∑ k a k ( σ ) x k Y_q=\sum_k a_k(\sigma)x^k Y q = ∑ k a k ( σ ) x k obey the downward recurrence
( q − k ) ( q + k + 1 ) a k = 2 ( k + 1 ) a k + 1 + σ ( k + 1 ) ( k + 2 ) a k + 2 , (176) (q-k)(q+k+1)a_k=2(k+1)a_{k+1}+\sigma(k+1)(k+2)a_{k+2}, \tag*{(176)} ( q − k ) ( q + k + 1 ) a k = 2 ( k + 1 ) a k + 1 + σ ( k + 1 ) ( k + 2 ) a k + 2 , (176)
starting from a q = ( 2 q − 1 ) ! ! a_q=(2q-1)!! a q = ( 2 q − 1 )!! and a q + 1 = 0 a_{q+1}=0 a q + 1 = 0 . Dividing this recurrence at σ = h 0 2 \sigma=h_0^2 σ = h 0 2 by its form at σ = 0 \sigma=0 σ = 0 shows that the ratios c k = a k ( h 0 2 ) / β k c_k=a_k(h_0^2)/\beta_k c k = a k ( h 0 2 ) / β k satisfy c q = c q − 1 = 1 c_q=c_{q-1}=1 c q = c q − 1 = 1 and c k = c k + 1 + 1 4 h 0 2 ( q − k ) ( q + k + 2 ) c_k=c_{k+1}+\frac14h_0^2(q-k)(q+k+2) c k = c k + 1 + 4 1 h 0 2 ( q − k ) ( q + k + 2 ) . They increase as k k k decreases, and since ∑ k = 0 q − 2 ( q − k − 1 ) ( q + k + 2 ) = 2 3 ( q 3 − q ) \sum_{k=0}^{q-2}(q-k-1)(q+k+2)=\frac{2}{3}(q^3-q) ∑ k = 0 q − 2 ( q − k − 1 ) ( q + k + 2 ) = 3 2 ( q 3 − q ) , summing the increments gives c 0 ≤ 1 + ϵ c 0 c_0\le1+\epsilon c_0 c 0 ≤ 1 + ϵ c 0 , so that a k ( h 0 2 ) ≤ β k / ( 1 − ϵ ) a_k(h_0^2)\le\beta_k/(1-\epsilon) a k ( h 0 2 ) ≤ β k / ( 1 − ϵ ) . Since Y q Y_q Y q has nonnegative coefficients in x x x and σ \sigma σ , each a k ( σ ) a_k(\sigma) a k ( σ ) is a polynomial in σ \sigma σ with nonnegative coefficients, so that ∣ a k ( σ ) ∣ ≤ a k ( h 0 2 ) |a_k(\sigma)|\le a_k(h_0^2) ∣ a k ( σ ) ∣ ≤ a k ( h 0 2 ) for ∣ σ ∣ ≤ h 0 2 |\sigma|\le h_0^2 ∣ σ ∣ ≤ h 0 2 . Similarly, because a 0 ( 0 ) = β 0 = 1 a_0(0)=\beta_0=1 a 0 ( 0 ) = β 0 = 1 and a 0 − 1 a_0-1 a 0 − 1 also has nonnegative coefficients, ∣ a 0 ( σ ) − 1 ∣ ≤ a 0 ( h 0 2 ) − 1 |a_0(\sigma)-1|\le a_0(h_0^2)-1 ∣ a 0 ( σ ) − 1∣ ≤ a 0 ( h 0 2 ) − 1 . Then, a 0 ( σ ) ≥ 2 − a 0 ( h 0 2 ) ≥ ( 1 − 2 ϵ ) / ( 1 − ϵ ) a_0(\sigma)\ge2-a_0(h_0^2)\ge(1-2\epsilon)/(1-\epsilon) a 0 ( σ ) ≥ 2 − a 0 ( h 0 2 ) ≥ ( 1 − 2 ϵ ) / ( 1 − ϵ ) for real σ \sigma σ with ∣ σ ∣ ≤ h 0 2 |\sigma|\le h_0^2 ∣ σ ∣ ≤ h 0 2 .
Majorant of the normalized polynomial. Set Y ~ ( u ) : = Y q ( i u , − h 2 ) / a 0 ( − h 2 ) \widetilde{Y}(u):=Y_q(iu,-h^2)/a_0(-h^2) Y ( u ) := Y q ( i u , − h 2 ) / a 0 ( − h 2 ) . By the identity i − q P q ( u ; h ) = Y q ( i u , − h 2 ) i^{-q}P_q(u;h)=Y_q(iu,-h^2) i − q P q ( u ; h ) = Y q ( i u , − h 2 ) , this is Y ~ ( u ) = i − q P q ( u ; h ) / a 0 ( − h 2 ) \widetilde{Y}(u)=i^{-q}P_q(u;h)/a_0(-h^2) Y ( u ) = i − q P q ( u ; h ) / a 0 ( − h 2 ) , and Y ~ ( 0 ) = 1 \widetilde{Y}(0)=1 Y ( 0 ) = 1 . Its coefficient of u k u^k u k is i k a k ( − h 2 ) / a 0 ( − h 2 ) i^ka_k(-h^2)/a_0(-h^2) i k a k ( − h 2 ) / a 0 ( − h 2 ) . Since σ = − h 2 \sigma=-h^2 σ = − h 2 satisfies ∣ σ ∣ ≤ h 0 2 |\sigma|\le h_0^2 ∣ σ ∣ ≤ h 0 2 , we have the bounds just derived above to obtain ∣ a k ( − h 2 ) ∣ ≤ β k / ( 1 − ϵ ) |a_k(-h^2)|\le\beta_k/(1-\epsilon) ∣ a k ( − h 2 ) ∣ ≤ β k / ( 1 − ϵ ) and a 0 ( − h 2 ) ≥ ( 1 − 2 ϵ ) / ( 1 − ϵ ) > 0 a_0(-h^2)\ge(1-2\epsilon)/(1-\epsilon)>0 a 0 ( − h 2 ) ≥ ( 1 − 2 ϵ ) / ( 1 − ϵ ) > 0 , so this coefficient has modulus at most β k / ( 1 − 2 ϵ ) = γ β k \beta_k/(1-2\epsilon)=\gamma\beta_k β k / ( 1 − 2 ϵ ) = γ β k . The Bessel coefficients satisfy β 1 = q ( q + 1 ) / 2 = Λ m \beta_1=q(q+1)/2=\Lambda_m β 1 = q ( q + 1 ) /2 = Λ m and, for k ≥ 1 k\ge1 k ≥ 1 , β k + 1 / β k = [ q ( q + 1 ) − k ( k + 1 ) ] / [ 2 ( k + 2 ) ] ≤ q ( q + 1 ) / 2 = Λ m / 2 \beta_{k+1}/\beta_k=[q(q+1)-k(k+1)]/[2(k+2)]\le q(q+1)/2=\Lambda_m/2 β k + 1 / β k = [ q ( q + 1 ) − k ( k + 1 )] / [ 2 ( k + 2 )] ≤ q ( q + 1 ) /2 = Λ m /2 , so that β k ≤ Λ m ( Λ m / 2 ) k − 1 = 2 ( Λ m / 2 ) k \beta_k\le\Lambda_m(\Lambda_m/2)^{k-1}=2(\Lambda_m/2)^k β k ≤ Λ m ( Λ m /2 ) k − 1 = 2 ( Λ m /2 ) k . For Λ m R < 2 \Lambda_mR<2 Λ m R < 2 , we expand D ^ \widehat{D} D , defined in Eq. (174) , in a geometric series as D ^ ( R ) = γ Λ m R ∑ j ≥ 0 ( Λ m R / 2 ) j = ∑ k ≥ 1 2 γ ( Λ m / 2 ) k R k \widehat{D}(R)=\gamma\Lambda_mR\sum_{j\ge0}(\Lambda_mR/2)^j=\sum_{k\ge1}2\gamma(\Lambda_m/2)^kR^k D ( R ) = γ Λ m R ∑ j ≥ 0 ( Λ m R /2 ) j = ∑ k ≥ 1 2 γ ( Λ m /2 ) k R k . Every coefficient of Y ~ − 1 \widetilde{Y}-1 Y − 1 is therefore bounded in modulus by the corresponding coefficient of D ^ \widehat{D} D , both constant terms being zero; that is, Y ~ − 1 ≪ D ^ \widetilde{Y}-1\ll\widehat{D} Y − 1 ≪ D .
Properties of ≪ \ll ≪ . The remaining steps use four elementary properties of domination by a power series g g g with nonnegative coefficients. (i) If f ≪ g f \ll g f ≪ g and g g g converges at some R > 0 R > 0 R > 0 , then the series of f f f converges absolutely for ∣ u ∣ ≤ R |u| \le R ∣ u ∣ ≤ R , and ∣ f ( u ) ∣ ≤ g ( ∣ u ∣ ) ≤ g ( R ) |f(u)| \le g(|u|) \le g(R) ∣ f ( u ) ∣ ≤ g ( ∣ u ∣ ) ≤ g ( R ) there. (ii) If f 1 ≪ g 1 f_1 \ll g_1 f 1 ≪ g 1 and f 2 ≪ g 2 f_2 \ll g_2 f 2 ≪ g 2 , then f 1 f 2 ≪ g 1 g 2 f_1f_2 \ll g_1g_2 f 1 f 2 ≪ g 1 g 2 , because each coefficient of a product is a finite sum of products of coefficients; in particular, f j ≪ g j f^j \ll g^j f j ≪ g j for every j ≥ 1 j \ge1 j ≥ 1 . (iii) The odd part f o d d ( u ) : = [ f ( u ) − f ( − u ) ] / 2 f_{\mathrm{odd}}(u) := [f(u) - f(-u)]/2 f odd ( u ) := [ f ( u ) − f ( − u )] /2 retains exactly the odd-degree coefficients of f f f , so f ≪ g f \ll g f ≪ g implies f o d d ≪ g o d d f_{\mathrm{odd}} \ll g_{\mathrm{odd}} f odd ≪ g odd ; multiplication by a constant of modulus one also preserves ≪ \ll ≪ . (iv) Differentiation multiplies the k k k th coefficient by k k k , so f ≪ g f \ll g f ≪ g implies f ′ ≪ g ′ f' \ll g' f ′ ≪ g ′ .
Logarithm. By (i), ∣ Y ~ ( u ) − 1 ∣ ≤ D ^ ( ∣ u ∣ ) ≤ D ^ ( R ) < 1 |\widetilde{Y}(u) - 1| \le\widehat{D}(|u|) \le\widehat{D}(R) < 1 ∣ Y ( u ) − 1∣ ≤ D ( ∣ u ∣ ) ≤ D ( R ) < 1 for ∣ u ∣ ≤ R |u| \le R ∣ u ∣ ≤ R . Hence Y ~ \widetilde{Y} Y stays within distance less than one of 1, so Re Y ~ > 0 \operatorname{Re}\widetilde{Y} > 0 Re Y > 0 and the principal logarithm log Y ~ \log\widetilde{Y} log Y is analytic on the disk ∣ u ∣ ≤ R |u| \le R ∣ u ∣ ≤ R . With w : = Y ~ − 1 w := \widetilde{Y} - 1 w := Y − 1 , its Taylor series at the origin follows by substituting w w w into log ( 1 + w ) = ∑ j ≥ 1 ( − 1 ) j + 1 w j / j \log(1+w) = \sum_{j\ge1}(-1)^{j+1}w^j/j log ( 1 + w ) = ∑ j ≥ 1 ( − 1 ) j + 1 w j / j . Since w ( 0 ) = 0 w(0) = 0 w ( 0 ) = 0 , the coefficient of u k u^k u k receives contributions only from the finitely many terms with j ≤ k j \le k j ≤ k . By (ii), w j ≪ D ^ j w^j \ll\widehat{D}^j w j ≪ D j , and the coefficients ( − 1 ) j + 1 / j (-1)^{j+1}/j ( − 1 ) j + 1 / j have the moduli 1 / j 1/j 1/ j of the coefficients of − log ( 1 − x ) = ∑ j ≥ 1 x j / j -\log(1-x) = \sum_{j\ge1}x^j/j − log ( 1 − x ) = ∑ j ≥ 1 x j / j . Hence log Y ~ ≪ − log ( 1 − D ^ ) \log\widetilde{Y} \ll-\log(1-\widehat{D}) log Y ≪ − log ( 1 − D ) , where the right side has nonnegative coefficients and converges at R R R because D ^ ( R ) < 1 \widehat{D}(R) < 1 D ( R ) < 1 .
Identification with ψ m \psi_m ψ m . Define S ( u ) : = [ log Y ~ ( u ) − log Y ~ ( − u ) ] / ( 2 i ) S(u) := [\log\widetilde{Y}(u) - \log\widetilde{Y}(-u)]/(2i) S ( u ) := [ log Y ( u ) − log Y ( − u )] / ( 2 i ) , which equals − i ( log Y ~ ) o d d ( u ) -i(\log\widetilde{Y})_{\mathrm{odd}}(u) − i ( log Y ) odd ( u ) and is analytic on the radius-R R R disk, since the disk is symmetric under u ↦ − u u \mapsto-u u ↦ − u . For real u u u , the real coefficients of Y q Y_q Y q imply that Y ~ ( − u ) = Y ~ ( u ) ‾ \widetilde{Y}(-u) = \overline{\widetilde{Y}(u)} Y ( − u ) = Y ( u ) . Since Y ~ ( u ) \widetilde{Y}(u) Y ( u ) lies in the half-plane Re z > 0 \operatorname{Re} z > 0 Re z > 0 , the principal logarithm is well-defined there and satisfies log z ‾ = log z ‾ \log\overline{z} = \overline{\log z} log z = log z . Hence S ( u ) = Im log Y ~ ( u ) S(u) = \operatorname{Im}\log\widetilde{Y}(u) S ( u ) = Im log Y ( u ) is the principal argument of Y ~ ( u ) \widetilde{Y}(u) Y ( u ) : on [ − R , R ] [-R,R] [ − R , R ] it is real, continuous, valued in ( − π / 2 , π / 2 ) (-\pi/2,\pi/2) ( − π /2 , π /2 ) , and S ( 0 ) = 0 S(0) = 0 S ( 0 ) = 0 . Because a 0 ( − h 2 ) > 0 a_0(-h^2) > 0 a 0 ( − h 2 ) > 0 and q = m − 1 q = m - 1 q = m − 1 , arg Y ~ = arg P m − 1 − ( m − 1 ) π / 2 \arg\widetilde{Y} = \arg P_{m-1} - (m-1)\pi/2 arg Y = arg P m − 1 − ( m − 1 ) π /2 modulo 2 π 2\pi 2 π , so S S S is a continuous determination of arg P m − 1 − ( m − 1 ) π / 2 \arg P_{m-1} - (m-1)\pi/2 arg P m − 1 − ( m − 1 ) π /2 on [ − R , R ] [-R,R] [ − R , R ] , as is the branch ψ m \psi_m ψ m of Lemma 1. Two such determinations differ by a continuous function with values in 2 π Z 2\pi\mathbb{Z} 2 π Z , which is constant on the interval and here vanishes at u = 0 u = 0 u = 0 , where S ( 0 ) = ψ m ( 0 ; h ) = 0 S(0) = \psi_m(0;h) = 0 S ( 0 ) = ψ m ( 0 ; h ) = 0 . Thus S = ψ m ( ⋅ ; h ) S = \psi_m(\cdot\,;h) S = ψ m ( ⋅ ; h ) on [ − R , R ] [-R,R] [ − R , R ] , and S S S is the analytic continuation of ψ m \psi_m ψ m to the disk.
Bounds. The hypotheses Λ m R < 2 \Lambda_mR < 2 Λ m R < 2 and D ^ ( R ) < 1 \widehat{D}(R) < 1 D ( R ) < 1 are strict. Since D ^ \widehat{D} D is continuous, they remain true for some slightly larger radius R ′ > R R' > R R ′ > R . The preceding argument therefore applies on the disk ∣ u ∣ ≤ R ′ |u| \le R' ∣ u ∣ ≤ R ′ , so ψ m \psi_m ψ m is analytic on the open disk ∣ u ∣ < R ′ |u| < R' ∣ u ∣ < R ′ . By property (iii), ψ m = S ≪ [ − log ( 1 − D ^ ) ] o d d \psi_m = S \ll[-\log(1-\widehat{D})]_{\mathrm{odd}} ψ m = S ≪ [ − log ( 1 − D ) ] odd . Evaluating this odd part at R R R gives 1 2 { log [ 1 − D ^ ( − R ) ] − log [ 1 − D ^ ( R ) ] } = Ψ ( R ) \frac{1}{2}\{\log[1-\widehat{D}(-R)]-\log[1-\widehat{D}(R)]\} = \Psi(R) 2 1 { log [ 1 − D ( − R )] − log [ 1 − D ( R )]} = Ψ ( R ) . Thus Ψ \Psi Ψ provides a power-series bound for ψ m \psi_m ψ m . Because this bounding series has nonnegative coefficients and converges at R ′ R' R ′ , property (i) implies ∣ ψ m ( u ) ∣ ≤ Ψ ( ∣ u ∣ ) ≤ Ψ ( R ) |\psi_m(u)| \le\Psi(|u|) \le\Psi(R) ∣ ψ m ( u ) ∣ ≤ Ψ ( ∣ u ∣ ) ≤ Ψ ( R ) for ∣ u ∣ ≤ R |u| \le R ∣ u ∣ ≤ R . Finally, property (iv) gives the corresponding derivative bound ∣ ∂ u ψ m ( u ) ∣ ≤ Ψ ′ ( R ) |\partial_u\psi_m(u)| \le\Psi'(R) ∣ ∂ u ψ m ( u ) ∣ ≤ Ψ ′ ( R ) for ∣ u ∣ ≤ R |u| \le R ∣ u ∣ ≤ R .
Lemma 4 (Analytic extension of the corrections). Let B m ≤ 2 ν ≤ K / 4 B_m \le2^\nu\le K/4 B m ≤ 2 ν ≤ K /4 and ζ ∈ { 0 , 1 / 2 , 1 } \zeta\in\{0,1/2,1\} ζ ∈ { 0 , 1/2 , 1 } . For every b b b in a neighbourhood of b ν ( E 2 ) b_\nu(E_2) b ν ( E 2 ) , the map F b F_b F b has a unique fixed point t ζ ( b ) t_\zeta(b) t ζ ( b ) in the closed unit disk. It is holomorphic in b b b , satisfies ∣ t ζ ( b ) ∣ ≤ 1 / 2 |t_\zeta(b)| \le1/2 ∣ t ζ ( b ) ∣ ≤ 1/2 , and coincides with the displacement t ( b + ζ − ζ m ) t(b+\zeta-\zeta_m) t ( b + ζ − ζ m ) of Eq. (69) for real b b b . The function
ξ ζ ( b ) = [ 1 − ∂ t F b ( t ζ ( b ) ) ] − 1 / 2 (177) \xi_\zeta(b) = [1-\partial_tF_b(t_\zeta(b))]^{-1/2} \tag*{(177)} ξ ζ ( b ) = [ 1 − ∂ t F b ( t ζ ( b )) ] − 1/2 (177)
is holomorphic, positive for real b b b , bounded in modulus by 2 \sqrt{2} 2 , and equal to the weight correction ξ ( b + ζ − ζ m ) \xi(b+\zeta-\zeta_m) ξ ( b + ζ − ζ m ) of Eq. (71) for real b b b . Consequently, for 0 ≤ s ≤ r 0 \le s \le r 0 ≤ s ≤ r , the local targets
f s ( x ) = ξ ζ ( b ν ( x ) ) X ( t ζ ( b ν ( x ) ) T ) s (178) f_s(x) = \frac{\xi_\zeta(b_\nu(x))}{X}\left(\frac{t_\zeta(b_\nu(x))}{T}\right)^s \tag*{(178)} f s ( x ) = X ξ ζ ( b ν ( x )) ( T t ζ ( b ν ( x )) ) s (178)
are analytic on E 2 E_2 E 2 , bounded by one on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , and bounded on E 2 E_2 E 2 by
M = max { 1 , 2 X max { 1 , ( 2 T ) − r } } . (179) M = \max\left\{1,\frac{\sqrt{2}}{X}\max\{1,(2T)^{-r}\}\right\}. \tag*{(179)} M = max { 1 , X 2 max { 1 , ( 2 T ) − r } } . (179)
Proof. Cotangent bounds. The real semiaxis of E 2 E_2 E 2 is 5 / 4 5/4 5/4 , so Re b \operatorname{Re} b Re b lies between ( 7 ⋅ 2 ν + 1 ) / 8 (7\cdot2^\nu+1)/8 ( 7 ⋅ 2 ν + 1 ) /8 and ( 17 ⋅ 2 ν − 9 ) / 8 (17\cdot2^\nu-9)/8 ( 17 ⋅ 2 ν − 9 ) /8 on b ν ( E 2 ) b_\nu(E_2) b ν ( E 2 ) . For ∣ t ∣ ≤ 1 |t| \le1 ∣ t ∣ ≤ 1 , 0 ≤ ζ ≤ 1 0 \le\zeta\le1 0 ≤ ζ ≤ 1 , and K ≥ 2 ν + 2 K \ge2^{\nu+2} K ≥ 2 ν + 2 , the angle z = h [ π ( b + ζ ) + t ] z=h[\pi(b+\zeta)+t] z = h [ π ( b + ζ ) + t ] therefore satisfies
Re z ≥ h [ π ( 7 ⋅ 2 ν + 1 ) / 8 − 1 ] (180) \operatorname{Re} z \ge h[\pi(7\cdot2^\nu+1)/8-1] \tag*{(180)} Re z ≥ h [ π ( 7 ⋅ 2 ν + 1 ) /8 − 1 ] (180)
and
π − Re z ≥ h [ π ( 15 ⋅ 2 ν + 1 ) / 8 − 1 ] . (181) \pi-\operatorname{Re} z \ge h[\pi(15\cdot2^\nu+1)/8-1]. \tag*{(181)} π − Re z ≥ h [ π ( 15 ⋅ 2 ν + 1 ) /8 − 1 ] . (181)
Since the cotangent satisfies ∣ cot z ∣ ≤ max { 1 , ∣ cot Re z ∣ } |\cot z| \le\max\{1,|\cot\operatorname{Re} z|\} ∣ cot z ∣ ≤ max { 1 , ∣ cot Re z ∣ } for complex z z z and ∣ cot y ∣ ≤ 1 / min { y , π − y } |\cot y| \le1/\min\{y,\pi-y\} ∣ cot y ∣ ≤ 1/ min { y , π − y } for 0 < y < π 0 < y < \pi 0 < y < π , the bound h ≤ 2 − ν − 2 h \le2^{-\nu-2} h ≤ 2 − ν − 2 , which also implies h 2 < 0.48 R ν 2 h^2 < 0.48R_\nu^2 h 2 < 0.48 R ν 2 , yields
∣ u ∣ ≤ R ν : = 8 7 π 2 ν + π − 8 , ∣ ∂ t u ∣ = ∣ u 2 + h 2 ∣ ≤ 1.48 R ν 2 . (182) |u| \le R_\nu:= \frac{8}{7\pi2^\nu+\pi-8},
\qquad
|\partial_tu| = |u^2+h^2| \le1.48R_\nu^2. \tag*{(182)} ∣ u ∣ ≤ R ν := 7 π 2 ν + π − 8 8 , ∣ ∂ t u ∣ = ∣ u 2 + h 2 ∣ ≤ 1.48 R ν 2 . (182)
Contraction. Since 2 ν ≥ B m > Λ m 2^\nu\ge B_m > \Lambda_m 2 ν ≥ B m > Λ m and both 2 ν 2^\nu 2 ν and Λ m \Lambda_m Λ m are integers, we have Λ m ≤ 2 ν − 1 \Lambda_m \le2^\nu-1 Λ m ≤ 2 ν − 1 . It follows that
Λ m R ν ≤ 8 ( 2 ν − 1 ) ( 7 π 2 ν + π − 8 ) < 8 7 π < 0.364. (183) \Lambda_mR_\nu\le\frac{8(2^\nu-1)}{(7\pi2^\nu+\pi-8)} < \frac{8}{7\pi} < 0.364. \tag*{(183)} Λ m R ν ≤ ( 7 π 2 ν + π − 8 ) 8 ( 2 ν − 1 ) < 7 π 8 < 0.364. (183)
Also, since h ≤ h 0 = 2 − ν − 2 h \le h_0=2^{-\nu-2} h ≤ h 0 = 2 − ν − 2 , the quantity ϵ \epsilon ϵ in Lemma 3 satisfies ϵ ≤ ( q − 1 ) / ( 24 q ( q + 1 ) ) ≤ 1 / 144 \epsilon\le(q-1)/(24q(q+1)) \le1/144 ϵ ≤ ( q − 1 ) / ( 24 q ( q + 1 )) ≤ 1/144 , which implies γ ≤ 72 / 71 \gamma\le72/71 γ ≤ 72/71 .
The quantities D ^ ( R ν ) \widehat{D}(R_\nu) D ( R ν ) , Ψ ( R ν ) \Psi(R_\nu) Ψ ( R ν ) , and Ψ ′ ( R ν ) / Λ m \Psi'(R_\nu)/\Lambda_m Ψ ′ ( R ν ) / Λ m increase with both γ \gamma γ and Λ m R ν \Lambda_mR_\nu Λ m R ν . Evaluating them at the upper bounds γ = 72 / 71 \gamma=72/71 γ = 72/71 and Λ m R ν = 8 / ( 7 π ) \Lambda_mR_\nu=8/(7\pi) Λ m R ν = 8/ ( 7 π ) gives D ^ ( R ν ) < 0.46 \widehat{D}(R_\nu)<0.46 D ( R ν ) < 0.46 , Ψ ( R ν ) < 0.44 \Psi(R_\nu)<0.44 Ψ ( R ν ) < 0.44 , and Ψ ′ ( R ν ) < 1.66 Λ m \Psi'(R_\nu)<1.66\Lambda_m Ψ ′ ( R ν ) < 1.66 Λ m . Therefore, Lemma 3 and Eq. (182) imply that, for every ∣ t ∣ ≤ 1 |t| \le1 ∣ t ∣ ≤ 1 ,
∣ F b ( t ) ∣ < 0.44 , ∣ ∂ t F b ( t ) ∣ ≤ Ψ ′ ( R ν ) ∣ ∂ t u ∣ < 0.9 R ν . (184) |F_b(t)| < 0.44,
\qquad
|\partial_tF_b(t)| \le\Psi'(R_\nu)|\partial_tu| < 0.9R_\nu. \tag*{(184)} ∣ F b ( t ) ∣ < 0.44 , ∣ ∂ t F b ( t ) ∣ ≤ Ψ ′ ( R ν ) ∣ ∂ t u ∣ < 0.9 R ν . (184)
::: In particular, R ν ≤ R 1 < 0.21 R_\nu\le R_1 < 0.21 R ν ≤ R 1 < 0.21 makes the second bound smaller than 1 / 2 1/2 1/2 . Thus F b F_b F b maps the closed unit disk into the disk of radius 0.44 0.44 0.44 and is a contraction there. These strict bounds have enough margin to remain true in a small neighborhood of b ν ( E 2 ) b_\nu(E_2) b ν ( E 2 ) .
Starting from t ( 0 ) = 0 t^{(0)}=0 t ( 0 ) = 0 , define successive approximations by
t ( k + 1 ) = F b ( t ( k ) ) . (185) t^{(k+1)}=F_b(t^{(k)}). \tag*{(185)} t ( k + 1 ) = F b ( t ( k ) ) . (185)
Because F b F_b F b is a contraction, these iterates converge uniformly to one unique fixed point t ζ ( b ) t_\zeta(b) t ζ ( b ) . The iterates depend holomorphically on b b b , so their uniform limit does too. The fixed point also satisfies ∣ t ζ ( b ) ∣ < 0.44 \lvert t_\zeta(b)\rvert<0.44 ∣ t ζ ( b )∣ < 0.44 . For real b b b , the iterates are real, so the limit is real and lies on the branch of the phase function specified in Lemma 1. It solves Eq. (68) at the grid label b + ζ − ζ m b+\zeta-\zeta_m b + ζ − ζ m ; this solution is unique because the left-hand side of Eq. (68) is strictly increasing.
Weight. By differentiating Eq. (66) , with ∂ θ u = − K ( u 2 + h 2 ) \partial_\theta u=-K(u^2+h^2) ∂ θ u = − K ( u 2 + h 2 ) , we obtain Φ K ( m ) ′ / K = 1 − ( u 2 + h 2 ) ∂ u ψ m \Phi_K^{(m)\prime}/K=1-(u^2+h^2)\partial_u\psi_m Φ K ( m ) ′ / K = 1 − ( u 2 + h 2 ) ∂ u ψ m , which equals 1 − ∂ t F b ( t ) 1-\partial_tF_b(t) 1 − ∂ t F b ( t ) at the fixed point. By Eq. (184) , this lies in the disk of radius 1 / 2 1/2 1/2 around one, so its inverse square root has a holomorphic branch that is positive for real b b b and bounded in modulus by 2 \sqrt{2} 2 . For real b b b , Eq. (71) identifies it with the weight correction ξ ( b + ζ − ζ m ) \xi(b+\zeta-\zeta_m) ξ ( b + ζ − ζ m ) .
Targets. On the ellipse E 2 E_2 E 2 , the bounds ∣ t ∣ ≤ 1 / 2 \lvert t\rvert\le1/2 ∣ t ∣ ≤ 1/2 and ∣ ξ ∣ ≤ 2 \lvert\xi\rvert\le\sqrt{2} ∣ ξ ∣ ≤ 2 imply ∣ f s ∣ ≤ ( 2 / X ) ( 2 T ) − s ≤ M \lvert f_s\rvert\le(\sqrt{2}/X)(2T)^{-s}\le M ∣ f s ∣ ≤ ( 2 / X ) ( 2 T ) − s ≤ M for every s ≤ r s\le r s ≤ r . Specifically, for x ∈ [ − 1 , 1 ] x\in[-1,1] x ∈ [ − 1 , 1 ] , the continuous label b ν ( x ) + ζ − ζ m b_\nu(x)+\zeta-\zeta_m b ν ( x ) + ζ − ζ m lies between two paired grid labels. Since θ ( ℓ ) \theta(\ell) θ ( ℓ ) increases with ℓ \ell ℓ , the corresponding angles lie in [ θ 0 , π − θ 0 ] [\theta_0,\pi-\theta_0] [ θ 0 , π − θ 0 ] . Lemma 2 then gives ∣ t ∣ ≤ τ ≤ T \lvert t\rvert\le\tau\le T ∣ t ∣ ≤ τ ≤ T and ξ ≤ ξ 0 ≤ X \xi\le\xi_0\le X ξ ≤ ξ 0 ≤ X , hence ∣ f s ( x ) ∣ ≤ 1 \lvert f_s(x)\rvert\le1 ∣ f s ( x )∣ ≤ 1 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] .
Approximation degree. The degree bound follows from the bounded approximation of Section III.B. Because the target functions are analytic on the Bernstein ellipse E 2 E_2 E 2 and bounded there by M M M , Chebyshev interpolation with degree d Γ d_\Gamma d Γ approximates them on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] with uniform error at most 4 M 2 − d 4M2^{-d} 4 M 2 − d . Choosing the degree d Γ d_\Gamma d Γ as in Eq. (75) makes this error at most η Γ / 4 \eta_\Gamma/4 η Γ /4 . Allowing a further error of η Γ / 4 \eta_\Gamma/4 η Γ /4 in computing the Chebyshev coefficients, then rescaling the resulting polynomial by 1 + η Γ / 2 1+\eta_\Gamma/2 1 + η Γ /2 , gives a real polynomial P P P such that
∥ P ∥ [ − 1 , 1 ] ≤ 1 and ∥ P − f s ∥ [ − 1 , 1 ] ≤ η Γ . (186) \lVert P\rVert_{[-1,1]}\le1\quad\text{and}\quad\lVert P-f_s\rVert_{[-1,1]}\le\eta_\Gamma. \tag*{(186)} ∥ P ∥ [ − 1 , 1 ] ≤ 1 and ∥ P − f s ∥ [ − 1 , 1 ] ≤ η Γ . (186)
These bounds hold uniformly over the interval, reflection sector, order s ≤ r s\le r s ≤ r , and dimension K K K . Since X ≥ 1 X\ge1 X ≥ 1 and Lemma 2 shows that T T T is bounded away from zero, log M = O m ( r + 1 ) \log M=O_m(r+1) log M = O m ( r + 1 ) . Consequently, the required degree satisfies
d Γ = O m ( r + log 1 η Γ ) . (187) d_\Gamma=O_m\left(r+\log\frac{1}{\eta_\Gamma}\right). \tag*{(187)} d Γ = O m ( r + log η Γ 1 ) . (187)
The proof uses the cutoff only through the condition 2 ν > Λ m 2^\nu>\Lambda_m 2 ν > Λ m . Thus, we choose B m B_m B m to be the smallest power of two greater than Λ m \Lambda_m Λ m , namely B m = 2 ⌈ log 2 Λ m ⌉ + 1 B_m=2^{\lceil\log_2\Lambda_m\rceil+1} B m = 2 ⌈ l o g 2 Λ m ⌉ + 1 , as stated in Section IV.C. In practice, the interpolation error decreases much faster than the guaranteed rate 2 − d 2^{-d} 2 − d , and it is independent of K K K , as shown in Figure 12 .
Figure 12. Chebyshev interpolation error of the input-correction targets f s f_s f s in Eq. (178) , maximized over all dyadic intervals with B m ≤ 2 ν ≤ K / 4 B_m \le2^\nu\le K/4 B m ≤ 2 ν ≤ K /4 , reflection sectors, and orders s ≤ 8 s \le8 s ≤ 8 . The gray dashed line indicates the rate 2 − d 2^{-d} 2 − d guaranteed by Lemma 4.
Tighter bound for m = 2 m=2 m = 2 . Lemma 4 uses the bounds ∣ t ∣ ≤ 1 / 2 \lvert t\rvert\le1/2 ∣ t ∣ ≤ 1/2 and ∣ ξ ∣ ≤ 2 \lvert\xi\rvert\le\sqrt{2} ∣ ξ ∣ ≤ 2 on E 2 E_2 E 2 for every m m m . For m = 2 m=2 m = 2 these bounds are loose. In this case, z 2 ≈ 4.4934 z_2\approx4.4934 z 2 ≈ 4.4934 is the first positive zero of J 3 / 2 J_{3/2} J 3/2 , that is, the smallest positive solution of tan z 2 = z 2 \tan z_2=z_2 tan z 2 = z 2 . Also, Eq. (60) reads T = 3 π / 2 − K z 2 / K 2 − 2 / 3 T=3\pi/2-Kz_2/\sqrt{K^2-2/3} T = 3 π /2 − K z 2 / K 2 − 2/3 . By Lemma 2, T T T increases with K K K toward 3 π / 2 − z 2 ≈ 0.219 3\pi/2-z_2\approx0.219 3 π /2 − z 2 ≈ 0.219 , which is the value listed in Table III. Since T < 0.22 < 1 / 2 T<0.22<1/2 T < 0.22 < 1/2 for every K K K , the factor ( t / T ) s (t/T)^s ( t / T ) s may reach ( 2 T ) − s > 2.28 s (2T)^{-s}>2.28^s ( 2 T ) − s > 2.2 8 s on the ellipse, and thus the constant M M M of Eq. (179) grows exponentially with r r r . At m = 2 m=2 m = 2 , however, P 1 ( u ; h ) = i − u P_1(u;h)=i-u P 1 ( u ; h ) = i − u , so the phase correction is a single complex factor, ψ 2 ( u ; h ) = arctan u \psi_2(u;h)=\arctan u ψ 2 ( u ; h ) = arctan u . The displacement t = − arctan u t=-\arctan u t = − arctan u is small wherever the scaled cotangent u = h cot z u=h\cot z u = h cot z is small, that is, wherever the angle z z z stays away from the endpoints 0 0 0 and π \pi π . On every interval with 2 < 2 ν < K / 4 2<2^\nu<K/4 2 < 2 ν < K /4 , the region b ν ( E 2 ) b_\nu(E_2) b ν ( E 2 ) has Re b > 7 / 4 \operatorname{Re}b>7/4 Re b > 7/4 , and since ∣ t ∣ ≤ 1 / 2 \lvert t\rvert\le1/2 ∣ t ∣ ≤ 1/2 there by Lemma 4, the angle z z z keeps a distance of at least ( 2 π − 1 / 2 ) / K (2\pi-1/2)/K ( 2 π − 1/2 ) / K from both endpoints. Hence ∣ u ∣ ≤ max { 1 / 8 , 1 / ( 2 π − 1 / 2 ) } < 0.173 \lvert u\rvert\le\max\{1/8,1/(2\pi-1/2)\}<0.173 ∣ u ∣ ≤ max { 1/8 , 1/ ( 2 π − 1/2 )} < 0.173 . The power series for the complex inverse tangent gives
∣ t ∣ = ∣ arctan u ∣ ≤ arctanh ∣ u ∣ < 0.175. (188) \lvert t\rvert=\lvert\arctan u\rvert\le\operatorname{arctanh}\lvert u\rvert<0.175. \tag*{(188)} ∣ t ∣ = ∣ arctan u ∣ ≤ arctanh ∣ u ∣ < 0.175. (188)
For m = 2 m=2 m = 2 , the weight correction is ξ = sec t / 1 − K − 2 \xi=\sec t/\sqrt{1-K^{-2}} ξ = sec t / 1 − K − 2 . Therefore,
∣ ξ ∣ ≤ sec 0.175 1 − K − 2 . (189) \lvert\xi\rvert\le\frac{\sec0.175}{\sqrt{1-K^{-2}}}. \tag*{(189)} ∣ ξ ∣ ≤ 1 − K − 2 sec 0.175 . (189)
These two bounds control both factors of the target f s = ( ξ / X ) ( t / T ) s f_s=(\xi/X)(t/T)^s f s = ( ξ / X ) ( t / T ) s of Eq. (178) on E 2 E_2 E 2 . We take K ≥ 8 K\ge8 K ≥ 8 , since the dyadic intervals with 2 ≤ 2 ν ≤ K / 4 2\le2^\nu\le K/4 2 ≤ 2 ν ≤ K /4 exist only then. Since T ≥ 0.195 T\ge0.195 T ≥ 0.195 for K ≥ 8 K\ge8 K ≥ 8 by the values above, we have ∣ t / T ∣ < 0.175 / 0.195 < 0.9 \lvert t/T\rvert<0.175/0.195<0.9 ∣ t / T ∣ < 0.175/0.195 < 0.9 and therefore ∣ t / T ∣ ≤ 1 \lvert t/T\rvert\le1 ∣ t / T ∣ ≤ 1 for every s ≥ 0 s\ge0 s ≥ 0 . For the prefactor, we use Eq. (61) at m = 2 m=2 m = 2 , which reads X 2 = 1 + [ ( K 2 − 1 ) sin 2 ϑ 2 , K ] − 1 X^2=1+[(K^2-1)\sin^2\vartheta_{2,K}]^{-1} X 2 = 1 + [( K 2 − 1 ) sin 2 ϑ 2 , K ] − 1 , and the fact that X 1 − K − 2 X\sqrt{1-K^{-2}} X 1 − K − 2 increases with K K K from 1.0193 1.0193 1.0193 at K = 8 K=8 K = 8 toward 1 + z 2 − 2 ≈ 1.0245 \sqrt{1+z_2^{-2}}\approx1.0245 1 + z 2 − 2 ≈ 1.0245 . Hence ∣ ξ ∣ / X ≤ sec 0.175 / ( X 1 − K − 2 ) < 1.0156 / 1.019 < 1 \lvert\xi\rvert/X\le\sec0.175/(X\sqrt{1-K^{-2}})<1.0156/1.019<1 ∣ ξ ∣ / X ≤ sec 0.175/ ( X 1 − K − 2 ) < 1.0156/1.019 < 1 . Together, ∣ f s ∣ < 1 \lvert f_s\rvert<1 ∣ f s ∣ < 1 on E 2 E_2 E 2 for every order s s s , every interval, and every K ≥ 8 K\ge8 K ≥ 8 . The degree in Eq. (75) uses M M M only as a bound on the targets over E 2 E_2 E 2 , through the Chebyshev error bound 4 M 2 − d 4M2^{-d} 4 M 2 − d , so for m = 2 m=2 m = 2 we may take M = 1 M=1 M = 1 in place of Eq. (179) . The degree then becomes d Γ = ⌈ log 2 ( 16 / η Γ ) ⌉ d_\Gamma=\lceil\log_2(16/\eta_\Gamma)\rceil d Γ = ⌈ log 2 ( 16/ η Γ )⌉ , which no longer depends on the Taylor order r r r . For example, for η Γ = 10 − 7 \eta_\Gamma=10^{-7} η Γ = 1 0 − 7 and r = 6 r=6 r = 6 , Eq. (179) gives M ≈ 2 × 10 2 M\approx2\times10^2 M ≈ 2 × 1 0 2 for every K ≥ 32 K\ge32 K ≥ 32 and hence d Γ = 35 d_\Gamma=35 d Γ = 35 (and 36 for K = 8 , 16 K=8,16 K = 8 , 16 ), whereas M = 1 M=1 M = 1 yields a lower degree of d Γ = ⌈ log 2 ( 1.6 × 10 8 ) ⌉ = 28 d_\Gamma=\lceil\log_2(1.6\times10^8)\rceil=28 d Γ = ⌈ log 2 ( 1.6 × 1 0 8 )⌉ = 28 .
Registers and label folding. The input circuit U i n U_{\mathrm{in}} U in acts on the system register, which holds the paired grid label ℓ \ell ℓ , on the order register, and on a small workspace: the O ( log n ) O(\log n) O ( log n ) selector qubits of the dyadic signal B ν B_\nu B ν in Eq. (31) , the two selector qubits of Eq. (28) , which extract the real part and average the even and odd parts, an interval predicate, and a flag. The circuit first folds the label: controlled on its highest bit ρ \rho ρ , it complements the lower n − 1 n-1 n − 1 bits, which then hold the folded label b b b . After the corrections described next, the phase ( − 1 ) ρ s (-1)^{\rho s} ( − 1 ) ρ s restores the sign of the displacement on the reflected half, and the fold is undone.
Piecewise implementation. The corrections are applied region by region. On each dyadic interval with B m ≤ 2 ν ≤ K / 4 B_m \le2^\nu\le K/4 B m ≤ 2 ν ≤ K /4 , the predicate marks b ∈ I ν b \in I_\nu b ∈ I ν , the QET sequence of Section III.B applies the bounded polynomial approximation of Appendix B.3 to the signal B ν B_\nu B ν on the low ν \nu ν bits, with phase angles selected by the order s s s , the even or odd part of the polynomial, and, for odd m m m , the bit ρ \rho ρ , and the predicate is then uncomputed. The even- and odd-part sequences share their signal calls, with one additional call controlled by the selector qubit of the even or odd part, so that each part is applied by a sequence of its own parity with at most d Γ + 1 d_\Gamma+1 d Γ + 1 calls. Only the select stage of the signal needs this control, because the preparation of its LCU selector and the inverse preparation cancel when the select stage is skipped. The remaining folded labels b < B m b < B_m b < B m receive one fixed rotation of the flag qubit, whose angle is selected by ( b , s , ρ ) (b,s,\rho) ( b , s , ρ ) and whose selected amplitude is g s , m , K ( b ) / 2 g_{s,m,K}(b)/2 g s , m , K ( b ) /2 for even m m m and g s , m , K ( b + ρ ) / 2 g_{s,m,K}(b+\rho)/2 g s , m , K ( b + ρ ) /2 for odd $m on paired grid labels and zero on all other labels. This region contains every label outside the paired grid, because such labels fold to b < ⌈ m / 2 ⌉ ≤ Λ m < B m b < \lceil m/2\rceil\le\Lambda_m < B_m b < ⌈ m /2 ⌉ ≤ Λ m < B m , and if K < 4 B m K < 4B_m K < 4 B m , it contains all folded labels. As in Section III.B, these pieces act on disjoint sets of folded labels and preserve the label and order registers, so the encoded block is a direct sum whose error is the largest error among the pieces. This implements the block encoding in Eq. (77) with approximation error ∥ Γ ^ s − Γ s ∥ 2 ≤ η Γ \lVert\widehat{\Gamma}_{s}-\Gamma_{s}\rVert_2 \le\eta_\Gamma ∥ Γ s − Γ s ∥ 2 ≤ η Γ . The Hadamard gates on the two selector qubits of Eq. (28) surround the whole sequence, so all regions share them as well as the signal selector, the predicate, and the flag.
Gate count. To count gates, we use decompositions whose cost is linear in the number of controls and that borrow a constant number of qubits [56 ] . Preparing the selector of B ν B_\nu B ν costs O ( n ) O(n) O ( n ) gates and each of its selected Pauli operators costs O ( log n ) O(\log n) O ( log n ) , so a signal call costs O ( n log n ) O(n\log n) O ( n log n ) . Each phase step is a uniformly controlled rotation over the O ( r + 1 ) O(r+1) O ( r + 1 ) combinations of the polynomial part, and ρ \rho ρ , which costs O ( r + 1 ) O(r+1) O ( r + 1 ) gates [38 ] . Setting and clearing the predicate costs O ( n ) O(n) O ( n ) . A degree-d Γ d_\Gamma d Γ sequence therefore costs O ( d Γ [ n log n + r + 1 ] + n ) O(d_\Gamma[n\log n+r+1]+n) O ( d Γ [ n log n + r + 1 ] + n ) gates per interval. By summing over the O ( n ) O(n) O ( n ) intervals and adding O ( B m ( r + 1 ) + n ) O(B_m(r+1)+n) O ( B m ( r + 1 ) + n ) for the endpoint rotation, we obtain
C Γ = O m ( ( d Γ + 1 ) [ n 2 log n + n ( r + 1 ) ] ) , (190) C_\Gamma= O_m\left((d_\Gamma+1)[n^2\log n+n(r+1)]\right), \tag*{(190)} C Γ = O m ( ( d Γ + 1 ) [ n 2 log n + n ( r + 1 )] ) , (190)
which is shown in the first line of Eq. (125) . A piecewise-QSVT circuit with one signal shared by all intervals [57 ] would remove the n 2 log n n^2\log n n 2 log n signal cost at the price of O ( n ) O(n) O ( n ) further qubits. However, we do not use it in this work.
Classical precomputation. All angles, polynomial coefficients, and QET phases are computed classically before execution. On each dyadic interval, we construct the Chebyshev interpolant from its d Γ + 1 d_\Gamma+1 d Γ + 1 target points. At each point, we determine the scaled displacement using the fixed-point iteration in Eq. (184) , starting from t = 0 t=0 t = 0 . The error decreases by at least a factor of two per iteration. Then Eq. (177) gives the corresponding weight correction ξ ( b ) \xi(b) ξ ( b ) .
Endpoint labels. At each paired grid label ℓ \ell ℓ whose folded label satisfies b < B m b < B_m b < B m , we write the angle as θ = [ π ( ℓ + ζ m ) + t ] / K \theta=[\pi(\ell+\zeta_m)+t]/K θ = [ π ( ℓ + ζ m ) + t ] / K , following Eq. (69) , and solve Eq. (68) for t t t directly. As a function of t t t , the left-hand side of Eq. (68) differs from the phase Φ K ( m ) ( θ ) \Phi_K^{(m)}(\theta) Φ K ( m ) ( θ ) of Eq. (66) only by a constant. Its derivative is therefore Φ K ( m ) ′ ( θ ) / K = 1 / F m , K ( θ ) \Phi_K^{(m)\prime}(\theta)/K=1/F_{m,K}(\theta) Φ K ( m ) ′ ( θ ) / K = 1/ F m , K ( θ ) , which is positive because F m , K F_{m,K} F m , K is a sum of positive terms (Eq. (165) ). The function has exactly one root, at which t = − ψ m t=-\psi_m t = − ψ m . Since ψ m \psi_m ψ m is a sum of m − 1 m-1 m − 1 arctangents, each of modulus below π / 2 \pi/2 π /2 , the root lies in ∣ t ∣ < ( m − 1 ) π / 2 |t|<(m-1)\pi/2 ∣ t ∣ < ( m − 1 ) π /2 .
Starting from this interval, we apply the bisection method that halves the search interval at each step. Thus, obtaining p p p precision bits of t t t requires p + O ( log m ) = O m ( p ) p+O(\log m)=O_m(p) p + O ( log m ) = O m ( p ) steps. We evaluate the fixed-degree polynomial P m − 1 P_{m-1} P m − 1 once for each step. All roots lie at angles in [ π / K , π − π / K ] [\pi/K,\pi-\pi/K] [ π / K , π − π / K ] , because θ 0 ≥ ν m , K > π / K \theta_0\ge\nu_{m,K}>\pi/K θ 0 ≥ ν m , K > π / K and the nodes are symmetric about π / 2 \pi/2 π /2 . Every term of Eq. (165) decreases as sin θ \sin\theta sin θ grows, so on this range the derivative is at least 1 / F m , K ( π / K ) 1/F_{m,K}(\pi/K) 1/ F m , K ( π / K ) . By Eqs. (165) and (166) ,
F m , K ( π K ) = ∑ q = 0 m − 1 c m , q sin 2 q ( π / K ) ∏ a = 1 q ( K 2 − a 2 ) , (191) F_{m,K}\left(\frac{\pi}{K}\right)=\sum_{q=0}^{m-1}\frac{c_{m,q}}{\sin^{2q}(\pi/K)\prod_{a=1}^{q}(K^2-a^2)}, \tag*{(191)} F m , K ( K π ) = q = 0 ∑ m − 1 sin 2 q ( π / K ) ∏ a = 1 q ( K 2 − a 2 ) c m , q , (191)
where c m , q = ( m − 1 + q ) ! ( m − 1 − q ) ! ( 2 q q ) 4 − q c_{m,q}=\frac{(m-1+q)!}{(m-1-q)!}\binom{2q}{q}4^{-q} c m , q = ( m − 1 − q )! ( m − 1 + q )! ( q 2 q ) 4 − q . For K ≥ m + 1 K\ge m+1 K ≥ m + 1 and a ≤ q ≤ m − 1 a\le q\le m-1 a ≤ q ≤ m − 1 , we have K 2 − a 2 ≥ K 2 − ( m − 1 ) 2 ≥ 4 m K 2 / ( m + 1 ) 2 K^2-a^2\ge K^2-(m-1)^2\ge4mK^2/(m+1)^2 K 2 − a 2 ≥ K 2 − ( m − 1 ) 2 ≥ 4 m K 2 / ( m + 1 ) 2 . Moreover, using Jordan’s inequality sin x ≥ 2 x / π \sin x \ge2x/\pi sin x ≥ 2 x / π for x ∈ [ 0 , π / 2 ] x \in[0,\pi/2] x ∈ [ 0 , π /2 ] , we obtain sin ( π / K ) ≥ 2 / K \sin(\pi/K) \ge2/K sin ( π / K ) ≥ 2/ K . Each denominator is therefore at least [ 16 m / ( m + 1 ) 2 ] q [16m/(m+1)^2]^q [ 16 m / ( m + 1 ) 2 ] q , so that
F m , K ( π K ) ≤ ∑ q = 0 m − 1 c m , q [ ( m + 1 ) 2 16 m ] q = : C F , m , (192) F_{m,K}\left(\frac{\pi}{K}\right) \le\sum_{q=0}^{m-1} c_{m,q}\left[\frac{(m+1)^2}{16m}\right]^q =: C_{F,m}, \tag*{(192)} F m , K ( K π ) ≤ q = 0 ∑ m − 1 c m , q [ 16 m ( m + 1 ) 2 ] q =: C F , m , (192)
which is independent of K K K . The derivative of the left-hand side of Eq. (68) is thus at least 1 / C F , m 1/C_{F,m} 1/ C F , m on [ π / K , π − π / K ] [\pi/K,\pi-\pi/K] [ π / K , π − π / K ] . An error in evaluating this left-hand side therefore enlarges the error of the root by at most the factor C F , m C_{F,m} C F , m . At a node label ℓ j \ell_j ℓ j , the root is the scaled displacement t j = K δ j t_j=K\delta_j t j = K δ j , and the weight factor follows as ξ j = F m , K ( θ j ) 1 / 2 \xi_j=F_{m,K}(\theta_j)^{1/2} ξ j = F m , K ( θ j ) 1/2 .
Precision and classical cost. In both cases, the target values of the interpolants and the fixed rotations obey bounds that do not depend on K K K . Computing every coefficient and angle to O m ( n + log [ ( r + 1 ) ( d Γ + 1 ) / η Γ ] ) O_m(n+\log[(r+1)(d_\Gamma+1)/\eta_\Gamma]) O m ( n + log [( r + 1 ) ( d Γ + 1 ) / η Γ ]) bits of precision therefore keeps the total coefficient error below η Γ / 4 \eta_\Gamma/4 η Γ /4 . Here, the O ( n ) O(n) O ( n ) bits resolve angles of order 1 / K = 2 − n 1/K=2^{-n} 1/ K = 2 − n , while the logarithmic term accounts for summing rounding errors over the ( r + 1 ) ( d Γ + 1 ) (r+1)(d_\Gamma+1) ( r + 1 ) ( d Γ + 1 ) polynomial coefficients. For each of the r + 1 r+1 r + 1 Taylor orders, we need d Γ + 1 d_\Gamma+1 d Γ + 1 coefficients on each of the O ( n ) O(n) O ( n ) dyadic intervals and one angle for each of the B m B_m B m endpoint labels. This total of O ( ( r + 1 ) ( n d Γ + B m ) ) O((r+1)(nd_\Gamma+B_m)) O (( r + 1 ) ( n d Γ + B m )) numbers takes time polynomial in n n n , r r r , and log ( 1 / η Γ ) \log(1/\eta_\Gamma) log ( 1/ η Γ ) to compute. The QET phase sequences can be computed with the methods of [36 , 37 ] .
Fourier block and frequency powers
This appendix constructs the pairing unitaries B i n ( s ) B_{\mathrm{in}}(s) B in ( s ) and B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) , verifies that U E ( s ) U_E(s) U E ( s ) in Eq. (89) encodes E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s , and shows that the shared frequency sequence reproduces every Taylor order. The pairing circuits act on the n + 1 n+1 n + 1 qubits b r ⊗ s y s \mathrm{br}\otimes\mathrm{sys} br ⊗ sys , with the branch qubit as the most significant bit of the joint label.
Pairing circuits and sampled derivatives
The input pairing B i n ( s ) B_{\mathrm{in}}(s) B in ( s ) applies a Hadamard gate and the phase Z σ s Z^{\sigma_s} Z σ s to the branch qubit and then, controlled on b r = 1 \mathrm{br}=1 br = 1 , maps the system label ℓ \ell ℓ to ref m ( ℓ ) − K \operatorname{ref}_m(\ell)-K ref m ( ℓ ) − K , which is the bitwise complement K − 1 − ℓ K-1-\ell K − 1 − ℓ for even m m m and the negation K − ℓ K-\ell K − ℓ modulo K K K for odd m m m . Since the paired labels satisfy ℓ j ≥ 1 \ell_j\ge1 ℓ j ≥ 1 for odd m m m , this prepares the state of Eq. (80) ,
∣ ψ ℓ ⟩ = ∣ ℓ ⟩ + ( − 1 ) σ s ∣ ref m ( ℓ ) ⟩ 2 . (193) |\psi_\ell\rangle=\frac{|\ell\rangle+(-1)^{\sigma_s}|\operatorname{ref}_m(\ell)\rangle}{\sqrt{2}}. \tag*{(193)} ∣ ψ ℓ ⟩ = 2 ∣ ℓ ⟩ + ( − 1 ) σ s ∣ ref m ( ℓ )⟩ . (193)
The output pairing B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) reverses the frequency pairing in four steps. Controlled on b r = 1 \mathrm{br}=1 br = 1 , it first negates the system label modulo K K K , which maps the joint label 2 K − p 2K-p 2 K − p to ∣ 1 ⟩ b r ∣ p ⟩ s y s |1\rangle_{\mathrm{br}}|p\rangle_{\mathrm{sys}} ∣1 ⟩ br ∣ p ⟩ sys and leaves the label K K K , which is paired with itself, at ∣ 1 ⟩ b r ∣ 0 ⟩ s y s |1\rangle_{\mathrm{br}}|0\rangle_{\mathrm{sys}} ∣1 ⟩ br ∣0 ⟩ sys . The diagonal phase diag ( e i ϕ m , p , e − i ϕ m , p ) \operatorname{diag}(e^{i\phi_{m,p}},e^{-i\phi_{m,p}}) diag ( e i ϕ m , p , e − i ϕ m , p ) on the branch qubit, controlled by the frequency label, then removes the half-grid phases. Since ϕ m , p \phi_{m,p} ϕ m , p is linear in p p p , this phase operator is a product of n n n singly controlled rotations. For p ≠ 0 p\ne0 p = 0 , a Hadamard gate followed by X σ s X^{\sigma_s} X σ s on the branch qubit maps the frequency pair of Eq. (84) to i σ s ∣ 0 ⟩ b r ∣ p ⟩ s y s i^{\sigma_s}|0\rangle_{\mathrm{br}}|p\rangle_{\mathrm{sys}} i σ s ∣0 ⟩ br ∣ p ⟩ sys and the orthogonal pair to the branch state ∣ 1 ⟩ b r |1\rangle_{\mathrm{br}} ∣1 ⟩ br , while the labels with p = 0 p=0 p = 0 are left unchanged. Finally, the order-dependent phase ( − i ) s χ m , s (-i)^{s}\chi_{m,s} ( − i ) s χ m , s completes Eq. (84) . Both pairings use O ( n ) O(n) O ( n ) gates.
For 1 ≤ p < K 1\le p<K 1 ≤ p < K , define the frequency-pair state
∣ Y s , p ⟩ : = i σ s 2 ( e − i ϕ m , p ∣ p ⟩ + ( − 1 ) σ s e i ϕ m , p ∣ 2 K − p ⟩ ) . (194) |Y_{s,p}\rangle:=\frac{i^{\sigma_s}}{\sqrt{2}}\left(e^{-i\phi_{m,p}}|p\rangle+(-1)^{\sigma_s}e^{i\phi_{m,p}}|2K-p\rangle\right). \tag*{(194)} ∣ Y s , p ⟩ := 2 i σ s ( e − i ϕ m , p ∣ p ⟩ + ( − 1 ) σ s e i ϕ m , p ∣2 K − p ⟩ ) . (194)
where ϕ m , p = π p / ( 2 K ) \phi_{m,p}=\pi p/(2K) ϕ m , p = π p / ( 2 K ) for even m m m and ϕ m , p = 0 \phi_{m,p}=0 ϕ m , p = 0 for odd m m m . This is the frequency-pair state selected by B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) in Eq. (84) . The QFT in Eq. (81) then produces the real sampling amplitudes
⟨ Y s , p ∣ F ∣ ψ ℓ ⟩ = 2 K { cos ( p θ ~ ℓ ) , σ s = 0 , sin ( p θ ~ ℓ ) , σ s = 1. (195) \langle Y_{s,p}|\mathcal{F}|\psi_\ell\rangle=\sqrt{\frac{2}{K}}
\begin{cases}
\cos(p\tilde{\theta}_\ell), & \sigma_s=0,\\
\sin(p\tilde{\theta}_\ell), & \sigma_s=1.
\end{cases} \tag*{(195)} ⟨ Y s , p ∣ F ∣ ψ ℓ ⟩ = K 2 { cos ( p θ ~ ℓ ) , sin ( p θ ~ ℓ ) , σ s = 0 , σ s = 1. (195)
For odd m m m , this follows directly from ref m ( ℓ ) = 2 K − ℓ \operatorname{ref}_m(\ell)=2K-\ell ref m ( ℓ ) = 2 K − ℓ . For even m m m , the reflection ref m ( ℓ ) = 2 K − 1 − ℓ \operatorname{ref}_m(\ell)=2K-1-\ell ref m ( ℓ ) = 2 K − 1 − ℓ provides opposite phases to the Fourier amplitudes at p p p and 2 K − p 2K-p 2 K − p . The phase factors in ∣ Y s , p ⟩ |Y_{s,p}\rangle ∣ Y s , p ⟩ cancel those phases, producing either cosine or sine modes. Differentiating the basis functions in Eqs. (39) and (41) s s s times multiplies each frequency-p p p mode by p s p^s p s , switches between cosine and sine according to σ s \sigma_s σ s , and contributes the sign χ m , s \chi_{m,s} χ m , s from Eq. (83) . Thus, B o u t ( s ) B_{\mathrm{out}}(s) B out ( s ) selects each frequency pair with the correct phase and sign, while R p ( s ) R_p(s) R p ( s ) supplies the factor [ p / ( K − 1 ) ] s [p/(K-1)]^s [ p / ( K − 1 ) ] s . Consequently, their composition U E ( s ) = R p ( s ) B o u t ( s ) F B i n ( s ) U_E(s)=R_p(s)B_{\mathrm{out}}(s)\mathcal{F}B_{\mathrm{in}}(s) U E ( s ) = R p ( s ) B out ( s ) F B in ( s ) implements the block E s / ( K − 1 ) s E_s/(K-1)^s E s / ( K − 1 ) s on rows 1 ≤ p < K 1\le p<K 1 ≤ p < K .
The endpoint labels p = 0 p=0 p = 0 and p = K p=K p = K behave as follows. At p = 0 p=0 p = 0 , the contribution vanishes for every s ≥ 1 s\ge1 s ≥ 1 because the frequency factor [ p / ( K − 1 ) ] s [p/(K-1)]^s [ p / ( K − 1 ) ] s is zero. For even m m m and s = 0 s=0 s = 0 , the constant-mode amplitude is ( π / K ) 1 / 2 e 0 = K − 1 / 2 (\pi/K)^{1/2}e_0=K^{-1/2} ( π / K ) 1/2 e 0 = K − 1/2 , matching the QFT output ⟨ 0 ∣ F ∣ ψ ℓ ⟩ \langle0|\mathcal{F}|\psi_\ell\rangle ⟨ 0∣ F ∣ ψ ℓ ⟩ . At p = K p=K p = K , the amplitude remains in the branch state ∣ 1 ⟩ b r |1\rangle_{\mathrm{br}} ∣1 ⟩ br , so it is excluded from the selected output block.
Shared frequency sequence
For each Taylor order s s s , the circuit uses quantum eigenvalue transformation (QET) to apply the polynomial x s x^s x s to the frequency signal U = U f r e q U=U_{\mathrm{freq}} U = U freq . For s ≥ 1 s\ge1 s ≥ 1 , this uses a sequence of s s s signal calls and s + 1 s+1 s + 1 rotations with a phase list ( ϕ 0 ( s ) , … , ϕ s ( s ) ) (\phi^{(s)}_0,\ldots,\phi^{(s)}_s) ( ϕ 0 ( s ) , … , ϕ s ( s ) ) :
V s = D ( ϕ 0 ( s ) ) U D ( ϕ 1 ( s ) ) ⋯ U D ( ϕ s − 1 ( s ) ) U D ( ϕ s ( s ) ) , (196) V_s=D(\phi^{(s)}_0)UD(\phi^{(s)}_1)\cdots UD(\phi^{(s)}_{s-1})UD(\phi^{(s)}_s), \tag*{(196)} V s = D ( ϕ 0 ( s ) ) U D ( ϕ 1 ( s ) ) ⋯ U D ( ϕ s − 1 ( s ) ) U D ( ϕ s ( s ) ) , (196)
where D ( ϕ ) = e i ϕ ( 2 Π − I ) D(\phi)=e^{i\phi(2\Pi-I)} D ( ϕ ) = e i ϕ ( 2Π − I ) and Π \Pi Π is the projector onto the zero state of the frequency selector. For s = 0 s=0 s = 0 , V 0 = I V_0=I V 0 = I . To use the same signal calls for every Taylor order, we pad each phase list with zeros so that all lists have length r + 1 r+1 r + 1 . For s = 0 s=0 s = 0 , every phase is zero. The shared circuit has the same alternating pattern of phase rotations and calls to U U U as V r V_r V r , with the order register selecting the padded phase appropriate to each value of s s s .
The circuit contains r r r calls to U U U . The first call to act on the state is controlled by the least significant bit of the order register and is applied only when s ≡ r ( m o d 2 ) s \equiv r \pmod{2} s ≡ r ( mod 2 ) ; the remaining r − 1 r-1 r − 1 calls are unconditional. When s = r s=r s = r , the circuit is exactly V r V_r V r . When s < r s<r s < r , all phase rotations after position s s s are identities. The remaining calls therefore combine into a power of U U U ; the control ensures this power is even, so it cancels because U f r e q 2 = I U_{\mathrm{freq}}^2=I U freq 2 = I . The circuit consequently reduces to V s V_s V s .
This cancellation holds on the full register, including the selector workspace, and also when the order register is in a superposition, since the circuit preserves the order register. Padding the negated phase list in the same way also preserves the real-part extraction. Finally, because x s x^s x s has definite parity, the even and odd parts do not need to be combined. Thus each order branch produces the block in Eq. (88) , while the s = 0 s=0 s = 0 branch acts as the identity.
Each of the r r r signal-query positions requires O ( n log n ) O(n\log n) O ( n log n ) gates. This is because U f r e q U_{\mathrm{freq}} U freq selects among n + 1 n+1 n + 1 Pauli terms using a selector register of ⌈ log 2 ( n + 1 ) ⌉ \lceil\log_2(n+1)\rceil ⌈ log 2 ( n + 1 )⌉ qubits. At each of the r + 1 r+1 r + 1 phase positions, the circuit applies a uniformly controlled rotation selected by the order register. Since there are fewer than 2 ( r + 1 ) 2(r+1) 2 ( r + 1 ) possible order values, each such position costs O ( r ) O(r) O ( r ) gates [38 ] . The reflection 2 Π − I 2\Pi-I 2Π − I , about the zero state of the frequency selector, adds O ( log n ) O(\log n) O ( log n ) gates per position, or O ( r log n ) O(r\log n) O ( r log n ) gates overall. Combining these costs gives
C f r e q = O ( r n log n + r 2 ) , (197) C_{\mathrm{freq}}=O\left(rn\log n+r^2\right), \tag*{(197)} C freq = O ( r n log n + r 2 ) , (197)
the second line of Eq. (125) . By comparison, implementing a separate order-controlled sequence for each Taylor order would require r ( r + 1 ) / 2 r(r+1)/2 r ( r + 1 ) /2 query positions. When r = 0 r=0 r = 0 , the frequency circuit is unnecessary and is omitted.
Weighted Helmert basis change
This appendix derives the weighted contrasts of Section IV.E from polynomial connection formulas, shows that the two-pass tree of rotations produces those contrasts, and specifies how to complete the transformation into a unitary. It also describes how to implement the rotation layers using polynomial approximations and presents a gate-count estimate. We recall from Eqs. (93) and (91) that μ j \mu_j μ j is the weight assigned to degree j j j at parameter λ \lambda λ , and M k M_k M k is the total weight of the preceding degrees with the same parity as k k k .
Conversion coefficients and weights
Each conversion step expresses G k ( λ + 2 ) G_k^{(\lambda+2)} G k ( λ + 2 ) in the basis { G j ( λ ) } \{G_j^{(\lambda)}\} { G j ( λ ) } . Since G j ( λ ) ( θ ) = sin λ θ p j ( λ ) ( cos θ ) G_j^{(\lambda)}(\theta)=\sin^\lambda\theta\,p_j^{(\lambda)}(\cos\theta) G j ( λ ) ( θ ) = sin λ θ p j ( λ ) ( cos θ ) , increasing the parameter from λ \lambda λ to λ + 2 \lambda+2 λ + 2 introduces an extra factor of sin 2 θ = 1 − x 2 \sin^2\theta=1-x^2 sin 2 θ = 1 − x 2 , where x = cos θ x=\cos\theta x = cos θ . For integer λ ≥ 1 \lambda\ge1 λ ≥ 1 , the required expansion is
( 1 − x 2 ) C k ( λ + 2 ) = 2 λ + 1 2 λ ( λ + 1 ) ∑ j ( j + λ ) C j ( λ ) − ( k + 1 ) ( k + 2 ) 4 λ ( λ + 1 ) C k + 2 ( λ ) . (198) (1-x^2)C_k^{(\lambda+2)}
=
\frac{2\lambda+1}{2\lambda(\lambda+1)}
\sum_j (j+\lambda)C_j^{(\lambda)}
-
\frac{(k+1)(k+2)}{4\lambda(\lambda+1)}C_{k+2}^{(\lambda)}. \tag*{(198)} ( 1 − x 2 ) C k ( λ + 2 ) = 2 λ ( λ + 1 ) 2 λ + 1 j ∑ ( j + λ ) C j ( λ ) − 4 λ ( λ + 1 ) ( k + 1 ) ( k + 2 ) C k + 2 ( λ ) . (198)
where the sum runs over j ≤ k j\le k j ≤ k with j ≡ k ( m o d 2 ) j\equiv k\pmod{2} j ≡ k ( mod 2 ) . To obtain this, we take Eq. (11) at parameter λ + 1 \lambda+1 λ + 1 : C j ( λ + 1 ) − C j − 2 ( λ + 1 ) = ( j + λ + 1 ) C j ( λ + 1 ) / ( λ + 1 ) C_j^{(\lambda+1)}-C_{j-2}^{(\lambda+1)}=(j+\lambda+1)C_j^{(\lambda+1)}/(\lambda+1) C j ( λ + 1 ) − C j − 2 ( λ + 1 ) = ( j + λ + 1 ) C j ( λ + 1 ) / ( λ + 1 ) . Summing over j = k , k − 2 , … , 2 j=k,k-2,\ldots,2 j = k , k − 2 , … , 2 gives the left-hand side to telescope, leaving C k ( λ + 2 ) = ( λ + 1 ) − 1 ∑ j = k , k − 2 , … , 2 ( j + λ + 1 ) C j ( λ + 1 ) C_k^{(\lambda+2)}=(\lambda+1)^{-1}\sum_{j=k,k-2,\ldots,2}(j+\lambda+1)C_j^{(\lambda+1)} C k ( λ + 2 ) = ( λ + 1 ) − 1 ∑ j = k , k − 2 , … , 2 ( j + λ + 1 ) C j ( λ + 1 ) . We then multiply both sides by 1 − x 2 1-x^2 1 − x 2 and replace each term ( 1 − x 2 ) C j ( λ + 1 ) (1-x^2)C_j^{(\lambda+1)} ( 1 − x 2 ) C j ( λ + 1 ) by the following identity [39 ]
( 1 − x 2 ) C j ( λ + 1 ) = ( j + 2 λ ) ( j + 2 λ + 1 ) 4 λ ( j + λ + 1 ) C j ( λ ) − ( j + 1 ) ( j + 2 ) 4 λ ( j + λ + 1 ) C j + 2 ( λ ) . (199) (1-x^2)C_j^{(\lambda+1)}
=
\frac{(j+2\lambda)(j+2\lambda+1)}{4\lambda(j+\lambda+1)}C_j^{(\lambda)}
-
\frac{(j+1)(j+2)}{4\lambda(j+\lambda+1)}C_{j+2}^{(\lambda)}. \tag*{(199)} ( 1 − x 2 ) C j ( λ + 1 ) = 4 λ ( j + λ + 1 ) ( j + 2 λ ) ( j + 2 λ + 1 ) C j ( λ ) − 4 λ ( j + λ + 1 ) ( j + 1 ) ( j + 2 ) C j + 2 ( λ ) . (199)
The resulting coefficients provide the identity in Eq. (198) . For λ = 0 \lambda=0 λ = 0 , using the Chebyshev limit in Eq. (4) , we obtain ( 1 − x 2 ) C k ( 2 ) = ∑ j T j − ( k + 1 ) T k + 2 / 2 (1-x^2)C_k^{(2)}=\sum_j T_j-(k+1)T_{k+2}/2 ( 1 − x 2 ) C k ( 2 ) = ∑ j T j − ( k + 1 ) T k + 2 /2 . The sum is over the same degrees as before, except that the prime means that the j = 0 j=0 j = 0 term is counted with half weight.
Multiplying Eq. (198) by sin λ θ \sin^\lambda\theta sin λ θ , substituting x = cos θ x=\cos\theta x = cos θ , and normalizing gives the coefficient vector v k \mathbf{v}_k v k of G k ( λ + 2 ) G_k^{(\lambda+2)} G k ( λ + 2 ) in the basis { G j ( λ ) } \{G_j^{(\lambda)}\} { G j ( λ ) } . For λ ≥ 1 \lambda\ge1 λ ≥ 1 , the coefficients for degrees j ≤ k j\le k j ≤ k are positive and proportional to ( j + λ ) ( h j ( λ ) ) 1 / 2 (j+\lambda)(h_j^{(\lambda)})^{1/2} ( j + λ ) ( h j ( λ ) ) 1/2 . By Eq. (2) , these are proportional to μ j \sqrt{\mu_j} μ j , where μ j \mu_j μ j is defined in Eq. (93) . For λ = 0 \lambda=0 λ = 0 , the Chebyshev limiting case gives coefficients proportional to ( h j ( 0 ) ) 1 / 2 (h_j^{(0)})^{1/2} ( h j ( 0 ) ) 1/2 , except that the coefficient for j = 0 j=0 j = 0 is halved. Since h 0 ( 0 ) = π h_0^{(0)}=\pi h 0 ( 0 ) = π and h j ( 0 ) = π / 2 h_j^{(0)}=\pi/2 h j ( 0 ) = π /2 for j ≥ 1 j\ge1 j ≥ 1 , the corresponding weights are μ 0 = 1 / 2 \mu_0=1/2 μ 0 = 1/2 and μ j = 1 \mu_j=1 μ j = 1 for j ≥ 1 j\ge1 j ≥ 1 . In both cases, the coefficient is flat at degree k + 2 k+2 k + 2 and is negative. Thus the coefficient vector has the form
v k = a k ∣ w k + 2 ⟩ − c k ∣ k + 2 ⟩ , a k , c k > 0 , (200) \mathbf{v}_k=a_k\lvert w_{k+2}\rangle-c_k\lvert k+2\rangle,\qquad a_k,c_k>0, \tag*{(200)} v k = a k ∣ w k + 2 ⟩ − c k ∣ k + 2 ⟩ , a k , c k > 0 , (200)
where ∣ w k + 2 ⟩ \lvert w_{k+2}\rangle ∣ w k + 2 ⟩ is the weighted mean defined in Eq. (91) . The values of a k a_k a k and c k c_k c k are fixed by the orthonormality conditions of G k ( λ + 2 ) G_k^{(\lambda+2)} G k ( λ + 2 ) .
Since ∣ w k + 2 ⟩ \lvert w_{k+2}\rangle ∣ w k + 2 ⟩ is a unit vector orthogonal to ∣ k + 2 ⟩ \lvert k+2\rangle ∣ k + 2 ⟩ , the unit norm of v k \mathbf{v}_k v k implies a k 2 + c k 2 = 1 a_k^2+c_k^2=1 a k 2 + c k 2 = 1 . Now let k ′ > k k'>k k ′ > k be a later degree of the same parity, so that v k ′ = a k ′ ∣ w k ′ + 2 ⟩ − c k ′ ∣ k ′ + 2 ⟩ \mathbf{v}_{k'}=a_{k'}\lvert w_{k'+2}\rangle-c_{k'}\lvert k'+2\rangle v k ′ = a k ′ ∣ w k ′ + 2 ⟩ − c k ′ ∣ k ′ + 2 ⟩ with k ′ + 2 ≥ k + 4 k'+2\ge k+4 k ′ + 2 ≥ k + 4 . Because v k \mathbf{v}_k v k has no component at degree k ′ + 2 k'+2 k ′ + 2 , the overlap ⟨ v k ′ ∣ v k ⟩ \langle v_{k'}\vert v_k\rangle ⟨ v k ′ ∣ v k ⟩ equals a k ′ ⟨ w k ′ + 2 ∣ v k ⟩ a_{k'}\langle w_{k'+2}\vert v_k\rangle a k ′ ⟨ w k ′ + 2 ∣ v k ⟩ , which is proportional to a k M k + 2 − c k μ k + 2 a_k\sqrt{M_{k+2}}-c_k\sqrt{\mu_{k+2}} a k M k + 2 − c k μ k + 2 . Setting this overlap to zero and using M k + 4 = M k + 2 + μ k + 2 M_{k+4}=M_{k+2}+\mu_{k+2} M k + 4 = M k + 2 + μ k + 2 , we obtain
a k = μ k + 2 M k + 4 , c k = M k + 2 M k + 4 (201) a_k=\sqrt{\frac{\mu_{k+2}}{M_{k+4}}},\qquad c_k=\sqrt{\frac{M_{k+2}}{M_{k+4}}} \tag*{(201)} a k = M k + 4 μ k + 2 , c k = M k + 4 M k + 2 (201)
so that v k = − ∣ h k + 2 ⟩ v_k=-|h_{k+2}\rangle v k = − ∣ h k + 2 ⟩ , following the expression of the weighted contrast of Eq. (92) . Since v k v_k v k is the coefficient vector of G k ( λ + 2 ) G^{(\lambda+2)}_k G k ( λ + 2 ) in the basis { G j ( λ ) } \{G^{(\lambda)}_j\} { G j ( λ ) } , this identity gives the conversion in Eq. (95) . The cumulative weights in Eq. (94) follow by telescoping: the product increases by μ k \mu_k μ k from degree k k k to k + 2 k+2 k + 2 , and its values M 2 = μ 0 M_2=\mu_0 M 2 = μ 0 and M 3 = μ 1 M_3=\mu_1 M 3 = μ 1 start the two parity classes. Every block weight in the tree factorization is therefore a difference of two values of a polynomial of degree 2 λ + 1 2\lambda+1 2 λ + 1 .
Tree factorization and unitary completion
We now show that the two passes of Section IV.E produce these contrasts exactly.
For a set S S S of modes, let μ S \mu_S μ S denote the total weight and ∣ w S ⟩ |w_S\rangle ∣ w S ⟩ denote the normalized weighted mean of the modes in S S S , defined analogously to Eq. (91) . For disjoint sets S S S and S ′ S' S ′ , define the normalized contrast of S ′ S' S ′ relative to S S S by
∣ c S ′ ∣ S ⟩ = μ S μ S ∪ S ′ ∣ w S ′ ⟩ − μ S ′ μ S ∪ S ′ ∣ w S ⟩ . (202) |c_{S'|S}\rangle=\sqrt{\frac{\mu_S}{\mu_{S\cup S'}}}|w_{S'}\rangle-\sqrt{\frac{\mu_{S'}}{\mu_{S\cup S'}}}|w_S\rangle. \tag*{(202)} ∣ c S ′ ∣ S ⟩ = μ S ∪ S ′ μ S ∣ w S ′ ⟩ − μ S ∪ S ′ μ S ′ ∣ w S ⟩ . (202)
In particular, the contrast ∣ h k ⟩ |h_k\rangle ∣ h k ⟩ defined in Eq. (92) is the contrast of mode k k k with the set P k P_k P k of preceding modes; equivalently, ∣ h k ⟩ = ∣ c { k } ∣ P k ⟩ |h_k\rangle=|c_{\{k\}|P_k}\rangle ∣ h k ⟩ = ∣ c { k } ∣ P k ⟩ . After each layer of rotations in either pass, the amplitude at the smallest label of each block equals the overlap ⟨ v ∣ ψ ⟩ \langle v|\psi\rangle ⟨ v ∣ ψ ⟩ between the input state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ and some vector ∣ v ⟩ |v\rangle ∣ v ⟩ . We describe each layer by identifying these vectors.
The splitting pass first builds weighted means and contrasts within each block. For a block A = L ∪ R A=L\cup R A = L ∪ R , the first labels of L L L and R R R store the overlaps of the input state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ with their weighted means, ∣ w L ⟩ |w_L\rangle ∣ w L ⟩ and ∣ w R ⟩ |w_R\rangle ∣ w R ⟩ . The rotation in Eq. (99) replaces these with overlaps against the weighted mean of the whole block, ∣ w A ⟩ |w_A\rangle ∣ w A ⟩ , and the contrast ∣ c R ∣ L ⟩ |c_{R|L}\rangle ∣ c R ∣ L ⟩ . Repeating this from single modes upward leaves the mean of the full parity group at its first label and a contrast at the first label of each right half.
The correction pass then moves back down the tree to put each contrast into the form required by the weighted Helmert basis. Consider a block A = L ∪ R A=L\cup R A = L ∪ R with preceding modes P P P . The first label of A A A stores the overlap with ∣ c A ∣ P ⟩ |c_{A|P}\rangle ∣ c A ∣ P ⟩ , or with the group mean if P P P is empty, while the first label of R R R stores the overlap with ∣ c R ∣ L ⟩ |c_{R|L}\rangle ∣ c R ∣ L ⟩ . The desired overlaps are instead those with ∣ c L ∣ P ⟩ |c_{L|P}\rangle ∣ c L ∣ P ⟩ and ∣ c R ∣ P ∪ L ⟩ |c_{R|P\cup L}\rangle ∣ c R ∣ P ∪ L ⟩ . These two pairs of vectors are orthonormal bases for the same two-dimensional subspace, and their overlaps determine a rotation by the angle ϑ \vartheta ϑ in Eq. (101) . Thus, applying R ( − ϑ ) R(-\vartheta) R ( − ϑ ) converts the stored pair into the desired one. When P P P is empty, ϑ = 0 \vartheta=0 ϑ = 0 , so the pair already has the required form.
As the correction pass reaches single modes, the label for mode k k k stores the overlap with ∣ h k ⟩ |h_k\rangle ∣ h k ⟩ , the contrast of that mode against its preceding modes. This establishes that the two passes together implement the weighted Helmert transform in Eq. (103) .
The labels p < λ p<\lambda p < λ do not correspond to actual polynomial degrees in the basis at parameter λ \lambda λ . To define the unitary completion, temporarily assign each such inactive label the same positive weight ω \omega ω . This makes every block weight positive and all rotation angles well-defined. Then take the limit as ω \omega ω approaches zero from above. Since the angle formulas are bounded ratios of polynomials in ω \omega ω , they have limits; when both numerator and denominator vanish at zero, the limit is determined by their lowest-order nonzero powers.
In this limit, each active label p ≥ λ + 2 p\ge\lambda+2 p ≥ λ + 2 stores the weighted contrast of the active modes described by Eq. (92) . The remaining labels store weighted means or combinations involving inactive labels. These do not affect the completed transform: they are inactive at the next parameter step and therefore cannot contribute to a valid output of L L L . There are fewer than m / 2 m/2 m /2 inactive positions in each parity group, so the affected blocks occur only at small block addresses, below C m C_m C m , where the circuit implements them using fixed rotations.
Polynomial implementation of the rotation layers
Each rotation layer is determined by the total weights of three groups of modes: the modes before the current block, denoted P P P , and the block’s left and right halves, L L L and R R R . These weights are sums of the individual mode weights μ j \mu_j μ j . To calculate the sums, write a system label as p = 2 a + σ p=2a+\sigma p = 2 a + σ , where σ = p 0 \sigma=p_0 σ = p 0 is the parity bit and a = ( p n − 1 ⋯ p 1 ) 2 a=(p_{n-1}\cdots p_1)_2 a = ( p n − 1 ⋯ p 1 ) 2 indicates the position within the parity group. At parameter λ \lambda λ , this label represents degree k = 2 a + σ − λ k=2a+\sigma-\lambda k = 2 a + σ − λ when k ≥ 0 k\ge0 k ≥ 0 ; labels with k < 0 k<0 k < 0 are inactive. The positions before a a a correspond to the degrees in I k I_k I k , whose total weight is the cumulative weight M k M_k M k from Eq. (91) . This weight is zero when k ≤ 1 k\le1 k ≤ 1 .
Define the rescaled cumulative weight E λ ( a , σ ) : = 2 ( 2 λ + 1 ) M 2 a + σ − λ E_\lambda(a,\sigma):=2(2\lambda+1)M_{2a+\sigma-\lambda} E λ ( a , σ ) := 2 ( 2 λ + 1 ) M 2 a + σ − λ . The prefactor does not affect the rotation angles, because those depend only on ratios of weights. Substituting k = 2 a + σ − λ k=2a+\sigma-\lambda k = 2 a + σ − λ into Eq. (94) yields
E λ ( a , σ ) = { ∏ ν = 1 2 λ + 1 ( 2 a + σ − λ − 2 + ν ) , k ≥ 2 , 0 , k ≤ 1. (203) E_\lambda(a,\sigma)=
\begin{cases}
\prod_{\nu=1}^{2\lambda+1}(2a+\sigma-\lambda-2+\nu), & k\ge2,\\
0, & k\le1.
\end{cases} \tag*{(203)} E λ ( a , σ ) = { ∏ ν = 1 2 λ + 1 ( 2 a + σ − λ − 2 + ν ) , 0 , k ≥ 2 , k ≤ 1. (203)
For λ = 0 \lambda=0 λ = 0 , this simplifies to E 0 ( a , σ ) = 2 a + σ − 1 E_0(a,\sigma)=2a+\sigma-1 E 0 ( a , σ ) = 2 a + σ − 1 for a ≥ 1 a\ge1 a ≥ 1 ; this formula incorporates the half-weight assigned to the constant mode.
In layer l l l , each block has length B = 2 l + 1 B=2^{l+1} B = 2 l + 1 . Let F ( b ) = E λ ( B b , σ ) F(b)=E_\lambda(Bb,\sigma) F ( b ) = E λ ( B b , σ ) be the cumulative weight before the block at address b b b , that is, the weight μ P = F ( b ) \mu_P=F(b) μ P = F ( b ) of its predecessors P . P. P . Then the weights of the two halves of the block are
μ L = F ( b + 1 2 ) − F ( b ) , μ R = F ( b + 1 ) − F ( b + 1 2 ) . (204) \mu_L = F\left(b+\frac{1}{2}\right)-F(b),\qquad\mu_R = F(b+1)-F\left(b+\frac{1}{2}\right). \tag*{(204)} μ L = F ( b + 2 1 ) − F ( b ) , μ R = F ( b + 1 ) − F ( b + 2 1 ) . (204)
In other words, differences of cumulative weights provide the weights of each block segment.
The rotation angles depend on four quantities
cos φ = μ L μ A , cos ϑ = μ L μ P ∪ A μ A μ P ∪ L , \cos\varphi=\sqrt{\frac{\mu_L}{\mu_A}},\qquad\cos\vartheta=\sqrt{\frac{\mu_L\mu_{P\cup A}}{\mu_A\mu_{P\cup L}}}, cos φ = μ A μ L , cos ϑ = μ A μ P ∪ L μ L μ P ∪ A ,
sin φ = μ R μ A , sin ϑ = μ P μ R μ A μ P ∪ L . (205) \sin\varphi=\sqrt{\frac{\mu_R}{\mu_A}},\qquad\sin\vartheta=\sqrt{\frac{\mu_P\mu_R}{\mu_A\mu_{P\cup L}}}. \tag*{(205)} sin φ = μ A μ R , sin ϑ = μ A μ P ∪ L μ P μ R . (205)
where μ A = μ L + μ R \mu_A=\mu_L+\mu_R μ A = μ L + μ R , μ P ∪ L = μ P + μ L \mu_{P\cup L}=\mu_P+\mu_L μ P ∪ L = μ P + μ L , and μ P ∪ A = μ P + μ A \mu_{P\cup A}=\mu_P+\mu_A μ P ∪ A = μ P + μ A . If one of these functions is constant—for example, the bulk splitting functions when λ = 0 \lambda=0 λ = 0 —the circuit can use a fixed rotation rather than compute the angle from the address.
For each dyadic interval I ν I_\nu I ν , write an address as b = 2 ν + v b=2^\nu+v b = 2 ν + v , where v v v is the offset within the interval and 0 ≤ v < 2 ν 0\le v<2^\nu 0 ≤ v < 2 ν . The circuit encodes that offset as an angle
θ ν , v = 0.9 + 0.6 v 2 ν − 1 . (206) \theta_{\nu,v}=0.9+0.6\frac{v}{2^\nu-1}. \tag*{(206)} θ ν , v = 0.9 + 0.6 2 ν − 1 v . (206)
so the angle ranges from 0.9 to 1.5 radians. A single signal qubit g g g is enough to encode the value cos θ ν , v \cos\theta_{\nu,v} cos θ ν , v . With Pauli-Y Y Y rotation R y ( θ ) = e − i θ Y / 2 R_y(\theta)=e^{-i\theta Y/2} R y ( θ ) = e − i θ Y /2 , the circuit applies
U ν , v H = R y ( θ ν , v ) Z R y ( − θ ν , v ) = cos θ ν , v Z + sin θ ν , v X . (207) U^H_{\nu,v}=R_y(\theta_{\nu,v})Z R_y(-\theta_{\nu,v})
=\cos\theta_{\nu,v}Z+\sin\theta_{\nu,v}X. \tag*{(207)} U ν , v H = R y ( θ ν , v ) Z R y ( − θ ν , v ) = cos θ ν , v Z + sin θ ν , v X . (207)
where the angles are controlled by the offset bits. The selected block with g = 0 g=0 g = 0 represents the diagonal signal operator B ν H = diag ( cos θ ν , v ) B^H_\nu=\operatorname{diag}(\cos\theta_{\nu,v}) B ν H = diag ( cos θ ν , v ) . Because θ ν , v ∈ [ 0.9 , 1.5 ] \theta_{\nu,v}\in[0.9,1.5] θ ν , v ∈ [ 0.9 , 1.5 ] , the diagonal entries lie in the fixed interval J = [ cos 1.5 , cos 0.9 ] ⊂ ( 0 , 1 ) J=[\cos1.5,\cos0.9]\subset(0,1) J = [ cos 1.5 , cos 0.9 ] ⊂ ( 0 , 1 ) regardless of the interval, layer, or system size K K K . The rotation angle can be built from the bits v a v_a v a of v v v , since R y ( θ ν , v ) = R y ( 0.9 ) ∏ a R y ( 0.6 ⋅ 2 a / ( 2 ν − 1 ) ) v a R_y(\theta_{\nu,v})=R_y(0.9)\prod_a R_y(0.6\cdot2^a/(2^\nu-1))^{v_a} R y ( θ ν , v ) = R y ( 0.9 ) ∏ a R y ( 0.6 ⋅ 2 a / ( 2 ν − 1 ) ) v a . Each bit controls a rotation by 0.6 ⋅ 2 a / ( 2 ν − 1 ) 0.6\cdot2^a/(2^\nu-1) 0.6 ⋅ 2 a / ( 2 ν − 1 ) , in addition to a fixed rotation by 0.9. Thus, one signal call requires O ( ν ) O(\nu) O ( ν ) gates. For addresses outside the chosen interval, the circuit turns off the middle Z Z Z operation, so the two rotations cancel and the circuit acts as the identity.
On the signal register, the QET circuit needs to implement functions of the form f ν ( x ) : = f ( b ν H ( x ) ) f_\nu(x):=f(b^H_\nu(x)) f ν ( x ) := f ( b ν H ( x )) , where f f f is one of the functions listed in Eq. (205) and
b ν H ( x ) = 2 ν + 2 ν − 1 0.6 ( arccos x − 0.9 ) . (208) b^H_\nu(x)=2^\nu+\frac{2^\nu-1}{0.6}(\arccos x-0.9). \tag*{(208)} b ν H ( x ) = 2 ν + 0.6 2 ν − 1 ( arccos x − 0.9 ) . (208)
This formula reverses the angle encoding: at the encoded value x = cos θ ν , v x=\cos\theta_{\nu,v} x = cos θ ν , v , its value is b ν H ( x ) = 2 ν + v b^H_\nu(x)=2^\nu+v b ν H ( x ) = 2 ν + v . Because arccos x \arccos x arccos x has singular behavior at x = ± 1 x=\pm1 x = ± 1 , the functions f ν f_\nu f ν are not approximated over the entire interval [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Instead, the circuit approximates each one only on the interval J J J , where the signal values actually lie. The approximating polynomial must still be bounded on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] .
Lemma 5 (Helmert rotation polynomials). Fix m ≥ 2 m\ge2 m ≥ 2 and 0 < η L ≤ 10 − 2 0<\eta_L\le10^{-2} 0 < η L ≤ 1 0 − 2 . For every function in Eq. (205) , every layer and parity, and every dyadic interval with 2 ν ≥ C m 2^\nu\ge C_m 2 ν ≥ C m for C m ≥ 2 3 ( m − 1 ) C_m\ge\frac{2}{3}(m-1) C m ≥ 3 2 ( m − 1 ) , there is a real polynomial p p p of degree
d L = O ( m 2 log m η L ) , (209) d_L=O\left(m^2\log\frac{m}{\eta_L}\right), \tag*{(209)} d L = O ( m 2 log η L m ) , (209) uniformly in the layer, parity, interval, and K K K , such that
∥ p − f ν ∥ J ≤ η L / 2 , ∥ p ∥ [ − 1 , 1 ] ≤ 1 − η L / 4. (210) \lVert p-f_\nu\rVert_J\le\eta_L/2,\qquad\lVert p\rVert_{[-1,1]}\le1-\eta_L/4. \tag*{(210)} ∥ p − f ν ∥ J ≤ η L /2 , ∥ p ∥ [ − 1 , 1 ] ≤ 1 − η L /4. (210) where ∥ ⋅ ∥ I \lVert\cdot\rVert_I ∥ ⋅ ∥ I denotes the supremum norm on I I I .
Proof. We begin by bounding the target on a complex neighborhood of the interval J = [ cos ( 1.5 ) , cos ( 0.9 ) ] J=[\cos(1.5),\cos(0.9)] J = [ cos ( 1.5 ) , cos ( 0.9 )] . Define three quantities: D m = 2 m − 3 D_m=2m-3 D m = 2 m − 3 , τ m = 1 / ( 32 D m ) \tau_m=1/(32D_m) τ m = 1/ ( 32 D m ) , and δ m = 3 τ m / 40 \delta_m=3\tau_m/40 δ m = 3 τ m /40 . Since D m ≥ 1 D_m\ge1 D m ≥ 1 , we have τ m ≤ 1 / 32 \tau_m\le1/32 τ m ≤ 1/32 and δ m ≤ 3 / 1280 < 2.4 × 10 − 3 \delta_m\le3/1280<2.4\times10^{-3} δ m ≤ 3/1280 < 2.4 × 1 0 − 3 . Let N = { z ∈ C : dist ( z , J ) < δ m } \mathcal{N}=\{z\in\mathbb{C}:\operatorname{dist}(z,J)<\delta_m\} N = { z ∈ C : dist ( z , J ) < δ m } . For every z ∈ N z\in\mathcal{N} z ∈ N , it follows that ∣ z ∣ < cos 0.9 + δ m < 3 / 4 |z|<\cos0.9+\delta_m<3/4 ∣ z ∣ < cos 0.9 + δ m < 3/4 . Hence arccos \arccos arccos is analytic there, and ∣ arccos ′ ( z ) ∣ = ∣ 1 − z 2 ∣ − 1 / 2 < ( 1 − 9 / 16 ) − 1 / 2 < 2 |\arccos'(z)|=|1-z^2|^{-1/2}<(1-9/16)^{-1/2}<2 ∣ arccos ′ ( z ) ∣ = ∣1 − z 2 ∣ − 1/2 < ( 1 − 9/16 ) − 1/2 < 2 . For any x ∈ J x\in J x ∈ J such that ∣ z − x ∣ < δ m |z-x|<\delta_m ∣ z − x ∣ < δ m , we have ∣ b ν H ( z ) − b ν H ( x ) ∣ < 10 3 2 ν δ m = 2 ν τ m / 4 |b^H_\nu(z)-b^H_\nu(x)|<\frac{10}{3}2^\nu\delta_m=2^\nu\tau_m/4 ∣ b ν H ( z ) − b ν H ( x ) ∣ < 3 10 2 ν δ m = 2 ν τ m /4 using Eq. (208) . Since b ν H ( x ) ∈ [ 2 ν , 2 ν + 1 − 1 ) b^H_\nu(x)\in[2^\nu,2^{\nu+1}-1) b ν H ( x ) ∈ [ 2 ν , 2 ν + 1 − 1 ) , the address b = b ν H ( x ) b=b^H_\nu(x) b = b ν H ( x ) has imaginary part ∣ Im b ∣ ≤ 2 ν τ m / 4 |\operatorname{Im}b|\le2^\nu\tau_m/4 ∣ Im b ∣ ≤ 2 ν τ m /4 and real part u = Re b ≥ 2 ν ( 1 − τ m / 4 ) ≥ 3 ⋅ 2 ν / 4 u=\operatorname{Re}b\ge2^\nu(1-\tau_m/4)\ge3\cdot2^\nu/4 u = Re b ≥ 2 ν ( 1 − τ m /4 ) ≥ 3 ⋅ 2 ν /4 .
By Eq. (203) , F ( b ) = ∏ ν = 1 d λ y ν F(b)=\prod_{\nu=1}^{d_\lambda}y_\nu F ( b ) = ∏ ν = 1 d λ y ν with d λ = 2 λ + 1 d_\lambda=2\lambda+1 d λ = 2 λ + 1 and y ν = 2 B b + σ − λ − 2 + v y_\nu=2Bb+\sigma-\lambda-2+v y ν = 2 B b + σ − λ − 2 + v . Since F ( b + 1 2 ) = ∏ ν ( y ν + j B ) F(b+\frac{1}{2})=\prod_\nu(y_\nu+jB) F ( b + 2 1 ) = ∏ ν ( y ν + j B ) , the weights in Eq. (204) are sums of products of the factors y ν + j B y_\nu+jB y ν + j B with j ∈ { 0 , 1 , 2 } j\in\{0,1,2\} j ∈ { 0 , 1 , 2 } . Each Helmert stage changes λ \lambda λ to λ + 2 \lambda+2 λ + 2 with λ + 2 ≤ m \lambda+2\le m λ + 2 ≤ m , so λ ≤ m − 2 \lambda\le m-2 λ ≤ m − 2 . These products therefore have at most d λ ≤ 2 m − 3 = D m d_\lambda\le2m-3=D_m d λ ≤ 2 m − 3 = D m factors. Moreover, the constant term σ \sigma σ of y ν y_\nu y ν is at least − λ − 1 ≥ 1 − m -\lambda-1\ge1-m − λ − 1 ≥ 1 − m , with the minimum at v = 1 v=1 v = 1 and σ = 0 \sigma=0 σ = 0 . Since u = Re b u=\operatorname{Re}b u = Re b , every factor satisfies Re ( y ν + j B ) ≥ 2 B u + 1 − m \operatorname{Re}(y_\nu+jB)\ge2Bu+1-m Re ( y ν + j B ) ≥ 2 B u + 1 − m . This is at least B u Bu B u whenever B u ≥ m − 1 Bu\ge m-1 B u ≥ m − 1 . Because B = 2 λ + 1 > 2 B=2^{\lambda+1}>2 B = 2 λ + 1 > 2 and u ≥ 3 ⋅ 2 ν / 4 u\ge3\cdot2^\nu/4 u ≥ 3 ⋅ 2 ν /4 , this condition holds whenever 2 ν ≥ 2 3 ( m − 1 ) 2^\nu\ge\frac{2}{3}(m-1) 2 ν ≥ 3 2 ( m − 1 ) , which is given by the lemma’s hypothesis. As Im ( y ν + j B ) = 2 B Im b \operatorname{Im}(y_\nu+jB)=2B\operatorname{Im}b Im ( y ν + j B ) = 2 B Im b , it follows that
∣ Im ( y ν + j B ) ∣ Re ( y ν + j B ) ≤ 2 ∣ Im b ∣ u ≤ 2 τ m 3 = 1 48 D m . (211) \frac{|\operatorname{Im}(y_\nu+jB)|}{\operatorname{Re}(y_\nu+jB)}
\le\frac{2|\operatorname{Im}b|}{u}
\le\frac{2\tau_m}{3}
=\frac{1}{48D_m}. \tag*{(211)} Re ( y ν + j B ) ∣ Im ( y ν + j B ) ∣ ≤ u 2∣ Im b ∣ ≤ 3 2 τ m = 48 D m 1 . (211)
Each factor equals a ( 1 + i ϵ ) a(1+i\epsilon) a ( 1 + i ϵ ) , where a = Re ( y ν + j B ) > 0 a=\operatorname{Re}(y_\nu+jB)>0 a = Re ( y ν + j B ) > 0 is its value at the real address u u u and ϵ = 2 B Im b / a \epsilon=2B\operatorname{Im}b/a ϵ = 2 B Im b / a . Since ∣ ϵ ∣ |\epsilon| ∣ ϵ ∣ is the ratio bounded above, ∣ ϵ ∣ ≤ 1 / ( 48 D m ) |\epsilon|\le1/(48D_m) ∣ ϵ ∣ ≤ 1/ ( 48 D m ) . Let Π \Pi Π be a product of at most D m D_m D m such factors a i ( 1 + i ϵ i ) a_i(1+i\epsilon_i) a i ( 1 + i ϵ i ) with a i > 0 a_i>0 a i > 0 . Its argument has magnitude at most ∑ i ∣ ϵ i ∣ ≤ 1 / 48 \sum_i|\epsilon_i|\le1/48 ∑ i ∣ ϵ i ∣ ≤ 1/48 , and its modulus satisfies
∏ i a i ≤ ∣ Π ∣ ≤ ( ∏ i a i ) exp ( 1 2 ∑ i ϵ i 2 ) ≤ ( ∏ i a i ) e 1 / ( 4608 D m ) . (212) \begin{aligned}
\prod_i a_i\le|\Pi|\le\left(\prod_i a_i\right)\exp\left(\frac{1}{2}\sum_i\epsilon_i^2\right) \\
&\le\left(\prod_i a_i\right)e^{1/(4608D_m)}. \tag*{(212)}
\end{aligned} i ∏ a i ≤ ∣Π∣ ≤ ( i ∏ a i ) exp ( 2 1 i ∑ ϵ i 2 ) ≤ ( i ∏ a i ) e 1/ ( 4608 D m ) . (212)
Therefore, Re Π ≥ ( ∏ i a i ) cos ( 1 / 48 ) \operatorname{Re}\Pi\ge\left(\prod_i a_i\right)\cos(1/48) Re Π ≥ ( ∏ i a i ) cos ( 1/48 ) .
By definition of F ( b ) F(b) F ( b ) , the cumulative weights can each be written as a single product: μ P = ∏ ν = 1 d λ y ν \mu_P=\prod_{\nu=1}^{d_\lambda}y_\nu μ P = ∏ ν = 1 d λ y ν , μ P ∪ L = \mu_{P\cup L}= μ P ∪ L = ∏ v = 1 d x ( y v + B ) \prod_{v=1}^{d_x}(y_v+B) ∏ v = 1 d x ( y v + B ) , and μ P ∪ A = ∏ v = 1 d x ( y v + 2 B ) \mu_{P\cup A}=\prod_{v=1}^{d_x}(y_v+2B) μ P ∪ A = ∏ v = 1 d x ( y v + 2 B ) . The weight of L L L is the increase in cumulative weight when L L L is added to P P P , so μ L = μ P ∪ L − μ P \mu_L=\mu_{P\cup L}-\mu_P μ L = μ P ∪ L − μ P . Expanding this difference by replacing the factors one at a time yields
μ L ( b ) = B ∑ k = 1 d x ∏ v < k ( y v + B ) ∏ v > k y v . (213) \mu_L(b)=B\sum_{k=1}^{d_x}\prod_{v<k}(y_v+B)\prod_{v>k}y_v. \tag*{(213)} μ L ( b ) = B k = 1 ∑ d x v < k ∏ ( y v + B ) v > k ∏ y v . (213)
Similarly, μ R \mu_R μ R is obtained by replacing each y v y_v y v in this sum with y v + B y_v+B y v + B . Every weight μ ∈ { μ P , μ L , μ R , μ A , μ P ∪ L , μ P ∪ A } \mu\in\{\mu_P,\mu_L,\mu_R,\mu_A,\mu_{P\cup L},\mu_{P\cup A}\} μ ∈ { μ P , μ L , μ R , μ A , μ P ∪ L , μ P ∪ A } is therefore a sum, with positive coefficients, of products of at most D m D_m D m factors y v + j B y_v+jB y v + j B . Applying Re ∏ ≥ ( ∏ i a i ) cos ( 1 / 48 ) \operatorname{Re}\prod\geq\left(\prod_i a_i\right)\cos(1/48) Re ∏ ≥ ( ∏ i a i ) cos ( 1/48 ) to each term gives Re μ ( b ) ≥ cos ( 1 / 48 ) μ ( u ) > 0 \operatorname{Re}\mu(b)\geq\cos(1/48)\mu(u)>0 Re μ ( b ) ≥ cos ( 1/48 ) μ ( u ) > 0 . Meanwhile, the triangle inequality and the bound ∣ ∏ ∣ ≤ ( ∏ i a i ) e 1 / ( 4608 D m ) \lvert\prod\rvert\leq\left(\prod_i a_i\right)e^{1/(4608D_m)} ∣ ∏ ∣ ≤ ( ∏ i a i ) e 1/ ( 4608 D m ) imply ∣ μ ( b ) ∣ ≤ e 1 / ( 4608 D m ) μ ( u ) \lvert\mu(b)\rvert\leq e^{1/(4608D_m)}\mu(u) ∣ μ ( b )∣ ≤ e 1/ ( 4608 D m ) μ ( u ) .
The ratios under the square roots in Eq. (205) , as functions of z z z through b = b ν ( z ) b=b^\nu(z) b = b ν ( z ) , are therefore analytic and nonzero on N \mathcal{N} N , because every weight has positive real part. Because N \mathcal{N} N is simply connected, each ratio has an analytic square root there, chosen to agree with the positive square root on the real axis. Define κ m : = e 1 / ( 4608 D m ) / cos ( 1 / 48 ) \kappa_m:=e^{1/(4608D_m)}/\cos(1/48) κ m := e 1/ ( 4608 D m ) / cos ( 1/48 ) , which satisfies κ m < 1.0005 \kappa_m<1.0005 κ m < 1.0005 . For a splitting ratio, such as μ L / μ A \mu_L/\mu_A μ L / μ A , the modulus bound on the numerator and the real-part bound on the denominator imply
∣ μ L ( b ) μ A ( b ) ∣ ≤ κ m μ L ( u ) μ A ( u ) . \left|\frac{\mu_L(b)}{\mu_A(b)}\right|\leq\kappa_m\frac{\mu_L(u)}{\mu_A(u)}. μ A ( b ) μ L ( b ) ≤ κ m μ A ( u ) μ L ( u ) .
Similarly, each correction ratio, such as μ L μ P ∪ A / ( μ A μ P ∪ L ) \mu_L\mu_{P\cup A}/(\mu_A\mu_{P\cup L}) μ L μ P ∪ A / ( μ A μ P ∪ L ) , has modulus at most κ m 2 \kappa_m^2 κ m 2 times its value at u u u . For real addresses, all weights are positive, and each cosine–sine pair has squared values summing to one. Thus, these ratios lie in ( 0 , 1 ) (0,1) ( 0 , 1 ) on the real axis, which implies ∣ f ν ∣ ≤ κ m \lvert f_\nu\rvert\leq\kappa_m ∣ f ν ∣ ≤ κ m on N \mathcal{N} N and 0 < f ν < 1 0<f_\nu<1 0 < f ν < 1 on N ∩ R \mathcal{N}\cap\mathbb{R} N ∩ R .
We now apply the bounded approximation theorem for multiple local Taylor series [11 Theorem 68, arXiv version] . It combines Taylor series centered along a chain of intervals, where only neighboring intervals may overlap, into a single polynomial that approximates the function throughout the chain and remains bounded on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] by the function’s maximum near that chain.
To cover J J J , choose N 0 = O ( δ m − 1 ) N_0=O(\delta_m^{-1}) N 0 = O ( δ m − 1 ) centers x j x_j x j , spaced 3 r 0 / 2 3r_0/2 3 r 0 /2 apart, where r 0 = δ m / 8 r_0=\delta_m/8 r 0 = δ m /8 . The intervals [ x j − r 0 , x j + r 0 ] [x_j-r_0,x_j+r_0] [ x j − r 0 , x j + r 0 ] overlap with their immediate neighbors by r 0 / 2 r_0/2 r 0 /2 , and non-neighboring intervals do not overlap. At each center, the theorem also allows an extension of width r 0 / 2 r_0/2 r 0 /2 , so it uses f ν f_\nu f ν on the larger interval [ x j − 3 r 0 / 2 , x j + 3 r 0 / 2 ] [x_j-3r_0/2,x_j+3r_0/2] [ x j − 3 r 0 /2 , x j + 3 r 0 /2 ] . On the larger interval, ∣ x − x j ∣ ≤ 3 r 0 / 2 \lvert x-x_j\rvert\leq3r_0/2 ∣ x − x j ∣ ≤ 3 r 0 /2 . Thus the k k k th term in the expansion f ν ( x ) = ∑ k = 0 ∞ c k ( x − x j ) k f_\nu(x)=\sum_{k=0}^{\infty}c_k(x-x_j)^k f ν ( x ) = ∑ k = 0 ∞ c k ( x − x j ) k is bounded in magnitude by ∣ c k ∣ ( 3 r 0 / 2 ) k \lvert c_k\rvert(3r_0/2)^k ∣ c k ∣ ( 3 r 0 /2 ) k . The theorem requires ∑ k ∣ c k ∣ ( 3 r 0 / 2 ) k ≤ B 0 \sum_k\lvert c_k\rvert(3r_0/2)^k\leq B_0 ∑ k ∣ c k ∣ ( 3 r 0 /2 ) k ≤ B 0 for some bound B 0 B_0 B 0 . To obtain such a bound, we use the analyticity of f ν f_\nu f ν : a complex disk of radius δ m / 2 \delta_m/2 δ m /2 around x j x_j x j lies in the region where ∣ f ν ∣ ≤ κ m \lvert f_\nu\rvert\leq\kappa_m ∣ f ν ∣ ≤ κ m . By Cauchy’s estimate, ∣ c k ∣ ≤ κ m ( 2 / δ m ) k \lvert c_k\rvert\leq\kappa_m(2/\delta_m)^k ∣ c k ∣ ≤ κ m ( 2/ δ m ) k , therefore, ∑ k ∣ c k ∣ ( 3 r 0 / 2 ) k ≤ κ m ∑ k ( 3 r 0 / δ m ) k \sum_k\lvert c_k\rvert(3r_0/2)^k\leq\kappa_m\sum_k(3r_0/\delta_m)^k ∑ k ∣ c k ∣ ( 3 r 0 /2 ) k ≤ κ m ∑ k ( 3 r 0 / δ m ) k . Since r 0 = δ m / 8 r_0=\delta_m/8 r 0 = δ m /8 , the geometric-series ratio is 3 / 8 3/8 3/8 , so the sum is at most κ m 1 − 3 / 8 < 2 \frac{\kappa_m}{1-3/8}<2 1 − 3/8 κ m < 2 . Hence one may take B 0 = 2 B_0=2 B 0 = 2 .
The extended intervals also lie inside the neighborhood where 0 < f ν < 1 0<f_\nu<1 0 < f ν < 1 for real inputs. Set ϵ 0 = min { η L / 4 , 1 / ( 32 N 0 ) } \epsilon_0=\min\{\eta_L/4,1/(32N_0)\} ϵ 0 = min { η L /4 , 1/ ( 32 N 0 )} . This choice satisfies the theorem’s requirement ϵ 0 ≤ 1 / ( 2 B 0 N 0 ) \epsilon_0\leq1/(2B_0N_0) ϵ 0 ≤ 1/ ( 2 B 0 N 0 ) . The theorem therefore gives a polynomial p ~ \widetilde p p such that ∣ p ~ − f ν ∣ ≤ ϵ 0 \lvert\widetilde p-f_\nu\rvert\leq\epsilon_0 ∣ p − f ν ∣ ≤ ϵ 0 on J J J and ∣ p ~ ∣ ≤ 1 \lvert\widetilde p\rvert\leq1 ∣ p ∣ ≤ 1 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . As the extension width and the overlap both equal r 0 / 2 r_0/2 r 0 /2 , the polynomial’s degree is O ( N 0 ϵ 0 log 8 N 0 ϵ 0 ) O\left(\frac{N_0}{\epsilon_0}\log\frac{8N_0}{\epsilon_0}\right) O ( ϵ 0 N 0 log ϵ 0 8 N 0 ) .
If p ~ \widetilde p p has complex coefficients, replace it by the polynomial formed from the real parts of its coefficients. This preserves both bounds for real inputs, since f ν f_\nu f ν is real. Now define p = ( 1 − η L / 4 ) Re p ~ p=(1-\eta_L/4)\operatorname{Re}\widetilde p p = ( 1 − η L /4 ) Re p . Then ∣ p ∣ ≤ 1 − η L / 4 \lvert p\rvert\leq1-\eta_L/4 ∣ p ∣ ≤ 1 − η L /4 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . On J J J , since ∣ f ν ∣ < 1 \lvert f_\nu\rvert<1 ∣ f ν ∣ < 1 , ∣ p − f ν ∣ ≤ ϵ 0 + η L / 4 ≤ η L / 2 \lvert p-f_\nu\rvert\leq\epsilon_0+\eta_L/4\leq\eta_L/2 ∣ p − f ν ∣ ≤ ϵ 0 + η L /4 ≤ η L /2 , which proves Eq. (210) . Finally, $\delta_m^{-1}=O(m)$, so $N_0=O(m)$, $r_0^{-1}=O(m)$, and $\log(8N_0/\epsilon_0)=O(\log(m/\eta_L))$. Substituting these estimates yields the degree bound in Eq. (D12)`. □
The proof uses the cutoff only through the condition 2 ν ≥ 2 3 ( m − 1 ) 2^\nu\geq\frac{2}{3}(m-1) 2 ν ≥ 3 2 ( m − 1 ) . Any power of two C m ≥ max { 2 , 2 3 ( m − 1 ) } C_m\geq\max\{2,\frac{2}{3}(m-1)\} C m ≥ max { 2 , 3 2 ( m − 1 )} therefore suffices, where the lower bound 2 2 2 keeps the angle encoding θ ν , v \theta_{\nu,v} θ ν , v in Eq. (206) well defined. Since fixed rotations are cheaper than QET sequences on short intervals, we use the smallest power of two no smaller than 16 ( m + 1 ) 16(m+1) 16 ( m + 1 ) in our implementation.
At fixed m m m , Lemma 5 shows that the polynomial degree grows only logarithmically with the target error, i.e., d L = O m ( log ( 1 / η L ) ) d_L=O_m(\log(1/\eta_L)) d L = O m ( log ( 1/ η L )) , as stated in Eq. (105) .
The reason is that the rotation functions have Taylor series that converge geometrically, so truncating each series after O m ( log ( 1 / η L ) ) O_m(\log(1/\eta_L)) O m ( log ( 1/ η L )) terms achieves the required accuracy. The series coefficients can be obtained from the fixed-degree weight formulas and the expansion of arccos. To compute them stably, the construction uses Eq. (213) to scale out powers of B 2 ν B2^\nu B 2 ν , avoiding cancellation when subtracting nearby weights. The resulting classical computation takes time polynomial in n n n and log ( 1 / η L ) \log(1/\eta_L) log ( 1/ η L ) .
To implement the polynomials P C P_C P C and P S P_S P S with quantum eigenvalue transformation (QET), the circuit uses the projector onto g = 0 g=0 g = 0 . At each QET phase step, the phase rotation on the real-part-extraction selector depends on three choices: whether the circuit is implementing P C P_C P C or P S P_S P S , the parity σ \sigma σ , and whether it is using the even or odd part of the polynomial. Thus, eight possible phase angles are needed per step.
As in the input-correction construction in Appendix B.4, the even- and odd-part sequences share their signal calls. One additional signal call, controlled by the even/odd selector, is inserted at the middle Z Z Z operation in Eq. (207) . The Hadamard gates on the two selector qubits from Eq. (28) surround all address regions in a layer. Consequently, the scheduled blocks are P C ( B v R ) / 2 P_C(B_v^R)/2 P C ( B v R ) /2 and P S ( B v R ) / 2 P_S(B_v^R)/2 P S ( B v R ) /2 , as used in Eq. (107) .
Gate count
In layer l l l , the block address contains n − 2 − l n-2-l n − 2 − l bits. Therefore, the addresses satisfying b ≥ C m b\geq C_m b ≥ C m can be grouped into O ( n ) O(n) O ( n ) dyadic intervals. For an interval with exponent ν \nu ν , processing a degree-d L d_L d L sequence takes O ( d L ( ν + 1 ) ) O(d_L(\nu+1)) O ( d L ( ν + 1 )) gates. Each signal call costs O ( ν ) O(\nu) O ( ν ) gates, and each phase step is a uniformly controlled rotation with eight angles. Setting and clearing the interval predicate adds O ( n ) O(n) O ( n ) gates. Summing across the intervals gives a cost of O ( ( d L + 1 ) n 2 ) O((d_L+1)n^2) O (( d L + 1 ) n 2 ) per layer. Since one parameter step has 2 n − 3 2n-3 2 n − 3 layers, its total cost is O ( ( d L + 1 ) n 3 ) O((d_L+1)n^3) O (( d L + 1 ) n 3 ) . The fixed rotations at addresses b < C m b<C_m b < C m add O ( C m + n ) O(C_m+n) O ( C m + n ) gates per layer. Amplifying each layer uses seven calls to its padded block. Repeating this for the ⌊ m / 2 ⌋ \lfloor m/2\rfloor ⌊ m /2 ⌋ parameter steps changes the cost only by factors that depend on m m m . Thus, the basis-change cost is
C L = O m ( ( d L + 1 ) n 3 ) , (214) C_L=O_m\bigl((d_L+1)n^3\bigr), \tag*{(214)} C L = O m ( ( d L + 1 ) n 3 ) , (214)
which is the third line of Eq. (125) . The basis change requires only the signal qubit g g g and a constant number of selector, predicate, and padding qubits; these qubits are reused across all layers.
Amplification errors
Both the basis-change layers and the full transform are amplified by the circuit (113) from block encodings that are only approximately unitary. The following lemma bounds the resulting output error, including leakage outside the successful subspace. We then apply it to both cases. As defined in Section III.C, β t = 1 / sin [ π / ( 4 t + 2 ) ] \beta_t=1/\sin[\pi/(4t+2)] β t = 1/ sin [ π / ( 4 t + 2 )] .
Lemma 6 (Robust amplification). Let W W W be a unitary and let J i n J_{\mathrm{in}} J in and J o u t J_{\mathrm{out}} J out be isometries onto its input and successful output subspaces such that J o u t W J i n = V ^ / β t J_{\mathrm{out}}WJ_{\mathrm{in}}=\widehat{V}/\beta_t J out W J in = V / β t with t ≥ 1 t\ge1 t ≥ 1 , where ∥ V ^ − V ∥ 2 ≤ Δ ≤ 1 / 10 \|\widehat{V}-V\|_2\le\Delta\le1/10 ∥ V − V ∥ 2 ≤ Δ ≤ 1/10 for a unitary V V V . With the reflections S i n = I − 2 J i n J i n † S_{\mathrm{in}}=I-2J_{\mathrm{in}}J_{\mathrm{in}}^\dagger S in = I − 2 J in J in † and S o u t = I − 2 J o u t J o u t † S_{\mathrm{out}}=I-2J_{\mathrm{out}}J_{\mathrm{out}}^\dagger S out = I − 2 J out J out † , the circuit U t = ( − W S i n W † S o u t ) t W U_t=(-WS_{\mathrm{in}}W^\dagger S_{\mathrm{out}})^tW U t = ( − W S in W † S out ) t W satisfies
∥ U t J i n − J o u t V ∥ 2 ≤ 4 Δ . (215) \|U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V\|_2\le4\Delta. \tag*{(215)} ∥ U t J in − J out V ∥ 2 ≤ 4Δ. (215)
Proof. Write V ^ = V ′ H \widehat{V}=V'H V = V ′ H with V ′ V' V ′ unitary and H = ( V ^ † V ^ ) 1 / 2 H=(\widehat{V}^\dagger\widehat{V})^{1/2} H = ( V † V ) 1/2 . The singular values of V ^ \widehat{V} V lie in [ 1 − Δ , 1 + Δ ] [1-\Delta,1+\Delta] [ 1 − Δ , 1 + Δ ] , so ∥ H − I ∥ 2 ≤ Δ \|H-I\|_2\le\Delta ∥ H − I ∥ 2 ≤ Δ and ∥ V ′ − V ∥ 2 ≤ ∥ V ′ − V ^ ∥ 2 + Δ ≤ 2 Δ \|V'-V\|_2\le\|V'-\widehat{V}\|_2+\Delta\le2\Delta ∥ V ′ − V ∥ 2 ≤ ∥ V ′ − V ∥ 2 + Δ ≤ 2Δ . On each singular vector of V ^ \widehat{V} V with singular value z z z , the two-dimensional analysis of oblivious amplitude amplification [11 , 34 ] shows that the amplified amplitude is
g t ( z ) = sin [ ( 2 t + 1 ) arcsin ( z / β t ) ] . (216) g_t(z)=\sin\bigl[(2t+1)\arcsin(z/\beta_t)\bigr]. \tag*{(216)} g t ( z ) = sin [ ( 2 t + 1 ) arcsin ( z / β t ) ] . (216)
Consequently J o u t † U t J i n = V ′ g t ( H ) J_{\mathrm{out}}^\dagger U_tJ_{\mathrm{in}}=V'g_t(H) J out † U t J in = V ′ g t ( H ) . Because U t J i n U_tJ_{\mathrm{in}} U t J in and J o u t V ′ J_{\mathrm{out}}V' J out V ′ are isometries, their squared difference satisfies
( U t J i n − J o u t V ′ ) † ( U t J i n − J o u t V ′ ) = 2 [ I − g t ( H ) ] . (U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V')^\dagger(U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V')=2[I-g_t(H)]. ( U t J in − J out V ′ ) † ( U t J in − J out V ′ ) = 2 [ I − g t ( H )] .
Write g t ( z ) = cos h t ( z ) g_t(z)=\cos h_t(z) g t ( z ) = cos h t ( z ) , where h t ( z ) = ( 2 t + 1 ) arcsin ( z / β t ) − π / 2 h_t(z)=(2t+1)\arcsin(z/\beta_t)-\pi/2 h t ( z ) = ( 2 t + 1 ) arcsin ( z / β t ) − π /2 . Since h t ( 1 ) = 0 h_t(1)=0 h t ( 1 ) = 0 , we can bound the operator norm as
∥ U t J i n − J o u t V ′ ∥ 2 = 2 max z ∣ sin ( h t ( z ) 2 ) ∣ ≤ max z ∣ h t ( z ) ∣ . (217) \|U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V'\|_2
=2\max_z\left|\sin\left(\frac{h_t(z)}{2}\right)\right|
\le\max_z|h_t(z)|. \tag*{(217)} ∥ U t J in − J out V ′ ∥ 2 = 2 z max sin ( 2 h t ( z ) ) ≤ z max ∣ h t ( z ) ∣. (217)
For z ∈ [ 0.9 , 1.1 ] z\in[0.9,1.1] z ∈ [ 0.9 , 1.1 ] , the bounds β t ≥ 2 \beta_t\ge2 β t ≥ 2 and ( 2 t + 1 ) / β t ≤ π / 2 (2t+1)/\beta_t\le\pi/2 ( 2 t + 1 ) / β t ≤ π /2 imply
∣ h t ′ ( z ) ∣ = 2 t + 1 β t 2 − z 2 ≤ π / 2 1 − 0.55 2 < 1.89 , (218) |h_t'(z)|=\frac{2t+1}{\sqrt{\beta_t^2-z^2}}
\le\frac{\pi/2}{\sqrt{1-0.55^2}}<1.89, \tag*{(218)} ∣ h t ′ ( z ) ∣ = β t 2 − z 2 2 t + 1 ≤ 1 − 0.5 5 2 π /2 < 1.89 , (218)
so ∣ h t ( z ) ∣ ≤ 1.89 Δ |h_t(z)|\le1.89\Delta ∣ h t ( z ) ∣ ≤ 1.89Δ on the singular values of V ^ \widehat{V} V . Hence ∥ U t J i n − J o u t V ′ ∥ 2 ≤ 1.89 Δ \|U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V'\|_2\le1.89\Delta ∥ U t J in − J out V ′ ∥ 2 ≤ 1.89Δ . Since J o u t J_{\mathrm{out}} J out is an isometry, it follows that
∥ U t J i n − J o u t V ∥ 2 ≤ ∥ U t J i n − J o u t V ′ ∥ 2 + ∥ V ′ − V ∥ 2 ≤ 1.89 Δ + 2 Δ < 4 Δ , (219) \begin{aligned}
\|U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V\|_2
&\le\|U_tJ_{\mathrm{in}}-J_{\mathrm{out}}V'\|_2+\|V'-V\|_2\\
&\le1.89\Delta+2\Delta<4\Delta, \tag*{(219)}
\end{aligned} ∥ U t J in − J out V ∥ 2 ≤ ∥ U t J in − J out V ′ ∥ 2 + ∥ V ′ − V ∥ 2 ≤ 1.89Δ + 2Δ < 4Δ , (219)
which proves the inequality of Eq. (215) .
Basis-change layers
Each layer of the basis change is amplified by Eq. (113) with t = 3 t=3 t = 3 , applied to the layer block padded to β 3 \beta_3 β 3 , and both its input and successful subspaces require the layer workspace to be zero. At an address treated by QET, the encoded operator R ^ = P C I ± i P S Y \widehat{R}=P_CI\pm iP_SY R = P C I ± i P S Y of Eq. (107) differs from the exact rotation cos α I ± i sin α Y \cos\alpha I\pm i\sin\alpha Y cos α I ± i sin α Y by at most 2 η L 2\eta_L 2 η L , where η L \eta_L η L bounds the errors of the four angle functions as in Section IV.F.2; the fixed-rotation and idle addresses are exact. Since the layer block is a direct sum over addresses, Lemma 6 with Δ = 2 η L \Delta=2\eta_L Δ = 2 η L shows that, for η L ≤ 10 − 2 \eta_L\le10^{-2} η L ≤ 1 0 − 2 , the amplified layer U l U_l U l and its ideal rotation layer R l R_l R l satisfy
∥ U l ( ∣ 0 ⟩ ⊗ I ) − ∣ 0 ⟩ ⊗ R l ∥ 2 ≤ 8 η L . (220) \|U_l(|0\rangle\otimes I)-|0\rangle\otimes R_l\|_2\le8\eta_L. \tag*{(220)} ∥ U l ( ∣0 ⟩ ⊗ I ) − ∣0 ⟩ ⊗ R l ∥ 2 ≤ 8 η L . (220)
This is within the per-layer bound 10 η L 10\eta_L 10 η L used in Section IV.F.2. These errors add over the L t o t = ⌊ m / 2 ⌋ ( 2 n − 3 ) L_{\mathrm{tot}}=\lfloor m/2\rfloor(2n-3) L tot = ⌊ m /2 ⌋ ( 2 n − 3 ) layers. With J = ∣ 0 ⟩ ⊗ I \mathcal{J}=|0\rangle\otimes I J = ∣0 ⟩ ⊗ I , compare the implemented product of layers, U C U_C U C , with the ideal product by replacing one layer at a time. For each term in this sum, the layers before the changed layer are ideal and therefore leave the workspace in the zero state; the layers after it are unitary and cannot increase the error. Thus,
∥ U C J − J R ∥ 2 ≤ ∑ l = 1 L t o t ∥ U l J − J R l ∥ 2 ≤ 10 L t o t η L . (221) \|U_C\mathcal{J}-\mathcal{J}\mathcal{R}\|_2
\le\sum_{l=1}^{L_{\mathrm{tot}}}\|U_l\mathcal{J}-\mathcal{J}R_l\|_2
\le10L_{\mathrm{tot}}\eta_L. \tag*{(221)} ∥ U C J − J R ∥ 2 ≤ l = 1 ∑ L tot ∥ U l J − J R l ∥ 2 ≤ 10 L tot η L . (221)
This argument also applies when all layers use the same workspace, and it accounts for any amplitude that remains in nonzero workspace states. Therefore, the choice η L ≤ ϵ L / ( 10 L t o t ) \eta_L\le\epsilon_L/(10L_{\mathrm{tot}}) η L ≤ ϵ L / ( 10 L tot ) from Section IV.F.2 establishes Eq. (116) .
For the full transform, take W W W to be the padded block W t W_t W t from Section IV.F.1. The isometries J i n J_{\mathrm{in}} J in and J o u t J_{\mathrm{out}} J out embed the valid labels ℓ j \ell_j ℓ j and k + m k+m k + m , respectively, with all auxiliary registers set to zero. Let V ^ \widehat{V} V be the unnormalized encoded transform Q ^ \widehat{Q} Q , which satisfies ∥ Q ^ − Q N ( m ) ∥ 2 ≤ Δ \|\widehat{Q}-Q_N^{(m)}\|_2\le\Delta ∥ Q − Q N ( m ) ∥ 2 ≤ Δ by Eq. (117) . Applying Lemma 6 with V = Q N ( m ) V=Q_N^{(m)} V = Q N ( m ) shows that, for every t ≥ 1 t \ge1 t ≥ 1 and Δ ≤ 1 / 10 \Delta\le1/10 Δ ≤ 1/10 , the output error is at most 4 Δ 4\Delta 4Δ , uniformly over all normalized valid inputs. This bound applies to the entire output vector, so it also accounts for amplitude leaking into unused labels or nonzero auxiliary states.
Finally, implementation errors in the 2 t + 1 2t+1 2 t + 1 block calls and 2 t 2t 2 t reflections add to this error by the triangle inequality, yielding Eq. (118) . Here, ε W \varepsilon_W ε W bounds the operator-norm difference between the implemented block and the ideal padded block, viewed as full unitaries. To meet this error budget, each of the G G G elementary operations in one block—including operations repeated during basis-change amplification—should be implemented to error at most ε W / G \varepsilon_W/G ε W / G .
Ultraspherical spectral solver
This appendix provides supporting results and calculations for Section V, organized as follows. Appendix F.1 establishes the identities of Section V.B, Appendices F.2 and F.3 prove Propositions 1 and 2, and Appendix F.4 shows a way to compute an explicit bound on ∥ A K − 1 ∥ 2 \lVert A_K^{-1}\rVert_2 ∥ A K − 1 ∥ 2 . Appendix F.5 discusses the reformulations for natural boundary conditions used in Section V.C, Appendix F.6 constructs the block encoding and proves Proposition 3, and Appendix F.7 examines the discretization error.
Throughout, ℓ 2 = ℓ 2 ( N ) \ell^2 = \ell^2(\mathbb{N}) ℓ 2 = ℓ 2 ( N ) contains coefficient vectors indexed from zero, Π < K \Pi_{<K} Π < K projects onto their first K K K entries, and ∥ ⋅ ∥ = ∥ ⋅ ∥ 2 \lVert\cdot\rVert= \lVert\cdot\rVert_2 ∥ ⋅ ∥ = ∥ ⋅ ∥ 2 is the Euclidean norm or the induced operator norm. For functions, T N g T_N g T N g keeps the terms of degree less than N N N in the orthonormal expansion of g g g in the relevant basis p ( λ ) p^{(\lambda)} p ( λ ) , and ∥ u ∥ C j : = max i ≤ j ∥ ∂ x i u ∥ ∞ \lVert u\rVert_{C^j} := \max_{i\le j}\lVert\partial_x^i u\rVert_\infty ∥ u ∥ C j := max i ≤ j ∥ ∂ x i u ∥ ∞ .
Differentiation, conversion, and multiplication
The derivative identity (132) can be obtained by differentiating the normalized ultraspherical polynomials. For j ≥ 1 j \ge1 j ≥ 1 and k ≥ 1 k \ge1 k ≥ 1 , write p k ( j ) = C k ( j ) / ( h k ( j ) ) 1 / 2 p_k^{(j)} = C_k^{(j)}/(h_k^{(j)})^{1/2} p k ( j ) = C k ( j ) / ( h k ( j ) ) 1/2 . By Eqs. (7) and (2) ,
d p k ( j ) d x = 2 j h k − 1 ( j + 1 ) h k ( j ) p k − 1 ( j + 1 ) = k ( k + 2 j ) p k − 1 ( j + 1 ) . (222) \frac{d p_k^{(j)}}{dx} = 2j\sqrt{\frac{h_{k-1}^{(j+1)}}{h_k^{(j)}}}\,p_{k-1}^{(j+1)} = \sqrt{k(k+2j)}\,p_{k-1}^{(j+1)}. \tag*{(222)} d x d p k ( j ) = 2 j h k ( j ) h k − 1 ( j + 1 ) p k − 1 ( j + 1 ) = k ( k + 2 j ) p k − 1 ( j + 1 ) . (222)
At j = 0 j=0 j = 0 , Eq. (6) with h k ( 0 ) = h k − 1 ( 1 ) = π / 2 h_k^{(0)} = h_{k-1}^{(1)} = \pi/2 h k ( 0 ) = h k − 1 ( 1 ) = π /2 implies a similar formula, d p k ( 0 ) / d x = k p k − 1 ( 1 ) d p_k^{(0)}/dx = k p_{k-1}^{(1)} d p k ( 0 ) / d x = k p k − 1 ( 1 ) . Differentiating p k ( 0 ) p_k^{(0)} p k ( 0 ) a total of λ \lambda λ times passes through p k − j ( j ) p_{k-j}^{(j)} p k − j ( j ) for j = 0 , … , λ − 1 j=0,\ldots,\lambda-1 j = 0 , … , λ − 1 , and the factor of step j j j is ( k − j ) ( k + j ) = k 2 − j 2 \sqrt{(k-j)(k+j)} = \sqrt{k^2-j^2} ( k − j ) ( k + j ) = k 2 − j 2 .
The conversion coefficients follow from Eq. (11) in the same way. For λ ≥ 1 \lambda\ge1 λ ≥ 1 , we write each C j ( ν ) C_j^{(\nu)} C j ( ν ) in Eq. (11) as ( h j ( ν ) ) 1 / 2 p j ( ν ) (h_j^{(\nu)})^{1/2}p_j^{(\nu)} ( h j ( ν ) ) 1/2 p j ( ν ) and then normalize by ( h k ( λ ) ) 1 / 2 (h_k^{(\lambda)})^{1/2} ( h k ( λ ) ) 1/2 . The resulting coefficients are s k ( λ ) = λ k + λ ( h k ( λ + 1 ) / h k ( λ ) ) 1 / 2 s_k^{(\lambda)} = \frac{\lambda}{k+\lambda}(h_k^{(\lambda+1)}/h_k^{(\lambda)})^{1/2} s k ( λ ) = k + λ λ ( h k ( λ + 1 ) / h k ( λ ) ) 1/2 and t k ( λ ) = λ k + λ ( h k − 2 ( λ + 1 ) / h k ( λ ) ) 1 / 2 t_k^{(\lambda)} = \frac{\lambda}{k+\lambda}(h_{k-2}^{(\lambda+1)}/h_k^{(\lambda)})^{1/2} t k ( λ ) = k + λ λ ( h k − 2 ( λ + 1 ) / h k ( λ ) ) 1/2 . From Eq. (2) , we compute
h k ( λ + 1 ) h k ( λ ) = ( k + 2 λ ) ( k + 2 λ + 1 ) ( k + λ ) 4 λ 2 ( k + λ + 1 ) , h k − 2 ( λ + 1 ) h k ( λ ) = k ( k − 1 ) ( k + λ ) 4 λ 2 ( k + λ − 1 ) . (223) \frac{h_k^{(\lambda+1)}}{h_k^{(\lambda)}} = \frac{(k+2\lambda)(k+2\lambda+1)(k+\lambda)}{4\lambda^2(k+\lambda+1)},
\qquad
\frac{h_{k-2}^{(\lambda+1)}}{h_k^{(\lambda)}} = \frac{k(k-1)(k+\lambda)}{4\lambda^2(k+\lambda-1)}. \tag*{(223)} h k ( λ ) h k ( λ + 1 ) = 4 λ 2 ( k + λ + 1 ) ( k + 2 λ ) ( k + 2 λ + 1 ) ( k + λ ) , h k ( λ ) h k − 2 ( λ + 1 ) = 4 λ 2 ( k + λ − 1 ) k ( k − 1 ) ( k + λ ) . (223)
which demonstrate the formulas in Eq. (134) . At λ = 0 \lambda=0 λ = 0 , the ultraspherical polynomials are related to the Chebyshev polynomials by T 0 = C 0 ( 1 ) T_0=C_0^{(1)} T 0 = C 0 ( 1 ) , T 1 = C 1 ( 1 ) / 2 T_1=C_1^{(1)}/2 T 1 = C 1 ( 1 ) /2 , and T k = ( C k ( 1 ) − C k − 2 ( 1 ) ) / 2 T_k=(C_k^{(1)}-C_{k-2}^{(1)})/2 T k = ( C k ( 1 ) − C k − 2 ( 1 ) ) /2 for k ≥ 2 k\ge2 k ≥ 2 . Using the normalization constants h 0 ( 0 ) = π h_0^{(0)}=\pi h 0 ( 0 ) = π and h k ( 0 ) = h k ( 1 ) = π / 2 h_k^{(0)}=h_k^{(1)}=\pi/2 h k ( 0 ) = h k ( 1 ) = π /2 for k ≥ 1 k\ge1 k ≥ 1 , we obtain s 0 ( 0 ) = 1 / 2 s_0^{(0)}=1/\sqrt{2} s 0 ( 0 ) = 1/ 2 , s k ( 0 ) = 1 / 2 s_k^{(0)}=1/2 s k ( 0 ) = 1/2 for k ≥ 1 k\ge1 k ≥ 1 , and t k ( 0 ) = 1 / 2 t_k^{(0)}=1/2 t k ( 0 ) = 1/2 for k ≥ 2 k\ge2 k ≥ 2 .
Every conversion is contractive: if z z z contains the coefficients of a polynomial g g g of degree less than N λ N_\lambda N λ in the basis p ( λ ) p^{(\lambda)} p ( λ ) , then S ^ λ → μ z \widehat{S}_{\lambda\to\mu}z S λ → μ z contains its first N μ N_\mu N μ coefficients in the basis p ( μ ) p^{(\mu)} p ( μ ) . By orthonormality,
∥ S ^ λ → μ z ∥ 2 ≤ ∫ − 1 1 w μ g 2 d x ≤ ∫ − 1 1 w λ g 2 d x = ∥ z ∥ 2 . (224) \lVert\widehat{S}_{\lambda\to\mu}z\rVert^2 \le\int_{-1}^{1} w_\mu g^2\,dx \le\int_{-1}^{1} w_\lambda g^2\,dx = \lVert z\rVert^2. \tag*{(224)} ∥ S λ → μ z ∥ 2 ≤ ∫ − 1 1 w μ g 2 d x ≤ ∫ − 1 1 w λ g 2 d x = ∥ z ∥ 2 . (224)
For the multiplication matrix, let N = N λ N=N_\lambda N = N λ and let p ( x ) = ( p 0 ( λ ) ( x ) , … , p N − 1 ( λ ) ( x ) ) T \boldsymbol{p}(x)=(p_0^{(\lambda)}(x),\ldots,p_{N-1}^{(\lambda)}(x))^\mathsf{T} p ( x ) = ( p 0 ( λ ) ( x ) , … , p N − 1 ( λ ) ( x ) ) T contain the first N N N orthonormal polynomials. The three-term recurrence for these polynomials implies
J N ( λ ) p ( x ) = x p ( x ) − c N p N ( λ ) ( x ) e N − 1 , (225) J_N^{(\lambda)}\boldsymbol{p}(x)=x\boldsymbol{p}(x)-c_Np_N^{(\lambda)}(x)e_{N-1}, \tag*{(225)} J N ( λ ) p ( x ) = x p ( x ) − c N p N ( λ ) ( x ) e N − 1 , (225)
where c N > 0 c_N>0 c N > 0 , and e N − 1 e_{N-1} e N − 1 is the last coordinate vector. At any zero x j x_j x j of p N ( λ ) p_N^{(\lambda)} p N ( λ ) , the final term is zero. Thus p ( x j ) \boldsymbol{p}(x_j) p ( x j ) is an eigenvector of J N ( λ ) J_N^{(\lambda)} J N ( λ ) with eigenvalue x j x_j x j . The columns of Q N ( λ ) Q_N^{(\lambda)} Q N ( λ ) are the vectors w j p ( x j ) \sqrt{w_j}\boldsymbol{p}(x_j) w j p ( x j ) . They are orthonormal, so Q N ( λ ) Q_N^{(\lambda)} Q N ( λ ) diagonalizes J N ( λ ) J_N^{(\lambda)} J N ( λ ) . This makes the definition of a ( J N ( λ ) ) a(J_N^{(\lambda)}) a ( J N ( λ ) ) in Eq. (136) a spectral definition when a a a is applied to each eigenvalue x j x_j x j . The entries of a ( J N ( λ ) ) a(J_N^{(\lambda)}) a ( J N ( λ ) ) are ∑ j w j p i ( λ ) ( x j ) a ( x j ) p k ( λ ) ( x j ) \sum_j w_jp_i^{(\lambda)}(x_j)a(x_j)p_k^{(\lambda)}(x_j) ∑ j w j p i ( λ ) ( x j ) a ( x j ) p k ( λ ) ( x j ) . These sums attain the corresponding integrals exactly whenever a a a is a polynomial and i + k + deg a ≤ 2 N − 1 i+k+\deg a\le2N-1 i + k + deg a ≤ 2 N − 1 . Operationally, Q N ( λ ) † Q_N^{(\lambda)\dagger} Q N ( λ ) † converts the coefficients of g g g into its values at the nodes x j x_j x j , scaled by w j \sqrt{w_j} w j . Multiplication by a ( x j ) a(x_j) a ( x j ) then acts pointwise on those samples. Applying Q N ( λ ) Q_N^{(\lambda)} Q N ( λ ) converts the result back into coefficients of the polynomial interpolant of a g ag a g .
Boundary functionals
Proof of Proposition 1. We first bound the entries of the rescaling matrix. For k ≥ q k\ge q k ≥ q , substituting Eq. (132) into Eq. (140) yields R k k = ∏ l < q ( k 2 − l 2 ) − 1 / 2 R_{kk}=\prod_{l<q}(k^2-l^2)^{-1/2} R k k = ∏ l < q ( k 2 − l 2 ) − 1/2 . Since l ≤ q − 1 ≤ ( q − 1 ) k / q l\le q-1\le(q-1)k/q l ≤ q − 1 ≤ ( q − 1 ) k / q for l < q l<q l < q , each factor satisfies ( 2 q − (2q- ( 2 q − 1 ) k 2 / q 2 ≤ k 2 − l 2 ≤ k 2 1)k^2/q^2 \le k^2-l^2 \le k^2 1 ) k 2 / q 2 ≤ k 2 − l 2 ≤ k 2 . Then, k − q ≤ R k k ≤ c q k − q k^{-q} \le R_{kk} \le c_q k^{-q} k − q ≤ R k k ≤ c q k − q with c q = [ q 2 / ( 2 q − 1 ) ] q / 2 c_q = [q^2/(2q-1)]^{q/2} c q = [ q 2 / ( 2 q − 1 ) ] q /2 .
(i) Section V.C uses Markov brothers’ inequality to show that, for a functional B B B bounded on C j ( [ − 1 , 1 ] ) C^j([-1,1]) C j ([ − 1 , 1 ]) , ∣ B ( p k ( j ) ) ∣ = O ( k 2 j ) |B(p_k^{(j)})| = O(k^{2j}) ∣ B ( p k ( j ) ) ∣ = O ( k 2 j ) . After rescaling, this gives ∣ r k ∣ = O ( k 2 j − q ) |r_k| = O(k^{2j-q}) ∣ r k ∣ = O ( k 2 j − q ) . The sequence ( r k ) (r_k) ( r k ) is square-summable if 4 j − 2 q < − 1 4j-2q<-1 4 j − 2 q < − 1 , which, for integer j j j and q q q , is equivalent to j < q / 2 j<q/2 j < q /2 . Endpoint derivatives of order j j j are bounded functionals on C j ( [ − 1 , 1 ] ) C^j([-1,1]) C j ([ − 1 , 1 ]) . Likewise, the functional u ↦ ∫ − 1 1 ϖ u d x u\mapsto\int_{-1}^{1}\varpi u\,dx u ↦ ∫ − 1 1 ϖ u d x is bounded on C 0 ( [ − 1 , 1 ] ) C^0([-1,1]) C 0 ([ − 1 , 1 ]) whenever ϖ \varpi ϖ is integrable.
(ii) Write x 0 = cos θ 0 x_0=\cos\theta_0 x 0 = cos θ 0 with 0 < θ 0 < π 0<\theta_0<\pi 0 < θ 0 < π . Since T k ( cos θ ) = cos k θ T_k(\cos\theta)=\cos k\theta T k ( cos θ ) = cos k θ and ∂ x = − ( sin θ ) − 1 ∂ θ \partial_x=-(\sin\theta)^{-1}\partial_\theta ∂ x = − ( sin θ ) − 1 ∂ θ , repeated differentiation yields ∣ ∂ x j T k ( x 0 ) ∣ ≤ C k j |\partial_x^jT_k(x_0)|\le Ck^j ∣ ∂ x j T k ( x 0 ) ∣ ≤ C k j , where C C C does not depend on k k k . Therefore, if ∣ r k ∣ = O ( k j − q ) |r_k|=O(k^{j-q}) ∣ r k ∣ = O ( k j − q ) , then ( r k ) (r_k) ( r k ) is square-summable when j < q j<q j < q .
For the final statement, let B u = u ( j ) ( ± 1 ) Bu=u^{(j)}(\pm1) B u = u ( j ) ( ± 1 ) and suppose k ≥ q k\ge q k ≥ q . Using p k ( 0 ) = 2 / π T k p_k^{(0)}=\sqrt{2/\pi}T_k p k ( 0 ) = 2/ π T k , endpoint derivatives ∣ T k ( j ) ( ± 1 ) ∣ = ∏ l = 0 j − 1 ( k 2 − l 2 ) / ( 2 l + 1 ) |T_k^{(j)}(\pm1)|=\prod_{l=0}^{j-1}(k^2-l^2)/(2l+1) ∣ T k ( j ) ( ± 1 ) ∣ = ∏ l = 0 j − 1 ( k 2 − l 2 ) / ( 2 l + 1 ) , together with the diagonal entries R k k = ∏ l < q ( k 2 − l 2 ) − 1 / 2 R_{kk}=\prod_{l<q}(k^2-l^2)^{-1/2} R k k = ∏ l < q ( k 2 − l 2 ) − 1/2 , the magnitude of r k = R k k B ( p k ( 0 ) ) r_k=R_{kk}B(p_k^{(0)}) r k = R k k B ( p k ( 0 ) ) is given by
∣ r k ∣ = 2 π ( ∏ l = 0 j − 1 k 2 − l 2 2 l + 1 ) ( ∏ l = j q − 1 1 k 2 − l 2 ) . (226) |r_k|=\sqrt{\frac{2}{\pi}}\left(\prod_{l=0}^{j-1}\frac{k^2-l^2}{2l+1}\right)\left(\prod_{l=j}^{q-1}\frac{1}{\sqrt{k^2-l^2}}\right). \tag*{(226)} ∣ r k ∣ = π 2 ( l = 0 ∏ j − 1 2 l + 1 k 2 − l 2 ) l = j ∏ q − 1 k 2 − l 2 1 . (226)
Thus, for positive constants c − c_- c − and c + c_+ c + depending only on q q q and j j j , c − k 2 j − q ≤ ∣ r k ∣ ≤ c + k 2 j − q c_-k^{2j-q}\le|r_k|\le c_+k^{2j-q} c − k 2 j − q ≤ ∣ r k ∣ ≤ c + k 2 j − q . When j ≥ q / 2 j\ge q/2 j ≥ q /2 , the partial sums of ∑ k < K k 4 j − 2 q \sum_{k<K}k^{4j-2q} ∑ k < K k 4 j − 2 q up to K K K grow as K 4 j − 2 q + 1 K^{4j-2q+1} K 4 j − 2 q + 1 . Consequently, ∥ Π < K r ∥ = Θ ( K 2 j − q + 1 / 2 ) \|\Pi_{<K}r\|=\Theta(K^{2j-q+1/2}) ∥ Π < K r ∥ = Θ ( K 2 j − q + 1/2 ) .
Proof of Proposition 2. Limit operator. Let D ^ λ ∞ \widehat{D}^{\infty}_{\lambda} D λ ∞ , S ^ λ → μ ∞ \widehat{S}^{\infty}_{\lambda\to\mu} S λ → μ ∞ , and M [ a ] ∞ M^{\infty}_{[a]} M [ a ] ∞ denote the infinite matrices of differentiation, conversion, and multiplication by a a a in the orthonormal bases. S ^ λ → μ ∞ \widehat{S}^{\infty}_{\lambda\to\mu} S λ → μ ∞ and M [ a ] ∞ M^{\infty}_{[a]} M [ a ] ∞ represent the inclusion L 2 ( w λ ) ⊂ L 2 ( w μ ) L^2(w_\lambda)\subset L^2(w_\mu) L 2 ( w λ ) ⊂ L 2 ( w μ ) and multiplication by a a a on L 2 ( w λ ) L^2(w_\lambda) L 2 ( w λ ) , so their norms are at most one and a ˉ \bar a a ˉ , respectively. In the register layout of Section V.B, the operator A ∞ A_\infty A ∞ on ℓ 2 \ell^2 ℓ 2 has the rows ⟨ r i ∣ \langle r_i| ⟨ r i ∣ for i < q i<q i < q , and for v ∈ ℓ 2 v\in\ell^2 v ∈ ℓ 2 , the entry ( A ∞ v ) q + i (A_\infty v)_{q+i} ( A ∞ v ) q + i is the coefficient of degree i i i , in the parameter-q q q basis, of D ^ q ∞ R v + ∑ λ < q S ^ λ → q ∞ M [ a λ ] ∞ D ^ λ ∞ R v \widehat{D}^{\infty}_qRv+\sum_{\lambda<q}\widehat{S}^{\infty}_{\lambda\to q}M^{\infty}_{[a_\lambda]}\widehat{D}^{\infty}_\lambda Rv D q ∞ R v + ∑ λ < q S λ → q ∞ M [ a λ ] ∞ D λ ∞ R v . Thus A ∞ = I + K A_\infty=I+K A ∞ = I + K with K = − Π < q + ∑ i ∣ i ⟩ ⟨ r i ∣ + C K=-\Pi_{<q}+\sum_i|i\rangle\langle r_i|+C K = − Π < q + ∑ i ∣ i ⟩ ⟨ r i ∣ + C , where C : = ∑ λ < q ∑ i ≥ 0 ∣ q + i ⟩ ⟨ i ∣ S ^ λ → q ∞ M [ a λ ] ∞ D ^ λ ∞ R C:=\sum_{\lambda<q}\sum_{i\ge0}|q+i\rangle\langle i|\widehat{S}^{\infty}_{\lambda\to q}M^{\infty}_{[a_\lambda]}\widehat{D}^{\infty}_\lambda R C := ∑ λ < q ∑ i ≥ 0 ∣ q + i ⟩ ⟨ i ∣ S λ → q ∞ M [ a λ ] ∞ D λ ∞ R collects the lower-order terms. The first term, − Π < q -\Pi_{<q} − Π < q , is a finite-rank projection and is therefore bounded. The second term, ∑ i ∣ i ⟩ ⟨ r i ∣ \sum_i|i\rangle\langle r_i| ∑ i ∣ i ⟩ ⟨ r i ∣ , also has finite rank and is bounded because r i ∈ ℓ 2 r_i\in\ell^2 r i ∈ ℓ 2 . The last term, C C C , is compact: for λ < q \lambda<q λ < q , the shifted diagonal operator D ^ λ ∞ R \widehat{D}^{\infty}_\lambda R D λ ∞ R is compact because its entries d k ( λ ) R k k d_k^{(\lambda)}R_{kk} d k ( λ ) R k k tend to zero, and the conversion and multiplication operators applied afterward are bounded.
Boundary functionals on smooth functions. For a boundary functional B i B_i B i and a function g ∈ C q ( [ − 1 , 1 ] ) g\in C^q([-1,1]) g ∈ C q ([ − 1 , 1 ]) with orthonormal Chebyshev coefficients g ^ \hat g g ^ , we claim that B i g = ⟨ r i , R − 1 g ^ ⟩ B_i g=\langle r_i,R^{-1}\hat g\rangle B i g = ⟨ r i , R − 1 g ^ ⟩ . This identity holds for polynomials, where the coefficient sum is finite. By Eq. (132) , the entries d k ( q ) g ^ k d_k^{(q)}\hat g_k d k ( q ) g ^ k of R − 1 g ^ R^{-1}\hat g R − 1 g ^ for k ≥ q k\ge q k ≥ q are the coefficients of d q g / d x q d^qg/dx^q d q g / d x q in the basis p ( q ) p^{(q)} p ( q ) . Since p ( q ) p^{(q)} p ( q ) is orthonormal in L 2 ( w q ) L^2(w_q) L 2 ( w q ) , p ( 0 ) p^{(0)} p ( 0 ) is orthonormal in L 2 ( w 0 ) L^2(w_0) L 2 ( w 0 ) , and ∫ − 1 1 w λ d x = h 0 ( λ ) \int_{-1}^{1}w_\lambda\,dx=h_0^{(\lambda)} ∫ − 1 1 w λ d x = h 0 ( λ ) , it follows that
∥ R − 1 g ^ ∥ 2 = ∑ k < q ∣ g ^ k ∣ 2 + ∥ g ( q ) ∥ L 2 ( w q ) 2 ≤ ( h 0 ( 0 ) + h 0 ( q ) ) ∥ g ∥ C q 2 . (227) \|R^{-1}\hat g\|^2=\sum_{k<q}|\hat g_k|^2+\|g^{(q)}\|_{L^2(w_q)}^2
\le(h_0^{(0)}+h_0^{(q)})\|g\|_{C^q}^2. \tag*{(227)} ∥ R − 1 g ^ ∥ 2 = k < q ∑ ∣ g ^ k ∣ 2 + ∥ g ( q ) ∥ L 2 ( w q ) 2 ≤ ( h 0 ( 0 ) + h 0 ( q ) ) ∥ g ∥ C q 2 . (227)
Consequently, both sides of the identity depend continuously on g g g in the C q C^q C q norm. The left-hand side is continuous because B i B_i B i is bounded on C q ( [ − 1 , 1 ] ) C^q([-1,1]) C q ([ − 1 , 1 ]) , and the right-hand side is continuous because ∣ ⟨ r i , R − 1 g ^ ⟩ ∣ ≤ ∥ r i ∥ 2 ∥ R − 1 g ^ ∥ 2 |\langle r_i,R^{-1}\hat g\rangle|\le\|r_i\|_2\|R^{-1}\hat g\|_2 ∣ ⟨ r i , R − 1 g ^ ⟩ ∣ ≤ ∥ r i ∥ 2 ∥ R − 1 g ^ ∥ 2 with r i ∈ ℓ 2 r_i\in\ell^2 r i ∈ ℓ 2 . Therefore, approximating g g g in the C q C^q C q norm by polynomials, for instance, by integrating a uniform polynomial approximation of the q q q th derivative of g g g for q q q times, extends the identity to all g ∈ C q ( [ − 1 , 1 ] ) g\in C^q([-1,1]) g ∈ C q ([ − 1 , 1 ]) .
Injectivity. Assume A ∞ v = 0 A_\infty v=0 A ∞ v = 0 , and define
u : = ∑ k R k k v k p k ( 0 ) ∈ L 2 ( w 0 ) . (228) u:=\sum_k R_{kk}v_kp_k^{(0)}\in L^2(w_0). \tag*{(228)} u := k ∑ R k k v k p k ( 0 ) ∈ L 2 ( w 0 ) . (228)
For each λ ≤ q \lambda\le q λ ≤ q , the series ∑ k d k ( λ ) R k k v k p k − λ ( λ ) \sum_k d_k^{(\lambda)}R_{kk}v_kp_{k-\lambda}^{(\lambda)} ∑ k d k ( λ ) R k k v k p k − λ ( λ ) converges in L 2 ( w λ ) L^2(w_\lambda) L 2 ( w λ ) and represents the λ \lambda λ th distributional derivative u ( λ ) u^{(\lambda)} u ( λ ) . The interior rows of A ∞ v = 0 A_\infty v=0 A ∞ v = 0 imply that
u ( q ) + ∑ λ a λ u ( λ ) = 0 in L 2 ( w q ) . (229) u^{(q)}+\sum_\lambda a_\lambda u^{(\lambda)}=0\quad\text{in }L^2(w_q). \tag*{(229)} u ( q ) + λ ∑ a λ u ( λ ) = 0 in L 2 ( w q ) . (229)
On every compact subinterval [ − 1 + η , 1 − η ] [-1+\eta,1-\eta] [ − 1 + η , 1 − η ] , each weight w λ ( x ) = ( 1 − x 2 ) λ − 1 / 2 w_\lambda(x)=(1-x^2)^{\lambda-1/2} w λ ( x ) = ( 1 − x 2 ) λ − 1/2 is bounded above and below by positive constants, so convergence in L 2 ( w λ ) L^2(w_\lambda) L 2 ( w λ ) implies convergence in L 2 ( − 1 + η , 1 − η ) L^2(-1+\eta,1-\eta) L 2 ( − 1 + η , 1 − η ) . Hence u u u has weak derivatives u ( λ ) ∈ L l o c 2 ( − 1 , 1 ) u^{(\lambda)}\in L^2_{\mathrm{loc}}(-1,1) u ( λ ) ∈ L loc 2 ( − 1 , 1 ) for all λ ≤ q \lambda\le q λ ≤ q and satisfies the regular homogeneous equation almost everywhere on ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) , so u u u is a strong solution there. Since the equation is regular with continuous coefficients, this strong solution is classical, so u ∈ C q ( [ − 1 , 1 ] ) u\in C^q([-1,1]) u ∈ C q ([ − 1 , 1 ]) is a combination of fundamental solutions y 0 , … , y q − 1 y_0,\ldots,y_{q-1} y 0 , … , y q − 1 . By Eq. (228) , u u u is represented by the coefficient vector R v Rv R v . The previous identity B i g = ⟨ r i , R − 1 g ^ ⟩ B_i g=\langle r_i,R^{-1}\hat g\rangle B i g = ⟨ r i , R − 1 g ^ ⟩ shows that B i u = ⟨ r i , v ⟩ = 0 B_i u=\langle r_i,v\rangle=0 B i u = ⟨ r i , v ⟩ = 0 for every i i i . By uniqueness for the boundary-value problem, u = 0 u=0 u = 0 , which in turn implies v = 0 v=0 v = 0 .
Invertibility. Since K K K is compact and I + K I+K I + K is injective, the Fredholm alternative implies that A ∞ A_\infty A ∞ is invertible.
Norm convergence. Let A K ⊕ I A_K\oplus I A K ⊕ I denote A K A_K A K extended by the identity on labels k ≥ K k\ge K k ≥ K . The difference from the limiting operator can be written as
A K ⊕ I − A ∞ = ( Π < K K Π < K − K ) + E K . (230) A_K\oplus I-A_\infty=(\Pi_{<K}K\Pi_{<K}-K)+E_K. \tag*{(230)} A K ⊕ I − A ∞ = ( Π < K K Π < K − K ) + E K . (230)
The first term tends to zero in norm because K K K is compact and Π < K \Pi_{<K} Π < K converges strongly to the identity. The remaining term E K E_K E K , which accounts for the finite Gauss multiplications and truncations in A K A_K A K , is the difference between two ways of incorporating the coefficient-dependent part of the operator,
E K : = ( C K ⊕ 0 ) − Π < K C Π < K , (231) E_K := (C_K \mathbin{\oplus} 0) - \Pi_{<K}C\Pi_{<K}, \tag*{(231)} E K := ( C K ⊕ 0 ) − Π < K C Π < K , (231)
where C K ⊕ 0 C_K \mathbin{\oplus} 0 C K ⊕ 0 is the finite matrix C K C_K C K extended by zero for k ≥ K k \ge K k ≥ K .
To show that ∥ E K ∥ → 0 \lVert E_K\rVert\to0 ∥ E K ∥ → 0 , we compare C K ⊕ 0 C_K \mathbin{\oplus} 0 C K ⊕ 0 and Π < K C Π < K \Pi_{<K}C\Pi_{<K} Π < K C Π < K term by term, viewing each finite matrix as an operator on ℓ 2 \ell^2 ℓ 2 that is zero outside its block. The finite matrices in C K C_K C K are truncations of the corresponding infinite operators. In particular, D ^ λ R = D ^ λ ∞ R Π < K \widehat{D}_{\lambda}R=\widehat{D}^{\infty}_{\lambda}R\Pi_{<K} D λ R = D λ ∞ R Π < K and S ^ λ → μ = Π < N μ S ^ λ → μ ∞ Π < N λ \widehat{S}_{\lambda\to\mu}=\Pi_{<N_\mu}\widehat{S}^{\infty}_{\lambda\to\mu}\Pi_{<N_\lambda} S λ → μ = Π < N μ S λ → μ ∞ Π < N λ . The first identity holds because D ^ λ ∞ R \widehat{D}^{\infty}_{\lambda}R D λ ∞ R maps the columns with k < K k<K k < K to degrees below N λ N_\lambda N λ . The second follows from how the finite conversion matrix is defined. In the infinite operator C C C , multiplication by a function is consistent across the nested function spaces L 2 ( w λ ) ⊂ L 2 ( w μ ∗ ) ⊂ L 2 ( w q ) L^2(w_\lambda)\subset L^2(w_{\mu_*})\subset L^2(w_q) L 2 ( w λ ) ⊂ L 2 ( w μ ∗ ) ⊂ L 2 ( w q ) . Thus the different routes through the spaces agree:
S ^ λ → q ∞ M λ ∞ [ a ] = S ^ μ ∗ → q ∞ M μ ∗ ∞ [ a ] S ^ λ → μ ∗ ∞ . (232) \widehat{S}^{\infty}_{\lambda\to q}M^{\infty}_{\lambda}[a]=\widehat{S}^{\infty}_{\mu_*\to q}M^{\infty}_{\mu_*}[a]\widehat{S}^{\infty}_{\lambda\to\mu_*}. \tag*{(232)} S λ → q ∞ M λ ∞ [ a ] = S μ ∗ → q ∞ M μ ∗ ∞ [ a ] S λ → μ ∗ ∞ . (232)
After these identifications, the only discrepancy comes from using Gauss multiplication on a finite set of coefficients instead of exact multiplication in the infinite space. For each λ \lambda λ , that difference is Δ M λ : = ( M μ ∗ [ a λ ] ⊕ 0 ) − M μ ∗ ∞ [ a λ ] \Delta M_\lambda:= (M_{\mu_*}[a_\lambda]\mathbin{\oplus}0)-M^\infty_{\mu_*}[a_\lambda] Δ M λ := ( M μ ∗ [ a λ ] ⊕ 0 ) − M μ ∗ ∞ [ a λ ] . The zero extension also captures the truncation to the first N μ ∗ N_{\mu_*} N μ ∗ coefficients. Putting the pieces together gives
E K = ∑ i ≥ 0 ∣ q + i ⟩ ⟨ i ∣ Π < N q ∑ λ < q E K ( λ ) , (233) E_K=\sum_{i\ge0}|q+i\rangle\langle i|\Pi_{<N_q}\sum_{\lambda<q}E_K^{(\lambda)}, \tag*{(233)} E K = i ≥ 0 ∑ ∣ q + i ⟩ ⟨ i ∣ Π < N q λ < q ∑ E K ( λ ) , (233)
where E K ( λ ) : = S ^ μ ∗ → q ∞ Δ M λ S ^ λ → μ ∗ ∞ D ^ λ ∞ R Π < K E_K^{(\lambda)}:=\widehat{S}^{\infty}_{\mu_*\to q}\Delta M_\lambda\widehat{S}^{\infty}_{\lambda\to\mu_*}\widehat{D}^{\infty}_{\lambda}R\Pi_{<K} E K ( λ ) := S μ ∗ → q ∞ Δ M λ S λ → μ ∗ ∞ D λ ∞ R Π < K . The shift ∣ q + i ⟩ ⟨ i ∣ |q+i\rangle\langle i| ∣ q + i ⟩ ⟨ i ∣ places the output at labels q + i q+i q + i ; Π < N q \Pi_{<N_q} Π < N q keeps precisely those labels for which i < N q i<N_q i < N q . Since neither the shift nor the projection Π < N q \Pi_{<N_q} Π < N q can increase an operator’s norm, applying the triangle inequality therefore yields ∥ E K ∥ ≤ ∑ λ ∥ E K ( λ ) ∥ \lVert E_K\rVert\le\sum_\lambda\lVert E_K^{(\lambda)}\rVert ∥ E K ∥ ≤ ∑ λ ∥ E K ( λ ) ∥ . This reduces the task of bounding the full error E K E_K E K to bounding each individual contribution.
We start by approximating the coefficient functions by polynomials. Fix any ε > 0 \varepsilon>0 ε > 0 . For each λ \lambda λ , choose a polynomial p λ p_\lambda p λ of degree at most d d d such that ∥ a λ − p λ ∥ ∞ ≤ ε \lVert a_\lambda-p_\lambda\rVert_\infty\le\varepsilon ∥ a λ − p λ ∥ ∞ ≤ ε . Replacing a λ a_\lambda a λ by p λ p_\lambda p λ changes the multiplication-error operator Δ M λ \Delta M_\lambda Δ M λ by at most 2 ε 2\varepsilon 2 ε . It changes E K ( λ ) E_K^{(\lambda)} E K ( λ ) by at most 2 ε ρ λ 2\varepsilon\rho_\lambda 2 ε ρ λ because the conversion operators are contractions and ∥ D ^ λ ∞ R ∥ ≤ ρ λ \lVert\widehat{D}^{\infty}_{\lambda}R\rVert\le\rho_\lambda ∥ D λ ∞ R ∥ ≤ ρ λ .
For a polynomial coefficient, the multiplication error disappears on low-degree inputs. With p λ p_\lambda p λ in place of a λ a_\lambda a λ , Δ M λ \Delta M_\lambda Δ M λ is zero on every input of degree k < N μ ∗ − d k<N_{\mu_*}-d k < N μ ∗ − d . The reason is that multiplying an input polynomial of degree k k k by p λ p_\lambda p λ , whose degree is at most d d d , gives a polynomial of degree less than N μ ∗ N_{\mu_*} N μ ∗ . The product therefore remains within the first N μ ∗ N_{\mu_*} N μ ∗ coefficients, and the Gauss quadrature integrates the relevant products exactly. Consequently, since the conversion S ^ λ → μ ∗ ∞ \widehat{S}^{\infty}_{\lambda\to\mu_*} S λ → μ ∗ ∞ does not increase degree, E K ( λ ) E_K^{(\lambda)} E K ( λ ) vanishes on columns k < N μ ∗ − d + λ k<N_{\mu_*}-d+\lambda k < N μ ∗ − d + λ . On the remaining columns, the diagonal blocks d k ( λ ) R k k d_k^{(\lambda)}R_{kk} d k ( λ ) R k k of D ^ λ ∞ R \widehat{D}^{\infty}_{\lambda}R D λ ∞ R are O ( K λ − q ) O(K^{\lambda-q}) O ( K λ − q ) . Since ∥ Δ M λ ∥ ≤ 2 ∥ p λ ∥ ∞ \lVert\Delta M_\lambda\rVert\le2\lVert p_\lambda\rVert_\infty ∥ Δ M λ ∥ ≤ 2 ∥ p λ ∥ ∞ , it follows that ∥ E K ( λ ) ∥ = O ( K λ − q ) \lVert E_K^{(\lambda)}\rVert=O(K^{\lambda-q}) ∥ E K ( λ ) ∥ = O ( K λ − q ) . This tends to zero as K → ∞ K\to\infty K → ∞ , because λ < q \lambda<q λ < q . Summing the approximation errors gives lim sup K → ∞ ∥ E K ∥ ≤ 2 ε ∑ λ ρ λ \limsup_{K\to\infty}\lVert E_K\rVert\le2\varepsilon\sum_\lambda\rho_\lambda lim sup K → ∞ ∥ E K ∥ ≤ 2 ε ∑ λ ρ λ . Since ε \varepsilon ε is arbitrary, ∥ E K ∥ → 0 \lVert E_K\rVert\to0 ∥ E K ∥ → 0 , hence ∥ A K ⊕ I − A ∞ ∥ → 0 \lVert A_K\mathbin{\oplus}I-A_\infty\rVert\to0 ∥ A K ⊕ I − A ∞ ∥ → 0 .
Certified bound on the inverse
Condition numbers. Let Δ K : = ∥ A K ⊕ I − A ∞ ∥ \Delta_K:=\lVert A_K\mathbin{\oplus}I-A_\infty\rVert Δ K := ∥ A K ⊕ I − A ∞ ∥ and Δ K : = ∥ R K ∥ \Delta_K:=\lVert R_K\rVert Δ K := ∥ R K ∥ , so that A K ⊕ I = A ∞ ( I + A ∞ − 1 R K ) A_K\mathbin{\oplus}I=A_\infty(I+A_\infty^{-1}R_K) A K ⊕ I = A ∞ ( I + A ∞ − 1 R K ) . Since Δ K → 0 \Delta_K\to0 Δ K → 0 , the condition Δ K ∥ A ∞ − 1 ∥ < 1 \Delta_K\lVert A_\infty^{-1}\rVert<1 Δ K ∥ A ∞ − 1 ∥ < 1 holds for all sufficiently large K K K . Then ∥ A ∞ − 1 R K ∥ ≤ ∥ A ∞ − 1 ∥ Δ K < 1 \lVert A_\infty^{-1}R_K\rVert\le\lVert A_\infty^{-1}\rVert\Delta_K<1 ∥ A ∞ − 1 R K ∥ ≤ ∥ A ∞ − 1 ∥ Δ K < 1 . The Neumann series ( I + A ∞ − 1 R K ) − 1 = ∑ j ≥ 0 ( − A ∞ − 1 R K ) j (I+A_\infty^{-1}R_K)^{-1}=\sum_{j\ge0}(-A_\infty^{-1}R_K)^j ( I + A ∞ − 1 R K ) − 1 = ∑ j ≥ 0 ( − A ∞ − 1 R K ) j therefore converges, and its norm is bounded by a geometric series:
∥ ( I + A ∞ − 1 R K ) − 1 ∥ ≤ 1 1 − Δ K ∥ A ∞ − 1 ∥ . (234) \left\lVert\left(I+A_\infty^{-1}R_K\right)^{-1}\right\rVert\le\frac{1}{1-\Delta_K\lVert A_\infty^{-1}\rVert}. \tag*{(234)} ( I + A ∞ − 1 R K ) − 1 ≤ 1 − Δ K ∥ A ∞ − 1 ∥ 1 . (234)
Hence A K ⊕ I A_K\mathbin{\oplus}I A K ⊕ I is invertible. Since it is block diagonal, A K A_K A K is also invertible such that ( A K ⊕ I ) − 1 = A K − 1 ⊕ I (A_K\mathbin{\oplus}I)^{-1}=A_K^{-1}\mathbin{\oplus}I ( A K ⊕ I ) − 1 = A K − 1 ⊕ I . It follows that
∥ A K − 1 ∥ ≤ ∥ ( A K ⊕ I ) − 1 ∥ ≤ ∥ A ∞ − 1 ∥ 1 − Δ K ∥ A ∞ − 1 ∥ . (235) \lVert A_K^{-1}\rVert\le\lVert(A_K\mathbin{\oplus}I)^{-1}\rVert\le\frac{\lVert A_\infty^{-1}\rVert}{1-\Delta_K\lVert A_\infty^{-1}\rVert}. \tag*{(235)} ∥ A K − 1 ∥ ≤ ∥( A K ⊕ I ) − 1 ∥ ≤ 1 − Δ K ∥ A ∞ − 1 ∥ ∥ A ∞ − 1 ∥ . (235)
Similarly, ∥ A K ∥ ≤ ∥ A K ⊕ I ∥ ≤ ∥ A ∞ ∥ + Δ K \lVert A_K\rVert\le\lVert A_K\mathbin{\oplus}I\rVert\le\lVert A_\infty\rVert+\Delta_K ∥ A K ∥ ≤ ∥ A K ⊕ I ∥ ≤ ∥ A ∞ ∥ + Δ K . As K → ∞ K\to\infty K → ∞ , the product of these bounds converges to κ 2 ( A ∞ ) \kappa_2(A_\infty) κ 2 ( A ∞ ) . Therefore lim sup K → ∞ κ 2 ( A K ) ≤ κ 2 ( A ∞ ) \limsup_{K\to\infty}\kappa_2(A_K)\le\kappa_2(A_\infty) lim sup K → ∞ κ 2 ( A K ) ≤ κ 2 ( A ∞ ) , which gives Eq. (143) for every γ > 1 \gamma>1 γ > 1 . □
Certified bound on the inverse
Proposition 3 requires a bound κ ˉ ≥ ∥ A K − 1 ∥ \bar{\kappa}\ge\lVert A_K^{-1}\rVert κ ˉ ≥ ∥ A K − 1 ∥ before the circuit is built. Although Proposition 2 guarantees that such a bound exists for large K K K , it does not provide an explicit value. We obtain one by performing a single classical computation at a small, fixed resolution, following the approach of validated Chebyshev methods for linear ordinary differential equations [58 ] . The formulas in § 0.6 .B define A K A_K A K for every integer K > q K>q K > q , so we use them even when K K K is not a power of two.
The computation uses polynomial approximations of the coefficients. For each λ < q \lambda<q λ < q with a λ ≠ 0 a_\lambda\ne0 a λ = 0 , let p λ p_\lambda p λ be a polynomial of degree at most d λ d_\lambda d λ with ∥ a λ − p λ ∥ ∞ ≤ ε λ \lVert a_\lambda-p_\lambda\rVert_\infty\le\varepsilon_\lambda ∥ a λ − p λ ∥ ∞ ≤ ε λ . We take p λ = a λ p_\lambda=a_\lambda p λ = a λ and ε λ = 0 \varepsilon_\lambda=0 ε λ = 0 when a λ a_\lambda a λ is a polynomial, and the Chebyshev interpolant of degree d λ d_\lambda d λ with ε λ = 4 M λ ρ − d λ / ( q − 1 ) \varepsilon_\lambda=4M_\lambda\rho^{-d_\lambda}/(q-1) ε λ = 4 M λ ρ − d λ / ( q − 1 ) when a λ a_\lambda a λ is analytic and bounded by M λ M_\lambda M λ on a neighborhood of the Bernstein ellipse E ρ E_\rho E ρ [35 Theorem 8.2] . Define A K [ p ] A_K[p] A K [ p ] as the matrix formed using the polynomial coefficients p λ p_\lambda p λ . In all sums over λ \lambda λ , include only indices with λ < q \lambda<q λ < q and a λ ≠ 0 a_\lambda\ne0 a λ = 0 . For each such λ \lambda λ , define
ρ λ ( k 0 ) : = max k ≥ max { k 0 , 0 } d k ( λ ) R k k . (236) \rho_\lambda(k_0):=\max_{k\ge\max\{k_0,0\}}d_k^{(\lambda)}R_{kk}. \tag*{(236)} ρ λ ( k 0 ) := k ≥ m a x { k 0 , 0 } max d k ( λ ) R k k . (236)
Then, ρ λ ( 0 ) = ρ λ \rho_\lambda(0)=\rho_\lambda ρ λ ( 0 ) = ρ λ and ρ λ ( k 0 ) = ∏ j = λ q − 1 ( k 0 2 − j 2 ) − 1 / 2 \rho_\lambda(k_0)=\prod_{j=\lambda}^{q-1}(k_0^2-j^2)^{-1/2} ρ λ ( k 0 ) = ∏ j = λ q − 1 ( k 0 2 − j 2 ) − 1/2 for k 0 ≥ q k_0\ge q k 0 ≥ q . Choose a cutoff K 1 K_1 K 1 with K 1 ≥ q K_1 \ge q K 1 ≥ q , fixed independently of K K K . Increasing K 1 K_1 K 1 makes the omitted couplings smaller, but also increases the computation needed for the part below the cutoff. For indices k ≥ K 1 k \ge K_1 k ≥ K 1 , the lower-order terms have norm at most the small quantity Δ \Delta Δ defined below, so A ∞ A_\infty A ∞ is close to the identity there on this tail of the indices. The main computation only needs to focus on the leading block. Split the index set into two parts: k < K 1 k < K_1 k < K 1 and k ≥ K 1 k \ge K_1 k ≥ K 1 . In this split, A 11 , A 12 , A 21 , A 22 A_{11}, A_{12}, A_{21}, A_{22} A 11 , A 12 , A 21 , A 22 denote the corresponding four blocks of an operator A A A . Define
K 2 : = K 1 + q + max { 0 , max λ ( d λ − λ ) } (237) K_2 := K_1 + q + \max\{0,\max_{\lambda}(d_\lambda-\lambda)\} \tag*{(237)} K 2 := K 1 + q + max { 0 , λ max ( d λ − λ )} (237)
and K 3 : = 2 K 2 − K 1 K_3 := 2K_2-K_1 K 3 := 2 K 2 − K 1 . The columns with indices below K 1 K_1 K 1 can couple only to indices below K 2 K_2 K 2 , except for the boundary rows. At resolution K 3 K_3 K 3 , these couplings are not distorted by truncating the matrix. Both claims are established by the proof below.
From A K 3 [ p ] A_{K_3}[p] A K 3 [ p ] , extract three blocks
G : [ 0 , K 1 ) × [ 0 , K 1 ) , B 12 : [ 0 , K 1 ) × [ K 1 , K 2 ) , B 21 : [ K 1 , K 2 ) × [ 0 , K 1 ) . (238) \begin{aligned}
G &: [0,K_1)\times[0,K_1),\\
B_{12} &: [0,K_1)\times[K_1,K_2),\\
B_{21} &: [K_1,K_2)\times[0,K_1). \tag*{(238)}
\end{aligned} G B 12 B 21 : [ 0 , K 1 ) × [ 0 , K 1 ) , : [ 0 , K 1 ) × [ K 1 , K 2 ) , : [ K 1 , K 2 ) × [ 0 , K 1 ) . (238)
In other words, G G G is the leading square block, while B 12 B_{12} B 12 and B 21 B_{21} B 21 describe the couplings between the leading indices and the next band of indices. Any remaining coupling is bounded using the tail norm r t a i l 2 : = ∑ i < q ∥ ( I − Π < K 2 ) r i ∥ 2 2 r_{\mathrm{tail}}^2 := \sum_{i<q}\|(I-\Pi_{<K_2})r_i\|_2^2 r tail 2 := ∑ i < q ∥ ( I − Π < K 2 ) r i ∥ 2 2 and the tail error bound Δ : = ∑ λ ( a ˉ λ + ϵ λ ) ρ λ ( K 1 ) \Delta:= \sum_{\lambda}(\bar{a}_\lambda+\epsilon_\lambda)\rho_\lambda(K_1) Δ := ∑ λ ( a ˉ λ + ϵ λ ) ρ λ ( K 1 ) . The tail norm measures how much of the boundary rows r i r_i r i lies beyond the cutoff K 2 K_2 K 2 , while Δ \Delta Δ bounds the contribution of the lower-order terms on the tail k ≥ K 1 k \ge K_1 k ≥ K 1 . Using these bounds, we define
b 12 : = ( ∥ B 12 ∥ 2 2 + r t a i l 2 ) 1 / 2 1 − Δ , b 21 : = ∥ B 21 ∥ 2 1 − Δ , (239) b_{12}:=\frac{\left(\|B_{12}\|_2^2+r_{\mathrm{tail}}^2\right)^{1/2}}{1-\Delta},\qquad b_{21}:=\frac{\|B_{21}\|_2}{1-\Delta}, \tag*{(239)} b 12 := 1 − Δ ( ∥ B 12 ∥ 2 2 + r tail 2 ) 1/2 , b 21 := 1 − Δ ∥ B 21 ∥ 2 , (239)
and σ : = σ min ( G − B 12 B 21 ) − Δ ( 1 − Δ ) b 12 b 21 \sigma:= \sigma_{\min}(G-B_{12}B_{21})-\Delta(1-\Delta)b_{12}b_{21} σ := σ m i n ( G − B 12 B 21 ) − Δ ( 1 − Δ ) b 12 b 21 .
Lemma 7 (Certified inverse bound). Assume that every rescaled boundary row lies in ℓ 2 ( N ) \ell^2(\mathbb{N}) ℓ 2 ( N ) , that Δ < 1 \Delta<1 Δ < 1 , and that σ > 0 \sigma>0 σ > 0 . Define
κ p : = 1 σ ∥ [ 1 b 12 b 21 σ / ( 1 − Δ ) + b 12 b 21 ] ∥ 2 (240) \kappa_p:=\frac{1}{\sigma}\left\|\begin{bmatrix}1 & b_{12}\\ b_{21} & \sigma/(1-\Delta)+b_{12}b_{21}\end{bmatrix}\right\|_2 \tag*{(240)} κ p := σ 1 [ 1 b 21 b 12 σ / ( 1 − Δ ) + b 12 b 21 ] 2 (240) and e : = ∑ λ ϵ λ ρ λ e:=\sum_{\lambda}\epsilon_\lambda\rho_\lambda e := ∑ λ ϵ λ ρ λ . If e κ p < 1 e\kappa_p<1 e κ p < 1 , then A ∞ A_\infty A ∞ is invertible. Moreover, for every K ≥ K 3 K\ge K_3 K ≥ K 3 ,
∥ A K − 1 ∥ 2 ≤ κ c e r t : = κ p 1 − e κ p . (241) \|A_K^{-1}\|_2\le\kappa_{\mathrm{cert}}:=\frac{\kappa_p}{1-e\kappa_p}. \tag*{(241)} ∥ A K − 1 ∥ 2 ≤ κ cert := 1 − e κ p κ p . (241) The same bound holds for ∥ A ∞ − 1 ∥ 2 \|A_\infty^{-1}\|_2 ∥ A ∞ − 1 ∥ 2 . In particular, κ ˉ : = α κ c e r t \bar{\kappa}:=\alpha\kappa_{\mathrm{cert}} κ ˉ := α κ cert satisfies the assumption of Proposition 3 for every K ≥ K 3 K\ge K_3 K ≥ K 3 .
Proof. The proof has two parts. We first bound the inverse for the operators built from the polynomials p λ p_\lambda p λ , and only in the last step do we account for the difference between a λ a_\lambda a λ and p λ p_\lambda p λ . Let A ∞ [ p ] A_\infty[p] A ∞ [ p ] denote the operator A ∞ = I + K A_\infty=I+\mathcal{K} A ∞ = I + K defined in the first step of the proof in Appendix F.3, with every a λ a_\lambda a λ replaced by p λ p_\lambda p λ . Until the last step, A A A stands for either A K [ p ] ⊕ I A_K[p]\oplus I A K [ p ] ⊕ I with some K ≥ K 3 K\ge K_3 K ≥ K 3 or A ∞ [ p ] A_\infty[p] A ∞ [ p ] . For now, we omit the argument bracket for brevity. The operator A ∞ A_\infty A ∞ is bounded on ℓ 2 \ell^2 ℓ 2 , because the rescaled boundary rows lie in ℓ 2 \ell^2 ℓ 2 by assumption and the lower-order terms have norm at most ∑ λ ∥ p λ ∥ ∞ ρ λ \sum_\lambda\|p_\lambda\|_\infty\rho_\lambda ∑ λ ∥ p λ ∥ ∞ ρ λ . We can treat the two cases together, since the argument below uses only entries that the two operators share and norm bounds that hold for both. For the finite-dimensional case, suppose A K ⊕ I A_K\oplus I A K ⊕ I is invertible. Since it is block diagonal, ( A K ⊕ I ) − 1 = A K − 1 ⊕ I (A_K\oplus I)^{-1}=A_K^{-1}\oplus I ( A K ⊕ I ) − 1 = A K − 1 ⊕ I , and hence ∥ ( A K ⊕ I ) − 1 ∥ 2 ≥ ∥ A K − 1 ∥ 2 \|(A_K\oplus I)^{-1}\|_2\ge\|A_K^{-1}\|_2 ∥ ( A K ⊕ I ) − 1 ∥ 2 ≥ ∥ A K − 1 ∥ 2 . Thus, it suffices to bound ∥ ( A K ⊕ I ) − 1 ∥ 2 \|(A_K\oplus I)^{-1}\|_2 ∥ ( A K ⊕ I ) − 1 ∥ 2 .
As discussed before the lemma, we split the labels into k < K 1 k<K_1 k < K 1 and k ≥ K 1 k\ge K_1 k ≥ K 1 and write
A = [ A 11 A 12 A 21 A 22 ] . (242) A=\begin{bmatrix}A_{11}&A_{12}\\A_{21}&A_{22}\end{bmatrix}. \tag*{(242)} A = [ A 11 A 21 A 12 A 22 ] . (242)
We will show that A 22 A_{22} A 22 is close to the identity and that the other three blocks are given by the computed matrices G G G , B 12 B_{12} B 12 , and B 21 B_{21} B 21 , up to the tails of the boundary rows. Eliminating A 22 A_{22} A 22 then leaves a K 1 × K 1 K_1\times K_1 K 1 × K 1 Schur complement, whose smallest singular value can be bounded from below by the computed quantities.
Degree count. We first determine which entries of A ∞ A_\infty A ∞ can be nonzero. In A ∞ A_\infty A ∞ , the term of order λ \lambda λ maps column k k k first to degree k − λ k-\lambda k − λ through D ^ λ \widehat{D}_\lambda D λ . By Eq. (133) , each of the q − λ q-\lambda q − λ conversion steps either preserves the degree or lowers it by two, while multiplication by p λ p_\lambda p λ changes the degree by at most d λ d_\lambda d λ . The resulting degree i i i therefore lies between k − λ − d λ − 2 ( q − λ ) k-\lambda-d_\lambda-2(q-\lambda) k − λ − d λ − 2 ( q − λ ) and k − λ + d λ k-\lambda+d_\lambda k − λ + d λ . Since interior degree i i i is stored at label q + i q+i q + i , the term can map column k k k only to labels ℓ \ell ℓ with
k − ( q + d λ − λ ) ≤ ℓ ≤ k + ( q + d λ − λ ) . (243) k-(q+d_\lambda-\lambda)\le\ell\le k+(q+d_\lambda-\lambda). \tag*{(243)} k − ( q + d λ − λ ) ≤ ℓ ≤ k + ( q + d λ − λ ) . (243)
The cutoff K 2 K_2 K 2 was chosen to cover this band. By its definition, every λ \lambda λ satisfies q + d λ − λ ≤ K 2 − K 1 q+d_\lambda-\lambda\le K_2-K_1 q + d λ − λ ≤ K 2 − K 1 . Each lower-order term therefore maps column k k k to labels that differ from k k k by at most K 2 − K 1 K_2-K_1 K 2 − K 1 , and so does the identity part I − Π < q I-\Pi_{<q} I − Π < q , which maps a column k ≥ q k\ge q k ≥ q to the label k k k itself. For a column k < K 1 k<K_1 k < K 1 , this gives ℓ ≤ K 1 − 1 + ( K 2 − K 1 ) = K 2 − 1 \ell\le K_1-1+(K_2-K_1)=K_2-1 ℓ ≤ K 1 − 1 + ( K 2 − K 1 ) = K 2 − 1 . For a column k ≥ K 2 k\ge K_2 k ≥ K 2 , it gives ℓ ≥ K 2 − ( K 2 − K 1 ) = K 1 \ell\ge K_2-(K_2-K_1)=K_1 ℓ ≥ K 2 − ( K 2 − K 1 ) = K 1 . The boundary rows are the only exception, since they can have nonzero entries in every column. Their labels 0 , … , q − 1 0,\ldots,q-1 0 , … , q − 1 all lie below K 1 K_1 K 1 , because K 1 ≥ q K_1\ge q K 1 ≥ q . In summary, apart from the boundary rows, the columns k < K 1 k<K_1 k < K 1 reach only labels below K 2 K_2 K 2 , and the columns k ≥ K 2 k\ge K_2 k ≥ K 2 reach only labels of at least K 1 K_1 K 1 .
Finite resolution. We now compare A K ⊕ I A_K\oplus I A K ⊕ I , for a fixed K ≥ K 3 K\ge K_3 K ≥ K 3 , with A ∞ A_\infty A ∞ . As in the proof of Proposition 2, we route each lower-order term of A ∞ A_\infty A ∞ through the parameter-μ ∗ \mu^\ast μ ∗ basis, using S λ → q ∞ M λ ∞ [ p ] = S μ ∗ → q ∞ M μ ∗ ∞ [ p ] S λ → μ ∗ ∞ S^\infty_{\lambda\to q}M^\infty_{\lambda}[p]=S^\infty_{\mu^\ast\to q}M^\infty_{\mu^\ast}[p]S^\infty_{\lambda\to\mu^\ast} S λ → q ∞ M λ ∞ [ p ] = S μ ∗ → q ∞ M μ ∗ ∞ [ p ] S λ → μ ∗ ∞ . The finite and infinite terms therefore use the same factors, except that the finite derivative and conversion operators are truncated. In particular, D ^ λ R = D ^ λ ∞ R Π < K \widehat{D}_\lambda R=\widehat{D}^\infty_\lambda R\Pi_{<K} D λ R = D λ ∞ R Π < K and the finite conversions retain only the first N μ ⋆ N_{\mu^\star} N μ ⋆ or N q N_q N q coefficients. As a result, the two operators can differ for only three reasons. First, for columns k ≥ K k \ge K k ≥ K , A K ⊕ I A_K \oplus I A K ⊕ I has only the diagonal entry 1 1 1 , whereas A ∞ [ p ] A_\infty[p] A ∞ [ p ] also has boundary-row and lower-order entries. Second, the finite conversion S ^ μ ⋆ → q \widehat{S}_{\mu^\star\to q} S μ ⋆ → q discards the rows ℓ ≥ K \ell\ge K ℓ ≥ K in A ∞ A_\infty A ∞ , while A K ⊕ I A_K \oplus I A K ⊕ I has identity rows there. Third, within the leading K × K K \times K K × K block, the finite operator uses the Gauss multiplication matrix M μ ⋆ [ p λ ] M_{\mu^\star}[p_\lambda] M μ ⋆ [ p λ ] on the first N μ ⋆ N_{\mu^\star} N μ ⋆ coefficients rather than the exact infinite multiplication operator.
The difference in the third case is Δ M λ = ( M μ ⋆ [ p λ ] ⊕ 0 ) − M μ ⋆ ∞ [ p λ ] \Delta M_\lambda= (M_{\mu^\star}[p_\lambda] \oplus0) - M_{\mu^\star}^{\infty}[p_\lambda] Δ M λ = ( M μ ⋆ [ p λ ] ⊕ 0 ) − M μ ⋆ ∞ [ p λ ] from the proof of Proposition 2. This also accounts for the truncation of S ^ λ → μ ⋆ \widehat{S}_{\lambda\to\mu^\star} S λ → μ ⋆ to N μ ⋆ N_{\mu^\star} N μ ⋆ coefficients. The difference vanishes on inputs of degree below N μ ⋆ − d λ N_{\mu^\star}-d_\lambda N μ ⋆ − d λ : multiplying such an input by p λ p_\lambda p λ keeps the result below degree N μ ⋆ N_{\mu^\star} N μ ⋆ , so no terms are truncated and the Gauss rule is exact. Since both multiplication matrices are symmetric, Δ M λ \Delta M_\lambda Δ M λ also produces no outputs below that degree threshold.
Using the band in Eq. (F22), together with q + d λ − λ ≤ K 2 − K 1 q+d_\lambda-\lambda\le K_2-K_1 q + d λ − λ ≤ K 2 − K 1 , we can locate where the differences can occur. In the first case, the column satisfies k ≥ K k \ge K k ≥ K , so the lower-order entries lie in the rows ℓ ≥ k − ( K 2 − K 1 ) ≥ K − ( K 2 − K 1 ) \ell\ge k-(K_2-K_1) \ge K-(K_2-K_1) ℓ ≥ k − ( K 2 − K 1 ) ≥ K − ( K 2 − K 1 ) . In the second case, the row satisfies ℓ ≥ K \ell\ge K ℓ ≥ K , and the relevant columns are k ≥ ℓ − ( K 2 − K 1 ) ≥ K − ( K 2 − K 1 ) k \ge\ell-(K_2-K_1) \ge K-(K_2-K_1) k ≥ ℓ − ( K 2 − K 1 ) ≥ K − ( K 2 − K 1 ) . In the third case, the affected input and output labels satisfy k ≥ K − μ ⋆ − d λ + λ k \ge K-\mu^\star-d_\lambda+\lambda k ≥ K − μ ⋆ − d λ + λ and ℓ ≥ K − q + μ ⋆ − d λ \ell\ge K-q+\mu^\star-d_\lambda ℓ ≥ K − q + μ ⋆ − d λ . Since λ ≤ μ ⋆ < q \lambda\le\mu^\star< q λ ≤ μ ⋆ < q , both bounds are at least K − ( q + d λ − λ ) ≥ K − ( K 2 − K 1 ) K-(q+d_\lambda-\lambda) \ge K-(K_2-K_1) K − ( q + d λ − λ ) ≥ K − ( K 2 − K 1 ) .
Thus, in every case, any changed entry outside the boundary rows has both its row and column labels at least K − ( K 2 − K 1 ) K-(K_2-K_1) K − ( K 2 − K 1 ) . This quantity is at least K 2 K_2 K 2 , because K ≥ K 3 = 2 K 2 − K 1 K \ge K_3=2K_2-K_1 K ≥ K 3 = 2 K 2 − K 1 . Therefore, A K ⊕ I A_K \oplus I A K ⊕ I and A ∞ A_\infty A ∞ agree in all rows and columns with labels below K 2 K_2 K 2 , except that the finite boundary rows stop at column K − 1 K-1 K − 1 , whereas the infinite boundary rows continue beyond K K K . This exception concerns only columns k ≥ K > K 2 k \ge K > K_2 k ≥ K > K 2 . In particular, the blocks G G G , B 12 B_{12} B 12 , and B 21 B_{21} B 21 are the same in A K 3 A_{K_3} A K 3 , in A K ⊕ I A_K \oplus I A K ⊕ I for every K ≥ K 3 K \ge K_3 K ≥ K 3 , and in A ∞ A_\infty A ∞ .
Off-diagonal blocks. We can now examine the three blocks of A A A that involve the first K 1 K_1 K 1 labels. By the previous step, these blocks are identical for A K ⊕ I A_K \oplus I A K ⊕ I and A ∞ A_\infty A ∞ , except for the boundary-row entries in the columns k ≥ K k \ge K k ≥ K .
The leading block is A 11 = G A_{11}=G A 11 = G . The block A 21 A_{21} A 21 contains rows ℓ ≥ K 1 \ell\ge K_1 ℓ ≥ K 1 and columns k < K 1 k<K_1 k < K 1 . Its rows with K 1 ≤ ℓ < K 2 K_1 \le\ell<K_2 K 1 ≤ ℓ < K 2 form B 21 B_{21} B 21 ; all rows with ℓ ≥ K 2 \ell\ge K_2 ℓ ≥ K 2 are zero by the degree count. Thus
A 21 = [ B 21 0 ] . A_{21}=
\begin{bmatrix}
B_{21}\\
0
\end{bmatrix}. A 21 = [ B 21 0 ] .
The block A 12 A_{12} A 12 consists of rows ℓ < K 1 \ell<K_1 ℓ < K 1 and columns k ≥ K 1 k \ge K_1 k ≥ K 1 . Its columns with K 1 ≤ k < K 2 K_1 \le k<K_2 K 1 ≤ k < K 2 form B 12 B_{12} B 12 . For the remaining columns, k ≥ K 2 k \ge K_2 k ≥ K 2 , the degree count shows that only the boundary rows can be nonzero. Call this remaining part T T T . Then
A 12 = [ B 12 T ] . A_{12}=\begin{bmatrix}B_{12}&T\end{bmatrix}. A 12 = [ B 12 T ] .
The only nonzero rows of T T T are the q q q boundary rows, whose entries are r k r_k r k for k ≥ K 2 k \ge K_2 k ≥ K 2 . In A K ⊕ I A_K\oplus I A K ⊕ I , entries with k ≥ K k \ge K k ≥ K are set to zero. In either case, ∥ T ∥ 2 \lVert T\rVert_2 ∥ T ∥ 2 is at most its Frobenius norm, which is at most r t a i l r_{\mathrm{tail}} r tail .
These block forms imply three useful facts. First, T T T multiplies the zero rows of A 21 A_{21} A 21 , so A 12 A 21 = B 12 B 21 A_{12}A_{21}=B_{12}B_{21} A 12 A 21 = B 12 B 21 . Second, write a vector v v v in parts matching the columns of A 12 A_{12} A 12 , as v = ( v a , v b ) v=(v_a,v_b) v = ( v a , v b ) . By the triangle inequality and Cauchy–Schwarz,
∥ B 12 v a + T v b ∥ 2 ≤ ∥ B 12 ∥ 2 ∥ v a ∥ 2 + r t a i l ∥ v b ∥ 2 ≤ ( ∥ B 12 ∥ 2 2 + r t a i l 2 ) 1 / 2 ∥ v ∥ 2 . (244) \begin{aligned}
\lVert B_{12}v_a+Tv_b\rVert_2
&\le\lVert B_{12}\rVert_2\lVert v_a\rVert_2+r_{\mathrm{tail}}\lVert v_b\rVert_2\\
&\le\left(\lVert B_{12}\rVert_2^2+r_{\mathrm{tail}}^2\right)^{1/2}\lVert v\rVert_2. \tag*{(244)}
\end{aligned} ∥ B 12 v a + T v b ∥ 2 ≤ ∥ B 12 ∥ 2 ∥ v a ∥ 2 + r tail ∥ v b ∥ 2 ≤ ( ∥ B 12 ∥ 2 2 + r tail 2 ) 1/2 ∥ v ∥ 2 . (244)
By the definition of b 12 b_{12} b 12 in Eq. (F18), this means ∥ A 12 ∥ 2 ≤ ( 1 − Δ ) b 12 \lVert A_{12}\rVert_2 \le(1-\Delta)b_{12} ∥ A 12 ∥ 2 ≤ ( 1 − Δ ) b 12 . Third, the zero rows of A 21 A_{21} A 21 do not contribute to its norm, so ∥ A 21 ∥ 2 = ∥ B 21 ∥ 2 = ( 1 − Δ ) b 21 \lVert A_{21}\rVert_2=\lVert B_{21}\rVert_2=(1-\Delta)b_{21} ∥ A 21 ∥ 2 = ∥ B 21 ∥ 2 = ( 1 − Δ ) b 21 .
Diagonal block. The block A 22 A_{22} A 22 contains only rows and columns whose labels are at least K 1 K_1 K 1 . Because K 1 ≥ q K_1 \ge q K 1 ≥ q , the boundary-condition rows and the boundary projection do not affect this block, so its identity contribution is exactly I I I . Therefore, A 22 − I A_{22}-I A 22 − I consists only of the lower-order differential terms.
For each term of order λ \lambda λ , the rescaled derivative has norm at most ρ λ ( K 1 ) \rho_\lambda(K_1) ρ λ ( K 1 ) on columns with labels k ≥ K 1 k \ge K_1 k ≥ K 1 . The basis conversions are contractions, so they do not increase this bound. The multiplication operator has norm at most ∥ p λ ∥ ∞ \lVert p_\lambda\rVert_\infty ∥ p λ ∥ ∞ , which is no greater than a ˉ λ + ε λ \bar a_\lambda+\varepsilon_\lambda a ˉ λ + ε λ . Shifting labels and truncating the matrix also cannot increase the norm. Adding the bounds for all lower-order terms gives
∥ A 22 − I ∥ 2 < ∑ λ ( a ˉ λ + ε λ ) ρ λ ( K 1 ) = Δ < 1. (245) \lVert A_{22}-I\rVert_2<\sum_\lambda(\bar a_\lambda+\varepsilon_\lambda)\rho_\lambda(K_1)=\Delta<1. \tag*{(245)} ∥ A 22 − I ∥ 2 < λ ∑ ( a ˉ λ + ε λ ) ρ λ ( K 1 ) = Δ < 1. (245)
Thus A 22 A_{22} A 22 is the identity plus a perturbation of norm less than one, so it is invertible by the convergent Neumann series.
A 22 − 1 = ∑ j ≥ 0 ( I − A 22 ) j = I + ∑ j ≥ 1 ( I − A 22 ) j . (246) A_{22}^{-1}=\sum_{j\ge0}(I-A_{22})^j=I+\sum_{j\ge1}(I-A_{22})^j. \tag*{(246)} A 22 − 1 = j ≥ 0 ∑ ( I − A 22 ) j = I + j ≥ 1 ∑ ( I − A 22 ) j . (246)
Moreover, since ∥ ( I − A 22 ) j ∥ 2 ≤ Δ j \lVert(I-A_{22})^j\rVert_2\le\Delta^j ∥( I − A 22 ) j ∥ 2 ≤ Δ j , it follows that ∥ A 22 − 1 ∥ 2 ≤ 1 / ( 1 − Δ ) \lVert A_{22}^{-1}\rVert_2\le1/(1-\Delta) ∥ A 22 − 1 ∥ 2 ≤ 1/ ( 1 − Δ ) and ∥ A 22 − 1 − I ∥ 2 ≤ Δ / ( 1 − Δ ) \lVert A_{22}^{-1}-I\rVert_2\le\Delta/(1-\Delta) ∥ A 22 − 1 − I ∥ 2 ≤ Δ/ ( 1 − Δ ) .
Schur complement. The bounds above let us eliminate the block A 22 A_{22} A 22 using the Schur complement. Define X : = A 12 A 22 − 1 X:=A_{12}A_{22}^{-1} X := A 12 A 22 − 1 and Y : = A 22 − 1 A 21 Y:=A_{22}^{-1}A_{21} Y := A 22 − 1 A 21 . Then ∥ X ∥ 2 ≤ ∥ A 12 ∥ 2 ∥ A 22 − 1 ∥ 2 = ( 1 − Δ ) b 12 / ( 1 − Δ ) = b 12 \lVert X\rVert_2\le\lVert A_{12}\rVert_2\lVert A_{22}^{-1}\rVert_2=(1-\Delta)b_{12}/(1-\Delta)=b_{12} ∥ X ∥ 2 ≤ ∥ A 12 ∥ 2 ∥ A 22 − 1 ∥ 2 = ( 1 − Δ ) b 12 / ( 1 − Δ ) = b 12 , and in the same way, ∥ Y ∥ 2 ≤ b 21 \lVert Y\rVert_2\le b_{21} ∥ Y ∥ 2 ≤ b 21 . The Schur complement of A 22 A_{22} A 22 is
S : = A 11 − A 12 A 22 − 1 A 21 . (247) S:=A_{11}-A_{12}A_{22}^{-1}A_{21}. \tag*{(247)} S := A 11 − A 12 A 22 − 1 A 21 . (247)
Using A 11 = G A_{11}=G A 11 = G , A 12 A 21 = B 12 B 21 A_{12}A_{21}=B_{12}B_{21} A 12 A 21 = B 12 B 21 , and writing A 22 − 1 = I + ( A 22 − 1 − I ) A_{22}^{-1}=I+(A_{22}^{-1}-I) A 22 − 1 = I + ( A 22 − 1 − I ) , we obtain
S = G − B 12 B 21 − A 12 ( A 22 − 1 − I ) A 21 . (248) S=G-B_{12}B_{21}-A_{12}(A_{22}^{-1}-I)A_{21}. \tag*{(248)} S = G − B 12 B 21 − A 12 ( A 22 − 1 − I ) A 21 . (248)
The final term has norm at most ∥ A 12 ∥ 2 ∥ A 22 − 1 − I ∥ 2 ∥ A 21 ∥ 2 ≤ Δ ( 1 − Δ ) b 12 b 21 \lVert A_{12}\rVert_2\lVert A_{22}^{-1}-I\rVert_2\lVert A_{21}\rVert_2\le\Delta(1-\Delta)b_{12}b_{21} ∥ A 12 ∥ 2 ∥ A 22 − 1 − I ∥ 2 ∥ A 21 ∥ 2 ≤ Δ ( 1 − Δ ) b 12 b 21 . By Weyl’s inequality, adding a matrix of norm at most δ \delta δ changes each singular value by at most δ \delta δ . Therefore,
σ min ( S ) ≥ σ min ( G − B 12 B 21 ) − Δ ( 1 − Δ ) b 12 b 21 = σ > 0. (249) \begin{aligned}
\sigma_{\min}(S)&\ge\sigma_{\min}(G-B_{12}B_{21})-\Delta(1-\Delta)b_{12}b_{21}\\
&=\sigma>0. \tag*{(249)}
\end{aligned} σ m i n ( S ) ≥ σ m i n ( G − B 12 B 21 ) − Δ ( 1 − Δ ) b 12 b 21 = σ > 0. (249)
In particular, S S S is invertible, and ∥ S − 1 ∥ 2 = 1 / σ min ( S ) ≤ 1 / σ \lVert S^{-1}\rVert_{2}=1/\sigma_{\min}(S)\leq1/\sigma ∥ S − 1 ∥ 2 = 1/ σ m i n ( S ) ≤ 1/ σ . Since A 22 A_{22} A 22 and S S S are both invertible, so is A \mathcal{A} A . Indeed,
A = [ I X 0 I ] [ S 0 0 A 22 ] [ I 0 Y I ] (250) \mathcal{A}=
\begin{bmatrix} I & X \\ 0 & I \end{bmatrix}
\begin{bmatrix} S & 0 \\ 0 & A_{22} \end{bmatrix}
\begin{bmatrix} I & 0 \\ Y & I \end{bmatrix} \tag*{(250)} A = [ I 0 X I ] [ S 0 0 A 22 ] [ I Y 0 I ] (250)
and hence
A − 1 = [ S − 1 − S − 1 X − Y S − 1 A 22 − 1 + Y S − 1 X ] . (251) \mathcal{A}^{-1}=
\begin{bmatrix}
S^{-1} & -S^{-1}X \\
-YS^{-1} & A_{22}^{-1}+YS^{-1}X
\end{bmatrix}. \tag*{(251)} A − 1 = [ S − 1 − Y S − 1 − S − 1 X A 22 − 1 + Y S − 1 X ] . (251)
The four blocks of A − 1 \mathcal{A}^{-1} A − 1 satisfy
∥ S − 1 ∥ 2 ≤ 1 σ , ∥ S − 1 X ∥ 2 ≤ b 12 σ , ∥ Y S − 1 ∥ 2 ≤ b 21 σ (252) \lVert S^{-1}\rVert_{2}\leq\frac{1}{\sigma},\qquad
\lVert S^{-1}X\rVert_{2}\leq\frac{b_{12}}{\sigma},\qquad
\lVert YS^{-1}\rVert_{2}\leq\frac{b_{21}}{\sigma} \tag*{(252)} ∥ S − 1 ∥ 2 ≤ σ 1 , ∥ S − 1 X ∥ 2 ≤ σ b 12 , ∥ Y S − 1 ∥ 2 ≤ σ b 21 (252)
and ∥ A 22 − 1 + Y S − 1 X ∥ 2 ≤ 1 / ( 1 − Δ ) + b 12 b 21 / σ \lVert A_{22}^{-1}+YS^{-1}X\rVert_{2}\leq1/(1-\Delta)+b_{12}b_{21}/\sigma ∥ A 22 − 1 + Y S − 1 X ∥ 2 ≤ 1/ ( 1 − Δ ) + b 12 b 21 / σ . Using these bounds, we can show that, for any block vector v = ( v 1 , v 2 ) v=(v_{1},v_{2}) v = ( v 1 , v 2 ) , ∥ A − 1 v ∥ 2 ≤ κ p ∥ v ∥ 2 \lVert\mathcal{A}^{-1}v\rVert_{2}\leq\kappa_{p}\lVert v\rVert_{2} ∥ A − 1 v ∥ 2 ≤ κ p ∥ v ∥ 2 , where κ p \kappa_{p} κ p is the constant defined from the corresponding 2 × 2 2\times2 2 × 2 matrix in the lemma’s statement. Consequently, ∥ A − 1 ∥ 2 ≤ κ p \lVert\mathcal{A}^{-1}\rVert_{2}\leq\kappa_{p} ∥ A − 1 ∥ 2 ≤ κ p . This establishes the inverse-norm bound when the coefficients are polynomials.
General coefficients. Replacing the polynomial approximations p λ p_{\lambda} p λ with the true coefficients a λ a_{\lambda} a λ changes the operator only in its multiplication steps. Since multiplication is linear in the coefficient, the difference R = A [ a ] − A [ p ] R=\mathcal{A}[a]-\mathcal{A}[p] R = A [ a ] − A [ p ] is the sum of the lower-order terms in which a λ a_{\lambda} a λ is replaced by a λ − p λ a_{\lambda}-p_{\lambda} a λ − p λ . Each such term has norm at most ε λ ρ λ \varepsilon_{\lambda}\rho_{\lambda} ε λ ρ λ : multiplication by the coefficient difference has norm at most ε λ \varepsilon_{\lambda} ε λ , the basis conversions are contractions, and the rescaled derivative has norm at most ρ λ \rho_{\lambda} ρ λ . Therefore, ∥ R ∥ 2 ≤ ∑ λ ε λ ρ λ = e \lVert R\rVert_{2}\leq\sum_{\lambda}\varepsilon_{\lambda}\rho_{\lambda}=e ∥ R ∥ 2 ≤ ∑ λ ε λ ρ λ = e .
We now write A [ a ] = A [ p ] ( I + A [ p ] − 1 R ) \mathcal{A}[a]=\mathcal{A}[p](I+\mathcal{A}[p]^{-1}R) A [ a ] = A [ p ] ( I + A [ p ] − 1 R ) . The second factor is a perturbation of the identity whose difference from the identity has norm at most κ p e \kappa_{p}e κ p e . Because e κ p < 1 e\kappa_{p}<1 e κ p < 1 , the Neumann-series theorem guarantees that this factor is invertible, and ∥ ( I + A [ p ] − 1 R ) − 1 ∥ 2 ≤ 1 / ( 1 − e κ p ) \lVert(I+\mathcal{A}[p]^{-1}R)^{-1}\rVert_{2}\leq1/(1-e\kappa_{p}) ∥( I + A [ p ] − 1 R ) − 1 ∥ 2 ≤ 1/ ( 1 − e κ p ) . It follows that A [ a ] \mathcal{A}[a] A [ a ] is invertible and ∥ A [ a ] − 1 ∥ 2 ≤ κ p 1 − e κ p = κ c e r t \lVert\mathcal{A}[a]^{-1}\rVert_{2}\leq\frac{\kappa_{p}}{1-e\kappa_{p}}=\kappa_{\mathrm{cert}} ∥ A [ a ] − 1 ∥ 2 ≤ 1 − e κ p κ p = κ cert . This result applies both to A ∞ \mathcal{A}_{\infty} A ∞ and to A K \mathcal{A}_{K} A K for every K ≥ K 3 K\geq K_{3} K ≥ K 3 . Therefore, κ ˉ = α κ c e r t \bar{\kappa}=\alpha\kappa_{\mathrm{cert}} κ ˉ = α κ cert is a valid upper bound on α ∥ A K − 1 ∥ 2 \alpha\lVert\mathcal{A}_{K}^{-1}\rVert_{2} α ∥ A K − 1 ∥ 2 for all K ≥ K 3 K\geq K_{3} K ≥ K 3 , which is assumed by Proposition 3. □
The certification procedure verifies three conditions in Lemma 7 using quantities computed at a fixed matrix size K 3 K_{3} K 3 : Δ < 1 \Delta<1 Δ < 1 , σ > 0 \sigma>0 σ > 0 , and e κ p < 1 e\kappa_{p}<1 e κ p < 1 . For polynomial coefficients, e = 0 e=0 e = 0 , so the last condition holds automatically. We assemble A K 3 [ p ] \mathcal{A}_{K_{3}}[p] A K 3 [ p ] , extract the blocks G G G , B 12 B_{12} B 12 , and B 21 B_{21} B 21 , compute the norms ∥ B 12 ∥ 2 \lVert B_{12}\rVert_{2} ∥ B 12 ∥ 2 and ∥ B 21 ∥ 2 \lVert B_{21}\rVert_{2} ∥ B 21 ∥ 2 , and bound the tail terms r t a i l r_{\mathrm{tail}} r tail and Δ \Delta Δ . We then use a singular value decomposition of the K 1 × K 1 K_{1}\times K_{1} K 1 × K 1 matrix G − B 12 B 21 G-B_{12}B_{21} G − B 12 B 21 to find its smallest singular value. These calculations require O ( K 3 3 ) O(K_{3}^{3}) O ( K 3 3 ) classical operations.
Rounding errors do not undermine the certification: their effects can be bounded and added to the computed singular value and norms using Weyl’s inequality and the triangle inequality. The test requires no prior assumption that the differential equation has a unique solution;
Table 3. Certified bounds κ ˉ = α κ c e r t \bar{\kappa}=\alpha\kappa_{\mathrm{cert}} κ ˉ = α κ cert from Lemma 7 for the four problems of Figure 11 (a). The last column gives the largest computed value of α ∥ A K − 1 ∥ 2 \alpha\lVert\mathcal{A}_{K}^{-1}\rVert_{2} α ∥ A K − 1 ∥ 2 for K 3 ≤ K ≤ 4096 K_{3}\leq K\leq4096 K 3 ≤ K ≤ 4096 .
passing the test itself proves that the limiting operator A ∞ \mathcal{A}_{\infty} A ∞ is invertible. Conversely, if A ∞ \mathcal{A}_{\infty} A ∞ is invertible, the test succeeds for sufficiently large K 1 K_{1} K 1 , provided the coefficient-approximation error e e e is small enough.
The test works because the Schur complement of A ∞ \mathcal{A}_{\infty} A ∞ has smallest singular value at least 1 / ∥ A ∞ − 1 ∥ 2 1/\lVert\mathcal{A}_{\infty}^{-1}\rVert_{2} 1/ ∥ A ∞ − 1 ∥ 2 , and its difference from G − B 12 B 21 G-B_{12}B_{21} G − B 12 B 21 can be bounded. As K 1 K_{1} K 1 increases, the relevant tail and block quantities shrink, making the certification more likely to succeed. Table III reports the certified bounds for the four examples in Figure 11 (a). Using K 1 = 32 K_{1}=32 K 1 = 32 , the certified bounds are at most 2.1 % 2.1\% 2.1% above the largest directly computed values of α ∥ A K − 1 ∥ 2 \alpha\lVert\mathcal{A}_{K}^{-1}\rVert_{2} α ∥ A K − 1 ∥ 2 for K 3 ≤ K ≤ 4096 K_{3}\leq K\leq4096 K 3 ≤ K ≤ 4096 . The bounds are less tight for the first- and third-order examples because their boundary rows decay relatively slowly, like 1 / k 1/k 1/ k .
Natural conditions and block systems
High-order endpoint conditions can make the discretized matrix A K \mathcal{A}_{K} A K ill-conditioned. In particular, if B u = u ( j ) ( ± 1 ) \mathcal{B}u=u^{(j)}(\pm1) B u = u ( j ) ( ± 1 ) with q / 2 ≤ j < q q/2\leq j<q q /2 ≤ j < q , Proposition 1 implies that the associated boundary row grows in norm as ∥ Π K κ ∥ 2 = Θ ( K 2 j − q + 1 / 2 ) \lVert\Pi_{K}^{\kappa}\rVert_{2}=\Theta(K^{2j-q+1/2}) ∥ Π K κ ∥ 2 = Θ ( K 2 j − q + 1/2 ) . Thus, ∥ A K ∥ 2 \lVert\mathcal{A}_{K}\rVert_{2} ∥ A K ∥ 2 grows at least at this rate. At the same time, a fixed column, such as A K e q \mathcal{A}_{K}e_{q} A K e q , has norm bounded independently of K K K , so ∥ A K ∥ 2 ≥ 1 / ∥ A K e q ∥ 2 \lVert\mathcal{A}_{K}\rVert_{2}\geq1/\lVert\mathcal{A}_{K}e_{q}\rVert_{2} ∥ A K ∥ 2 ≥ 1/ ∥ A K e q ∥ 2 is bounded below. It follows that the condition number grows at least as K 2 j − q + 1 / 2 K^{2j-q+1/2} K 2 j − q + 1/2 . For example, in the Neumann example in Figure 11 , the condition number grows approximately linearly.
A way to avoid this growth is to rewrite the equation as a first-order system. Introduce U j = u ( j ) U_{j}=u^{(j)} U j = u ( j ) for j < q j<q j < q , so that U j ′ − U j + 1 = 0 U_{j}'-U_{j+1}=0 U j ′ − U j + 1 = 0 for j < q − 1 j<q-1 j < q − 1 . The reformulated equation is U q − 1 ′ + ∑ λ a λ U λ = f U_{q-1}'+\sum_{\lambda}a_{\lambda}U_{\lambda}=f U q − 1 ′ + ∑ λ a λ U λ = f . Each component can then be discretized using the first-order operator, with the derivative matrix D ^ 1 \widehat{D}_{1} D 1 , with the rescaling R ( 1 ) R^{(1)} R ( 1 ) , where R 00 ( 1 ) = 1 R_{00}^{(1)}=1 R 00 ( 1 ) = 1 and R k k ( 1 ) = 1 / k R_{kk}^{(1)}=1/k R k k ( 1 ) = 1/ k for k ≥ 1 k\geq1 k ≥ 1 , and the lower-order terms S ^ 0 → 1 M 0 [ a λ ] \widehat{S}_{0\to1}M_{0}[a_{\lambda}] S 0 → 1 M 0 [ a λ ] . The coupling term − U j + 1 -U_{j+1} − U j + 1 is represented by M 0 [ − 1 ] = − I M_{0}[-1]=-I M 0 [ − 1 ] = − I .
Under this reformulation, each boundary condition becomes a point value, an interior value, an integral of a single component, or a linear combination of such quantities. The rescaled boundary rows therefore satisfy Proposition 1 for a first-order problem. The coupling terms are compact because their columns decay as 1 / k 1/k 1/ k , and uniqueness of the reformulated system is equivalent to uniqueness of the original problem. Consequently, the argument in Proposition 2 gives uniform conditioning for the resulting q K × q K qK \times qK q K × q K system, which uses only Q K ( 0 ) Q_K^{(0)} Q K ( 0 ) and Q N 1 ( 1 ) Q_{N_1}^{(1)} Q N 1 ( 1 ) .
If p ≥ 2 p \ge2 p ≥ 2 divides q q q , one can instead use a block formulation with fewer unknowns. Set U l = u ( l p ) U_l = u^{(lp)} U l = u ( l p ) for l < q / p l < q/p l < q / p . Then U l ( p ) = U l + 1 U_l^{(p)} = U_{l+1} U l ( p ) = U l + 1 for l < q / p − 1 l < q/p - 1 l < q / p − 1 , and the equation is
U q / p − 1 ( p ) + ∑ λ a λ U ⌊ λ / p ⌋ ( λ m o d p ) = f . (253) U_{q/p-1}^{(p)} + \sum_{\lambda} a_\lambda U_{\lfloor\lambda/p \rfloor}^{(\lambda\bmod p)} = f. \tag*{(253)} U q / p − 1 ( p ) + λ ∑ a λ U ⌊ λ / p ⌋ ( λ mod p ) = f . (253)
Each block uses the parameter-p p p discretization and its corresponding rescaling. A boundary condition on u ( j ) ( ± 1 ) u^{(j)}(\pm1) u ( j ) ( ± 1 ) , with j = l p + i j = lp + i j = l p + i and 0 ≤ i < p 0 \le i < p 0 ≤ i < p , becomes a condition on U l ( i ) ( ± 1 ) U_l^{(i)}(\pm1) U l ( i ) ( ± 1 ) ; it satisfies the conditioning criterion when i < p / 2 i < p/2 i < p /2 . For example, in the simply supported beam problem, choosing p = 2 p = 2 p = 2 turns the conditions on u u u and u ′ ′ u'' u ′′ into Dirichlet conditions on U 0 U_0 U 0 and U 1 U_1 U 1 . Both blocks use Q N 2 ( 2 ) Q_{N_2}^{(2)} Q N 2 ( 2 ) , and the reformulation avoids the poor conditioning of the direct high-order discretization.
Block encoding and the preconditioned inverse
We prepare the boundary-row state V i V_i V i using a dyadic envelope. Let r = r i r = r_i r = r i be a nonzero rescaled boundary row, with entries r k = R k k B i ( ρ k ( 0 ) ) r_k = R_{kk}\mathcal{B}_i(\rho_k^{(0)}) r k = R k k B i ( ρ k ( 0 ) ) . Suppose that, for every k ≥ k 0 k \ge k_0 k ≥ k 0 , ∣ r k ∣ ≤ C k − β |r_k| \le Ck^{-\beta} ∣ r k ∣ ≤ C k − β for some constants C > 0 C > 0 C > 0 , β > 1 2 \beta> \frac{1}{2} β > 2 1 , and k 0 = 2 s 0 k_0 = 2^{s_0} k 0 = 2 s 0 that do not depend on K K K . Define an envelope g k g_k g k by setting g k = ∣ r k ∣ g_k = |r_k| g k = ∣ r k ∣ for the finitely many indices k < k 0 k < k_0 k < k 0 , and setting g k = C 2 − s β g_k = C2^{-s\beta} g k = C 2 − s β on each dyadic interval 2 s ≤ k < 2 s + 1 2^s \le k < 2^{s+1} 2 s ≤ k < 2 s + 1 , for s 0 ≤ s < n s_0 \le s < n s 0 ≤ s < n , where K = 2 n K = 2^n K = 2 n . Because k ≥ 2 s k \ge2^s k ≥ 2 s on that interval, g k ≥ ∣ r k ∣ g_k \ge|r_k| g k ≥ ∣ r k ∣ . Moreover, the squared norm of the envelope is bounded uniformly in K K K :
γ K 2 : = ∑ k < K g k 2 ≤ ∑ k < k 0 ∣ r k ∣ 2 + C 2 2 s 0 ( 1 − 2 β ) 1 − 2 1 − 2 β : = γ ∞ 2 . (254) \gamma_K^2 := \sum_{k<K} g_k^2 \le\sum_{k<k_0} |r_k|^2 + \frac{C^2 2^{s_0(1-2\beta)}}{1-2^{1-2\beta}} := \gamma_\infty^2. \tag*{(254)} γ K 2 := k < K ∑ g k 2 ≤ k < k 0 ∑ ∣ r k ∣ 2 + 1 − 2 1 − 2 β C 2 2 s 0 ( 1 − 2 β ) := γ ∞ 2 . (254)
The condition β > 1 2 \beta> \frac{1}{2} β > 2 1 ensures that the dyadic contributions form a convergent geometric series. If K < k 0 K < k_0 K < k 0 , the state can instead be prepared directly, since there are only finitely many such cases.
An envelope state can be prepared without storing all K K K entries in a table. Prepare a selector over the exceptional labels and dyadic intervals, assigning probabilities proportional to their contributions to the squared envelope norm. For an interval 2 s ≤ k < 2 s + 1 2^s \le k < 2^{s+1} 2 s ≤ k < 2 s + 1 , set bit s s s of the degree register and apply Hadamard gates to the s s s lower bits to create a uniform superposition over that interval. The degree label identifies its interval through its most significant nonzero bit, allowing the selector to be uncomputed; the exceptional labels are handled separately. This prepares the degree register in the state γ K − 1 ∑ k < K g k ∣ k ⟩ \gamma_K^{-1}\sum_{k<K}g_k|k\rangle γ K − 1 ∑ k < K g k ∣ k ⟩ . A flag rotation with signed amplitude r k / g k r_k/g_k r k / g k , computed and uncomputed by reversible arithmetic and defined to be zero when g k = 0 g_k=0 g k = 0 , then gives a unitary U e n v U_{\mathrm{env}} U env such that
U e n v ∣ 0 a r ⟩ ∣ 0 ⟩ = ∣ 0 a r ⟩ ( 1 γ K ∑ k < K r k ∣ k ⟩ + ∣ f a i l ⟩ ) . (255) U_{\mathrm{env}}|0^{a_r}\rangle|0\rangle= |0^{a_r}\rangle\left(\frac{1}{\gamma_K}\sum_{k<K} r_k|k\rangle+ |\mathrm{fail}\rangle\right). \tag*{(255)} U env ∣ 0 a r ⟩ ∣0 ⟩ = ∣ 0 a r ⟩ ( γ K 1 k < K ∑ r k ∣ k ⟩ + ∣ fail ⟩ ) . (255)
where ∣ f a i l ⟩ |\mathrm{fail}\rangle ∣ fail ⟩ has no component with all auxiliary registers in the zero state. If the selector amplitudes and ratios r k / g k r_k/g_k r k / g k can be computed efficiently, U e n v U_{\mathrm{env}} U env can be implemented to error η \eta η with gate cost polynomial in n n n and log ( 1 / η ) \log(1/\eta) log ( 1/ η ) , since the selector has only O ( n + k 0 ) O(n+k_0) O ( n + k 0 ) possible values.
The boundary term can be block-encoded using U e n v U_{\mathrm{env}} U env , first without amplifying its success probability. Let E = ( ⟨ 0 a r ∣ ⊗ I ) U e n v ( ∣ 0 a r ⟩ ⊗ I ) E = (\langle0^{a_r}| \otimes I)U_{\mathrm{env}}(|0^{a_r}\rangle\otimes I) E = (⟨ 0 a r ∣ ⊗ I ) U env ( ∣ 0 a r ⟩ ⊗ I ) , so that E ∣ 0 ⟩ = Π k < K r k / γ K E|0\rangle= \Pi_{k<K}r_k/\gamma_K E ∣0 ⟩ = Π k < K r k / γ K . A comparator block-encodes J 0 = ∣ 0 ⟩ ⟨ 0 ∣ J_0 = |0\rangle\langle0| J 0 = ∣0 ⟩ ⟨ 0∣ , while Pauli gates X i X_i X i map the label 0 0 0 to the boundary-condition label i i i . Applying U e n v † U_{\mathrm{env}}^\dagger U env † , the comparator, and X i X_i X i , each with its own flag register, block-encodes
X i J 0 E † = ∣ i ⟩ ⟨ Π k < K r ∣ γ K . (256) X_iJ_0E^\dagger= \frac{|i\rangle\langle\Pi_{k<K}r|}{\gamma_K}. \tag*{(256)} X i J 0 E † = γ K ∣ i ⟩ ⟨ Π k < K r ∣ . (256)
Thus, the i i i th boundary term can be included in the LCU using weight γ K \gamma_K γ K , which is bounded above by the K K K -independent constant γ ∞ \gamma_\infty γ ∞ . Alternatively, a further flag rotation with amplitude γ K / γ ∞ \gamma_K/\gamma_\infty γ K / γ ∞ gives the uniform weight γ ∞ \gamma_\infty γ ∞ .
For an endpoint condition B i u = u ( j ) ( ± 1 ) \mathcal{B}_i u = u^{(j)}(\pm1) B i u = u ( j ) ( ± 1 ) with j < q / 2 j < q/2 j < q /2 , Eq. (226) gives an envelope bound with β = q − 2 j \beta= q - 2j β = q − 2 j and C = c ± C = c_{\pm} C = c ± . We choose k 0 k_0 k 0 to be the smallest power of two satisfying k 0 ≥ q k_0 \ge q k 0 ≥ q . The finitely many exceptional entries are evaluated directly from R k k ∂ x j p k ( 0 ) ( ± 1 ) R_{kk}\partial_x^j p_k^{(0)}(\pm1) R k k ∂ x j p k ( 0 ) ( ± 1 ) , while the remaining entries are explicit algebraic functions of k k k . At the left endpoint, the sign of the rotation also includes the factor ( − 1 ) k + j (-1)^{k+j} ( − 1 ) k + j . The envelope has a bounded norm because 1 − 2 β = 1 + 4 j − 2 q < 0 1 - 2\beta= 1 + 4j - 2q < 0 1 − 2 β = 1 + 4 j − 2 q < 0 , which, for integer j j j and q q q , is equivalent to j < q / 2 j < q/2 j < q /2 . Since r j ≠ 0 r_j \ne0 r j = 0 and j < q < K j < q < K j < q < K , Eq. (255) gives the uniform lower bound
∥ Π k < K r ∥ 2 2 γ K 2 ≥ ∣ r j ∣ 2 γ ∞ 2 > 0. (257) \frac{\|\Pi_{k<K}r\|_2^2}{\gamma_K^2} \ge\frac{|r_j|^2}{\gamma_\infty^2} > 0. \tag*{(257)} γ K 2 ∥ Π k < K r ∥ 2 2 ≥ γ ∞ 2 ∣ r j ∣ 2 > 0. (257)
To prepare the normalized row Π k < K r / ∥ Π k < K r ∥ 2 \Pi_{k<K}r/\|\Pi_{k<K}r\|_2 Π k < K r /∥ Π k < K r ∥ 2 , we first amplify the successful branch of U e n v U_{\mathrm{env}} U env . Because the success probability is known, a padding rotation and a constant number of amplitude-amplification rounds suffice. A final flag rotation, with amplitude ∥ Π k < K r ∥ 2 / ∥ r ∥ 2 \|\Pi_{k<K}r\|_2/\|r\|_2 ∥ Π k < K r ∥ 2 /∥ r ∥ 2 , then produces the preparation circuit V i V_i V i .
For fixed q q q and j j j , the squared tail entries are rational functions of k k k . Partial-fraction decomposition reduces their finite and infinite sums to telescoping sums and second-order harmonic sums. Thus, the required norms and padding angles can be computed classically without enumerating all K K K entries, and the endpoint-state preparation has cost T r i ( η ) = poly ( q , n , log ( 1 / η ) ) T_{r_i}(\eta) = \operatorname{poly}(q,n,\log(1/\eta)) T r i ( η ) = poly ( q , n , log ( 1/ η )) . The same approach applies to other boundary functionals when an efficiently evaluable envelope and ratio are available. However, square summability alone does not guarantee an efficient circuit; in general, we assume that a circuit for V i V_i V i is given and denote its cost by T r i T_{r_i} T r i .
Proof of Proposition 3. Linear combination. We construct the block encoding using the LCU method from Section III.A. A selector register prepares a superposition whose amplitudes are proportional to the square roots of the term weights: ( 1 / α ) 1 / 2 (1/\alpha)^{1/2} ( 1/ α ) 1/2 , ( ∥ r i ∥ / α ) 1 / 2 (\lVert r_i\rVert/\alpha)^{1/2} (∥ r i ∥ / α ) 1/2 , and [ ( 3 / 2 ) q − λ ρ λ a ˉ λ / α ] 1 / 2 [(3/2)q^{-\lambda}\rho_\lambda\bar{a}_\lambda/\alpha]^{1/2} [( 3/2 ) q − λ ρ λ a ˉ λ / α ] 1/2 . The selector includes the identity term, one term for each boundary row, and one term for each nonzero lower-order coefficient a λ a_\lambda a λ . Thus, there are 1 + 2 q 1+2q 1 + 2 q possible terms before omitting any terms with a λ ≡ 0 a_\lambda\equiv0 a λ ≡ 0 . Each selected circuit implements its corresponding term divided by its assigned weight, with subnormalization one. The combined circuit therefore block-encodes A K / α A_K/\alpha A K / α .
Components. For the identity term, we use a comparator flag to check whether the label satisfies k ≥ q k\ge q k ≥ q . This implements the identity contribution exactly on the required labels. For a boundary term i i i , the circuit applies V i † V_i^\dagger V i † , selects the zero label and the flag marking the successful branch of V i V_i V i , and then maps label 0 0 0 to label i i i using Pauli-X X X gates. Its encoded block is ∣ i ⟩ ⟨ Π < K r i ∣ / ∥ r i ∥ |i\rangle\langle\Pi_{<K}r_i|/\lVert r_i\rVert ∣ i ⟩ ⟨ Π < K r i ∣/ ∥ r i ∥ .
For the lower-order term λ \lambda λ , the derivative, multiplication, and basis-conversion block encodings are composed using separate flags. Their subnormalization factors multiply, while their approximation errors contribute additively. The controlled rotations used for D ˉ λ R / ρ λ \bar{D}_\lambda R/\rho_\lambda D ˉ λ R / ρ λ and for the diagonal factors in each conversion step have amplitudes that are algebraic functions of the label. Reversible arithmetic on O ( n ) O(n) O ( n ) -bit integers can calculate these amplitudes to b b b bits of precision using poly ( n , b ) \operatorname{poly}(n,b) poly ( n , b ) gates. Each conversion step is implemented as diag ( s k ( ν ) ) − 1 2 ADD − 2 diag ( 2 t k ( ν ) ) \operatorname{diag}(s_k^{(\nu)})-\frac{1}{2}\operatorname{ADD}_{-2}\operatorname{diag}(2t_k^{(\nu)}) diag ( s k ( ν ) ) − 2 1 ADD − 2 diag ( 2 t k ( ν ) ) with subnormalization 3 / 2 3/2 3/2 . Comparators restrict the result to the first N μ ⋆ N_{\mu^\star} N μ ⋆ or N q N_q N q labels, as appropriate.
Shared transforms. The transform pair Q N μ ⋆ ( μ ⋆ ) Q^{(\mu^\star)}_{N_{\mu^\star}} Q N μ ⋆ ( μ ⋆ ) and Q N μ ⋆ ( μ ⋆ ) † Q^{(\mu^\star)\dagger}_{N_{\mu^\star}} Q N μ ⋆ ( μ ⋆ ) † is implemented using Theorem 1 when μ ⋆ ≥ 2 \mu^\star\ge2 μ ⋆ ≥ 2 , and using the DCT-II or DST-I circuits [20 ] when μ ⋆ ≤ 1 \mu^\star\le1 μ ⋆ ≤ 1 . The same pair is needed for every lower-order term, so it is applied only once before and once after the λ \lambda λ -controlled diagonal operations. A flag identifies the selector values corresponding to lower-order terms. Comparators around the transform pair restrict its action to valid labels k < N μ ⋆ k<N_{\mu^\star} k < N μ ⋆ ; when μ ⋆ ≥ 2 \mu^\star\ge2 μ ⋆ ≥ 2 , this is precisely the subspace on which Theorem 1 guarantees the stated error bound.
Error and cost. Choose each component’s error to be O ( δ / q ) O(\delta/q) O ( δ / q ) , and use arithmetic precision b = O ( log ( q / δ ) ) b=O(\log(q/\delta)) b = O ( log ( q / δ )) . The combined circuit then block-encodes A K / α A_K/\alpha A K / α with operator-norm error O ( δ ) O(\delta) O ( δ ) , at the cost stated in Eq. (148) .
Singular-value inversion. Let A K = W Σ V † A_K=W\Sigma V^\dagger A K = W Σ V † be a singular value decomposition. By assumption, the singular values of A K / α A_K/\alpha A K / α lie in [ 1 / κ , 1 ] [1/\kappa,1] [ 1/ κ , 1 ] . There exists an odd polynomial P P P of degree [11 , 14 ]
L η = O ( κ log ( κ / η ) ) (258) L_\eta=O(\kappa\log(\kappa/\eta)) \tag*{(258)} L η = O ( κ log ( κ / η )) (258)
such that ∣ P ( x ) ∣ ≤ 1 |P(x)|\le1 ∣ P ( x ) ∣ ≤ 1 for x ∈ [ − 1 , 1 ] x\in[-1,1] x ∈ [ − 1 , 1 ] , and
∣ P ( x ) − 1 2 κ x ∣ ≤ η 2 , x ∈ [ 1 / κ , 1 ] . (259) \left|P(x)-\frac{1}{2\kappa x}\right|\le\frac{\eta}{2},\qquad x\in[1/\kappa,1]. \tag*{(259)} P ( x ) − 2 κ x 1 ≤ 2 η , x ∈ [ 1/ κ , 1 ] . (259)
Applying quantum singular-value transformation to the adjoint block encoding of A K † / α A_K^\dagger/\alpha A K † / α implements a block encoding of V P ( Σ / α ) W † VP(\Sigma/\alpha)W^\dagger V P ( Σ/ α ) W † . This operator approximates α A K − 1 / ( 2 κ ) \alpha A_K^{-1}/(2\kappa) α A K − 1 / ( 2 κ ) to error at most η / 2 \eta/2 η /2 , using L η L_\eta L η calls to the block encoding and L η + 1 L_\eta+1 L η + 1 phase rotations.
If each block-encoding call has error δ \delta δ , the resulting encoded polynomial changes by at most 4 L η δ 4L_\eta\sqrt{\delta} 4 L η δ [11 ] . Choosing δ η = η 2 / ( 64 L η 2 ) \delta_\eta=\eta^2/(64L_\eta^2) δ η = η 2 / ( 64 L η 2 ) makes this contribution at most η / 2 \eta/2 η /2 . Together with the polynomial-approximation error, this establishes the claimed inverse block-encoding guarantee.
Discretization error
We first establish the discretization estimate in Eq. (155) . We then bound the residual ζ K \zeta_K ζ K using the tails of the rescaled boundary rows and the Chebyshev and ultraspherical expansions, obtaining the final bound in Eq. (270) . Throughout, u ∈ C q ( [ − 1 , 1 ] ) u\in C^q([-1,1]) u ∈ C q ([ − 1 , 1 ]) is the exact solution of the boundary-value problem, with orthonormal Chebyshev coefficients u k ⋆ u_k^\star u k ⋆ , and u ⋆ = ( u 0 ⋆ , … , u K − 1 ⋆ ) T u^\star=(u_0^\star,\ldots,u_{K-1}^\star)^\mathsf{T} u ⋆ = ( u 0 ⋆ , … , u K − 1 ⋆ ) T is the coefficient vector of its truncation T K u \mathcal{T}_K u T K u . The discrete solution u K = ∑ k < K u k p k ( 0 ) u_K=\sum_{k<K}u_kp_k^{(0)} u K = ∑ k < K u k p k ( 0 ) defined in Eq. (131) has the coefficient vector u = R v u=Rv u = R v , where v v v solves A K v = ( c , f ^ ) T A_Kv=(c,\hat{f})^\mathsf{T} A K v = ( c , f ^ ) T .
Error equation. Since A K = A K R A_K=A_KR A K = A K R , the definition of ζ K \zeta_K ζ K in Section V.F reads A K R − 1 u ⋆ = ( c , f ^ ) T + ζ K A_KR^{-1}u^\star=(c,\hat{f})^\mathsf{T}+\zeta_K A K R − 1 u ⋆ = ( c , f ^ ) T + ζ K . Subtracting A K v = ( c , f ^ ) T A_Kv=(c,\hat{f})^\mathsf{T} A K v = ( c , f ^ ) T side by side, we obtain A K ( v − R − 1 u ⋆ ) = − ζ K A_K(v-R^{-1}u^\star)=-\zeta_K A K ( v − R − 1 u ⋆ ) = − ζ K . Thus, v − R − 1 u ⋆ = − A K − 1 ζ K v-R^{-1}u^\star=-A_K^{-1}\zeta_K v − R − 1 u ⋆ = − A K − 1 ζ K . By Eq. (140) , the entries of v − R − 1 u ⋆ = R − 1 ( u − u ⋆ ) v-R^{-1}u^\star=R^{-1}(u-u^\star) v − R − 1 u ⋆ = R − 1 ( u − u ⋆ ) are u k − u k ⋆ u_k-u_k^\star u k − u k ⋆ for k < q k<q k < q and d k ( q ) ( u k − u k ⋆ ) d_k^{(q)}(u_k-u_k^\star) d k ( q ) ( u k − u k ⋆ ) for q ≤ k < K q\le k<K q ≤ k < K . By Eq. (132) , the latter are the coefficients of u K ( q ) − ( T K u ) ( q ) u_K^{(q)}-(\mathcal{T}_K u)^{(q)} u K ( q ) − ( T K u ) ( q ) in the orthonormal basis p ( q ) p^{(q)} p ( q ) of L 2 ( w q ) L^2(w_q) L 2 ( w q ) , therefore
∥ v − R − 1 u ⋆ ∥ 2 = ∑ k < q ∣ u k − u k ⋆ ∣ 2 + ∥ u K ( q ) − ( T K u ) ( q ) ∥ L 2 ( w q ) 2 . (260) \lVert v-R^{-1}u^\star\rVert^2=\sum_{k<q}|u_k-u_k^\star|^2+\lVert u_K^{(q)}-(\mathcal{T}_K u)^{(q)}\rVert_{L^2(w_q)}^2. \tag*{(260)} ∥ v − R − 1 u ⋆ ∥ 2 = k < q ∑ ∣ u k − u k ⋆ ∣ 2 + ∥ u K ( q ) − ( T K u ) ( q ) ∥ L 2 ( w q ) 2 . (260)
In particular, ∥ u K ( q ) − ( T K u ) ( q ) ∥ L 2 ( w q ) ≤ ∥ v − R − 1 u ⋆ ∥ \lVert u_K^{(q)}-(\mathcal{T}_K u)^{(q)}\rVert_{L^2(w_q)}\le\lVert v-R^{-1}u^\star\rVert ∥ u K ( q ) − ( T K u ) ( q ) ∥ L 2 ( w q ) ≤ ∥ v − R − 1 u ⋆ ∥ . The coefficient vector of u K − T K u u_K-\mathcal{T}_K u u K − T K u is u − u ⋆ = R ( v − R − 1 u ⋆ ) u-u^\star=R(v-R^{-1}u^\star) u − u ⋆ = R ( v − R − 1 u ⋆ ) . Since ∥ R ∥ 2 ≤ 1 \lVert R\rVert_2\le1 ∥ R ∥ 2 ≤ 1 , its norm is at most ∥ v − R − 1 u ⋆ ∥ \lVert v-R^{-1}u^\star\rVert ∥ v − R − 1 u ⋆ ∥ , and therefore
∥ u K − T K u ∥ L 2 ( w 0 ) ≤ ∥ v − R − 1 u ⋆ ∥ . (261) \lVert u_K-\mathcal{T}_K u\rVert_{L^2(w_0)}\le\lVert v-R^{-1}u^\star\rVert. \tag*{(261)} ∥ u K − T K u ∥ L 2 ( w 0 ) ≤ ∥ v − R − 1 u ⋆ ∥ . (261)
By Eq. (260) , the L 2 ( w q ) L^2(w_q) L 2 ( w q ) -norm of the difference between the q q q th derivatives is also at most ∥ v − R − 1 u ⋆ ∥ \lVert v-R^{-1}u^\star\rVert ∥ v − R − 1 u ⋆ ∥ . From the system equation,
∥ v − R − 1 u ⋆ ∥ = ∥ A K − 1 ζ K ∥ ≤ ∥ A K − 1 ∥ ∥ ζ K ∥ . (262) \lVert v-R^{-1}u^\star\rVert=\lVert A_K^{-1}\zeta_K\rVert\le\lVert A_K^{-1}\rVert\lVert\zeta_K\rVert. \tag*{(262)} ∥ v − R − 1 u ⋆ ∥ = ∥ A K − 1 ζ K ∥ ≤ ∥ A K − 1 ∥ ∥ ζ K ∥ . (262)
Thus, each of the solution error and the q q q th derivative error is bounded by ∥ A K − 1 ∥ ∥ ζ K ∥ \lVert A_K^{-1}\rVert\lVert\zeta_K\rVert ∥ A K − 1 ∥ ∥ ζ K ∥ . Summing these two bounds proves Eq. (155) .
Boundary part. The residual ζ K = A K u ⋆ − ( c , f ^ ) T \zeta_K=A_Ku^\star-(c,\hat{f})^\mathsf{T} ζ K = A K u ⋆ − ( c , f ^ ) T measures how far the Chebyshev coefficients of the truncated solution T K u \mathcal{T}_K u T K u are from satisfying the discrete system (139) . Its first q q q entries correspond to the boundary conditions; the remaining N q N_q N q entries correspond to the interior equations.
For the i i i th boundary condition, the residual entry is
( ζ K ) i = B i ( T K u ) − c i = − B i ( u − T K u ) (263) (\zeta_K)_i = \mathcal{B}_i(\mathcal{T}_K u) - c_i = -\mathcal{B}_i(u-\mathcal{T}_K u) \tag*{(263)} ( ζ K ) i = B i ( T K u ) − c i = − B i ( u − T K u ) (263)
because the exact solution satisfies B i u = c i \mathcal{B}_i u = c_i B i u = c i . Assume, as in Proposition 2 , that each rescaled boundary row r i r_i r i belongs to ℓ 2 \ell^2 ℓ 2 . Then, for any g ∈ C q ( [ − 1 , 1 ] ) g \in C^q([-1,1]) g ∈ C q ([ − 1 , 1 ]) with orthonormal Chebyshev coefficient vector g ^ \widehat{g} g ,
B i g = ⟨ r i , R − 1 g ^ ⟩ . (264) \mathcal{B}_i g = \langle r_i, R^{-1}\widehat{g}\rangle. \tag*{(264)} B i g = ⟨ r i , R − 1 g ⟩ . (264)
Apply this identity to g = u − T K u g=u-\mathcal{T}_K u g = u − T K u . Its coefficients vanish for k < K k<K k < K and equal u k ⋆ u_k^\star u k ⋆ for k ≥ K k\ge K k ≥ K . Defining v k ⋆ = u k ⋆ / R k k v_k^\star=u_k^\star/R_{kk} v k ⋆ = u k ⋆ / R k k , we obtain
( ζ K ) i = − ∑ k ≥ K r i k v k ⋆ . (265) (\zeta_K)_i=-\sum_{k\ge K}r_{ik}v_k^\star. \tag*{(265)} ( ζ K ) i = − k ≥ K ∑ r ik v k ⋆ . (265)
By the Cauchy–Schwarz inequality, ∣ ( ζ K ) i ∣ ≤ ∥ ( I − Π < K ) r i ∥ ∥ ( I − Π < K ) v ⋆ ∥ \lvert(\zeta_K)_i\rvert\le\lVert(I-\Pi_{<K})r_i\rVert\lVert(I-\Pi_{<K})v^\star\rVert ∣( ζ K ) i ∣ ≤ ∥( I − Π < K ) r i ∥ ∥( I − Π < K ) v ⋆ ∥ . Consequently, the norm of the boundary part of the residual is bounded by ( ∑ i < q ∥ ( I − Π < K ) r i ∥ 2 ) 1 / 2 ∥ ( I − Π < K ) v ⋆ ∥ \left(\sum_{i<q}\lVert(I-\Pi_{<K})r_i\rVert^2\right)^{1/2}\lVert(I-\Pi_{<K})v^\star\rVert ( ∑ i < q ∥( I − Π < K ) r i ∥ 2 ) 1/2 ∥( I − Π < K ) v ⋆ ∥ .
Interior part. Let I N \mathcal{I}_N I N denote interpolation at the N N N Gauss nodes of the relevant ultraspherical basis, and define u ~ λ : = T N μ ⋆ ( ( T K u ) ( λ ) ) \widetilde{u}_\lambda:=\mathcal{T}_{N_{\mu^\star}}\left((\mathcal{T}_K u)^{(\lambda)}\right) u λ := T N μ ⋆ ( ( T K u ) ( λ ) ) , the truncation of the λ \lambda λ th derivative of T K u \mathcal{T}_K u T K u in the parameter-μ ⋆ \mu^\star μ ⋆ basis. The term of order λ \lambda λ in Eq. (138) , shown in Figure 10 (c), acts on u ⋆ u^\star u ⋆ in three steps. First, S ^ λ → μ ⋆ D ^ λ u ⋆ \widehat{S}_{\lambda\to\mu^\star}\widehat{D}_\lambda u^\star S λ → μ ⋆ D λ u ⋆ gives the coefficients of u ~ λ \widetilde{u}_\lambda u λ . Second, M μ ⋆ [ a λ ] M_{\mu^\star}[a_\lambda] M μ ⋆ [ a λ ] maps those coefficients to the coefficients of the interpolant I N μ ⋆ ( a λ u ~ λ ) \mathcal{I}_{N_{\mu^\star}}(a_\lambda\widetilde{u}_\lambda) I N μ ⋆ ( a λ u λ ) . Third, S ^ μ ⋆ → q \widehat{S}_{\mu^\star\to q} S μ ⋆ → q retains the first N q N_q N q coefficients of this interpolant in the parameter-q q q basis.
The vectors D ^ q u ⋆ \widehat{D}_q u^\star D q u ⋆ and f ^ \widehat{f} f contain the coefficients of ( T K u ) ( q ) (\mathcal{T}_K u)^{(q)} ( T K u ) ( q ) and I N q f \mathcal{I}_{N_q}f I N q f , respectively. Therefore, ( ζ K ) q + i (\zeta_K)_{q+i} ( ζ K ) q + i , for 0 ≤ i < N q 0\le i<N_q 0 ≤ i < N q , is the i i i th coefficient in the orthonormal basis p ( q ) p^{(q)} p ( q ) of
( T K u ) ( q ) + ∑ λ < q I N μ ⋆ ( a λ u ~ λ ) − I N q f . (\mathcal{T}_K u)^{(q)}+\sum_{\lambda<q}\mathcal{I}_{N_{\mu^\star}}(a_\lambda\widetilde{u}_\lambda)-\mathcal{I}_{N_q}f. ( T K u ) ( q ) + λ < q ∑ I N μ ⋆ ( a λ u λ ) − I N q f .
Since u u u satisfies Eq. (129) , with a q ≡ 1 a_q\equiv1 a q ≡ 1 , u ( q ) + ∑ λ < q a λ u ( λ ) − f = 0 u^{(q)}+\sum_{\lambda<q}a_\lambda u^{(\lambda)}-f=0 u ( q ) + ∑ λ < q a λ u ( λ ) − f = 0 . Subtracting this identity from the expression above gives the residual in terms of discretization errors. By Eq. (132) , ( T K u ) ( q ) (\mathcal{T}_K u)^{(q)} ( T K u ) ( q ) is exactly the truncation of u ( q ) u^{(q)} u ( q ) in the parameter-q q q basis, so their first N q N_q N q coefficients agree. Likewise, the first N q N_q N q coefficients of f f f and T N q f \mathcal{T}_{N_q}f T N q f agree. Thus, for 0 ≤ i < N q 0\le i<N_q 0 ≤ i < N q ,
( ζ K ) q + i = ∑ λ < q ∫ − 1 1 w q p i ( q ) [ I N μ ⋆ ( a λ u ~ λ ) − a λ u ( λ ) ] d x − ∫ − 1 1 w q p i ( q ) ( I N q f − T N q f ) d x . (266) (\zeta_K)_{q+i}=\sum_{\lambda<q}\int_{-1}^{1}w_q p_i^{(q)}\left[\mathcal{I}_{N_{\mu^\star}}(a_\lambda\widetilde{u}_\lambda)-a_\lambda u^{(\lambda)}\right]\,dx-\int_{-1}^{1}w_qp_i^{(q)}\left(\mathcal{I}_{N_q}f-\mathcal{T}_{N_q}f\right)\,dx. \tag*{(266)} ( ζ K ) q + i = λ < q ∑ ∫ − 1 1 w q p i ( q ) [ I N μ ⋆ ( a λ u λ ) − a λ u ( λ ) ] d x − ∫ − 1 1 w q p i ( q ) ( I N q f − T N q f ) d x . (266)
We call I N q f − T N q f \mathcal{I}_{N_q}f-\mathcal{T}_{N_q}f I N q f − T N q f the forcing error and I N μ ⋆ ( a λ u ~ λ ) − a λ u ( λ ) \mathcal{I}_{N_{\mu^\star}}(a_\lambda\widetilde{u}_\lambda)-a_\lambda u^{(\lambda)} I N μ ⋆ ( a λ u λ ) − a λ u ( λ ) the lower-order error of order λ \lambda λ .
Bound on the residual. The N N N -point Gauss rule associated with the parameter-λ \lambda λ basis integrates ( I N g ) 2 (\mathcal{I}_N g)^2 ( I N g ) 2 exactly. Since its weights are positive and sum to h 0 ( λ ) = ∫ − 1 1 w λ ( x ) d x h_0^{(\lambda)}=\int_{-1}^{1}w_\lambda(x)\,dx h 0 ( λ ) = ∫ − 1 1 w λ ( x ) d x , we have
∥ I N g ∥ L 2 ( w λ ) ≤ ( h 0 ( λ ) ) 1 / 2 ∥ g ∥ ∞ . (267) \lVert\mathcal{I}_N g\rVert_{L^2(w_\lambda)}\le\left(h_0^{(\lambda)}\right)^{1/2}\lVert g\rVert_\infty. \tag*{(267)} ∥ I N g ∥ L 2 ( w λ ) ≤ ( h 0 ( λ ) ) 1/2 ∥ g ∥ ∞ . (267)
The same bound holds for ∥ g ∥ L 2 ( w λ ) \lVert g\rVert_{L^2(w_\lambda)} ∥ g ∥ L 2 ( w λ ) . Moreover, I N \mathcal{I}_N I N reproduces every polynomial of degree less than N N N . Let ϵ N ( λ ) ( g ) : = ∥ g − T N g ∥ ∞ \epsilon_N^{(\lambda)}(g):=\lVert g-\mathcal{T}_N g\rVert_\infty ϵ N ( λ ) ( g ) := ∥ g − T N g ∥ ∞ denote the uniform truncation error in the parameter-λ \lambda λ basis.
By Bessel’s inequality, the first N q N_q N q coefficients of a function h h h , as in Eq. (266) , have norm at most ∥ h ∥ L 2 ( w q ) \lVert h\rVert_{L^2(w_q)} ∥ h ∥ L 2 ( w q ) . Because w q ≤ w μ ⋆ w_q\le w_{\mu^\star} w q ≤ w μ ⋆ , it is bounded by ∥ h ∥ L 2 ( w μ ⋆ ) \lVert h\rVert_{L^2(w_{\mu^\star})} ∥ h ∥ L 2 ( w μ ⋆ ) . The forcing error can be written as I N q ( f − T N q f ) \mathcal{I}_{N_q}(f-\mathcal{T}_{N_q}f) I N q ( f − T N q f ) , since I N q \mathcal{I}_{N_q} I N q reproduces T N q f \mathcal{T}_{N_q}f T N q f . Consequently,
∥ I N q f − T N q f ∥ L 2 ( w q ) ≤ h 0 ( q ) ϵ N q ( q ) ( f ) . (268) \lVert\mathcal{I}_{N_q}f-\mathcal{T}_{N_q}f\rVert_{L^2(w_q)}
\le\sqrt{h_0^{(q)}}\,\epsilon_{N_q}^{(q)}(f). \tag*{(268)} ∥ I N q f − T N q f ∥ L 2 ( w q ) ≤ h 0 ( q ) ϵ N q ( q ) ( f ) . (268)
For each lower-order term λ \lambda λ , let g λ : = a λ u ( λ ) g_\lambda:=a_\lambda u^{(\lambda)} g λ := a λ u ( λ ) . We decompose its error as
I N μ ⋆ ( a λ u ~ λ ) − g λ = I N μ ⋆ [ a λ ( u ~ λ − u ( λ ) ) ] + I N μ ⋆ ( g λ − T N μ ⋆ g λ ) − ( g λ − T N μ ⋆ g λ ) . (269) \mathcal{I}_{N_{\mu^\star}}(a_\lambda\widetilde{u}_\lambda)-g_\lambda
=\mathcal{I}_{N_{\mu^\star}}\left[a_\lambda(\widetilde{u}_\lambda-u^{(\lambda)})\right]
+\mathcal{I}_{N_{\mu^\star}}(g_\lambda-\mathcal{T}_{N_{\mu^\star}}g_\lambda)
-(g_\lambda-\mathcal{T}_{N_{\mu^\star}}g_\lambda). \tag*{(269)} I N μ ⋆ ( a λ u λ ) − g λ = I N μ ⋆ [ a λ ( u λ − u ( λ ) ) ] + I N μ ⋆ ( g λ − T N μ ⋆ g λ ) − ( g λ − T N μ ⋆ g λ ) . (269)
The first term is bounded in L 2 ( w μ ⋆ ) L^2(w_{\mu^\star}) L 2 ( w μ ⋆ ) by h 0 ( μ ⋆ ) ∥ a λ ∥ ∞ ∥ u ~ λ − u ( λ ) ∥ ∞ \sqrt{h_0^{(\mu^\star)}}\lVert a_\lambda\rVert_\infty\lVert\widetilde{u}_\lambda-u^{(\lambda)}\rVert_\infty h 0 ( μ ⋆ ) ∥ a λ ∥ ∞ ∥ u λ − u ( λ ) ∥ ∞ . Each of the remaining two terms is bounded by h 0 ( μ ⋆ ) ϵ N μ ⋆ ( μ ⋆ ) ( g λ ) \sqrt{h_0^{(\mu^\star)}}\,\epsilon_{N_{\mu^\star}}^{(\mu^\star)}(g_\lambda) h 0 ( μ ⋆ ) ϵ N μ ⋆ ( μ ⋆ ) ( g λ ) . Thus, together, they contribute twice this truncation-error bound. Summing over λ \lambda λ , and adding the forcing error and the boundary part, gives
∥ ζ K ∥ ≤ ( ∑ i < q ∥ ( I − Π < K ) r i ∥ 2 ) 1 / 2 ∥ ( I − Π < K ) v ⋆ ∥ + h 0 ( q ) ϵ N q ( q ) ( f ) + 2 h 0 ( μ ⋆ ) ∑ λ < q ϵ N μ ⋆ ( μ ⋆ ) ( a λ u ( λ ) ) + h 0 ( μ ⋆ ) ∑ λ < q ∥ a λ ∥ ∞ ∥ u ( λ ) − u ~ λ ∥ ∞ . (270) \lVert\zeta_K\rVert\le\left(\sum_{i<q}\lVert(I-\Pi_{<K})r_i\rVert^2\right)^{1/2}\lVert(I-\Pi_{<K})v^\star\rVert
+\sqrt{h_0^{(q)}}\,\epsilon_{N_q}^{(q)}(f)
+2\sqrt{h_0^{(\mu^\star)}}\sum_{\lambda<q}\epsilon_{N_{\mu^\star}}^{(\mu^\star)}(a_\lambda u^{(\lambda)})
+\sqrt{h_0^{(\mu^\star)}}\sum_{\lambda<q}\lVert a_\lambda\rVert_\infty\lVert u^{(\lambda)}-\widetilde{u}_\lambda\rVert_\infty. \tag*{(270)} ∥ ζ K ∥ ≤ ( i < q ∑ ∥( I − Π < K ) r i ∥ 2 ) 1/2 ∥( I − Π < K ) v ⋆ ∥ + h 0 ( q ) ϵ N q ( q ) ( f ) + 2 h 0 ( μ ⋆ ) λ < q ∑ ϵ N μ ⋆ ( μ ⋆ ) ( a λ u ( λ ) ) + h 0 ( μ ⋆ ) λ < q ∑ ∥ a λ ∥ ∞ ∥ u ( λ ) − u λ ∥ ∞ . (270)
The first term bounds the boundary contribution, and the second bounds the forcing error. The third term bounds the second and third terms in Eq. (269) ; this accounts for the factor of 2. The final term bounds the first term from the same lower-order error decomposition.
Each contribution in Eq. (270) is controlled by a tail of an expansion of u u u , f f f , or a λ u ( λ ) a_\lambda u^{(\lambda)} a λ u ( λ ) . In the boundary term, ∥ ( I − Π < K ) v ⋆ ∥ \lVert(I-\Pi_{<K})v^\star\rVert ∥( I − Π < K ) v ⋆ ∥ is the norm of the rescaled coefficients v k ⋆ = d k ( q ) u k ⋆ v_k^\star=d_k^{(q)}u_k^\star v k ⋆ = d k ( q ) u k ⋆ for k > K k>K k > K . The forcing and lower-order tail terms, ϵ N q ( q ) ( f ) \epsilon_{N_q}^{(q)}(f) ϵ N q ( q ) ( f ) and ϵ N μ ⋆ ( μ ⋆ ) ( a λ u ( λ ) ) \epsilon_{N_{\mu^\star}}^{(\mu^\star)}(a_\lambda u^{(\lambda)}) ϵ N μ ⋆ ( μ ⋆ ) ( a λ u ( λ ) ) , are uniform norms of the tails in the parameter-q q q and parameter-μ ⋆ \mu^\star μ ⋆ bases, respectively. In the last term, the difference u ~ λ − u ( λ ) \widetilde{u}_\lambda-u^{(\lambda)} u λ − u ( λ ) involves only coefficients u k ⋆ u_k^\star u k ⋆ with k ≥ N μ ⋆ + λ k\ge N_{\mu^\star}+\lambda k ≥ N μ ⋆ + λ : truncation at degree K K K removes coefficients with k ≥ K k \ge K k ≥ K , while truncation at N μ ⋆ N_{\mu^\star} N μ ⋆ additionally removes contributions with N μ ⋆ + λ ≤ k < K N_{\mu^\star}+\lambda\le k < K N μ ⋆ + λ ≤ k < K . If f f f and the coefficients a λ a_\lambda a λ are analytic in a Bernstein ellipse, then u u u is analytic there as well, and these expansion tails decay geometrically with K K K [35 ] . For functions with only finite smoothness, the decay is algebraic. The boundary-row tails decay algebraically even when the solution is analytic. For an endpoint condition on u ( j ) u^{(j)} u ( j ) with j < q / 2 j<q/2 j < q /2 , Eq. (226) implies ∥ ( I − Π < K ) r i ∥ = Θ ( K 2 j − q + 1 / 2 ) \|(I-\Pi_{<K})r_i\|=\Theta(K^{2j-q+1/2}) ∥ ( I − Π < K ) r i ∥ = Θ ( K 2 j − q + 1/2 ) . Nevertheless, the boundary contribution in Eq. (270) still decays geometrically, because this tail is multiplied by ∥ ( I − Π < K ) v ⋆ ∥ \|(I-\Pi_{<K})v^\star\| ∥ ( I − Π < K ) v ⋆ ∥ , which decays geometrically in the analytic case.
Darboux and Jacobi extensions
This appendix shows that two parts of the input correction of Section IV.C, namely the separated structure of the Darboux ladder and the phase representation of the Gauss nodes and weights, carry over to Jacobi polynomials. We also explain why an exact connection to Fourier modes requires half-integer parameters. No result of the main text depends on this appendix.
Darboux steps for Jacobi parameters. For α , β > − 1 \alpha,\beta>-1 α , β > − 1 , which we call admissible parameters, define the Jacobi weight by w ( x ) = ( 1 − x ) α ( 1 + x ) β w(x)=(1-x)^\alpha(1+x)^\beta w ( x ) = ( 1 − x ) α ( 1 + x ) β . Using the change of variable x = cos 2 t x=\cos2t x = cos 2 t with 0 < t < π / 2 0<t<\pi/2 0 < t < π /2 , define the angular functions
v k ( t ) = w ( x ) ∣ x ′ ( t ) ∣ p k ( α , β ) ( x ) , (271) v_k(t)=\sqrt{w(x)|x'(t)|}\,p_k^{(\alpha,\beta)}(x), \tag*{(271)} v k ( t ) = w ( x ) ∣ x ′ ( t ) ∣ p k ( α , β ) ( x ) , (271)
where p k ( α , β ) p_k^{(\alpha,\beta)} p k ( α , β ) is the orthonormal Jacobi polynomial of degree k k k . The change-of-variables factor ensures that these functions are orthonormal in L 2 ( 0 , π / 2 ) L^2(0,\pi/2) L 2 ( 0 , π /2 ) . In the variable t t t , the Jacobi differential equation becomes an eigenvalue problem for the trigonometric Pöschl–Teller operator:
H α , β v k = ω k 2 v k , ω k = 2 k + α + β + 1 , (272) H_{\alpha,\beta}v_k=\omega_k^2v_k,\qquad\omega_k=2k+\alpha+\beta+1, \tag*{(272)} H α , β v k = ω k 2 v k , ω k = 2 k + α + β + 1 , (272)
where
H α , β = − ∂ t 2 + α 2 − 1 4 sin 2 t + β 2 − 1 4 cos 2 t . (273) H_{\alpha,\beta}=-\partial_t^2+\frac{\alpha^2-\frac14}{\sin^2t}+\frac{\beta^2-\frac14}{\cos^2t}. \tag*{(273)} H α , β = − ∂ t 2 + sin 2 t α 2 − 4 1 + cos 2 t β 2 − 4 1 . (273)
For signs σ , τ ∈ { + 1 , − 1 } \sigma,\tau\in\{+1,-1\} σ , τ ∈ { + 1 , − 1 } , define the seed function
ϕ σ τ = sin 1 / 2 + σ α t cos 1 / 2 + τ β t (274) \phi_{\sigma\tau}=\sin^{1/2+\sigma\alpha}t\cos^{1/2+\tau\beta}t \tag*{(274)} ϕ σ τ = sin 1/2 + σ α t cos 1/2 + τ β t (274)
and the associated Darboux operator
A σ τ = ∂ ∂ t − ∂ ∂ t log ϕ σ τ = ∂ ∂ t − ( 1 2 + σ α ) cot t + ( 1 2 + τ β ) tan t . (275) \begin{aligned}
A_{\sigma\tau}=\frac{\partial}{\partial t}-\frac{\partial}{\partial t}\log\phi_{\sigma\tau} \\
&=\frac{\partial}{\partial t}-\left(\frac12+\sigma\alpha\right)\cot t+\left(\frac12+\tau\beta\right)\tan t. \tag*{(275)}
\end{aligned} A σ τ = ∂ t ∂ − ∂ t ∂ log ϕ σ τ = ∂ t ∂ − ( 2 1 + σ α ) cot t + ( 2 1 + τ β ) tan t . (275)
The seed is an eigenfunction of H α , β H_{\alpha,\beta} H α , β :
H α , β ϕ σ τ = s σ τ 2 ϕ σ τ , s σ τ = 1 + σ α + τ β . (276) H_{\alpha,\beta}\phi_{\sigma\tau}=s_{\sigma\tau}^2\phi_{\sigma\tau},\qquad s_{\sigma\tau}=1+\sigma\alpha+\tau\beta. \tag*{(276)} H α , β ϕ σ τ = s σ τ 2 ϕ σ τ , s σ τ = 1 + σ α + τ β . (276)
The Darboux operator intertwines two operators with shifted parameters: H α + σ , β + τ A σ τ = A σ τ H α , β H_{\alpha+\sigma,\beta+\tau}A_{\sigma\tau}=A_{\sigma\tau}H_{\alpha,\beta} H α + σ , β + τ A σ τ = A σ τ H α , β . Writing v k ( α , β ) v_k^{(\alpha,\beta)} v k ( α , β ) to indicate the parameters of v k v_k v k , the Jacobi derivative identities [39 Section 18.9] imply
A σ τ v k ( α , β ) = − σ ω k 2 − s σ τ 2 v k − ( σ + τ ) / 2 ( α + σ , β + τ ) . (277) A_{\sigma\tau}v_k^{(\alpha,\beta)}
=-\sigma\sqrt{\omega_k^2-s_{\sigma\tau}^2}\,v_{k-(\sigma+\tau)/2}^{(\alpha+\sigma,\beta+\tau)}. \tag*{(277)} A σ τ v k ( α , β ) = − σ ω k 2 − s σ τ 2 v k − ( σ + τ ) /2 ( α + σ , β + τ ) . (277)
This identity applies when α + σ > − 1 \alpha+\sigma>-1 α + σ > − 1 , β + τ > − 1 \beta+\tau>-1 β + τ > − 1 , k − ( σ + τ ) / 2 ≥ 0 k-(\sigma+\tau)/2\ge0 k − ( σ + τ ) /2 ≥ 0 , and ω k 2 > s σ τ 2 \omega_k^2>s_{\sigma\tau}^2 ω k 2 > s σ τ 2 . Because the shifted angular function on the right has unit norm, the norm of the result of applying A σ τ A_{\sigma\tau} A σ τ is ∥ A σ τ v k ( α , β ) ∥ = ω k 2 − s σ τ 2 \|A_{\sigma\tau}v_k^{(\alpha,\beta)}\|=\sqrt{\omega_k^2-s_{\sigma\tau}^2} ∥ A σ τ v k ( α , β ) ∥ = ω k 2 − s σ τ 2 .
In the ultraspherical case, α = β = q − 1 2 \alpha=\beta=q-\frac12 α = β = q − 2 1 . Setting θ = 2 t \theta=2t θ = 2 t gives H α , β = 4 H q H_{\alpha,\beta}=4H_q H α , β = 4 H q , and the angular functions satisfy v k ( t ) = 2 G k ( q ) ( θ ) v_k(t)=\sqrt{2}\,G_k^{(q)}(\theta) v k ( t ) = 2 G k ( q ) ( θ ) . Under this change of variables, the ( + , + ) (+,+) ( + , + ) Darboux step, divided by 2 2 2 , becomes A q = ∂ θ − q cot θ A_q=\partial_\theta-q\cot\theta A q = ∂ θ − q cot θ , which is precisely the operator A q A_q A q used in Section IV.C.
Chains from a free base. Starting from one of the four free parameter pairs ( ± 1 2 , ± 1 2 ) (\pm\frac12,\pm\frac12) ( ± 2 1 , ± 2 1 ) , a finite sequence of Darboux steps reaches any admissible half-integer pair ( α , β ) (\alpha,\beta) ( α , β ) . The number of steps depends on the target parameters but is independent of the transform dimension N N N . For the free pairs, the potential terms vanish and the operator reduces to H 0 = − ∂ t 2 H_0=-\partial_t^2 H 0 = − ∂ t 2 , whose frequency-ω \omega ω solutions are Fourier waves. Let D \mathcal{D} D denote the composition of the r D r_D r D first-order operators in a chain from a free pair to ( α , β ) (\alpha,\beta) ( α , β ) . It can be written as
D = ∑ ν = 0 r D a ν ( t ) ∂ t ν , (278) \mathcal{D}=\sum_{\nu=0}^{r_D}a_\nu(t)\partial_t^\nu, \tag*{(278)} D = ν = 0 ∑ r D a ν ( t ) ∂ t ν , (278)
where the coefficient functions a ν ( t ) a_\nu(t) a ν ( t ) are independent of the mode frequency. The intertwining relation H α , β D = D H 0 H_{\alpha,\beta}\mathcal{D}=\mathcal{D}H_0 H α , β D = D H 0 [41 ] implies that, under the conditions stated after Eq. (277) , D \mathcal{D} D maps a Fourier mode to a multiple of the corresponding angular function for ( α , β ) (\alpha,\beta) ( α , β ) . In particular,
e − i ω t D e i ω t = ∑ ν = 0 r D a ν ( t ) ( i ω ) ν . (279) e^{-i\omega t}\mathcal{D}e^{i\omega t}=\sum_{\nu=0}^{r_D}a_\nu(t)(i\omega)^\nu. \tag*{(279)} e − iω t D e iω t = ν = 0 ∑ r D a ν ( t ) ( iω ) ν . (279)
Thus, the correction to each Fourier mode is a polynomial in its frequency with coefficients drawn from a fixed set of functions of t t t . The number of such terms, r D + 1 r_D+1 r D + 1 , called the separation rank , is independent of the mode index and of N N N , as in the ultraspherical construction.
Phase and quadrature. The phase construction from Section IV.C extends to these Darboux chains. Label the r D r_D r D steps by i = 1 , … , r D i=1,\ldots,r_D i = 1 , … , r D , and denote the i i i th Darboux operator, seed, value, and resulting parameters by A i A_i A i , ϕ i \phi_i ϕ i , s i s_i s i , and ( α i , β i ) (\alpha_i,\beta_i) ( α i , β i ) , respectively. Let ( α 0 , β 0 ) (\alpha_0,\beta_0) ( α 0 , β 0 ) be the parameters of the free starting problem. Choose a frequency ω \omega ω such that ω 2 > s i 2 \omega^2>s_i^2 ω 2 > s i 2 for every step and such that the mode exists at every stage:
ω = 2 k i + α i + β i + 1 , k i ∈ Z ≥ 0 , i = 0 , … , r D . (280) \omega=2k_i+\alpha_i+\beta_i+1,\qquad k_i\in\mathbb{Z}_{\ge0},\ i=0,\ldots,r_D. \tag*{(280)} ω = 2 k i + α i + β i + 1 , k i ∈ Z ≥ 0 , i = 0 , … , r D . (280)
Write N = k r D N=k_{r_D} N = k r D for the degree of the final mode. The right-hand side is the same for every i i i , because by Eq. (277) , a step ( σ , τ ) (\sigma,\tau) ( σ , τ ) raises α + β \alpha+\beta α + β by σ + τ \sigma+\tau σ + τ and lowers the degree by ( σ + τ ) / 2 (\sigma+\tau)/2 ( σ + τ ) /2 ; in particular, ω = ω N \omega=\omega_N ω = ω N for the final parameters. On the free starting problem, the corresponding mode is v k 0 = ( 2 / π ) sin ( ω t + χ ) v_k^0=(2/\sqrt{\pi})\sin(\omega t+\chi) v k 0 = ( 2/ π ) sin ( ω t + χ ) , where χ ∈ { 0 , π / 2 } \chi\in\{0,\pi/2\} χ ∈ { 0 , π /2 } selects the boundary condition at t = 0 t=0 t = 0 . Start with the complex wave Z 0 = e i ( ω t + χ ) Z_0=e^{i(\omega t+\chi)} Z 0 = e i ( ω t + χ ) , so that Im Z 0 = ( π / 2 ) v k 0 \operatorname{Im}Z_0=(\sqrt{\pi}/2)v_k^0 Im Z 0 = ( π /2 ) v k 0 , and define each successive wave by
Z i = A i Z i − 1 ω 2 − s i 2 . (281) Z_i=\frac{A_iZ_{i-1}}{\sqrt{\omega^2-s_i^2}}. \tag*{(281)} Z i = ω 2 − s i 2 A i Z i − 1 . (281)
For a complex wave Z Z Z , define its phase current (Wronskian) by J [ Z ] : = Im ( Z Z ′ ‾ ) J[Z]:=\operatorname{Im}(Z\overline{Z'}) J [ Z ] := Im ( Z Z ′ ) . The initial wave has J [ Z 0 ] = ω J[Z_0]=\omega J [ Z 0 ] = ω , and the seed equation gives J [ A i Z ] = ( ω 2 − s i 2 ) J [ Z ] J[A_iZ]=(\omega^2-s_i^2)J[Z] J [ A i Z ] = ( ω 2 − s i 2 ) J [ Z ] . Consequently, this normalization ensures that J [ Z i ] = ω J[Z_i]=\omega J [ Z i ] = ω at every step.
Writing Z i = ∣ Z i ∣ e i Φ i Z_i=|Z_i|e^{i\Phi_i} Z i = ∣ Z i ∣ e i Φ i , we have J [ Z i ] = ∣ Z i ∣ 2 Φ i ′ J[Z_i]=|Z_i|^2\Phi_i' J [ Z i ] = ∣ Z i ∣ 2 Φ i ′ . Thus the phase Φ i \Phi_i Φ i increases with t t t , and its increment at step i i i is
Φ i − Φ i − 1 = arg ( ∂ t ln ∣ Z i − 1 ∣ − ∂ t ln ϕ i + i Φ i − 1 ′ ) . (282) \Phi_i-\Phi_{i-1}=\arg\left(\partial_t\ln|Z_{i-1}|-\partial_t\ln\phi_i+i\Phi'_{i-1}\right). \tag*{(282)} Φ i − Φ i − 1 = arg ( ∂ t ln ∣ Z i − 1 ∣ − ∂ t ln ϕ i + i Φ i − 1 ′ ) . (282)
This generalizes the phase increments arg ( P q / P q − 1 ) \arg(P_q/P_{q-1}) arg ( P q / P q − 1 ) in the ultraspherical Darboux ladder of Section IV.C.
The final wave Z f : = Z r D = ∣ Z f ∣ e i Φ f Z_f:=Z_{r_D}=|Z_f|e^{i\Phi_f} Z f := Z r D = ∣ Z f ∣ e i Φ f satisfies
Im Z f = ± π 2 v N , (283) \operatorname{Im}Z_f=\pm\frac{\sqrt{\pi}}{2}v_N, \tag*{(283)} Im Z f = ± 2 π v N , (283)
where v N v_N v N is the degree-N N N mode for the final parameters ( α , β ) (\alpha,\beta) ( α , β ) . Its zeros t j t_j t j correspond to the Gauss–Jacobi nodes x j = cos ( 2 t j ) x_j=\cos(2t_j) x j = cos ( 2 t j ) ; at each zero, Φ f ( t j ) ∈ π Z \Phi_f(t_j)\in\pi\mathbb{Z} Φ f ( t j ) ∈ π Z .
The corresponding Gauss–Jacobi weights are given by the Christoffel numbers [39 Section 3.5(v)]
γ j = ( ∑ k < N p k ( α , β ) ( x j ) 2 ) − 1 . (284) \gamma_j=\left(\sum_{k<N}p_k^{(\alpha,\beta)}(x_j)^2\right)^{-1}. \tag*{(284)} γ j = ( k < N ∑ p k ( α , β ) ( x j ) 2 ) − 1 . (284)
Squaring Eq. (271) and summing over k < N k<N k < N gives ∑ k < N v k ( t ) 2 = w ( x ) ∣ x ′ ( t ) ∣ ∑ k < N p k ( α , β ) ( x ) 2 \sum_{k<N}v_k(t)^2=w(x)|x'(t)|\sum_{k<N}p_k^{(\alpha,\beta)}(x)^2 ∑ k < N v k ( t ) 2 = w ( x ) ∣ x ′ ( t ) ∣ ∑ k < N p k ( α , β ) ( x ) 2 . Applying the confluent Christoffel–Darboux formula and the Jacobi derivative identities [39 Sections 18.2(v) and 18.9] yields
∑ k < N v k ( t j ) 2 = v N ′ ( t j ) 2 4 ω = Φ f ′ ( t j ) π . (285) \sum_{k<N}v_k(t_j)^2=\frac{v_N'(t_j)^2}{4\omega}=\frac{\Phi_f'(t_j)}{\pi}. \tag*{(285)} k < N ∑ v k ( t j ) 2 = 4 ω v N ′ ( t j ) 2 = π Φ f ′ ( t j ) . (285)
Therefore, for N ≥ 1 N\geq1 N ≥ 1 , the same phase determines both the nodes and their weights:
Φ f ( t j ) ∈ π Z , γ j w ( x j ) ∣ x ′ ( t j ) ∣ = π Φ f ′ ( t j ) . (286) \Phi_f(t_j)\in\pi\mathbb{Z},\qquad\frac{\gamma_j}{w(x_j)|x'(t_j)|}=\frac{\pi}{\Phi_f'(t_j)}. \tag*{(286)} Φ f ( t j ) ∈ π Z , w ( x j ) ∣ x ′ ( t j ) ∣ γ j = Φ f ′ ( t j ) π . (286)
This exact relation alone does not guarantee an efficient circuit: that also requires uniform smoothness of the corrections and bounds on the waves Z i Z_i Z i and the derivatives of the phase.
Why the exact connection requires half-integers. An exact connection by a finite-order differential operator is possible only when both Jacobi parameters are half-integers. Near t = 0 t=0 t = 0 , the two independent solutions of H α , β Z = ω 2 Z H_{\alpha,\beta}Z=\omega^2Z H α , β Z = ω 2 Z behave like t 1 / 2 + α t^{1/2+\alpha} t 1/2 + α and t 1 / 2 − α t^{1/2-\alpha} t 1/2 − α , whereas applying a differential operator with coefficients meromorphic at t = 0 t=0 t = 0 to e i ω t e^{i\omega t} e iω t produces a meromorphic function. Compatibility with both local solution behaviors therefore requires 1 / 2 + α 1/2+\alpha 1/2 + α and 1 / 2 − α 1/2-\alpha 1/2 − α to be integers, so α ∈ 1 2 + Z \alpha\in\frac{1}{2}+\mathbb{Z} α ∈ 2 1 + Z . The analogous argument at t = π / 2 t=\pi/2 t = π /2 gives β ∈ 1 2 + Z \beta\in\frac{1}{2}+\mathbb{Z} β ∈ 2 1 + Z . This restriction applies only to exact differential intertwiners and does not preclude other representations or approximate circuits.
Proposition 4 (Finite Darboux connection). Let α , β > − 1 \alpha,\beta>-1 α , β > − 1 , and let D ≠ 0 \mathcal{D}\neq0 D = 0 be a finite-order differential operator, independent of ω \omega ω , with coefficients analytic on ( 0 , π / 2 ) (0,\pi/2) ( 0 , π /2 ) . If D e i ω t \mathcal{D}e^{i\omega t} D e iω t solves H α , β Z = ω 2 Z H_{\alpha,\beta}Z=\omega^2Z H α , β Z = ω 2 Z for infinitely many distinct frequencies, then α , β ∈ 1 2 + Z \alpha,\beta\in\frac{1}{2}+\mathbb{Z} α , β ∈ 2 1 + Z . Conversely, such parameters admit an intertwiner built from Darboux operators in Eq. (275) .
Proof. If D e i ω t \mathcal{D}e^{i\omega t} D e iω t solves the Jacobi angular equation for infinitely many distinct frequencies, then ( H α , β D − D H 0 ) e i ω t (H_{\alpha,\beta}\mathcal{D}-\mathcal{D}H_0)e^{i\omega t} ( H α , β D − D H 0 ) e iω t vanishes for infinitely many values of ω \omega ω . This expression is e i ω t e^{i\omega t} e iω t multiplied by a polynomial in ω \omega ω , so that polynomial must vanish identically. Hence, D \mathcal{D} D intertwines the two operators: H α , β D = D H 0 H_{\alpha,\beta}\mathcal{D}=\mathcal{D}H_0 H α , β D = D H 0 . If D \mathcal{D} D has order zero, this identity forces H α , β = H 0 H_{\alpha,\beta}=H_0 H α , β = H 0 . Otherwise, let r D ≥ 1 r_{\mathcal{D}}\geq1 r D ≥ 1 denote the order of D \mathcal{D} D . Comparing the highest-order derivative terms shows that the leading coefficient of D \mathcal{D} D is a nonzero constant, denoted by c c c .
The intertwining relation also implies that ker D \ker\mathcal{D} ker D is invariant under H 0 H_0 H 0 . On ( 0 , π / 2 ) (0,\pi/2) ( 0 , π /2 ) , the equation D f = 0 \mathcal{D}f=0 D f = 0 is a regular linear differential equation of order r D r_{\mathcal{D}} r D , so its solution space has dimension r D r_{\mathcal{D}} r D , and its elements are analytic on that interval. By the Cayley–Hamilton theorem, the restriction of H 0 H_0 H 0 to ker D \ker\mathcal{D} ker D satisfies its characteristic polynomial. Consequently, every element of ker D \ker\mathcal{D} ker D is annihilated by a linear differential operator with constant coefficients and is therefore an exponential polynomial. In particular, a basis f 1 , … , f r D f_1,\ldots,f_{r_{\mathcal{D}}} f 1 , … , f r D of ker D \ker\mathcal{D} ker D can be chosen to consist of entire functions.
For functions g 1 , … , g m g_1,\ldots,g_m g 1 , … , g m , define the Wronskian by
W ( g 1 , … , g m ) : = det [ g i ( j ) ] 0 ≤ j < m , 1 ≤ i ≤ m . (287) W(g_1,\ldots,g_m):=\det\left[g_i^{(j)}\right]_{0\leq j<m,\ 1\leq i\leq m}. \tag*{(287)} W ( g 1 , … , g m ) := det [ g i ( j ) ] 0 ≤ j < m , 1 ≤ i ≤ m . (287) whose i i i th column contains g i g_i g i and its first m − 1 m-1 m − 1 derivatives. For two functions, W ( Re Z , Im Z ) W(\operatorname{Re}Z,\operatorname{Im}Z) W ( Re Z , Im Z ) is the phase current J [ Z ] J[Z] J [ Z ] used above. The Wronskian W ( f 1 , … , f r D ) W(f_1,\ldots,f_{r_{\mathcal{D}}}) W ( f 1 , … , f r D ) has no zeros on ( 0 , π / 2 ) (0,\pi/2) ( 0 , π /2 ) . Indeed, if it vanished at a point t 0 t_0 t 0 , a nontrivial linear combination of the f i f_i f i would solve D f = 0 \mathcal{D}f=0 D f = 0 with zero initial values at t 0 t_0 t 0 and would therefore vanish identically, contradicting their linear independence.
We now establish the Wronskian representation of D \mathcal{D} D . Define the differential operator
L f : = c W ( f 1 , … , f r D , f ) W ( f 1 , … , f r D ) . (288) \mathcal{L}f:=c\frac{W(f_1,\ldots,f_{r_{\mathcal{D}}},f)}{W(f_1,\ldots,f_{r_{\mathcal{D}}})}. \tag*{(288)} L f := c W ( f 1 , … , f r D ) W ( f 1 , … , f r D , f ) . (288) Expanding the numerator determinant along its last column shows that L \mathcal{L} L is a differential operator of order
r D r_D r D . The coefficient of f ( r D ) f^{(r_D)} f ( r D ) is c c c , since its cofactor is W ( f 1 , … , f r D ) W(f_1,\ldots,f_{r_D}) W ( f 1 , … , f r D ) . Also, L f i = 0 \mathcal{L}f_i=0 L f i = 0 for every i i i , because the numerator then has two identical columns. Thus, D − L \mathcal{D}-\mathcal{L} D − L has order at most r D − 1 r_D-1 r D − 1 and annihilates all r D r_D r D linearly independent functions f 1 , … , f r D f_1,\ldots,f_{r_D} f 1 , … , f r D . If D − L \mathcal{D}-\mathcal{L} D − L were nonzero, its kernel would have dimension at most r D − 1 r_D-1 r D − 1 on any subinterval where its leading coefficient is nonzero. This contradicts the fact that f 1 , … , f r D f_1,\ldots,f_{r_D} f 1 , … , f r D are linearly independent on every subinterval. Therefore D = L \mathcal{D}=\mathcal{L} D = L .
We use the same numerator expansion to write D \mathcal{D} D as a linear combination of f , f ′ , … , f ( r D ) f,f',\ldots,f^{(r_D)} f , f ′ , … , f ( r D ) . The coefficient multiplying each derivative is, up to a sign, c c c times a cofactor of the numerator divided by W ( f 1 , … , f r D ) W(f_1,\ldots,f_{r_D}) W ( f 1 , … , f r D ) . The cofactors and the denominator are polynomials in derivatives of entire functions f 1 , … , f r D f_1,\ldots,f_{r_D} f 1 , … , f r D , and are therefore themselves entire. Since the denominator is not identically zero, these quotients are meromorphic. Hence the coefficients of D \mathcal{D} D are meromorphic.
Finally, for each ω ≠ 0 \omega\ne0 ω = 0 , the functions e i ω t e^{i\omega t} e iω t and e − i ω t e^{-i\omega t} e − iω t span the solution space of H 0 f = ω 2 f H_0f=\omega^2f H 0 f = ω 2 f . The intertwining relation maps this space into the two-dimensional solution space of the Jacobi angular equation with the same eigenvalue, H α , β Z = ω 2 Z H_{\alpha,\beta}Z=\omega^2Z H α , β Z = ω 2 Z . The map can fail to be injective only if ω 2 \omega^2 ω 2 is an eigenvalue of the restriction of H 0 H_0 H 0 to ker D \ker\mathcal{D} ker D . The restriction H 0 ∣ ker D H_0|_{\ker\mathcal{D}} H 0 ∣ k e r D is a linear operator on the r D r_D r D -dimensional vector space ker D \ker\mathcal{D} ker D . It has at most r D r_D r D distinct eigenvalues, so injectivity fails for at most 2 r D 2r_D 2 r D nonzero frequencies. Therefore, for all other nonzero ω \omega ω , D \mathcal{D} D maps the Fourier solution space bijectively onto the corresponding Jacobi solution space.
Fix one nonzero frequency ω \omega ω outside this finite exceptional set. By surjectivity, every solution of the target equation can be written as Z = D f Z=\mathcal{D}f Z = D f with f = a e i ω t + b e − i ω t f=ae^{i\omega t}+be^{-i\omega t} f = a e iω t + b e − iω t . Since f f f is entire and the coefficients of D \mathcal{D} D are meromorphic on C \mathbb{C} C , Z = ∑ ν a ν f ( ν ) Z=\sum_\nu a_\nu f^{(\nu)} Z = ∑ ν a ν f ( ν ) is meromorphic on C \mathbb{C} C . Poles can occur only at zeros of W ( f 1 , … , f r D ) W(f_1,\ldots,f_{r_D}) W ( f 1 , … , f r D ) . Since W W W has no zeros on ( 0 , π / 2 ) (0,\pi/2) ( 0 , π /2 ) , poles on [ 0 , π / 2 ] [0,\pi/2] [ 0 , π /2 ] are therefore possible only at t = 0 t=0 t = 0 and t = π / 2 t=\pi/2 t = π /2 . We now apply the Frobenius method to the target equation − Z ′ ′ + V ( t ) Z = ω 2 Z -Z''+V(t)Z=\omega^2Z − Z ′′ + V ( t ) Z = ω 2 Z , where
V ( t ) = α 2 − 1 4 sin 2 t + β 2 − 1 4 cos 2 t . V(t)=\frac{\alpha^2-\frac14}{\sin^2t}+\frac{\beta^2-\frac14}{\cos^2t}. V ( t ) = sin 2 t α 2 − 4 1 + cos 2 t β 2 − 4 1 .
Near t = 0 t=0 t = 0 , its two local solutions are governed by the indicial equation ρ ( ρ − 1 ) = α 2 − 1 4 \rho(\rho-1)=\alpha^2-\frac14 ρ ( ρ − 1 ) = α 2 − 4 1 with roots ρ ± = 1 2 ± ∣ α ∣ \rho_\pm=\frac12\pm|\alpha| ρ ± = 2 1 ± ∣ α ∣ . By the Frobenius method, there is a solution whose leading behavior is t ρ + t^{\rho_+} t ρ + . Since every target-equation solution must be meromorphic at t = 0 t=0 t = 0 , this exponent must be an integer. The other root, ρ − = 1 − ρ + \rho_-=1-\rho_+ ρ − = 1 − ρ + , is also an integer then, so α ∈ 1 2 + Z \alpha\in\frac12+\mathbb{Z} α ∈ 2 1 + Z . Applying the same argument near t = π / 2 t=\pi/2 t = π /2 , we can also show β ∈ 1 2 + Z \beta\in\frac12+\mathbb{Z} β ∈ 2 1 + Z . Since α , β > − 1 \alpha,\beta>-1 α , β > − 1 , the possible values are α , β ∈ { − 1 2 , 1 2 , 3 2 , … } \alpha,\beta\in\{-\frac12,\frac12,\frac32,\ldots\} α , β ∈ { − 2 1 , 2 1 , 2 3 , … } . Conversely, for these parameters the chains from a free base described above build an intertwiner from the Darboux operators in Eq. (275) .
This endpoint argument is related to local monodromy [59 ] , which studies how solutions behave around singular points. The same parameter restriction also follows from the basis change: the angular functions behave as t α + 1 / 2 t^{\alpha+1/2} t α + 1/2 and ( π / 2 − t ) β + 1 / 2 (\pi/2-t)^{\beta+1/2} ( π /2 − t ) β + 1/2 near the endpoints. They are finite trigonometric polynomials precisely when both powers are nonnegative integers, as required for the finite matrix L L L by Eq. (43) .
For certain exceptional orthogonal-polynomial families [60 , 61 ] —families that omit finitely many polynomial degrees—the angular functions can also be obtained from Fourier modes by a finite chain of Darboux steps, so their separation rank is again independent of the mode index and of N N N . However, these cases need extra care: the transformed functions may have regularity issues or poles in their coefficients, and the missing degrees affect the quadrature rules.
Normalization. A fixed separation rank does not, by itself, guarantee an efficient block encoding: the normalization required to encode the separated factors may still grow with the grid size. For example, when ( α , β ) = ( 3 / 2 , 1 / 2 ) (\alpha,\beta)=(3/2,1/2) ( α , β ) = ( 3/2 , 1/2 ) , a single Darboux step from the free pair ( 1 / 2 , − 1 / 2 ) (1/2,-1/2) ( 1/2 , − 1/2 ) gives
Z 1 ( t ) = ( i ω k − cot t ) e i ω k t ω k 2 − 1 , ω k = 2 k + 3. (289) Z_1(t)=\frac{(i\omega_k-\cot t)e^{i\omega_k t}}{\sqrt{\omega_k^2-1}},\qquad\omega_k=2k+3. \tag*{(289)} Z 1 ( t ) = ω k 2 − 1 ( i ω k − cot t ) e i ω k t , ω k = 2 k + 3. (289)
Although this expression contains the singular factor cot t \cot t cot t , its imaginary part is regular at t = 0 t=0 t = 0 . Expanding the real and imaginary parts,
ω k 2 − 1 I m Z 1 = ω k cos ( ω k t ) − cot t sin ( ω k t ) , ω k 2 − 1 R e Z 1 = − ω k sin ( ω k t ) − cot t cos ( ω k t ) . (290) \begin{aligned}
\sqrt{\omega_k^2-1}\mathop{\rm Im} Z_1&=\omega_k\cos(\omega_k t)-\cot t\sin(\omega_k t),\\
\sqrt{\omega_k^2-1}\mathop{\rm Re} Z_1&=-\omega_k\sin(\omega_k t)-\cot t\cos(\omega_k t). \tag*{(290)}
\end{aligned} ω k 2 − 1 Im Z 1 ω k 2 − 1 Re Z 1 = ω k cos ( ω k t ) − cot t sin ( ω k t ) , = − ω k sin ( ω k t ) − cot t cos ( ω k t ) . (290)
As t → 0 t\to0 t → 0 , the two terms in the imaginary part both approach ω k \omega_k ω k , and their difference is − 1 3 ω k ( ω k 2 − 1 ) t 2 + O ( t 4 ) -\frac13\omega_k(\omega_k^2-1)t^2+O(t^4) − 3 1 ω k ( ω k 2 − 1 ) t 2 + O ( t 4 ) . This t 2 t^2 t 2 behavior agrees with the leading power t α + 1 / 2 t^{\alpha+1/2} t α + 1/2 of the angular function, since I m Z 1 = − ( π / 2 ) ν k \mathop{\rm Im}Z_1=-(\sqrt{\pi}/2)\nu_k Im Z 1 = − ( π /2 ) ν k . We refer to the cancellation between these two terms as endpoint cancellation. The real part has no corresponding cancellation; it behaves as − 1 / ( t ω k 2 − 1 ) -1/(t\sqrt{\omega_k^2-1}) − 1/ ( t ω k 2 − 1 ) .
In the separated form of Eq. (279) , Z 1 Z_1 Z 1 is computed from the two terms i ω k e i ω k t i\omega_k e^{i\omega_k t} i ω k e i ω k t and − cot t e i ω k t -\cot t\,e^{i\omega_k t} − cot t e i ω k t . A circuit that implements this form as a linear combination, say via LCU, must be able to encode cot t \cot t cot t separately. The subnormalization in a block encoding is at least as large as the norm of the encoded matrix, and the subnormalizations of the terms in a linear combination of unitaries add. On an N N N -point Gauss grid, the node nearest t = 0 t=0 t = 0 is of order 1 / N 1/N 1/ N , so max j ∣ cot t j ∣ \max_j|\cot t_j| max j ∣ cot t j ∣ is of order N N N . Thus, encoding cot t \cot t cot t separately requires a subnormalization of order N N N , even though the angular function itself is regular. Because endpoint cancellation occurs only after the two terms are combined, it cannot reduce the subnormalization of this separated implementation.
The Darboux chain avoids this difficulty because it maps normalized modes to normalized modes. By Eq. (277) , each step multiplies a mode’s norm by ω 2 − s i 2 \sqrt{\omega^2-s_i^2} ω 2 − s i 2 , provided the stated conditions hold. Consequently, if ω 2 > s i 2 \omega^2>s_i^2 ω 2 > s i 2 at every step, then the Darboux operator D \mathcal{D} D , divided by ∏ i ( ω 2 − s i 2 ) 1 / 2 \prod_i(\omega^2-s_i^2)^{1/2} ∏ i ( ω 2 − s i 2 ) 1/2 , maps the normalized free mode ν k 0 \nu_{k_0} ν k 0 to the normalized final mode ± ν N \pm\nu_N ± ν N . On these modes, the operator D ∏ i ( H 0 − s i 2 ) − 1 / 2 \mathcal{D}\prod_i(H_0-s_i^2)^{-1/2} D ∏ i ( H 0 − s i 2 ) − 1/2 is therefore an isometry. In operator form, this gives the formal identity D † D = ∏ i ( H 0 − s i 2 ) \mathcal{D}^{\dagger}\mathcal{D}=\prod_i(H_0-s_i^2) D † D = ∏ i ( H 0 − s i 2 ) , where each seed is included with its multiplicity. This identity is formal in the sense that boundary terms from integration by parts are ignored. For the single-step example above, ( − ∂ t − cot t ) ( ∂ t − cot t ) = − ∂ t 2 − 1 = H 0 − 1 (-\partial_t-\cot t)(\partial_t-\cot t)=-\partial_t^2-1=H_0-1 ( − ∂ t − cot t ) ( ∂ t − cot t ) = − ∂ t 2 − 1 = H 0 − 1 . A circuit that implemented this isometry as a single operator, rather than encoding its factors separately, could have a subnormalization of order one, allowing endpoint cancellation to occur within the operator.
References