Manuscript Offprint
arXiv:2609.40277Conditioning-Free Non-Uniform Quantum Fourier and Chebyshev Transforms
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We present an efficient quantum algorithm for the non-uniform Chebyshev transform. It is defined as the projection of a function onto Chebyshev polynomials sampled at given nodes that are uniform in , and hence non-uniform in the angle , a setting that QFT-based quantum Chebyshev transforms cannot handle. Our construction is based on an improvement of an existing Non-uniform Quantum Fourier Transform (NUQFT) whereby we remove the conditioning from non-uniform node sampling. Hence, error bounds are independent of the geometry-dependent parameter of prior work. We use the fact that Chebyshev transform matrix is the average of two Type-II non-uniform DFTs, which we implement with a single controlled NUQFT circuit. We provide explicit oracle constructions, including the row-access oracle previously left as an assumption. The resulting -accurate block encoding has normalization and uses qubits and gates, where . We give an end-to-end implementation with complexity analysis, including the success probability and output-state error.
Contents
1 Introduction 3
1.1 Problem Statement 3
1.2 Main contributions 4
1.3 Overview 4
2 Preliminaries 5
2.1 Chebyshev polynomials and Bessel Functions 6
2.2 Quantum Algorithm Primitives 7
3 Background on Low-Rank NUFFT and NUQFT 7
3.1 Low-rank factorization of the NUDFT 8
3.2 The NUQFT circuit and the parameter 10
4 Conditioning-Free NUQFT 12
4.1 Error analysis of block encoding factors 13
4.2 Oracle assumptions 18
4.3 Main theorem 19
5 Application to the Non-Uniform Chebyshev Transform 21
5.1 Reduction to two NUDFTs 21
5.2 Constructing the Oracles 22
5.2.1 Node oracle 22
5.2.2 Row access 23
5.2.3 Negative nodes 25
5.2.4 Coefficient preparation 26
5.3 Main result 27
6 Conclusion and Discussion 29
A Alternative Grover-Rudolph interpretation of coefficient preparation 31
B Why cannot be bounded for the NUCT nodes 32
C Uniform and weighted outer LCU constructions 33
1.1 Problem Statement
The Chebyshev polynomials of the first kind are
Definition 1.1 (Non-uniform Chebyshev transform). Let with , and let , , be equispaced nodes in . The non-uniform Chebyshev transform (NUCT) maps to
This is the discrete polynomial transform of [DHR97, Eq. (1.2)] with and unit weights, and exactly the transform of [DHR97, Corollary 2.2(2)]. Since with , it is a cosine transform at the angles , which are non-uniform because the nodes are uniform in . On Chebyshev nodes the NUCT reduces to a discrete cosine transform and coincides, up to a normalization, with the quantum Chebyshev transform of [WPW 23]. On general nodes it is a projection onto the sampled , however its outputs are not the coefficients of an expansion , which would require inverting the transform, a problem that is exponentially ill-conditioned on equispaced nodes. We also define the normalized transform matrix
so that .
Given a circuit that prepares , the goal is to prepare an approximation of
We construct an -accurate block encoding of . The state then follows by postselection and amplitude amplification [BHMT02], with an error that depends on and (Corollary 5.11).
Remark 1.2. We do not analyze the general case of arbitrarily placed nodes in , but our algorithm can be applied to those cases as well, given efficient node and row-access oracles.
1.2 Main contributions
independent block-encoding analysis. The low-rank Chebyshev-Bessel expansion and the overall circuit structure are inherited from [RAT18, AKY26]. We obtain a simpler truncation bound, error bounds that do not depend on , and an improved block-encoding normalization. As in [RAT18], several nodes may round to the same grid point. Unlike the classical algorithm, where such collisions are free, they enter our block encoding through its normalization , where is the largest number of nodes sharing a grid point (Lemma 4.2). Our general NUQFT is therefore efficient when . In the worst case , and the normalization grows to .
Application to the NUCT. Combining the reduction of the NUCT to two Type-II NUDFTs (Theorem 5.1, outlined in Section 1.3) with our conditioning-free NUQFT gives an -accurate block encoding of the NUCT without any geometry-dependent parameter such as . For these nodes we show that at most five angles round to the same grid point, so , and we construct the row-access oracle explicitly (Proposition 5.5). The result therefore needs no assumption on collisions or on row access. The main result can be summarized in the theorem below:
Theorem 1.3 (Informal version of Theorem 5.10 and Corollary 5.11). Let , and . There is an explicit quantum circuit that implements an -accurate block encoding of the NUCT matrix with normalization , using qubits and gates Clifford+T gates). Given with , it prepares a state within of Eq. (4) using rounds of amplitude amplification.
1.3 Overview
Write with . Since , the NUCT matrix is the average of two Type-II non-uniform DFTs,
(Theorem 5.1). The NUQFT of [AKY26] block-encodes such matrices, but its error bound depends on a parameter that we cannot control for these nodes, and it assumes row access to the matrix as an oracle.
Proof technique
-
Exact nodes. Each node is stored as an m-bit fixed-point number , and is treated as the exact node set of the transform. The error then splits into a truncation term, an implementation term and a node term .
-
No input error in arccos. The offsets are computed exactly from , so every arccos acts on an exact input and only its output angle is rounded. The Chebyshev error is then uniform in the nodes, and never appears.
-
Node error through the phases. The node term is bounded through the Fourier phases, whose derivative has no singularity. This gives , so bits per node suffice.
-
Constant normalization. A Bessel-function bound gives an explicit truncation rank and a total coefficient weight . With a weighted outer LCU, the normalization is .
-
Structure of the NUCT nodes. At most five nodes share a grid point, and they have consecutive indices. This gives and an explicit row oracle.
Algorithm
• Compute each stored node to bits with a reversible arccos circuit.
- Block-encode . The Chebyshev diagonals and use an angle register and controlled rotations, uses sparse access, and F is the QFT. The K terms are combined by a weighted LCU.
• Obtain from the same circuit by reflecting the node data, and average the two with one sign qubit and two Hadamards. This block-encodes with normalization .
• Apply the block encoding to and use amplitude amplification to prepare .
Organization. Section 2 introduces the preliminaries like a Bessel function bound and the quantum circuits for trigonometric functions used throughout. Section 3 defines the Type-II NUDFT recalls the important lemmas of [RAT18] and [AKY26], showing where enters the analysis and lists the issues we address. Section 4 provides a sharper analysis removing from the NUQFT algorithm in Theorem 4.7. Section 5 applies it to the NUCT by using the reduction to two NUDFTs and constructing explicit node, row-access and coefficient-preparation oracles along with end-to-end complexity in Theorem 5.10 and Corollary 5.11.
2 Preliminaries
Fixed-point number. For an integer , an m-bit fixed-point number in is any number of the form
Equivalently, has a terminating binary expansion . Stored nodes are written
Offsets such as can be negative, so we also use signed fixed-point numbers. A signed fixed-point number with fractional bits is any number with , and a register stores it as the integer in two's complement. Shifts, additions, subtractions and comparisons of fixed-point numbers are exact. We call a quantity exact when it is a fixed-point number held in a register with no rounding.
Remark 2.1. When a quantum register stores the integer , we regard it as an exact representation of the mathematical value . A real or irrational node may first be approximated by a fixed-point node . The fixed-point NUQFT is then applied exactly to and the matrix perturbation from to is accounted for separately.
Nearest grid point and offset. Let . For a node define
(6) where round( ) rounds to the nearest integer. Here is the grid point nearest to , and is the distance from to it, scaled to . The index is the same grid point wrapped around to , so that it names a column of the DFT. The two differ only when is within of 1, where and . Since and , for every integer frequency ,
The first factor is an entry of the uniform DFT. The second depends on the node only through the offset . For a node sequence we write , and
so that sends node to its grid point, is the number of nodes assigned to grid point , and is the largest such number. For real nodes (Section 3) we write the offset as , following [AKY26]. For the stored fixed-point nodes of Eq. (5) (Section 4) we write .
2.1 Chebyshev polynomials and Bessel Functions
Chebyshev polynomials. For and , . Equivalently, with the angular variable ,
The first identity is how the circuits evaluate : they compute the angle into a register and apply a rotation by . The bound means that diagonal matrices of Chebyshev values have norm at most one and can be block-encoded without rescaling.
Remark 2.2 (Endpoint bookkeeping). Chebyshev series conventionally halve their term. We absorb this halving into the coefficients through the weights of Eq. (16), so every factor that appears in a circuit is the exact identity and needs no angle computation. The endpoints are likewise exact: at the angle is 0, and at the parity value can be applied directly, bypassing the angle register.
Bessel functions. We use the Bessel functions of the first kind of integer order, together with the symmetries [OLBC10, Eqs. 10.4.1 and 10.11.1]
so in particular . Bessel functions enter the paper through the Jacobi–Anger expansion. Setting in the generating function [OLBC10, Eq. 10.12.1] gives . With and Eq. (10),
The following bound gives the super-geometric decay of in n.
Lemma 2.3. For and ,
Proof. For every , the defining series for the Bessel function of the first kind [OLBC10, Eq. 10.2.2] gives
Consequently, using ,
2.2 Quantum Algorithm Primitives
We use standard reversible circuits for elementary functions on fixed-point inputs. CORDIC evaluates these functions by a sequence of shift-and-add rotations and [BBGA24] gave a clean reversible quantum version of it. Theorem 2.4 follows from their construction.
Theorem 2.4 (Reversible inverse cosine and trigonometric evaluation). Let and let the input be exact in signed b-bit fixed point. There are clean reversible circuits that return, with p fractional bits,
(i) an angle with for every , exact at . At an endpoint flag may instead implement exactly.
(ii) values with for every in a fixed bounded interval,
using
Proof. For (i), run the reversible CORDIC arcsin circuit of [BBGA24] ( qubits, gates, depth) at precision and use , with a coherent comparison for the endpoints. For (ii), use reversible CORDIC in rotation mode after range reduction [HRS18], with the same bounds. In both cases, copying the output and uncomputing clears all scratch registers.
3 Background on Low-Rank NUFFT and NUQFT
Our algorithm modifies the non-uniform quantum Fourier transform (NUQFT) of [AKY26], which in turn is a quantum realization of the low-rank non-uniform FFT of [RAT18]. This section defines the Type-II NUDFT Eq. (13), recalls both constructions as they appear in those works, explains where the parameter enters and states the result of [AKY26] (Theorem 3.4), and lists the changes that our algorithm makes in Section 4.
The Type-II NUDFT. Following [AKY26], let be possibly non-uniform nodes and uniform frequencies, . The Type-II NUDFT matrix is
Throughout the paper, rows are indexed by frequencies and columns by nodes. So takes data given at the nodes and returns values at the uniform frequencies. This is the orientation of the NUCT Eq. (2), whose output is indexed by the degree and whose sum runs over the nodes, and of the discrete polynomial transforms of [DHR97]. The rest of Section 3 and Section 4 rename the indices and write , with frequency index and node index . Without a subscript, denotes the uniform DFT, the case .
Remark 3.1 (Orientation convention). [RAT18] and [AKY26] write the Type-II matrix with the opposite orientation, nodes on the rows and frequencies on the columns:
In their terminology the transpose is called the Type-I NUDFT. We nevertheless call the Type-II matrix, because the nodes and the uniform frequencies play the same roles as in [AKY26], and only the orientation differs. Concretely:
• Every matrix in this paper, including the factorization Eq. (21), is written for , with frequencies on the rows.
• Results quoted from [AKY26], such as Theorem 3.4, carry over unchanged, since .
• The matrix of [AKY26] is obtained by transposing our construction, as explained after Theorem 4.7.
3.1 Low-rank factorization of the NUDFT
Applying the NUDFT directly costs operations. When the nodes are uniform, , the FFT does the same in . The non-uniform FFT of [RAT18] reduces the general case to a few uniform FFTs. It uses the fact that every node lies within half a grid spacing of some uniform grid point . Relative to that grid point, is a uniform DFT entry times a correction factor that depends only on the frequency and on the small offset of from the grid point. The correction factor is smooth, so it is well approximated by a short sum of terms, each a function of the node times a function of the frequency. Each such term is a uniform DFT with a diagonal scaling on either side, so the NUDFT becomes a sum of a few scaled DFTs. We recall the construction in three steps, in the notation used throughout this paper.
Split each node into a grid point and an offset. Each node is split into its nearest grid point and the scaled offset of Eq. (6). By Eq. (7), which is precisely an entry of the uniform DFT times a correction factor. This factor is the only part that depends on the offset and couples with the frequency .
Separate the node and frequency dependence. To turn the correction factor into a sum of node-times-frequency terms, first rescale the frequency to , so that both variables lie in . Then
The prefactor depends only on the node, while the kernel couples both variables. Because is analytic, its Chebyshev expansion in both variables converges rapidly, and each term is a function of the node times a function of the frequency. Writing , and , one has . Applying the Jacobi–Anger expansion Eq. (11) to both factors and grouping the frequencies gives the coefficients
In the notation of [AKY26], this is the window parameter . Chebyshev series conventionally halve their term. We absorb this weight into the coefficients by setting
Then the expansion reads
and holds uniformly on . For more details refer to [Tow14, Lemma A.3] and [RAT18, Appendix A]. The coefficients coincide with those of [AKY26]. By Lemma 2.3, , so the coefficients decay faster than any geometric sequence and a small truncation rank suffices. [RAT18] quantify this as follows.
Theorem 3.2 (Adapted from Lemma A.1 and Theorem A.2, [RAT18]). For let
be the rectangular truncation of Eq. (17). For and
where is the Lambert-W function, one has . Consequently, for any nodes with offsets , the matrix with entries is approximated to within in every entry by the rank- matrix with entries .
Remark 3.3. Two features of Theorem 3.2 matter for us.
- Entrywise bound. The bound is entrywise, while a block encoding needs the operator norm. Since carries the normalization , a kernel error in every entry gives
(Bound 1 in the proof of Theorem 4.7). Theorem 3.2 must therefore be applied with in place of , so depends on through .
- Incomplete tail bound. The proof in [RAT18] bounds the truncation error by , the sum over pairs in which both indices are at least . The rectangular truncation also discards the pairs in which exactly one index is at least , and these are not covered. Lemma 4.1 bounds the full discarded sum, over , and replaces the Lambert-W rank Eq. (18) by an explicit . The gain is a complete bound with explicit constants, not a smaller rank: with substituted, Eq. (18) is .
Assemble the low-rank factorization. Truncating Eq. (17) to and combining with Eqs. (7) and (14) gives
In matrix form, with rows indexed by frequencies and columns by nodes as in Eq. (13), so that , let and be the diagonal matrices with entries and , let be the uniform DFT, and let be as in Eq. (8), so that places column of in column . Then
Each term is a node scaling, a column selection, one uniform DFT and a frequency scaling. Classically this costs in total, and several nodes sharing a grid point cost nothing extra. Section 3.2 summarizes how [AKY26] implements each of these factors using a quantum circuit.
3.2 The NUQFT circuit and the parameter
[AKY26] turns the matrix factorization Eq. (21) into a block encoding. Each term is a product of block encodings of a frequency diagonal, the QFT, the matrix , which sends node to grid point , and a node diagonal. These terms are combined by a linear combination of unitaries (LCU) [CW12]. The diagonal entries are built from Chebyshev values , obtained by computing arccos into a register and applying controlled rotations. The resulting complexity is stated in Theorem 3.4 below, after we explain where comes from.
The normalization of such an LCU is governed by the coefficient magnitudes. For a truncation rank K, write
so that is the weight of the th term and the total weight. We now explain where enters the analysis.
In the analysis of [AKY26], finite-precision access produces an m-bit approximation satisfying
Writing and letting be its -bit approximation, the mean-value theorem is applied to the input perturbation of arccos. Thus, for some point between and ,
(24)
In the second inequality, the first term is the mean-value theorem with , combined with Eq. (23). The second is the output error of the reversible arccos circuit, part (i) of Theorem 2.4 [BBGA24]. Both appear in the proof of [AKY26, Lemma 27].
Consequently, a degree- Chebyshev polynomial of first kind incurs error
where step follows from an application of the mean-value theorem to the cosine function. Their result therefore introduces
and its sufficient precision and gate bounds contain logarithmic factors of the form .
The point in Eq. (26) comes from the mean-value theorem in the proof of [AKY26, Lemma 27]. It exists, but its position between and is not specified, so formally depends on as well. By Eq. (23), can be bounded independently of whenever and is large enough. [AKY26] also report numerical experiments (their Table 1, , ) in which the minimal required precision stays essentially unchanged as grows, which suggests that the dependence of on is mild in practice.
With this parameter, the result of [AKY26] reads as follows.
Theorem 3.4 (Adapted from Theorem 24, Theorem 28 and Corollary 29, [AKY26]). Let and for some . There exists a quantum algorithm that implements an -accurate block-encoding of the Type-II NUDFT with gate complexity and qubits, where and is the geometry parameter Eq. (26).
This dependence is undesirable in a general complexity theorem, even though it is only logarithmic. First, measures the conditioning of the auxiliary map , rather than the spectral conditioning of the NUDFT matrix itself. Second, is singular at , so admissible nodes can make arbitrarily large by approaching a nearest-grid cell boundary. A polylogarithmic bound in therefore follows from the estimate only after one controls the growth of . Third, certifying such control is instance-dependent: it amounts to lower-bounding the distance of every scaled node from a half-integer.
Issues addressed in this paper. Besides , we note one further point in [AKY26]. Both are resolved in Section 4.
-
Nodes near . [AKY26, Section 3.1.2] forms the offset from the wrapped index, , instead of from , so for nodes within of 1 this quantity is close to , outside the domain of arccos. We form it from the unwrapped index, as in Eq. (6), and use the wrapped index only to select the column of the DFT.
-
Conditioning and normalization. The only -dependent step is the mean-value bound Eq. (24) on the node diagonal [AKY26, Lemma 27]. Lemma 4.3 replaces it by a bound that is uniform in the nodes, and the weighted outer LCU of Lemma 4.4 improves the block-encoding normalization from to , where bounds the number of nodes that round to the same grid point.
4 Conditioning-Free NUQFT
We first summarize the strategy for removing the dependence and then prove the modified lemmas in Section 4.1, finally we state and prove the main result in Section 4.3.
The conditioning-free strategy. The real nodes may be irrational. The NUCT nodes are an example. A quantum circuit cannot store such numbers exactly. What it does store is an m-bit binary value for each node. Our key idea is to treat these stored values as the actual input of the transform, rather than as noisy copies of the real nodes. The NUQFT subroutine therefore implements the matrix built from the stored nodes, while the real-node matrix remains the final goal. This splits the total error into two independent parts:
Concretely, the construction keeps the circuit of [AKY26] and changes the analysis in three steps.
(i) Split the stored nodes exactly. Because is a power of two, the split Eq. (6) of a stored node into , and is exact bit arithmetic, so the phase splitting Eq. (7) is an exact identity for .
(ii) Round only the output angle. The offset is a signed fixed-point number with fractional bits, computed exactly from , so the circuit computes arccos of an exact input. The reversible arithmetic of Theorem 2.4 returns with , and therefore, for ,
This is where the analysis differs from [AKY26]. There, the target matrix is , whose Chebyshev values are at the true offsets , but the circuit evaluates arccos at a rounded offset . Comparing the two passes the input error through arccos where the slope is unbounded at . This is the source of in Eq. (24). Here, the target of the first part of Eq. (27) is , whose Chebyshev values are at the stored offsets. The circuit feeds exactly this into arccos. The target and the circuit therefore use the same input, and the only error is the rounding of the output angle. Eq. (28) bounds it by for every , including near , so does not appear. The difference between and is not lost. It is moved to the second part of Eq. (27), where step (iii) bounds it through the Fourier phases instead of through arccos.
(iii) Count the node error separately. Moving a node by a small amount changes each Fourier phase by a proportional amount, which gives the second part of Eq. (27):
This bound, proved within the proof of Theorem 4.7, uses only the Fourier phases and not arccos. Thus bits per node suffice, with no condition on where the nodes sit.
In short, the circuit is essentially that of [AKY26] with a modified error analysis.
Overview of the section. Section 4.1 splits the error into truncation, implementation and node terms. We prove four lemmas that bound the error of each factor: the coefficient bounds, the nearest-point matrix, the -free diagonal bound, and the assembly of the terms. Section 4.2 lists the oracles the circuit needs and shows that the coefficient preparation does not depend on the nodes, so it can be built once and reused. Section 4.3 states and proves the main result, Theorem 4.7: an -accurate block encoding of with normalization and gates. Section C compares the two ways of assembling the terms.
4.1 Error analysis of block encoding factors
Let be the stored nodes, split as in Eq. (6) into and . The circuit targets
through the rank-K factorization Eq. (21), with in place of :
where , and . The circuit of Theorem 4.7 is built from the factorization , but every Chebyshev value in it is computed from a finite-precision angle. The matrix it encodes is therefore , where and are and with each replaced by . This matrix differs slightly from . By the triangle inequality, its error relative to the target splits into three terms,
which refines Eq. (27). The first is the truncation error of the Chebyshev-Bessel expansion and depends only on K. The second is the implementation error, which comes from computing arccos to p bits. The third is the node error from storing with m bits. It is bounded directly in the proof of Theorem 4.7, through the Fourier phases alone. The normalization of is the product of the normalizations of the factors in each term, combined by an LCU over r.
The four lemmas below supply these pieces. Lemma 4.1 bounds the expansion coefficients: its tail bound controls the truncation term, and its bound on the total weight controls the normalization. Lemma 4.2 gives the normalization contributed by and shows that the offsets are computed exactly. Lemma 4.3 uses this exactness to bound the error of the Chebyshev diagonals without . Lemma 4.4 combines them into a bound on the implementation term and the final normalization.
Coefficients. The coefficients of Eqs. (15) and (16) enter twice: the tail of the expansion gives the truncation error, and the total weight of Eq. (22) sets the normalization of the LCU. Both follow from one estimate. Part (i) replaces the Lambert-W truncation rank of Theorem 3.2 with an explicit and bounds the full truncation error (Remark 3.3), and part (ii) improves the bound of [AKY26] to a constant.
Lemma 4.1 (Chebyshev-Bessel coefficients). Let and , and let be the rectangular truncation of Theorem 3.2.
(i) Truncation.
In particular, for and , any gives .
(ii) Total weight. For every K,
Proof. Both parts bound sums of over sets of index pairs. The coefficients vanish unless . For the others, and the symmetries Eq. (10) give
with nonnegative integers and . The map has at most two preimages, and . By Lemma 2.3, , and summing over with gives . Hence, for every ,
(ii) Taking gives , and .
(i) Since on and the expansion converges absolutely, is at most the sum of over the pairs outside the square , that is, over . By Eq. (36) with and the Taylor remainder bound , this gives Eq. (33). For , the estimate gives , so . For and the stated is at least , and then .
Part (i) is used in Bound 1 of the proof of Theorem 4.7, and part (ii) in the normalization and the precision choice of Lemma 4.4.
The nearest-point matrix. The factor is the only one with normalization depending on how the nodes are distributed, i.e. the normalization grows with the number of nodes that share a grid point. The next lemma records this normalization, and the cost of computing the split Eq. (6) which is exact for stored nodes.
Lemma 4.2 (Nearest-point matrix and sparse normalization). Let be exact nodes, with , , , and as in Eqs. (6) and (8). Then
Given sparse access to with a known bound on its row sparsity, [GSLW19, Lemma 48] gives an exact block encoding of with normalization , and its adjoint block-encodes with the same normalization.
If and is an m-bit fixed-point number, then , , and are computed exactly with qubits and Toffoli and CNOT gates. In particular, carries no approximation error.
Proof. For the norm, , so . The matrix has column sparsity one, row sparsity at most , and entries in , so the sparse-access block encoding [GSLW19, Lemma 48] has normalization and zero error. Taking the adjoint circuit gives the statement for , whose sparsities are swapped, leaving unchanged.
For fixed-point nodes, multiplying by is a binary shift. The shifted number determines by an exact comparison (with a fixed tie convention), its low bits give , and an exact signed subtraction gives . These are reversible ripple-carry operations of width , and reversing them uncomputes the work registers.
The exactness of is what the next lemma relies on.
The Chebyshev diagonals. The diagonals contain Chebyshev values , at in and at in . The circuit computes an angle into a register and applies a controlled rotation, so it implements
and the diagonals
This is the step where [AKY26] incurs . Here both inputs of arccos are exact: is a signed fixed-point number with fractional bits, and is computed exactly from by Lemma 4.2. The only error left is in the output angle. By part (i) of Theorem 2.4, running the arccos circuit with additional bits makes this error at most .
Lemma 4.3 (Frequency and node diagonal errors). Suppose that, on every exact input , the angle circuit returns with
Then, for :
(i)
(ii) The frequency and node diagonals satisfy
(iii) and have block encodings with normalizations 1 and , respectively.
Proof. (i) Since and the cosine is 1-Lipschitz, .
(ii) The matrices are diagonal, so their norms are the largest entry errors. For this is (i) with . For , the phase has unit modulus, so by (i)
(iii) We use a data register , a work register that holds the offset and the angle, a coefficient register of qubits, and one ancilla qubit . With ,
For an integer and a fixed-point angle , the product is computed exactly, so a rotation controlled on the angle register introduces no new error.
Compute from and its angle by part (i) of Theorem 2.4, rotate the ancilla by Eq. (42) with , and uncompute the work register:
Projecting the ancilla onto leaves , which is a block encoding of with norm 1.
Now for the block encoding of , write and use an LCU over . Let be a unitary on the coefficient register with
Section 4.2 lists among the oracles the NUQFT uses, and Proposition 5.8 gives a circuit for it with gates. Write . The circuit acts as follows.
(a) Offset and angle. From , compute exactly (Lemma 4.2) and then (part (i) of Theorem 2.4):
(b) Prepare. Apply to the coefficient register, giving .
(c) Select. Controlled on and on the angle in the work register, apply the phase and the rotation to the ancilla. By Eq. (42),
(d) Unprepare. Apply . Since the amplitudes in Eq. (43) are real and nonnegative, . The component with is therefore
(e) Node phase. Since is a signed fixed-point number, with bits and fixed signed powers of two . So is applied by one phase gate on each bit of :
(f) Uncompute. Reverse step (a), which returns the work register to in every branch, since it was used only as a control.
Altogether, projecting the coefficient register and the ancilla onto maps to
so the circuit is a block encoding of with normalization . Here for every , since .
Assembly. It remains to combine the factors. Each term is a product of four block encodings (the two diagonals, the QFT and ), and the terms are added by an outer LCU with weights proportional to .
Lemma 4.4 (Error and normalization of the assembled factors). Let , and suppose .
(i) Each term satisfies
(ii) With the outer state of Eq. (50), the LCU block-encodes with normalization , and
(iii) For , the choice
satisfies and makes the error in Eq. (45) at most .
Proof. (i) This is the triangle-inequality argument of [AKY26, Section 5.2], with Lemma 4.3. Since is unitary, by Lemma 4.2. Then
Here , since , and . With Eqs. (40) and (41), the two terms are at most and .
(ii) The block encodings of , , and have normalizations 1, 1, and (Lemmas 4.2 and 4.3), so their product encodes with normalization . The outer state has amplitudes , so the PREP-SELECT-PREP sandwich selects
The normalization is therefore , which is less than by Lemma 4.1. Summing Eq. (44) over gives Eq. (45).
(iii) The choice gives , and with , .
The weighted outer LCU of part (ii) gives normalization . A uniform outer LCU, close to the construction of [AKY26], would give . Section C compares the two.
4.2 Oracle assumptions
The circuit of Theorem 4.7 is built from three oracles. The first two describe the node set and must be constructed for each problem. Section 5.2 does this for the NUCT. The third depends only on the truncation rank K and can be built once and reused.
(i) Node oracle. It writes the m-bit stored node :
(ii) Row-access oracle. It gives the positions of the nonzero entries in each row of the matrix of Lemma 4.2. Their values are all 1. If row contains the ordered column indices and is a declared row-sparsity bound, define
where the padding values mark empty slots. The oracle is
(iii) Coefficient preparation. For each r, the inner preparation and the outer preparation act as
with and as in Eq. (22). The phases of are applied in the SELECT step.
[AKY26] treats the coefficient preparation as an oracle (Assumption 18). The next lemma shows that it does not depend on the transform instance, which is why we call these preparations universal.
Lemma 4.5 (Coefficient PREP are node-independent). Fix the truncation rank K and the window convention . The coefficients of Eq. (16), the branch weights and total mass of Eq. (22), and therefore the preparations Eq. (50) do not depend on the nodes t or , the nearest points , the row multiplicities, the geometry parameter , or the input data f. The same preparations serve the transposed construction for .
Proof. By Eqs. (15) and (16), is a function of and the fixed Bessel argument determined by alone. The weights and are finite sums of , and the amplitudes in Eq. (50) are functions of these numbers. The phases are carried by the select oracle and are likewise instance independent. In the factorization Eq. (31), the node data enter only through in and through , and the frequency coordinate enters only through in . Transposition does not change the coefficient table.
Remark 4.6 (Reusing the coefficient preparations). We write for the inner preparations together with the outer preparation . Their circuits are given in Propositions 5.8 and 5.9. They correspond to Equation (64) and Assumption 18 of [AKY26]. The symbol is reserved for loading the input data.
By Lemma 4.5, all rotation angles and phases of can be computed classically in advance. The same circuit can therefore be reused in every NUQFT or NUCT call with the same K and angle precision (Proposition 5.8). Each call still runs and , so reuse saves the classical precomputation, not the gate cost.
4.3 Main theorem
We now make the conditioning-free strategy of Section 4 precise: the stored fixed-point nodes are treated as the exact nodes of the transform, and and are computed exactly from them.
Theorem 4.7 (Conditioning-free Type-II NUQFT). Let and let define the normalized Type-II NUDFT
with rows indexed by the frequencies k and columns by the nodes . This is Eq. (13) with the indices renamed. Suppose that a node circuit supplies m-bit fixed-points and that the nearest-grid matrix determined by has ordered sparse row access with a declared row-sparsity bound .
For every , there is a quantum circuit that implements the block encoding of with normalization and total operator-norm error
Given the oracles of Section 4.2, the quantum circuit uses
where .
Proof. The proof has two parts. The error analysis bounds the three terms of Eq. (32), with and as in Eqs. (30) and (31), one bound per term. The resource analysis then counts qubits and gates.
• Bound 1: truncation error . By Eqs. (7) and (14), exactly. Since , the entry of is , that is,
Consequently,
By part (i) of Lemma 4.1 with , choosing ensures that the first term of Eq. (32) satisfies
• Bound 2: implementation error . The QFT and the block encoding of (Lemma 4.2) are exact, so encodes with as in Lemma 4.4, while . With as in Eq. (46), part (iii) of that lemma gives
Here , using .
Overall, combining Eq. (55) and Eq. (56) yields
- Bound 3: node error . This is the error from using the stored nodes instead of the target nodes , the third term of Eq. (32). For every , the inequality gives
Therefore,
(58)
Together with Eq. (57), this proves
which completes the proof for Eq. (52).
Resource analysis. Let . The choices above give and . The node register has bits. Computing and exactly uses temporary bits and reversible arithmetic gates (Lemma 4.2). The node factor keeps the offset , including its sign and the carry at the last grid cell, at width with , so
. Its inverse-trigonometric and phase arithmetic costs gates and work qubits by Theorem 2.4. The frequency factor acts on the exact q-bit input and costs . Multiplying the angle by the coherent degree register adds , of the same order since , and the phase uses controlled phases. The QFT contributes controlled rotations, and the selector registers use qubits. Thus, before compiling the universal coefficient states, the circuit uses
For fixed , Möttönen synthesis [MVBS05] (Theorem 5.7) prepares the -dimensional coefficient state using elementary rotations and CNOTs. Coherently multiplexing the such preparations costs gates, and the weighted outer state costs gates. These additions do not change Eq. (60). The costs of the instance-specific node and ordered row-access circuits remain separate, as stated in the theorem. If , the displayed bounds reduce to qubits and logical gates.
Note. Because and diagonal matrices are symmetric, the transposed factors block-encode , which is in the orientation of [AKY26] (Remark 3.1). The spectral norm is invariant under transposition, and the block encoding of is the adjoint of that of (Lemma 4.2), so the same bounds, oracles and resources apply.
5 Application to the Non-Uniform Chebyshev Transform
We now apply Theorem 4.7 to the NUCT defined in Eq. (2). The argument has three steps. Section 5.1 writes as the average of two NUDFTs whose nodes are the angles of the grid points. Section 5.2 builds the ingredients that Theorem 4.7 takes as given: the node oracle, row access to , and the coefficient preparation. Section 5.3 puts them together.
Throughout, with , and for ,
The nodes are irrational in general. Only the endpoint is exact. Since increases with and arccos is decreasing, decreases with .
5.1 Reduction to two NUDFTs
Theorem 5.1 (NUCT as an average of two NUDFTs). Let be as in Eq. (3), let be the Type-II matrix Eq. (13) with the nodes Eq. (61), and let . Then
Proof. By Eq. (1), . Since and for integer ,
This is the reduction in the proof of [DHR97, Corollary 2.2(2)], with the nodes on the unit circle. We apply the factor as a two-term LCU (Algorithm 2) rather than folding it into conjugate-symmetric data.
A circuit cannot store the irrational nodes , so it works with m-bit approximations and implements
The difference between and is the node term of Theorem 4.7. For each of the two NUDFTs, that theorem needs a node oracle Eq. (47), row access Eq. (49) to with a small row-sparsity bound , and the coefficient preparations. The next subsection constructs all of them. The negative nodes come almost for free from (Lemma 5.6).
5.2 Constructing the Oracles
This subsection builds three circuits. The node oracle returns an m-bit approximation of (Proposition 5.2). The row oracle gives row access to for both and (Proposition 5.5 and Lemma 5.6). The coefficient preparations prepare the Bessel-coefficient states (Propositions 5.8 and 5.9). The input state is prepared by a given circuit , as in Section 1.1.
5.2.1 Node oracle
Since is an exact fixed-point number, the node oracle evaluates arccos on an exact input and rounds only once, at the end. Fix a constant number of guard bits, set the working precision , and let denote rounded to bits. The oracle computes
where is the w-bit approximation of arccos from part (i) of Theorem 2.4 and round rounds to m fractional bits. Algorithm 1 lists the steps of and the state after each one.
Algorithm 1 Node oracle
Given: with index ( qubits), flag (1 qubit), work register, and output ( qubits), with output precision and working precision
1: Index and flag. Compute the signed integer ( qubits) by a shift and a subtraction, and by a comparison.
2: Angle. Compute ( qubits: 2 integer, fractional) by Theorem 2.4, whose scratch qubits are cleaned within this step.
3: Scale and round. Compute ( qubits) by shifted additions, since the classical constant needs no register. Then compute ( qubits) from the top fractional bits of .
4: Clip. Compare with 0 and 1/2 to get ( qubits).
5: Write. Controlled on , copy to the output. Controlled on , apply a CNOT from the flag to the first fractional bit of the output, which writes .
6: Uncompute. Reverse steps 4, 3, 2 and 1, which only read the output register. At most qubits are held between steps.
Every step applies the same gates for every , and all ancillas return to for every . By linearity, therefore acts on superpositions as
Proposition 5.2 (Node oracle). Let . There is a reversible circuit , where is an m-bit number with
It uses qubits, gates, and depth .
Proof. The construction above realizes with as in Eq. (64), and all its arithmetic is done at width . Before the final rounding there are three approximate stages. The arccos evaluation has error at most by part (i) of Theorem 2.4, and multiplying by the stored constant does not increase it. The stored constant satisfies , which contributes at most since . Rounding the product to bits adds at most . The total is at most with , so the constant keeps the error before the final rounding below . The final rounding adds at most , and the sum is below . The endpoint is exact, and clipping cannot increase the error. The resources follow from Eq. (12) with , plus gates for .
This is the only arccos evaluation which contributes to error in analysis and that error enters only through the node term of Eq. (52). The two arccos evaluations inside the improved NUQFT, for the frequency and node factors, act on exact inputs (Lemma 4.3), so no appears.
Lemma 5.3 (Number of bits per node). Let and
Then the node oracle of Proposition 5.2 satisfies
In particular with .
Proof. By Eq. (66), . Multiplying by gives the first bound, and multiplying by gives . Also , as Proposition 5.2 requires.
5.2.2 Row access
Theorem 4.7 also needs ordered access to the nonzero entries in each row of the matrix of Eq. (8), where is the grid point of (Eq. (6)). Since , , so no wrap-around occurs and . The grid-point oracle costs one call to , a rounding, and an uncomputation. Three facts make row access cheap: each row has at most five entries, they are consecutive integers, and they lie in a short window that can be computed from the row number.
Column access to is itself. Row access is constructed below. The bound counts nodes per grid point, so it does not depend on whether or its transpose is used. (Numerically, the largest multiplicity is 3 for and 4 for , both for the nodes and for the negative nodes of Theorem 5.1.)
Lemma 5.4 (Rows of ). Suppose . Rows of are empty. For , let
Then every k with satisfies
and . In particular, every row has at most five entries. Moreover, is non-increasing in , so the entries of each row are consecutive integers.
Proof. Rows are empty because . If , then , and gives
Hence , and since , the index lies in Eq. (70). Because cosine is 1-Lipschitz,
so the window contains at most five integers. The bound is attained, for example, at N = 8 and .
For monotonicity, and , so and . Hence
So is decreasing in . Rounding is non-decreasing, so is non-increasing in . The set of with is therefore a set of consecutive integers.
Proposition 5.5 (Row access from eight candidates). Suppose and set . The row-access oracle of Eq. (49) for can be implemented with at most sixteen calls each to and , gates, and work qubits. It needs no lookup table and no search.
Proof. For rows , which are empty, every slot returns the padding value . For , compute from an approximation with . This needs to bits (part (ii) of Theorem 2.4), since a cosine error below gives an error below in . With we have , and by Lemma 5.4 every column of row lies in . So every column lies among the eight candidates
By Lemma 5.4, the columns of row are consecutive integers , all in . Hold each candidate in a signed -bit register, which covers the range , and flag whether . If not, query index 0 instead, so that every oracle call is on a valid index. Mark valid if the flag is set and . Then is the smallest valid candidate and is the number of valid candidates. For empty rows, including all , set . Computing the marks, deriving and , copying them out and uncomputing the marks gives
with eight calls each to and .
Since the row is consecutive, Eq. (49) becomes
Hold in a -bit register. Compute the flag , add to controlled on , and add to controlled on . The register now holds . Since and , the flag equals , so recomputing this comparison erases it:
Uncompute and by reversing the first step, which depends only on . This gives Eq. (49) for , the only inputs the sparse block encoding queries. The two passes use sixteen calls each to and . Each call costs by Proposition 5.2, and the candidate and shift arithmetic acts on -bit words, which gives the stated cost.
5.2.3 Negative nodes
Lemma 5.6 (Negative nodes from the positive ones). Suppose . Then , so . Let , and be as in Eq. (6) for , and set
Then with , and row of is row of . Consequently:
(i) The NUQFT for is the circuit for with replaced by , which costs extra gates and no second arccos.
(ii) Its row oracle is obtained by negating modulo N, applying the row oracle of Proposition 5.5, and negating back, with the same bound .
Proof. First, : indeed for , so . Hence , and . Then
Since , we have exactly when , which is the statement about rows.
Lemma 4.2, and hence Theorem 4.7, use the nearest integer only through the identity with integer and . Its reduction modulo is . So they apply to with ). This split agrees with rounding directly, except possibly at a tie, where either choice is valid.
5.2.4 Coefficient preparation
The coefficient preparations do not depend on the nodes (Lemma 4.5), so the constructions below apply to any NUQFT and are compiled once for a given K and precision. For fixed r, with as in Eq. (22), define
We implement
and apply the phase inside the SELECT operation, so that the LCU produces the complex coefficient . For the coefficients Eq. (15) the Bessel factors are real, so is a multiple of and the phases cost only Clifford gates.
Both preparations are built from the following standard construction.
Theorem 5.7 (Möttönen et al. [MVBS05]). Let and with . There is an ancilla-free circuit with
made of n uniformly controlled rotations, which decompose into at most
For a binary prefix , let with prefix . The rotation that splits into its two children has angle
(and if ). If each of the S rotations is implemented with operator-norm error at most , the circuit has error at most .
This is the nonnegative-amplitude case of [MVBS05]: no phase-equalizing rotations are needed, and Eq. (78) is their Eq. (8). The last claim follows by replacing the rotations one at a time. The Grover-Rudolph construction gives the same gate count (Section A).
Proposition 5.8 (Inner LCU coeff preparation). Let be the normalization of the block encoding in which the preparations are used. After classically computing the coefficients and the angles Eq. (78) to accuracy , each state can be prepared with rotations and CNOT gates on qubits, and the controlled family
with one- and two-qubit gates. Choosing
keeps the resulting error in the encoded matrix .
Proof. For fixed , pad the amplitudes in Eq. (74) to dimension and apply Theorem 5.7. This gives gates. For the controlled family, pad to values as well. At level of the cascade the angle depends on and on the bits already prepared, so the level is one uniformly controlled rotation with controls, which decomposes into rotations and as many CNOTs. Summing over gives gates. By the last part of Theorem 5.7, angle errors give an error in PREP_LCU, at most twice that in the PREP-SELECT-PREP product, and in the encoded matrix. Eq. (80) makes this .
Proposition 5.9 (Outer LCU preparations). Let the th term of the outer LCU have normalization (Lemma 4.4), and let . After classically computing the weights :
(a) The uniform outer LCU prepares and, in branch , rotates an ancilla so that its amplitude is . Its normalization is
(b) The weighted outer LCU prepares
and its normalization is
Each preparation, and the branch-dependent rotation in (a), uses rotations and CNOT gates. Choosing
bits of angle precision keeps the resulting error in the encoded matrix .
Proof. The normalizations are derived in Lemma 4.4 and Section C. Here we only build the circuits. Both outer states have nonnegative amplitudes , so Theorem 5.7 with prepares them with gates. The rotation in (a) is one uniformly controlled rotation on the outer index, which also decomposes into gates. With rotations, angle errors give an error in the selected block, hence in the encoded matrix, since .
5.3 Main result
Let be the block encoding of given by Theorem 4.7 with the oracles above, and the one for obtained from it by Lemma 5.6. Both have the same normalization and the same number a of ancillas. Define
where the Hadamards act on a sign qubit. By Lemma 5.6, is the single circuit with its node data controlled on the sign qubit, not two separate circuits.
Algorithm 2 Quantum NUCT
Require: , target error , the oracles of Section 5.2, and a circuit with
1: Prepare
2: Initialize the NUQFT ancillas and a sign qubit to
3: Apply to the sign qubit
4: Apply : the NUQFT for or , controlled on the sign qubit
5: Apply to the sign qubit
6: Measure the sign qubit and the NUQFT ancillas, and accept only the all-zero outcome
7: return the system register, in a state proportional to
Theorem 5.10 (Quantum NUCT). Let with , let , and let . With as in Lemma 5.3, the circuit is a block encoding of with normalization
(86)
and error at most . It uses qubits and
reversible-arithmetic, Clifford, Toffoli, and controlled-rotation gates.
(87)
Synthesizing every rotation over Clifford+T gives
No parameter depending on the node geometry appears. These counts exclude and amplitude amplification. With the uniform outer LCU instead, the normalization is .
Proof. We split the error budget into three parts of .
Node error. By Lemma 5.3, . Since (Lemma 5.6), . Applying Eq. (58) to both terms of Eq. (63) gives .
NUQFT error. By Lemma 5.3, , so Proposition 5.5 and Lemma 5.6 give row access for both node sets with . Theorem 4.7, applied with accuracy to the stored nodes themselves (so that its node term vanishes), gives encoding matrices with and . With the weighted outer LCU, their normalization is by Lemmas 4.1 and 4.4. Projecting the sign qubit of Eq. (85) onto gives , so encodes with the same normalization and .
Rotation precision. The last covers finite-precision rotations. Choosing and in Propositions 5.8 and 5.9 as suitable constant fractions of keeps the error from the coefficient angles below . The Clifford+T synthesis below contributes at most another . The three parts give .
Resources. Since , Theorem 4.7 uses qubits and gates, including gates for the coefficient preparations. Its oracles add gates for (Proposition 5.2), for each of the constant number of row-oracle calls made by the sparse-access block encoding (Proposition 5.5), and for the negative branch (Lemma 5.6). The sign qubit adds one qubit and two Hadamards. This proves Eq. (87). For Clifford+T, let be the number of rotations and synthesize each to error , which costs T gates [RS16] and adds at most to the encoded matrix. This gives Eq. (88).
Corollary 5.11 (Output state). Let be the input state, let and be as in Theorem 5.10, and let , where is as in Eq. (2). Suppose . Then Algorithm 2 succeeds with probability , so amplitude amplification needs uses of , and their inverses. The output state satisfies
Proof. The success probability is the squared norm of the encoded block applied to , divided by , and . For Eq. (89), use and the elementary bound with and .
Since , the number of amplification rounds is governed by , which depends on the data. The transform itself costs gates, but an end-to-end application can still be dominated by loading , by the factor , or by reading out many coefficients.
6 Conclusion and Discussion
We improved the non-uniform quantum Fourier transform of [AKY26] by removing its dependence on the geometry parameter . In their analysis, grows as nodes approach the boundaries of the grid cells, and for the NUCT nodes we could not bound it by any polynomial in (Section B). The resulting error bound (Theorem 4.7) holds for any node set and depends only on the number of bits per node, the target accuracy and the row sparsity . Together with the constant bound on the total Bessel weight (Lemma 4.1) and the weighted outer LCU, this also improves the normalization from to .
Using this NUQFT and the reduction of the Chebyshev transform to two NUDFTs (Theorem 5.1), we obtained an -accurate block encoding of the non-uniform Chebyshev transform with normalization, qubits and gates, where (Theorem 5.10). All oracles are constructed explicitly, including the row access that [AKY26] assumed. This is the discrete polynomial transform of Driscoll, Healy and Rockmore [DHR97] with at equispaced nodes, which they compute classically with operations. Our circuit is polylogarithmic in , so the transform itself is exponentially cheaper. As for any quantum linear-algebra primitive, an end-to-end speedup also depends on preparing the input state, on the norm of the output, and on how many output coefficients must be read out.
Our original motivation was to implement the full pipeline of [DHR97] with quantum circuits. They compute the discrete polynomial transform for any family of orthogonal polynomials with a three-term recurrence, by a divide-and-conquer on the recurrence whose basic operations are Chebyshev transforms. Fast non-uniform Fourier and polynomial transforms are used throughout scientific computing and imaging, for example in MRI reconstruction from non-Cartesian samples [FS03]. An efficient quantum version would give exponentially fast numerical algorithms for this whole class of transforms.
The non-uniform Chebyshev transform is the first step in that direction. In future work we plan to use it to build quantum polynomial transforms for general orthogonal polynomial families, following the approach of [DHR97]. The main open question is whether the remaining steps of their construction, which convert between the Chebyshev basis and a general orthogonal basis through the three-term recurrence, can also be implemented with polylogarithmic cost.
Acknowledgment
AI Disclosure. The authors came up with the novel idea for using NUQFT for Chebyshev Transform and improving the NUQFT by removing the condition number. We had a working proof and used ChatGPT-Sol-5.6 to refine the conditioning-free idea and oracle constructions. We used Claude Opus 5.5 for coming up with efficient Oracle constructions, based on standard techniques and help with writing the paper. The authors verified the correctness and originality of all content including references and take full responsibility for the work presented.
References
[AKY26] Junaid Aftab, Yuehaw Khoo, and Haizhao Yang. Non-uniform quantum Fourier transform. arXiv preprint arXiv:2602.13472, 2026.
[BBGA24] Iain Burge, Michel Barbeau, and Joaquin Garcia-Alfaro. Quantum cordic–arcsine on a budget. arXiv preprint arXiv:2411.14434, 2024.
[BHMT02] Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp. Quantum amplitude amplification and estimation. In Quantum Computation and Information, volume 305 of Contemporary Mathematics, pages 53–74. American Mathematical Society, 2002. arXiv:quant-ph/0005055.
[CW12] Andrew M. Childs and Nathan Wiebe. Hamiltonian simulation using linear combinations of unitary operations. Quantum Information and Computation, 12(11–12):901–924, 2012. arXiv:1202.5822.
[DHR97] James R. Driscoll, Dennis M. Healy, Jr., and Daniel N. Rockmore. Fast discrete polynomial transforms with applications to data analysis for distance transitive graphs. SIAM Journal on Computing, 26(4):1066–1099, 1997.
[FS03] Jeffrey A. Fessler and Bradley P. Sutton. Nonuniform fast Fourier transforms using min-max interpolation. IEEE Transactions on Signal Processing, 51(2):560–574, 2003.
[GR02] Lov Grover and Terry Rudolph. Creating superpositions that correspond to efficiently integrable probability distributions. arXiv preprint quant-ph/0208112, 2002.
[GSLW19] András Gilyén, Yuan Su, Guang Hao Low, and Nathan Wiebe. Quantum singular value transformation and beyond: Exponential improvements for quantum matrix arithmetics. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 193–204, 2019. Full version: arXiv:1806.01838.
[HRS18] Thomas Häner, Martin Roetteler, and Krysta M. Svore. Optimizing quantum circuits for arithmetic. arXiv preprint arXiv:1805.12445, 2018.
[KR01] Andreas Klappenecker and Martin Rötteler. Discrete cosine transforms on quantum computers. In Proceedings of the 2nd International Symposium on Image and Signal Processing and Analysis (ISPA 2001), pages 464–468, 2001. arXiv:quant-ph/0111038.
[Mak80] John Makhoul. A fast cosine transform in one and two dimensions. IEEE Transactions on Acoustics, Speech, and Signal Processing, 28(1):27–34, 1980.
[MVBS05] Mikko Möttönen, Juha J. Vartiainen, Ville Bergholm, and Martti M. Salomaa. Transformation of quantum states using uniformly controlled rotations. Quantum Information and Computation, 5(6):467–473, 2005. arXiv:quant-ph/0407010.
[Niv56] Ivan Niven. Irrational Numbers. Number 11 in Carus Mathematical Monographs. Mathematical Association of America, 1956.
[OLBC10] Frank Olver, Daniel Lozier, Ronald Boisvert, and Charles Clark. The NIST Handbook of Mathematical Functions. Cambridge University Press, New York, NY, 2010-05-12 00:05:00 2010.
[RAT18] Diego Ruiz-Antolin and Alex Townsend. A nonuniform fast Fourier transform based on low rank approximation. SIAM Journal on Scientific Computing, 40(1):A529–A547, 2018.
[RS16] Neil J. Ross and Peter Selinger. Optimal ancilla-free Clifford+T approximation of z-rotations. Quantum Information and Computation, 16(11–12):901–953, 2016. arXiv:1403.2975.
[Tow14] Alex Townsend. Computing with functions in two dimensions. PhD thesis, University of Oxford, 2014.
[WPW 23] Chelsea A. Williams, Annie E. Paine, Hsin-Yu Wu, Vincent E. Elfving, and Oleksandr Kyriienko. Quantum Chebyshev transform: Mapping, embedding, learning and sampling distributions. arXiv preprint arXiv:2306.17026, 2023.
A Alternative Grover-Rudolph interpretation of coefficient preparation
For completeness, the same fixed-r magnitude state in Eq. (74) can be described through the Grover-Rudolph probability-tree recursion [GR02]. Pad to and define
At a nonempty prefix z, apply a prefix-controlled rotation satisfying
Induction over the tree depth shows that the amplitude at leaf is . Since the subtree masses are universal constants, they are computed once offline. No coherent numerical integration is required.
For this finite tabulated distribution, the Grover-Rudolph tree and the nonnegative-amplitude specialization of Möttönen synthesis [MVBS05] use the same conditional angles. After decomposition into elementary gates, both therefore have linear gate complexity for one fixed-r state and quadratic complexity for the fully coherent r-multiplexed library. We use the Möttönen formulation in the main text because it directly provides the uniformly controlled-rotation decomposition, analytic angle arrays, and ancilla-free elementary-gate count required by Propositions 5.8 and 5.9.
B Why cannot be bounded for the NUCT nodes
Theorem 3.4 depends on the parameter of Eq. (26). This appendix explains why it does not give an explicit complexity for the NUCT. For the nodes Eq. (61) we could neither compute in closed form nor bound it by a polynomial in N. We show that finding a good upper bound is difficult: Let
be the smallest distance from an offset to the cell boundary . The negative nodes have offsets , so they give the same . The point in Eq. (26) lies between and , and by Eq. (23). If , then , so and
Without such a condition on the point can approach and no bound holds. So both and the precision are controlled by , and bounding means bounding from below.
Exponential Bound. Since and by Eq. (6), we have . By Eq. (9), . With this gives
Since for ,
So is small exactly when no grid point comes close to a zero of .
The polynomial has integer coefficients and degree , and has denominator dividing . Hence is an integer. It is nonzero. The zeros of are cosines of rational multiples of , and by Niven's theorem [Niv56] such a cosine is rational only if it lies in . None of these is a zero of when . Therefore , and by Eqs. (93) and (94)
This is the best bound we obtained. In Theorem 3.4 it gives qubits and gates, which removes the exponential speedup.
We now give some heuristic arguments for why such a bound might be hard. A polynomial bound needs every fractional part of to stay at distance from , uniformly in and . Near , for instance, , so even the linearized problem asks how well multiples of approximate half-integers, which depends on the irrationality measure of . Away from the dependence on is nonlinear, and we know of no argument that controls these fractional parts. An equidistribution heuristic suggests and , but it gives no bound valid for every .
Numerics. Table 1 lists and , the limit of as . The values were computed in double precision and checked with 50-digit arithmetic for and for the minimizer at . The growth is roughly but irregular. The product ranges from 0.055 to 5.2, is not monotone in , and at the single node has . Outliers of this kind are why no clean bound can be read off from the data either.
| q | ||||
|---|---|---|---|---|
| 4 | 4.59 | 1.43 | 0.36 | |
| 6 | 3.16 | 3.22 | 0.40 | |
| 8 | 2.94 | 6.62 | 0.41 | |
| 10 | 0.40 | 36.0 | 1.12 | |
| 12 | 0.86 | 48.9 | 0.76 | |
| 14 | 5.24 | 39.6 | 0.31 | |
| 16 | 1.54 | 146.1 | 0.57 | |
| 18 | 1.38 | 308.2 | 0.60 | |
| 20 | 0.055 | 3094.6 | 3.02 |
Table 1: Distance of the NUCT offsets to the cell boundary and the resulting , for .
The fix in our algorithm. Theorem 4.7 does not need . The arccos evaluations inside the NUQFT act on exact inputs (Lemma 4.3), and the node error enters only through the Fourier phases, whose derivative has no singularity. This is why the NUCT complexity in Section 5.3 is explicit.
C Uniform and weighted outer LCU constructions
Lemma 4.4 combines the component block encodings of , whose normalizations are , through one of two outer LCUs. The normalization-aware (weighted) outer LCU prepares a selector with amplitudes , so each branch weight cancels its own and the normalization is . The uniform outer LCU first pads every branch from normalization to the common value by an ancillary one-qubit amplitude, and then prepares . It selects , so it costs an additional factor and gives normalization , with the same unnormalized error Eq. (45). The proof of Theorem 4.7 uses only the weighted alternative. The uniform outer LCU, which is close to the outer-LCU organization of [AKY26], is retained only for comparison, and the two constructions are never applied simultaneously.
The two outer-LCU normalizations, compiled explicitly in Proposition 5.9, obey
| Lemma 4.1: | ||
|---|---|---|
| uniform outer LCU | ||
| normalization-aware outer LCU |
Relative to the source-level bound , the constant-mass estimate of Lemma 4.1 and the weighted selector each remove one factor of , and the off-diagonal entries of the table show that the two refinements act independently. The constant-mass estimate is not needed to remove : with the source-level bound , the choice still suffices in Theorem 4.7. Its role is to improve the normalization, and hence the success probability. For the NUCT, with , the bounds become for the source-level construction, for the uniform construction, and for the weighted construction. These are comparisons between the upper bounds proved for the respective constructions, not a lower bound showing that the original NUQFT architecture cannot be improved by incorporating the same refinements.
The normalization does not change the gate count of a single transform-layer invocation. However, for an -normalized block encoding of an operator applied to an input proportional to , the postselection success probability is . Relative to the uniform construction, the weighted construction therefore improves this probability by a factor and reduces the amplitude-amplification overhead by a factor , which carries over to coherent output-state preparation and to applications that repeatedly invoke the transform block encoding. The selector states and the normalization-equalizing rotations are compiled in Proposition 5.9.