This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Direct interpolative construction of the discrete Fourier transform as a matrix product operator

Jielun Chen Department of Physics, California Institute of Technology, Pasadena, CA 91125 USA Michael Lindsey Department of Mathematics, University of California, Berkeley, CA 94720 USA
Abstract

The quantum Fourier transform (QFT), which can be viewed as a reindexing of the discrete Fourier transform (DFT), has been shown to be compressible as a low-rank matrix product operator (MPO) or quantized tensor train (QTT) operator [1]. However, the original proof of this fact does not furnish a construction of the MPO with a guaranteed error bound. Meanwhile, the existing practical construction of this MPO, based on the compression of a quantum circuit, is not as efficient as possible. We present a simple closed-form construction of the QFT MPO using the interpolative decomposition, with guaranteed near-optimal compression error for a given rank. This construction can speed up the application of the QFT and the DFT, respectively, in quantum circuit simulations and QTT applications. We also connect our interpolative construction to the approximate quantum Fourier transform (AQFT) by demonstrating that the AQFT can be viewed as an MPO constructed using a different interpolation scheme.

1 Introduction

The quantum Fourier transform (QFT) [2] is one of the most important algorithmic primitives in quantum computing. It is often viewed as providing exponential speedup compared to the fast Fourier transform (FFT), due to its gate complexity of O(n2)O(n^{2}) acting on an nn-qubit quantum state. Such a state can be viewed as an NN-dimensional vector with N=2nN=2^{n}, and under this identification the QFT corresponds to a discrete Fourier transform (DFT), which costs O(NlogN)=O(2nn)O(N\log N)=O(2^{n}n) operations via the FFT.

However, if one makes use of low-rank structure of the input state, the QFT can often be simulated classically using efficient operations with matrix product states (MPS) and matrix product operators (MPO) [3, 4, 5, 6, 7]. Equivalently, the DFT of functions compressible as quantized tensor trains (QTT) [8, 9] can be computed with exponential speedup. For example, one can remove the long-range quantum gates in the QFT circuit that are close to identity, resulting in the approximate QFT (AQFT) [10]. The AQFT automatically admits an MPO representation due to the bounded interaction length of the circuit [11, 12, 13], and therefore it can be simulated classically on any input states represented as an MPS. The full QFT circuit can also be viewed as the composition of nn MPOs of rank 2, which can be applied sequentially to MPS inputs with intermediate compressions [14, 15]. This approach has been called the “superfast Fourier transform” or QTT-FFT [15]. Recently, the entire QFT operator was proven to be compressible as an MPO [1]. In practice, the MPO representation of the QFT, referred to as the QFT MPO, can be obtained by contracting and compressing the entire QFT circuit. Interestingly, for a given error tolerance, the QFT MPO was observed to have smaller ranks compared to the AQFT MPO [1, 16], implying that the long-range gates actually play a role in reducing the entanglement.

Classical simulation of the QFT can be used as a classical algorithm that outperforms the FFT in restricted settings. Concretely, one converts an NN-dimensional vector into an nn-site MPS and contracts it with the QFT circuit or the QFT MPO. In this approach, even if the state admits compression as an MPS, the conversion dominates the time complexity if the state is formed as a dense vector and compressed via the TT singular value decomposition (TT-SVD) [8]. A randomized variant of TT-SVD yields an O(logN)O(\log N) speed-up [1], and other heuristic approaches such as TT-cross [17, 18] can yield O(N)O(N) speedup, enabling the QTT-FFT of [15]. If the input vector is the quantized representation of a function that is well approximated in a multiresolution polynomial basis, a direct analytical construction based on the interpolative decomposition can be applied with quantitative control over the error [19]. The interpolating cores introduced in [19] are an essential ingredient in this work. In some situations, the input is automatically available in low-rank tensor format, such as the evolving state of a differential equation solved within the QTT format [20, 21, 22, 23] or a quantum simulation solved using an MPS representation of the state [24, 25, 26].

In these applications, an efficient and accurate construction of the QFT MPO is crucial. While it can be constructed efficiently by contracting the QFT circuit, this approach has a few drawbacks. First, to avoid exponential scaling in nn, one must perform intermediate compressions before the final MPO is formed, and no rigorous a priori estimate of the accumulated error is available, even though the approach is highly accurate in practice and heuristic arguments support its accuracy. Second, the circuit contraction takes O(r3n2)O(r^{3}n^{2}) time, where rr is the bond dimension, while the MPO ultimately contains at most O(r2n)O(r^{2}n) information, so the computational complexity does not appear to be optimal, as we confirm in this work. Third, the parameters in the circuit decay like O(1/N)O(1/N), so for large N=2nN=2^{n} we unavoidably lose accuracy in the long-range gates due to the limitations of numerical precision. This loss of accuracy resembles the approximation imposed by the AQFT circuit, which increases the bond-dimension by the aforementioned observation in [1, 16].

In this paper, we present a simple closed-form construction of the QFT MPO, avoiding circuit contraction and eliminating all three drawbacks mentioned above. The construction involves an interpolative decomposition based on polynomial interpolation on the Chebyshev-Lobatto grid, applied recursively on each qubit, and yields a nearly optimal MPO compression for a given bond dimension. The bond dimension of the construction corresponds to the number of interpolation points. For a fixed number of qubits, the error decreases super-exponentially with respect to the bond dimension, matching the bounds for the Schmidt coefficients derived in [1]. Furthermore, the tensor cores are all identical (excepting the first and last). Finally, we show that the AQFT circuit can also be interpreted as an MPO constructed in the same fashion but with a different interpolation scheme, i.e., piecewise constant interpolation. This interpolation scheme converges more slowly with respect to the number of interpolation points, explaining the observation that the AQFT has a higher MPO rank than the QFT MPO, for a given error tolerance.

We outline the paper as follows. In Section 2 we present some preliminary definitions and notation. In Section 3 we demonstrate how the interpolative decomposition yields a rank bound for the unfolding matrices of the QFT, similar to that of [1]. (In fact, our rank bound is not implied by [1] since it is defined in terms of the infinity norm error, rather than the Frobenius norm error.) We also describe the connection of the rank bound for the unfolding matrices with the complementary low-rank structure [27] that has been observed for the DFT and other operators. This section can also be viewed as a warm-up for Section 4, in which we present our construction of the QFT as an MPO using the interpolative decomposition. In Section 5, we bound the error of this construction. In Section 6, we illustrate the connection to the AQFT.

1.1 Acknowledgments

The authors are grateful to Sandeep Sharma, Garnet Chan, and Yuehaw Khoo for helpful discussions.

2 Preliminaries

Consider discrete indices s,t{0,1,,N1}s,t\in\{0,1,\ldots,N-1\}, where N=2nN=2^{n}, and define the matrix of the discrete Fourier transform (DFT)

𝐅s,t=e2πistN.\mathbf{F}_{s,t}=e^{-\frac{2\pi ist}{N}}.

We comment that in the quantum computing literature, the convention for the QFT is exp(2πist/N)\exp(2\pi ist/N) rather than exp(2πist/N)\exp(-2\pi ist/N), but we use the latter to match the standard definition of the DFT.

We can place ss and tt, respectively, in bijection with bit strings σ1:n=(σ1,,σn)\sigma_{1:n}=(\sigma_{1},\ldots,\sigma_{n}) and τ1:n=(τ1,,τn)\tau_{1:n}=(\tau_{1},\ldots,\tau_{n}) in {0,1}n\{0,1\}^{n} via

s=k=1n2nkσk,t=k=1n2k1τk.s=\sum_{k=1}^{n}2^{n-k}\sigma_{k},\quad t=\sum_{k=1}^{n}2^{k-1}\tau_{k}. (2.1)

These bits can be viewed as binary digits for ss and tt with opposite orderings.

Then we can view 𝐅\mathbf{F} as a tensor F=F(σ1:n,τ1:n)F=F(\sigma_{1:n},\tau_{1:n}) of size 22n2^{2n} via this identification:

𝐅s,t=F(σ1:n,τ1:n)=eπik,l=1n2k2lσkτl.\mathbf{F}_{s,t}=F(\sigma_{1:n},\tau_{1:n})=e^{-\pi i\sum_{k,l=1}^{n}2^{-k}2^{l}\sigma_{k}\tau_{l}}. (2.2)

In the QFT, τk\tau_{k} and σk\sigma_{k} correspond to the input and output indices of the kk-th qubit respectively. Notice that τ1\tau_{1} is the least significant bit while σ1\sigma_{1} is the most significant bit, and it is a key point in [1] that only this ordering induces low-rank structure of the QFT as a matrix product operator or quantized tensor train operator, which is defined as the approximate factorization

F(σ1:n,τ1:n)α1[r1],,αn1[rn1]A1α1(σ1,τ1)A2α1,α2(σ2,τ2)Anαn1(σn,τn).F(\sigma_{1:n},\tau_{1:n})\approx\sum_{\alpha_{1}\in[r_{1}],\dots,\alpha_{n-1}\in[r_{n-1}]}A_{1}^{\alpha_{1}}(\sigma_{1},\tau_{1})A_{2}^{\alpha_{1},\alpha_{2}}(\sigma_{2},\tau_{2})\dots A_{n}^{\alpha_{n-1}}(\sigma_{n},\tau_{n}). (2.3)

where we used the notation [rk]={0,,rk1}[r_{k}]=\{0,\dots,r_{k}-1\}. The integers rkr_{k} are often called the bond dimensions or TT ranks, and for simplicity we assume that rk=rr_{k}=r for some fixed rr. The tensors Akαk1,αk(σk,τk)A_{k}^{\alpha_{k-1},\alpha_{k}}(\sigma_{k},\tau_{k}) are referred to as tensor cores.

We also define the mm-th unfolding matrix of FF as the 22m×22(nm)2^{2m}\times 2^{2(n-m)} matrix

Tm(σ1:m,τ1:m;σm+1:n,τm+1:n)=F(σ1:n,τ1:n),T_{m}({\sigma_{1:m},\tau_{1:m}};{\sigma_{m+1:n},\tau_{m+1:n}})=F(\sigma_{1:n},\tau_{1:n}), (2.4)

where we view the multi-indices before and after the semicolon, respectively, as row and column indices of a matrix. It is shown in [8] that a QTT with good approximation exists if the mm-th unfolding matrix is numerically low-rank for all mm.

To measure the error of our decompositions it is useful to define a tensor infinity norm

T=vec(T)\|T\|_{\infty}=\|\mathrm{vec}(T)\|_{\infty} (2.5)

as the largest magnitude of any element of the tensor. We will use this notation for tensors of different shapes, but ultimately the accuracy of our MPO approximation itself is most naturally expressed in this norm.

We also define notations for our interpolation scheme. We will denote the Chebyshev-Lobatto grid points (shifted and scaled to the interval [0,1][0,1]) by

cα=1cos(πα/K)2c^{\alpha}=\frac{1-\cos(\pi\alpha/K)}{2} (2.6)

for α=0,,K\alpha=0,...,K. Throughout, we use KK to denote grid size (or more properly, the grid size minus one). The corresponding Chebyshev-Lobatto interpolation of a function f(x)f(x), i.e., the Lagrange polynomial interpolation on the Chebyshev-Lobatto grid, is

f(x)α=0Kf(cα)Pα(x),f(x)\approx\sum_{\alpha=0}^{K}f(c^{\alpha})P^{\alpha}(x), (2.7)

where the PαP^{\alpha} are degree-KK polynomials such that Pα(cβ)=δα,βP^{\alpha}(c^{\beta})=\delta_{\alpha,\beta}, i.e., the Lagrange interpolating polynomials for this grid. In the case of Chebyshev-Lobatto interpolation, the PαP^{\alpha} are sometimes called the Chebyshev cardinal functions, which can be evaluated directly with simple trigonometric formulas [28], bypassing the application of the more general formula for Lagrange basis functions.

3 Rank bound

Although the rank of F(σ1:n,τ1:n)F(\sigma_{1:n},\tau_{1:n}) as an MPO was already bounded in [1], we provide an alternative rank bound from an interpolative perspective. In fact, this point of view yields entrywise control over the error of FF, which is not captured by the bounds on the Schmidt spectrum in [1].

Our motivation arises from computing

F(σ1:n,τ1:n)\displaystyle F(\sigma_{1:n},\tau_{1:n}) =eπik,l=1n2k2lσkτl\displaystyle=e^{-\pi i\sum_{k,l=1}^{n}2^{-k}2^{l}\sigma_{k}\tau_{l}}
=eπik,l=1m2k2lσkτl×eπik=1ml=m+1n2k2lσkτl\displaystyle=e^{-\pi i\sum_{k,l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}\times e^{-\pi i\sum_{k=1}^{m}\sum_{l=m+1}^{n}2^{-k}2^{l}\sigma_{k}\tau_{l}}
×eπik=m+1nl=1m2k2lσkτl×eπik,l=m+1n2k2lσkτl.\displaystyle\quad\quad\quad\times\ e^{-\pi i\sum_{k=m+1}^{n}\sum_{l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}\times e^{-\pi i\sum_{k,l=m+1}^{n}2^{-k}2^{l}\sigma_{k}\tau_{l}}.

Now if kmk\leq m and l>ml>m, then 2k2lσkτl22^{-k}2^{l}\sigma_{k}\tau_{l}\in 2\mathbb{Z}, and therefore

eπik=1ml=m+1n2k2lσkτl=1.e^{-\pi i\sum_{k=1}^{m}\sum_{l=m+1}^{n}2^{-k}2^{l}\sigma_{k}\tau_{l}}=1.

It follows that we can write

F(σ1:n,τ1:n)=F(σ1:m,τ1:m)F(σm+1:n,τm+1:n)e2πi(k=m+1n2mkσk)(l=1m2lm1τl),F(\sigma_{1:n},\tau_{1:n})=F(\sigma_{1:m},\tau_{1:m})F(\sigma_{m+1:n},\tau_{m+1:n})e^{-2\pi i\left(\sum_{k=m+1}^{n}2^{m-k}\sigma_{k}\right)\left(\sum_{l=1}^{m}2^{l-m-1}\tau_{l}\right)},

where we have overloaded the notation for FF slightly to denote the quantized tensor representations of DFT matrices of arbitrary sizes.

It is then useful to define

x>m=k=m+1n2mkσk[0,1],ym=l=1m2lm1τl[0,1],x_{>m}=\sum_{k=m+1}^{n}2^{m-k}\sigma_{k}\in[0,1],\quad y_{\leq m}=\sum_{l=1}^{m}2^{l-m-1}\tau_{l}\in[0,1], (3.1)

so

F(σ1:n,τ1:n)=F(σ1:m,τ1:m)F(σm+1:n,τm+1:n)e2πix>mym.F(\sigma_{1:n},\tau_{1:n})=F(\sigma_{1:m},\tau_{1:m})F(\sigma_{m+1:n},\tau_{m+1:n})e^{-2\pi ix_{>m}y_{\leq m}}. (3.2)

Then we are motivated to consider, for arbitrary y[0,1]y\in[0,1], the function

fy(x)=e2πixy,x[0,1].f_{y}(x)=e^{-2\pi ixy},\quad x\in[0,1].

We can approximate fxf_{x} with Chebyshev-Lobatto interpolation to obtain

fy(x)α=0Ke2πiycαPα(x).f_{y}(x)\approx\sum_{\alpha=0}^{K}e^{-2\pi iyc^{\alpha}}P^{\alpha}(x).

If this equality holds with pointwise error bounded by ε\varepsilon, then the rank-(K+1)(K+1) approximation of the mm-th unfolding matrix of FF has entrywise error bounded by ε\varepsilon.

The above arguments are reviewed diagrammatically in Fig. 3.1. Next we state and prove an error bound.

Proposition 1.

There exists a rank-(K+1)(K+1) approximation of the mm-th unfolding matrix of FF whose entrywise error is bounded uniformly by

4(π2)K+1eKKKKπ2.\frac{4\left(\frac{\pi}{2}\right)^{K+1}e^{K}K^{-K}}{K-\frac{\pi}{2}}.
Remark 2.

This bound on the infinity norm error implies a bound on the Frobenius norm error very similar to the Frobenius error implied by the Schmidt coefficient bound in [1], but with a worse exponential prefactor cKc^{K}. However, the KKK^{-K} decay present in both bounds quickly takes over. Thus Proposition 1 has similar implications as the main theorem in the context of [1]. Meanwhile, if entrywise control is needed, then Proposition 1 has additional value.

Refer to caption
Figure 3.1: Diagrammatic illustration of the arguments of Section 3. The first equality in the figure depicts (3.2), and the second approximate equality depicts the low-rank decomposition of the mm-th unfolding matrix, which derives from the Chebyshev-Lobatto interpolation with entrywise error controlled by Proposition 1.
Proof of Proposition 1.

To apply standard results on Chebyshev interpolation error, we rescale fyf_{y} to the reference interval [1,1][-1,1], defining

fy(z)=fy(z+12)=eπiyeπiyz.f_{y}(z)=f_{y}\left(\frac{z+1}{2}\right)=e^{-\pi iy}e^{-\pi iyz}.

Note that gyg_{y} extends analytically to all of zz. For ρ>1\rho>1, define the Bernstein ellipse ρ\mathcal{E}_{\rho} by

ρ:={z:[Re(z)aρ]2+[Im(z)bρ]21}\mathcal{E}_{\rho}:=\left\{z\in\mathbb{C}:\left[\frac{\mathrm{Re}(z)}{a_{\rho}}\right]^{2}+\left[\frac{\mathrm{Im}(z)}{b_{\rho}}\right]^{2}\leq 1\right\}

where

aρ:=ρ+ρ12,bρ:=ρρ12.a_{\rho}:=\frac{\rho+\rho^{-1}}{2},\quad b_{\rho}:=\frac{\rho-\rho^{-1}}{2}.

Moreover, |gy(z)|=eπyIm(z)|g_{y}(z)|=e^{\pi y\,\mathrm{Im}(z)}, so on the Bernstein ellipse ρ\mathcal{E}_{\rho} we have that

|gy(z)|eπy(ρρ1)/2eπyρ/2.|g_{y}(z)|\leq e^{\pi y(\rho-\rho^{-1})/2}\leq e^{\pi y\rho/2}.

Then by Theorem 8.2 of [29], it follows that the pointwise error of Chebyshev interpolation of gyg_{y} is bounded (independently of y[0,1]y\in[0,1]) by

4eπρ/2ρKρ1\frac{4e^{\pi\rho/2}\rho^{-K}}{\rho-1}

for any ρ>1\rho>1. We want to choose ρ\rho to optimize this bound. It is roughly equivalent to find the optimizer of the numerator, which is simple to compute exactly as ρ=2πK\rho=\frac{2}{\pi}K. Then plugging into our expression yields the bound

4(π2)K+1eKKKKπ2,\frac{4\left(\frac{\pi}{2}\right)^{K+1}e^{K}K^{-K}}{K-\frac{\pi}{2}},

which completes the proof. ∎

3.1 Connection to complementary low-rankness

The low-rankness of the unfolding matrices in fact implies the well-known complementary low-rank property [27] of the DFT matrix. This property says that, if we partition the matrix into 2l×2nl2^{l}\times 2^{n-l} blocks of size 2nl×2l2^{n-l}\times 2^{l} where ll is the level of the partition, then for all levels l=0,,nl=0,\ldots,n each block is numerically low-rank. For example, when n=3n=3, the partition can be visualized as follows.

[Uncaptioned image]

We argue that the low-rankness of the unfolding matrix is a stronger property than complementary low-rankness. Suppose that we fix the level ll and let Fi,jF_{i,j} denote the (i,j)(i,j)-th block of the DFT matrix at this level. The complementary low-rank property implies that a decomposition exists for all (i,j)(i,j), i.e., Fi,jR~i,jL~i,jF_{i,j}\approx\tilde{R}_{i,j}\tilde{L}_{i,j} for some tensors R~\tilde{R} and L~\tilde{L}. On the other hand, the low-rankness of the unfolding matrix implies the more special structure Fi,jRjLiF_{i,j}\approx R_{j}L_{i}.

We illustrate this point diagrammatically as follows.

[Uncaptioned image]

Here (a)(a) depicts the partition and the block indices for n=3n=3 and l=2l=2, and (b)(b) describes the low-rank approximation of the unfolding matrix, which is equivalent to Fi,jRjLiF_{i,j}\approx R_{j}L_{i}. It is indeed known [30] that the submatrices for the DFT can be written as Fi,j=DjF0,0DiF_{i,j}=D_{j}F_{0,0}D_{i} where DiD_{i} (resp., DjD_{j}) is the unitary diagonal matrix generated by the ii-th (resp., jj-th) column of the 2l×2l2^{l}\times 2^{l} (resp., 2nl×2nl2^{n-l}\times 2^{n-l}) DFT. This point is essentially a restatement of (3.2).

4 Direct interpolative construction

The preceding argument does not directly furnish an approximate presentation of FF as an MPO. Now we turn to the task of such a construction, which is illustrated diagrammatically in Fig. 4.1.

Refer to caption
Figure 4.1: Illustration of the QFT MPO construction. (a) The mm-th tensor FmF_{m} to be interpolated, cf. (4.1). (b) We recursively obtain Fm+1F_{m+1} from FmF_{m} by attaching the tensor core AA defined in (4.3). (c) The full MPO of the DFT with translational-invariant cores. The black tensor represents an all-one vector. The right and left ‘boundary’ conditions follow from Eqs. (4.4) and (4.5), respectively.

Recall our definition (3.1) for ymy_{\leq m} in terms of the bit substring τ1:m\tau_{1:m}, which we reproduce here as

ym=l=1m2lm1τl,y_{\leq m}=\sum_{l=1}^{m}2^{l-m-1}\tau_{l},

for every m=1,,nm=1,\ldots,n. Note that yk[0,1]y_{\leq k}\in[0,1] for all kk, and moreover we can construct the sequence ymy_{\leq m} recursively via the relation

ym+1=12ym+12τm+1,y_{\leq m+1}=\frac{1}{2}y_{\leq m}+\frac{1}{2}\tau_{m+1},

which holds for m=1,,n1m=1,\ldots,n-1. Note that y1=12τ1y_{\leq 1}=\frac{1}{2}\tau_{1}.

We will construct inductively a sequence of tensors Fm2m×2m×(K+1)F_{m}\in\mathbb{C}^{2^{m}\times 2^{m}\times(K+1)}, m=1,,nm=1,\ldots,n, with entries specified by

Fmα(σ1:m,τ1:m)=eπik,l=1m2k2lσkτle2πiymcα,σ1:m,τ1:m{0,1}m,α[K],F_{m}^{\alpha}(\sigma_{1:m},\tau_{1:m})=e^{-\pi i\sum_{k,l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}e^{-2\pi iy_{\leq m}c^{\alpha}},\quad\sigma_{1:m},\tau_{1:m}\in\{0,1\}^{m},\ \alpha\in[K], (4.1)

where we point out that ymy_{\leq m} is always understood to be implicitly defined in terms of τ1:m\tau_{1:m}.

For the base case, the tensor F12×2×(K+1)F_{1}\in\mathbb{C}^{2\times 2\times(K+1)} can be written explicitly

F1β(σ,τ)=eπi(σ+cβ)τ,σ,τ{0,1},β[K].F_{1}^{\beta}(\sigma,\tau)=e^{-\pi i(\sigma+c^{\beta})\tau},\quad\sigma,\tau\in\{0,1\},\ \beta\in[K].

Alternatively, we may view F1βF_{1}^{\beta} for each β\beta as the 2×22\times 2 matrix

F1β=(1eπιcβ1eπιcβ).F_{1}^{\beta}=\left(\begin{array}[]{cc}1&e^{-\pi\iota c^{\beta}}\\ 1&-e^{-\pi\iota c^{\beta}}\end{array}\right).

Moreover, we can obtain our target F(σ1:n,τ1:n)F(\sigma_{1:n},\tau_{1:n}) as

F(σ1:n,τ1:n)=Fn0(σ1:n,τ1:n),F(\sigma_{1:n},\tau_{1:n})=F_{n}^{0}(\sigma_{1:n},\tau_{1:n}),

under the convention that α=0\alpha=0 is the index of the leftmost node cα=0c^{\alpha}=0.

Then we claim that Fm+1F_{m+1} can be obtained approximately from FmF_{m} by attaching a single tensor core on the right. To see this, expand:

Fm+1β(σ1:m+1,τ1:m+1)\displaystyle F_{m+1}^{\beta}(\sigma_{1:m+1},\tau_{1:m+1}) =eπik,l=1m+12k2lσkτle2πiym+1cβ\displaystyle=e^{-\pi i\sum_{k,l=1}^{m+1}2^{-k}2^{l}\sigma_{k}\tau_{l}}e^{-2\pi iy_{\leq m+1}c^{\beta}}
=eπik,l=1m2k2lσkτl×eπik=1m2k2m+1σkτm+1\displaystyle=e^{-\pi i\sum_{k,l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}\times e^{-\pi i\sum_{k=1}^{m}2^{-k}2^{m+1}\sigma_{k}\tau_{m+1}}
×eπiσm+1l=1m2lm1τl×eπiσm+1τm+1×e2πiym+1cβ.\displaystyle\quad\quad\quad\times\ e^{-\pi i\sigma_{m+1}\sum_{l=1}^{m}2^{l-m-1}\tau_{l}}\times e^{-\pi i\sigma_{m+1}\tau_{m+1}}\times e^{-2\pi iy_{\leq m+1}c^{\beta}}.

Now for any k=1,,mk=1,\ldots,m, observe that 2k2m+1σk22^{-k}2^{m+1}\sigma_{k}\in 2\mathbb{Z}, so the second factor in the last expression is just 11. Moreover, we can substitute l=1m2lm1τl=ym\sum_{l=1}^{m}2^{l-m-1}\tau_{l}=y_{\leq m} in the third factor and ym+1=12ym+12τm+1y_{\leq m+1}=\frac{1}{2}y_{\leq m}+\frac{1}{2}\tau_{m+1} in the last factor to obtain

Fm+1β(σ1:m+1,τ1:m+1)\displaystyle F_{m+1}^{\beta}(\sigma_{1:m+1},\tau_{1:m+1}) =eπik,l=1m2k2lσkτle2πiym(σm+1+cβ2)eπiτm+1(σm+1+cβ)\displaystyle=e^{-\pi i\sum_{k,l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}e^{-2\pi iy_{\leq m}\left(\frac{\sigma_{m+1}+c^{\beta}}{2}\right)}e^{-\pi i\tau_{m+1}(\sigma_{m+1}+c^{\beta})}
=eπik,l=1m2k2lσkτlfym(σm+1+cβ2)eπiτm+1(σm+1+cβ),\displaystyle=e^{-\pi i\sum_{k,l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}f_{y_{\leq m}}\left(\frac{\sigma_{m+1}+c^{\beta}}{2}\right)e^{-\pi i\tau_{m+1}(\sigma_{m+1}+c^{\beta})},

where we retain our definition of fy:[0,1]f_{y}:[0,1]\rightarrow\mathbb{R} from the last section.

Then we can insert an interpolative decomposition

fym(σm+1+cβ2)α=0Kfym(cα)Pα(σm+1+cβ2)=α=0Ke2πiymcαPα(σm+1+cβ2)f_{y_{\leq m}}\left(\frac{\sigma_{m+1}+c^{\beta}}{2}\right)\approx\sum_{\alpha=0}^{K}f_{y_{\leq m}}(c^{\alpha})P^{\alpha}\left(\frac{\sigma_{m+1}+c^{\beta}}{2}\right)=\sum_{\alpha=0}^{K}e^{-2\pi iy_{\leq m}c^{\alpha}}P^{\alpha}\left(\frac{\sigma_{m+1}+c^{\beta}}{2}\right) (4.2)

into our expression for Fm+1β(σ1:m+1,τ1:m+1)F_{m+1}^{\beta}(\sigma_{1:m+1},\tau_{1:m+1}), yielding

Fm+1β(σ1:m+1,τ1:m+1)\displaystyle F_{m+1}^{\beta}(\sigma_{1:m+1},\tau_{1:m+1}) α=0Keπik,l=1m2k2lσkτle2πiymcαPα(σm+1+cβ2)eπiτm+1(σm+1+cβ)\displaystyle\approx\sum_{\alpha=0}^{K}e^{-\pi i\sum_{k,l=1}^{m}2^{-k}2^{l}\sigma_{k}\tau_{l}}e^{-2\pi iy_{\leq m}c^{\alpha}}P^{\alpha}\left(\frac{\sigma_{m+1}+c^{\beta}}{2}\right)e^{-\pi i\tau_{m+1}(\sigma_{m+1}+c^{\beta})}
=α=0KFmα(σ1:m,τ1:m)Aαβ(σm+1,τm+1),\displaystyle=\sum_{\alpha=0}^{K}F_{m}^{\alpha}(\sigma_{1:m},\tau_{1:m})A^{\alpha\beta}(\sigma_{m+1},\tau_{m+1}),

where we have defined the tensor core A2×2×(K+1)×(K+1)A\in\mathbb{C}^{2\times 2\times(K+1)\times(K+1)} via

Aαβ(σ,τ)=Pα(σ+cβ2)eπi(σ+cβ)τ,σ,τ{0,1},α,β[K].A^{\alpha\beta}(\sigma,\tau)=P^{\alpha}\left(\frac{\sigma+c^{\beta}}{2}\right)e^{-\pi i(\sigma+c^{\beta})\tau},\quad\sigma,\tau\in\{0,1\},\ \alpha,\beta\in[K]. (4.3)

Alternatively we can write

Aαβ(σ,τ)=Pα(σ+cβ2)F1β(σ,τ).A^{\alpha\beta}(\sigma,\tau)=P^{\alpha}\left(\frac{\sigma+c^{\beta}}{2}\right)F_{1}^{\beta}(\sigma,\tau).

Then we have argued that we can approximate FF as an MPO with leftmost core AL=F1A_{\mathrm{L}}=F_{1}, internal cores AA, and rightmost core AR2×2×(K+1)A_{\mathrm{R}}\in\mathbb{R}^{2\times 2\times(K+1)} given by

ARα(σ,τ)=Aα0(σ,τ).A_{\mathrm{R}}^{\alpha}(\sigma,\tau)=A^{\alpha 0}(\sigma,\tau). (4.4)

Since α=0KPα(x)=1\sum_{\alpha=0}^{K}P^{\alpha}(x)=1 for all x[0,1]x\in[0,1], we can neatly express the leftmost core in terms of AA as

AL=α=0KAαβ.A_{L}=\sum_{\alpha=0}^{K}A^{\alpha\beta}. (4.5)
Remark 3.

It is straightforward to extend the scheme to qudits. Redefining σk\sigma_{k} and τk\tau_{k} to be elements of {0,1,,d1}\{0,1,...,d-1\}, we consider the dd-ary expansions

s=k=1ndnkσk,t=k=1ndk1τk.s=\sum_{k=1}^{n}d^{n-k}\sigma_{k},\quad t=\sum_{k=1}^{n}d^{k-1}\tau_{k}.

in place of (2.1).

In this setting the DFT matrix can be written as

𝐅s,t=F(σ1:n,τ1:n)=e2dπik,l=1ndkdlσkτl.\mathbf{F}_{s,t}=F(\sigma_{1:n},\tau_{1:n})=e^{-\frac{2}{d}\pi i\sum_{k,l=1}^{n}d^{-k}d^{l}\sigma_{k}\tau_{l}}.

Following the same construction, we obtain the core

Aαβ(σ,τ)=Pα(σ+cβd)e2dπi(σ+cβ)τ,σ,τ{0,1,,d1},α,β[K].A^{\alpha\beta}(\sigma,\tau)=P^{\alpha}\left(\frac{\sigma+c^{\beta}}{d}\right)e^{-\frac{2}{d}\pi i(\sigma+c^{\beta})\tau},\quad\sigma,\tau\in\{0,1,...,d-1\},\ \alpha,\beta\in[K].

5 Error bound

The following result bounds the entrywise error of the MPO constructed as above.

Theorem 4.

For fixed integer K1K\geq 1, let FMPOF_{\mathrm{MPO}} denote the nn-site, rank-(K+1)(K+1) MPO comprised of internal cores

Aαβ(σ,τ)=Pα(σ+cβ2)eπi(σ+cβ)τ,σ,τ{0,1},α,β[K],A^{\alpha\beta}(\sigma,\tau)=P^{\alpha}\left(\frac{\sigma+c^{\beta}}{2}\right)e^{-\pi i(\sigma+c^{\beta})\tau},\quad\sigma,\tau\in\{0,1\},\ \alpha,\beta\in[K],

leftmost core ALβ=α=0KAαβ=eπi(σ+cβ)τA_{\mathrm{L}}^{\beta}=\sum_{\alpha=0}^{K}A^{\alpha\beta}=e^{-\pi i(\sigma+c^{\beta})\tau} and rightmost core ARα=Aα0=Pα(σ/2)eπiστA_{\mathrm{R}}^{\alpha}=A^{\alpha 0}=P^{\alpha}(\sigma/2)e^{-\pi i\sigma\tau}, as described in the preceding discussion and illustrated in Figure 4.1(c).

Then the entrywise error of this MPO with respect to the true DFT operator FF is bounded as

FMPOFΛKn11ΛK1EK(n1)ΛKn2EK,\|F_{\mathrm{MPO}}-F\|_{\infty}\leq\frac{\Lambda_{K}^{n-1}-1}{\Lambda_{K}-1}E_{K}\leq(n-1)\Lambda_{K}^{n-2}E_{K},

where ΛK\Lambda_{K} is the Lebesgue constant of (K+1)(K+1)-point Chebyshev-Lobatto interpolation and EKE_{K} is the worst case (K+1)(K+1)-point Chebyshev-Lobatto interpolation error over the function class fy:[0,1]f_{y}:[0,1]\rightarrow\mathbb{R} defined by fy(x)=e2πixyf_{y}(x)=e^{-2\pi ixy}, y[0,1]y\in[0,1].

The quantities ΛK\Lambda_{K} and EKE_{K} are in turn bounded as

ΛK1+2πlog(K+1),EK4(π2)K+1eKKKKπ2.\Lambda_{K}\leq 1+\frac{2}{\pi}\log(K+1),\quad E_{K}\leq\frac{4\left(\frac{\pi}{2}\right)^{K+1}e^{K}K^{-K}}{K-\frac{\pi}{2}}.
Proof.

Let F~m+1=F1Am2m+1×2m+1×(K+1)\tilde{F}_{m+1}=F_{1}A^{m}\in\mathbb{R}^{2^{m+1}\times 2^{m+1}\times(K+1)} denote the intermediate MPO (with a hanging bond at the right) furnished by procedure outlined above, meant to approximate Fm+1F_{m+1}. We will use the notation FmAF_{m}A and F~mA\tilde{F}_{m}A to denote the tensors obtained by attaching the tensor core AA to FmF_{m} and F~m\tilde{F}_{m}, respectively, as illustrated in Figure 4.1.

We will inductively bound the error εm:=F~mFm\varepsilon_{m}:=\|\tilde{F}_{m}-F_{m}\|_{\infty}. Note that in the base case we have ε1=0\varepsilon_{1}=0. Moreover, since F=Fn0F={F}_{n}^{0} and FMPO=F~n0F_{\mathrm{MPO}}=\tilde{F}_{n}^{0}, we have that FMPOFεn\|F_{\mathrm{MPO}}-F\|_{\infty}\leq\varepsilon_{n}, and it will suffice to get a bound on εn\varepsilon_{n}.

First compute

εm+1\displaystyle\varepsilon_{m+1} =F~m+1Fm+1\displaystyle=\|\tilde{F}_{m+1}-F_{m+1}\|_{\infty}
=F~mAFm+1\displaystyle=\|\tilde{F}_{m}A-F_{m+1}\|_{\infty}
F~mAFmA+FmAFm+1\displaystyle\leq\|\tilde{F}_{m}A-F_{m}A\|_{\infty}+\|F_{m}A-F_{m+1}\|_{\infty}
=(F~mFm)A+FmAFm+1.\displaystyle=\|(\tilde{F}_{m}-F_{m})A\|_{\infty}+\|F_{m}A-F_{m+1}\|_{\infty}.

Observe that the second term in the last expression is bounded is the entrywise error of the interpolation (4.2), which is bounded by EKE_{K}. In the proof of Proposition 1 above, we have already shown the bound

EK4(π2)K+1eKKKKπ2E_{K}\leq\frac{4\left(\frac{\pi}{2}\right)^{K+1}e^{K}K^{-K}}{K-\frac{\pi}{2}}

appearing in the statement of Theorem 4.

Now define Em:=F~mFmE_{m}:=\tilde{F}_{m}-F_{m}, so we have that EmE_{m} is entrywise bounded by εm\varepsilon_{m}, and we wish to uniformly bound the entries [EmA]β(σ1:m,τ1:m)[E_{m}A]^{\beta}(\sigma_{1:m},\tau_{1:m}) of EmAE_{m}A. To this end, compute:

|[EmA]β(σ1:m,τ1:m)|\displaystyle\left|[E_{m}A]^{\beta}(\sigma_{1:m},\tau_{1:m})\right| =|α=0KEmα(σ1:m,τ1:m)Aαβ(σm+1,τm+1)|\displaystyle=\left|\sum_{\alpha=0}^{K}E_{m}^{\alpha}(\sigma_{1:m},\tau_{1:m})A^{\alpha\beta}(\sigma_{m+1},\tau_{m+1})\right|
εmα=0K|Aαβ(σm+1,τm+1)|\displaystyle\leq\varepsilon_{m}\sum_{\alpha=0}^{K}\left|A^{\alpha\beta}(\sigma_{m+1},\tau_{m+1})\right|
=εmα=0K|Pα(σ+cβ2)|\displaystyle=\varepsilon_{m}\sum_{\alpha=0}^{K}\left|P^{\alpha}\left(\frac{\sigma+c^{\beta}}{2}\right)\right|
εmΛK,\displaystyle\leq\varepsilon_{m}\Lambda_{K},

where ΛK\Lambda_{K} is the Lebesgue constant of our interpolation scheme, cf. [29]. It is known [29] that

ΛK1+2πlog(K+1).\Lambda_{K}\leq 1+\frac{2}{\pi}\log(K+1).

Then putting our bounds together we have derived

εm+1ΛKεm+EK.\varepsilon_{m+1}\leq\Lambda_{K}\varepsilon_{m}+E_{K}.

It follows that

εn[p=0n2ΛKp]EK=ΛKn11ΛK1EK.\varepsilon_{n}\leq\left[\sum_{p=0}^{n-2}\Lambda_{K}^{p}\right]E_{K}=\frac{\Lambda_{K}^{n-1}-1}{\Lambda_{K}-1}E_{K}.

Observe that a crude but simpler bound is given by

εn(n1)ΛKn2EK.\varepsilon_{n}\leq(n-1)\Lambda_{K}^{n-2}E_{K}.

6 Connection to the approximate QFT

The AQFT [10] on nn qubits with approximation level b{0,,n1}b\in\{0,\ldots,n-1\} is defined by

Fn,b(σ1:n,τ1:n)=eπik=1nl=max(1,kb)n2k2lσkτl,{F}_{n,b}(\sigma_{1:n},\tau_{1:n})=e^{-\pi i\sum_{k=1}^{n}\sum_{l=\max(1,k-b)}^{n}2^{-k}2^{l}\sigma_{k}\tau_{l}}, (6.1)

up to the choice of convention for normalization and complex conjugation. Relative to the formula (2.2) for the QFT/DFT, in the AQFT we discard all terms in the exponent with kl>bk-l>b. If b=n1b=n-1 we recover the exact QFT, and if b=0b=0 we get the Hadamard transform. The quantum circuits for the QFT and AQFT are shown in Fig. 6.2. We prove the following theorem regarding the connection to interpolative decomposition:

Refer to caption
Figure 6.1: (a) A quantum circuit representing the 5-qubit QFT. (b) A quantum circuit representing the 5-qubit AQFT with approximation level b=2b=2. (c) Tensors to interpret the circuits as tensor networks.
Theorem 5.

The nn-qubit AQFT with approximation level bb can be expressed exactly as a rank-(2b)(2^{b}) MPO in which all of the internal cores are given by

Aαβ(σ,τ)=χα(σ+uβ2)eπi(σ+uβ)τ,σ,τ{0,1},α,β[2b1],A^{\alpha\beta}(\sigma,\tau)=\chi^{\alpha}\left(\frac{\sigma+u^{\beta}}{2}\right)e^{-\pi i(\sigma+u^{\beta})\tau},\quad\sigma,\tau\in\{0,1\},\ \alpha,\beta\in[2^{b}-1], (6.2)

where uβ=β/2bu^{\beta}=\beta/2^{b} for β=0,,2b1\beta=0,...,2^{b}-1, and χα(x)\chi^{\alpha}(x) are the indicator functions

χα(x)={1,x[uα,uα+1),0,otherwise.\chi^{\alpha}(x)=\begin{cases}1,&x\in[u^{\alpha},u^{\alpha+1}),\\ 0,&\mathrm{otherwise}.\end{cases}

The leftmost core is given by α=02b1Aαβ(σ,τ)=eπi(σ+uβ)τ\sum_{\alpha=0}^{2^{b}-1}A^{\alpha\beta}(\sigma,\tau)=e^{-\pi i(\sigma+u^{\beta})\tau}, and the rightmost core is given by Aα0(σ,τ)=χα(σ/2)eπiστA^{\alpha 0}(\sigma,\tau)=\chi^{\alpha}(\sigma/2)e^{-\pi i\sigma\tau}.

Proof.

We adopt the notation [0.τpτ1]=j=1pτp+1j2j[0.\tau_{p}...\tau_{1}]=\sum_{j=1}^{p}\tau_{p+1-j}2^{-j} for arbitrary bit strings τ1,,τp\tau_{1},\ldots,\tau_{p} of arbitrary length. Intuitively the notation indicates a binary decimal expansion. With this notation, for any mm we can express the mm-qubit AQFT with approximation level bb as

Fm,b(σ1:m,τ1:m)=e2πik=1mσk[0.τkτkb].{F}_{m,b}(\sigma_{1:m},\tau_{1:m})=e^{-2\pi i\sum_{k=1}^{m}\sigma_{k}[0.\tau_{k}...\tau_{k-b}]}.

Indeed, for each kk, note that in (6.1) all the terms with l>kl>k contribute only integer multiples of 2πi2\pi i in the exponent, which all vanish.

Now for any α,β[2b1]\alpha,\beta\in[2^{b}-1], we can uniquely write α=j=1bαj2bj\alpha=\sum_{j=1}^{b}\alpha_{j}2^{b-j} and β=j=1bβj2bj\beta=\sum_{j=1}^{b}\beta_{j}2^{b-j} for bit strings α1,,αb\alpha_{1},\ldots,\alpha_{b} and β1,,βb\beta_{1},\ldots,\beta_{b}. We will identify α\alpha and β\beta with these respective bit strings in the notation.

Then define

Bm,bβ(τ1:m):=e2πij=1bβj2j[0.τmτmb+j],B_{m,b}^{\beta}(\tau_{1:m}):=e^{-2\pi i\sum_{j=1}^{b}\beta_{j}2^{-j}[0.\tau_{m}...\tau_{m-b+j}]},

and

Qm,bβ(σ1:m,τ1:m):=\displaystyle{Q}_{m,b}^{\beta}(\sigma_{1:m},\tau_{1:m})\ :=\ \ Fm,b(σ1:m,τ1:m)Bm,bβ(τ1:m)\displaystyle{F}_{m,b}(\sigma_{1:m},\tau_{1:m})B_{m,b}^{\beta}(\tau_{1:m}) (6.3)
=\displaystyle\ =\ \ e2πij=1mσj[0.τjτjb]e2πij=1bβj2j[0.τmτmb+j].\displaystyle e^{-2\pi i\sum_{j=1}^{m}\sigma_{j}[0.\tau_{j}...\tau_{j-b}]}e^{-2\pi i\sum_{j=1}^{b}\beta_{j}2^{-j}[0.\tau_{m}...\tau_{m-b+j}]}.

Note that Bm,b01B_{m,b}^{0}\equiv 1, and thus by setting β=0\beta=0 we recover the AQFT, i.e. Qm,b0=Fm,b{Q}_{m,b}^{0}={F}_{m,b}.

Our goal is to prove that

α=02b1Qm,bα(σ1:m,τ1:m)Aαβ(σm+1,τm+1)=Qm+1,bβ(σ1:m+1,τ1:m+1),\sum_{\alpha=0}^{2^{b}-1}{Q}_{m,b}^{\alpha}(\sigma_{1:m},\tau_{1:m})A^{\alpha\beta}(\sigma_{m+1},\tau_{m+1})={Q}_{m+1,b}^{\beta}(\sigma_{1:m+1},\tau_{1:m+1}), (6.4)

or Qm,bA=Qm+1,b{Q}_{m,b}\,A={Q}_{m+1,b} in the shorthand of the preceding sections, in which the left-hand side indicates the result of attaching the core AA to the right of Qm,b{Q}_{m,b}. Direct computation reveals that Q1,bβ(σ,τ)=eπi(σ+β/2b)τ{Q}_{1,b}^{\beta}(\sigma,\tau)=e^{-\pi i(\sigma+\beta/2^{b})\tau}, which precisely matches the leftmost core from the statement of the theorem. Thus the claim (6.4) will complete the proof of the theorem. We now turn to the proof of this claim.

First, one can verify that for x=j=1nxj2jx=\sum_{j=1}^{n}x_{j}2^{-j} where x1,,xn{0,1}x_{1},\ldots,x_{n}\in\{0,1\} and nbn\geq b, we have that

χα(x)=k=1bδαk,xk.\chi^{\alpha}(x)=\prod_{k=1}^{b}\delta_{\alpha_{k},x_{k}}.

Then since (σ+uβ)/2=σ/2+β1/4++βb/2b+1(\sigma+u^{\beta})/2=\sigma/2+\beta_{1}/4+\cdots+\beta_{b}/2^{b+1},

α=02b1Bm,bα(τ1:m)χα(σm+1+uβ2)=α=02b1e2πij=1bαj2j[0.τmτmb+j]χα(σm+1+uβ2)=α=02b1e2πij=1bαj2j[0.τmτmb+j]δα1,σm+1k=1b1δαk+1,βk=e2πiσm+1[0.0τmτmb+1]e2πij=2bβj12j[0.τmτmb+j]\begin{split}&\sum_{\alpha=0}^{2^{b}-1}B^{\alpha}_{m,b}(\tau_{1:m})\ \chi^{\alpha}\left(\frac{\sigma_{m+1}+u^{\beta}}{2}\right)\\ &\quad=\ \ \sum_{\alpha=0}^{2^{b}-1}e^{-2\pi i\sum_{j=1}^{b}\alpha_{j}2^{-j}[0.\tau_{m}...\tau_{m-b+j}]}\ \chi^{\alpha}\left(\frac{\sigma_{m+1}+u^{\beta}}{2}\right)\\ &\quad=\ \ \sum_{\alpha=0}^{2^{b}-1}e^{-2\pi i\sum_{j=1}^{b}\alpha_{j}2^{-j}[0.\tau_{m}...\tau_{m-b+j}]}\ \delta_{\alpha_{1},\sigma_{m+1}}\,\prod_{k=1}^{b-1}\delta_{\alpha_{k+1},\beta_{k}}\\ &\quad=\ \ e^{-2\pi i\sigma_{m+1}[0.0\tau_{m}...\tau_{m-b+1}]}\ e^{-2\pi i\sum_{j=2}^{b}\beta_{j-1}2^{-j}[0.\tau_{m}...\tau_{m-b+j}]}\end{split}

The first factor in the last expression can be grouped with Fm,b(σ1:m,τ1:m){F}_{m,b}(\sigma_{1:m},\tau_{1:m}) and eπiσm+1τm+1e^{-\pi i\sigma_{m+1}\tau_{m+1}} to form Fm+1,b(σ1:m+1,τ1:m+1){F}_{m+1,b}(\sigma_{1:m+1},\tau_{1:m+1}):

Fm,b(σ1:m,τ1:m)e2πiσm+1[0.0τmτmb+1]eπiσm+1τm+1=Fm,b(σ1:m,τ1:m)e2πiσm+1[0.τm+1τmτm+1b]=Fm+1,b(σ1:m+1,τ1:m+1),\begin{split}&{F}_{m,b}(\sigma_{1:m},\tau_{1:m})\,e^{-2\pi i\sigma_{m+1}[0.0\tau_{m}...\tau_{m-b+1}]}e^{-\pi i\sigma_{m+1}\tau_{m+1}}\\ &\quad=\ \ {F}_{m,b}(\sigma_{1:m},\tau_{1:m})\,e^{-2\pi i\sigma_{m+1}[0.\tau_{m+1}\tau_{m}...\tau_{m+1-b}]}\\ &\quad=\ \ {F}_{m+1,b}(\sigma_{1:m+1},\tau_{1:m+1}),\end{split}

and the second factor can be grouped with eπiuβτm+1e^{-\pi iu^{\beta}\tau_{m+1}} to form Bm+1,bβ(τ1:m+1)B_{m+1,b}^{\beta}(\tau_{1:m+1}):

e2πij=2bβj12j[0.τmτmb+j]eπiuβτm+1=e2πij=1b1βj2j[0.0τmτm+1b+j]e2πij=1bβj2j[0.τm+1]=e2πij=1bβj2j[0.τm+1τmτm+1b+j]=Bm+1,bβ(τ1:m+1).\begin{split}&e^{-2\pi i\sum_{j=2}^{b}\beta_{j-1}2^{-j}[0.\tau_{m}...\tau_{m-b+j}]}\ e^{-\pi iu^{\beta}\tau_{m+1}}\\ &\quad=\ \ e^{-2\pi i\sum_{j=1}^{b-1}\beta_{j}2^{-j}[0.0\tau_{m}...\tau_{m+1-b+j}]}\ e^{-2\pi i\sum_{j=1}^{b}\beta_{j}2^{-j}[0.\tau_{m+1}]}\\ &\quad=\ \ e^{-2\pi i\sum_{j=1}^{b}\beta_{j}2^{-j}[0.\tau_{m+1}\tau_{m}...\tau_{m+1-b+j}]}\\ &\quad=\ \ B_{m+1,b}^{\beta}(\tau_{1:m+1}).\end{split}

Based on the definitions (6.2) and (6.3) of AA and Qm,bQ_{m,b}, respectively, the claim (6.4) follows. ∎

In fact we can derive the MPO core AA from the tensor diagram of the AQFT, by directly contracting local tensors in the AQFT circuit. This construction is shown in Fig. 6.2 in the case b=2b=2.

Refer to caption
Figure 6.2: (a) The AQFT MPO core AA can be obtained by contracting local tensors in the AQFT circuit, as shown here for approximation level b=2b=2. (b) Illustration of the AQFT MPO generated by AA for b=2b=2.

The entrywise error of this MPO relative to the true DFT/QFT can be bounded directly by the exact expression (6.1) for entries, without relying on interpolation error bounds, as follows.

For any two phases θ1,θ2[0,2π)\theta_{1},\theta_{2}\in[0,2\pi) separated by an angular distance Δθ[0,π]\Delta\theta\in[0,\pi], we always have

|eiθ1eiθ2|Δθ.|e^{-i\theta_{1}}-e^{-i\theta_{2}}|\leq\Delta\theta.

Then for any fixed σ1:n,τ1:n\sigma_{1:n},\tau_{1:n}, the angular distance Δθ\Delta\theta between the phases of the AQFT entry Fn,b(σ1:n,τ1:n)F_{n,b}(\sigma_{1:n},\tau_{1:n}) and the corresponding QFT entry F(σ1:n,τ1:n)F(\sigma_{1:n},\tau_{1:n}) is bounded as πkl>b2(kl)\pi\sum_{k-l>b}2^{-(k-l)}. We can compute

kl>b2(kl)l=1nk=l+b+12(kl)=nj=b+12j=n 2b.\sum_{k-l>b}2^{-(k-l)}\leq\sum_{l=1}^{n}\sum_{k=l+b+1}^{\infty}2^{-(k-l)}=n\sum_{j=b+1}^{\infty}2^{-j}=n\,2^{-b}.

Therefore the entrywise error of the nn-qubit AQFT with approximation level bb is bounded by πn 2b\pi n\,2^{-b}.

We see that for a fixed number nn of qubits, the error of the AQFT decays as O(1/K)O(1/K) where K=2bK=2^{b} is the bond dimension, and to maintain fixed error tolerance the bond dimension must scale linearly with nn. On the other hand, in the Chebyshev-Lobatto construction of the QFT MPO, the error decays super-exponentially with the bond dimension for a fixed number nn of qubits. Meanwhile, to maintain fixed error, the bond dimension need only scale sublinearly with nn. Thus the piecewise constant interpolation used implicitly by the AQFT yields a less efficient MPO approximation for the QFT. On the other hand, the AQFT is presented quite naturally as a quantum circuit. Whether other interpolative constructions can yield more efficient quantum circuits that approximate the QFT is an interesting open question.

References

  • [1] Jielun Chen, E.M. Stoudenmire and Steven R. White “Quantum Fourier Transform Has Small Entanglement” In PRX Quantum 4 American Physical Society, 2023, pp. 040318 DOI: 10.1103/PRXQuantum.4.040318
  • [2] P.W. Shor “Algorithms for quantum computation: discrete logarithms and factoring” In Proceedings 35th Annual Symposium on Foundations of Computer Science, 1994, pp. 124–134 DOI: 10.1109/SFCS.1994.365700
  • [3] M. Fannes, B. Nachtergaele and R.. Werner “Finitely correlated states on quantum spin chains” In Communications in Mathematical Physics 144.3, 1992, pp. 443–490 DOI: 10.1007/BF02099178
  • [4] A. Klümper, A. Schadschneider and J. Zittartz “Groundstate properties of a generalized VBS-model” In Zeitschrift für Physik B Condensed Matter 87.3, 1992, pp. 281–287 DOI: 10.1007/BF01309281
  • [5] Stellan Östlund and Stefan Rommer “Thermodynamic Limit of Density Matrix Renormalization” In Phys. Rev. Lett. 75 American Physical Society, 1995, pp. 3537–3540 DOI: 10.1103/PhysRevLett.75.3537
  • [6] Guifré Vidal “Efficient Classical Simulation of Slightly Entangled Quantum Computations” In Phys. Rev. Lett. 91 American Physical Society, 2003, pp. 147902 DOI: 10.1103/PhysRevLett.91.147902
  • [7] B Pirvu, V Murg, J I Cirac and F Verstraete “Matrix product operator representations” In New Journal of Physics 12.2 IOP Publishing, 2010, pp. 025012 DOI: 10.1088/1367-2630/12/2/025012
  • [8] Ivan V Oseledets “Tensor-train decomposition” In SIAM Journal on Scientific Computing 33.5 SIAM, 2011, pp. 2295–2317
  • [9] Boris Khoromskij “O ( d log N )-Quantics Approximation of N - d Tensors in High-Dimensional Numerical Modeling” In Constructive Approximation - CONSTR APPROX 34, 2009 DOI: 10.1007/s00365-011-9131-1
  • [10] D. Coppersmith “An approximate Fourier transform useful in quantum factoring”, 2002 arXiv:quant-ph/0201067 [quant-ph]
  • [11] Dorit Aharonov, Zeph Landau and Johann Makowsky “The quantum FFT can be classically simulated”, 2007 arXiv:quant-ph/0611156 [quant-ph]
  • [12] Daniel E Browne “Efficient classical simulation of the quantum Fourier transform” In New Journal of Physics 9.5, 2007, pp. 146 DOI: 10.1088/1367-2630/9/5/146
  • [13] Nadav Yoran and Anthony J. Short “Efficient classical simulation of the approximate quantum Fourier transform” In Physical Review A 76.4 American Physical Society (APS), 2007 DOI: 10.1103/physreva.76.042321
  • [14] Hiroshi Shinaoka et al. “Multiscale Space-Time Ansatz for Correlation Functions of Quantum Systems Based on Quantics Tensor Trains” In Phys. Rev. X 13 American Physical Society, 2023, pp. 021015 DOI: 10.1103/PhysRevX.13.021015
  • [15] Sergey Dolgov, Boris Khoromskij and Dmitry Savostyanov “Superfast Fourier Transform Using QTT Approximation” In Journal of Fourier Analysis and Applications 18.5, 2012, pp. 915–953
  • [16] Kieran J. Woolfe, Charles D. Hill and Lloyd C.. Hollenberg “Scale invariance and efficient classical simulation of the quantum Fourier transform”, 2014 arXiv:1406.0931 [quant-ph]
  • [17] Sergey Dolgov and Dmitry Savostyanov “Parallel cross interpolation for high-precision calculation of high-dimensional integrals” In Computer Physics Communications 246, 2020, pp. 106869 DOI: https://doi.org/10.1016/j.cpc.2019.106869
  • [18] Dmitry V. Savostyanov “Quasioptimality of maximum-volume cross interpolation of tensors” In Linear Algebra and its Applications 458, 2014, pp. 217–244 DOI: https://doi.org/10.1016/j.laa.2014.06.006
  • [19] Michael Lindsey “Multiscale interpolative construction of quantized tensor trains”, 2023 arXiv:2311.12554 [math.NA]
  • [20] Boris N. Khoromskij “Tensor Numerical Methods for High-dimensional PDEs: Basic Theory and Initial Applications”, 2014 arXiv:1408.4053 [math.NA]
  • [21] Nikita Gourianov et al. “A quantum-inspired approach to exploit turbulence structures” In Nature Computational Science 2.1 Springer ScienceBusiness Media LLC, 2022, pp. 30–37 DOI: 10.1038/s43588-021-00181-1
  • [22] Erika Ye and Nuno F.. Loureiro “Quantum-inspired method for solving the Vlasov-Poisson equations” In Phys. Rev. E 106 American Physical Society, 2022, pp. 035208 DOI: 10.1103/PhysRevE.106.035208
  • [23] Martin Kiffner and Dieter Jaksch “Tensor network reduced order models for wall-bounded flows”, 2023 arXiv:2303.03010 [physics.flu-dyn]
  • [24] A J Daley, C Kollath, U SchollwÃPck and G Vidal “Time-dependent density-matrix renormalization-group using adaptive effective Hilbert spaces” In Journal of Statistical Mechanics: Theory and Experiment 2004.04, 2004, pp. P04005 DOI: 10.1088/1742-5468/2004/04/P04005
  • [25] Steven R. White and Adrian E. Feiguin “Real-Time Evolution Using the Density Matrix Renormalization Group” In Phys. Rev. Lett. 93 American Physical Society, 2004, pp. 076401 DOI: 10.1103/PhysRevLett.93.076401
  • [26] G. Vidal “Classical Simulation of Infinite-Size Quantum Lattice Systems in One Spatial Dimension” In Phys. Rev. Lett. 98 American Physical Society, 2007, pp. 070201 DOI: 10.1103/PhysRevLett.98.070201
  • [27] Yingzhou Li et al. “Butterfly Factorization” In Multiscale Modeling & Simulation 13.2, 2015, pp. 714–732 DOI: 10.1137/15M1007173
  • [28] John P Boyd “A fast algorithm for Chebyshev, Fourier, and sinc interpolation onto an irregular grid” In Journal of Computational Physics 103.2, 1992, pp. 243–257 DOI: https://doi.org/10.1016/0021-9991(92)90399-J
  • [29] Lloyd N. Trefethen “Approximation Theory and Approximation Practice, Extended Edition” Philadelphia, PA, USA: SIAM-Society for IndustrialApplied Mathematics, 2019
  • [30] Alan Edelman, Peter McCorquodale and Sivan Toledo “The Future Fast Fourier Transform?” In SIAM J. Sci. Comput. 20, 1997, pp. 1094–1114 URL: https://api.semanticscholar.org/CorpusID:1837696