betaFeedback

WorksMathematics

Quantum-Inspired Tensor Train Spectral Solver for High-Resolution PDEs with Non-Periodic Boundary Conditions

Abstract

Tensor train (TT) methods enable high-resolution computational mechanics simulations by exploiting low-rank structure in discretized fields and operators. While the superfast Fourier transform (SFFT) has enabled efficient TT-based spectral solvers for periodic problems, corresponding representations for non-periodic boundary conditions remain underexplored. We introduce the superfast cosine and sine transforms (SFCT and SFST), extending the TT spectral framework to homogeneous Neumann and Dirichlet boundary conditions, respectively. Building on a quantum-circuit construction of the discrete cosine and sine transforms, we derive both transforms from a shared TT operator representation and prove that their TT ranks are bounded by 6rS6r_S, independently of the discretization order, where rSr_S is the rank of the SFFT at the prescribed accuracy. The measured ranks plateau near 32 for grid sizes up to 2262^{26} points. For Rayleigh-Bénard convection, spectral pressure projection achieves up to a 7-fold speedup in the Poisson solve relative to a preconditioned physical-space TT solver while maintaining comparable accuracy. Three-dimensional computational homogenization achieves a 2-6-fold speedup and a 4-7-fold reduction in memory consumption compared with the existing TT-based approach. The results establish an efficient TT framework for spectral PDE solvers with non-periodic boundary conditions.

Introduction

Partial differential equations (PDEs) model a wide range of physical phenomena, including fluid flow, heat transport, and the response of heterogeneous materials. Their numerical solution on fine grids can require substantial memory and computing time. Tensor-Train (TT) methods approximate the discretized solution by a chain of small tensors [1, 2]. The dimensions connecting these tensors, called TT ranks, determine the storage cost and the attainable approximation accuracy. Calculations can be carried out on the compressed representation, with potential savings when the ranks remain moderate. TT methods have proven beneficial in a wide range of high-resolution applications, including fluid dynamics [3, 4], kinetic plasma dynamics [5], simulations of the Gross–Pitaevskii equation [6, 7], structural mechanics problems [8, 9] and computational homogenization [10, 11, 12, 13].

For grid dimensions of the form 2n2^n with n∈Nn \in\mathbb{N}, TT representations provide a link between tensor-based numerical methods and quantum computing (see [14] for a review). This connection can be exploited in both directions: tensor networks have been used to construct quantum circuits for differential equations [15] and hybrid algorithms for nonlinear flow problems [16], while quantum-circuit constructions can, conversely, be used to derive low-rank TT representations. For the quantum Fourier transform (QFT), such a low-rank representation has been established in the form of the Superfast Fourier Transform (SFFT) [17, 18]. The SFFT applies the transform directly to fields in compressed TT form, avoiding the reconstruction of the full grid vector. Its computational efficiency depends on the intermediate TT ranks. For periodic problems, this approach enables direct Fourier-space operations within a TT solver [11].

While the SFFT provides an efficient approach for periodic problems, practical applications also involve non-periodic boundary conditions, such as Dirichlet and Neumann conditions, or combinations thereof. Spectral methods offer a natural way to accommodate these conditions through basis functions adapted to the underlying boundary-value problem. For suitable operators on uniform Cartesian grids, discrete cosine and sine transforms diagonalize the corresponding finite-difference operators for homogeneous Neumann and Dirichlet conditions, respectively. This allows the discrete equations to be solved in spectral space, although the appropriate transform depends on the grid arrangement and boundary discretization [19]. Such operators arise, for example, in pressure-correction equations for wall-bounded incompressible flow [20] and in computational homogenization with prescribed displacement or traction boundary conditions [21, 22].

TT methods for non-periodic boundary-value problems include finite-element solvers [23, 24] and explicit representations of the one-dimensional discrete inverse Laplacian [25]. For thermal homogenization, Risthaus and Schneider [13] compared a solver based on conventional sine and cosine transforms with one based on a QTT approximation of the Green’s operator. However, a direct TT representation of the spectral transforms themselves has not yet been established. To address this gap, we adapt the quantum-circuit construction of [26] and derive the type-II superfast cosine and sine transforms (SFCT and SFST) from a shared QFT-based TT operator. We prove that their ranks are bounded by 6rS6r_S, where rSr_S is the SFFT rank, independently of the grid size. We evaluate their numerical accuracy, ranks, storage requirements, and runtime for sizes up to 2262^{26} grid points. Finally, we demonstrate the applicability of the transforms to two relevant problems in computational mechanics. For Rayleigh–Bénard convection, we compare a mixed Fourier–cosine pressure solver with a preconditioned physical-space TT solve. In three-dimensional computational homogenization, we apply the spectral transforms to problems with mixed, periodicity-compatible uniform boundary conditions.

The remainder of this paper is organized as follows. § 1.1 summarizes the basics of the TT format. In § 2, we develop the SFCT and SFST and use their quantum-circuit construction to establish the expressivity theorem. We then evaluate their accuracy and computational cost numerically. § 3 and § 4 present two complementary applications in computational mechanics: Rayleigh–Bénard convection and computational homogenization. Finally, § 5 summarizes the main developments and findings of this work.

Tensor-Train Format

In this work, we employ the tensor train (TT) format to represent a tensor TT of order nn as a chain of interconnected third-order tensors, referred to as TT cores. The decomposition of TT is given by [1]

T(i1,…,in)=∑αA1α0α1(i1)⋯Anαn−1αn(in)(1)T(i_1,\ldots,i_n)=\sum_{\alpha} A_1^{\alpha_0\alpha_1}(i_1)\cdots A_n^{\alpha_{n-1}\alpha_n}(i_n) \tag*{(1)}
=A1(i1)⋯An(in).(2)=A_1(i_1)\cdots A_n(i_n). \tag*{(2)}

where AkA_k denotes the kk-th TT core with physical dimension dd and shape (rk−1×d×rk)(r_{k-1}\times d\times r_k). The tuple α=(α0,…,αk,…,αn)\boldsymbol{\alpha}=(\alpha_0,\ldots,\alpha_k,\ldots,\alpha_n) collects the virtual indices. The corresponding TT ranks rkr_k determine the expressive capacity of the representation and, consequently, its computational cost. The boundary ranks are conventionally fixed to the trivial dimension r0=rn=1r_0=r_n=1 to obtain a closed representation.

For an nn-th order tensor with uniform physical dimension dd, direct storage requires O(dn)O(d^n) elements, whereas the TT representation requires only O(ndr2)O(ndr^2) parameters, provided the TT ranks are bounded by rr. Thus, for sufficiently low ranks, the representation reduces the storage requirement from exponential to linear in the tensor order nn. This low-rank structure also enables efficient manipulation of high-dimensional tensors without explicitly forming the full tensor [27, 28], potentially leading to significant runtime improvements in the process.

To apply the TT format to spatially discretized fields, such as those considered throughout this work, we first reshape their sampled values into high-order tensors by expressing the grid indices in binary form. For a uniform grid with 2n2^n points on [0,1)[0,1), each coordinate can be expressed through

x(i1,…,in)=∑m=1nim2−m,im∈{0,1}.(3)x(i_1,\ldots,i_n)=\sum_{m=1}^{n}i_m2^{-m},\qquad i_m\in\{0,1\}. \tag*{(3)}

Each grid point is therefore identified by a binary string (i1,…,in)∈{0,1}n(i_1,\ldots,i_n)\in\{0,1\}^n. Generalizing this idea to a three-dimensional field sampled on a tensor-product grid results in an order-3n3n tensor. Thus, defining the tuples i=(i1,…,in)\boldsymbol{i}=(i_1,\ldots,i_n) and analogously j\boldsymbol{j} and k\boldsymbol{k}, we define the high-order tensor

F(i,j,k):=f(x(i),y(j),z(k)).F(\boldsymbol{i},\boldsymbol{j},\boldsymbol{k}):=f(x(\boldsymbol{i}),y(\boldsymbol{j}),z(\boldsymbol{k})).

Since this procedure is solely a bookkeeping operation, it introduces no additional approximation to the sampled field. The resulting high-order tensor can be transferred into TT format by employing the TT-SVD algorithm [1], yielding the quantized tensor-train (QTT) representation, with physical dimension d=2d=2. This representation is mathematically analogous to the tensor-product structure of a quantum many-body system, where each binary mode corresponds to a single qubit with a two-dimensional Hilbert space [29]. This analogy will be explored in subsequent sections.

Scalar multiplication, addition, element-wise multiplication, and the application of linear operators can be performed directly in TT format. Scalar multiplication leaves the ranks unchanged, whereas addition, element-wise multiplication, and operator application can increase the TT ranks, potentially leading to an increasingly costly representation as successive operations are performed. However, TT rounding reduces these ranks while controlling the relative Frobenius error ϵTT\epsilon_{\mathrm{TT}} [1]. Alternatively, the TT ranks can be truncated to a prescribed maximum value, providing direct control over the representation complexity at the expense of potentially larger approximation errors.

For the application of a general linear map, the operator itself must also be represented in a suitable tensor format. A tensor-train operator (TTO) represents the linear map in TT form and can be applied to a TT tensor through local contractions between the corresponding operator and tensor cores. In analogy to the TT representation, each TTO core contains two physical indices, corresponding to the input and output spaces. Therefore, a TTO is written as

T(i1,j1,…,in,jn)=G1(i1,j1)⋯Gn(in,jn).(4)\mathcal{T}(i_1,j_1,\ldots,i_n,j_n)=\mathcal{G}_1(i_1,j_1)\cdots\mathcal{G}_n(i_n,j_n). \tag*{(4)}

where Gk\mathcal{G}_k denotes the kk-th TTO core. For the square operators considered here, each TTO core has dimensions (ρk−1×d×d×ρk)(\rho_{k-1}\times d\times d\times\rho_k), where ρk\rho_k denotes the operator rank and ρ0=ρn=1\rho_0=\rho_n=1. The indices iki_k and jkj_k correspond to the output and input, respectively. Applying a TTO to a TT contracts each input index jkj_k with the corresponding physical index of the TT. Before compression, the resulting representation has bond dimensions ρkrk\rho_kr_k.

Another central operation is the Hadamard product ⊙\odot, which refers to the pointwise multiplication of discretized fields. Such operations arise, for example, in the evaluation of nonlinear terms and the application of diagonal operators in spectral space, and can constitute a major computational bottleneck in TT-based solvers. For two fields xx and yy in TT format, the Hadamard product can be written as x⊙y=diag⁡(y)xx \odot y = \operatorname{diag}(y)x. If AkA_k is the kk-th TT core of yy, the corresponding core of diag⁡(y)\operatorname{diag}(y) is defined as

Gk(ik,jk)=Ak(ik)δikjk.(5)\mathcal{G}_k(i_k,j_k) = A_k(i_k)\delta_{i_kj_k}. \tag*{(5)}

Applying the diagonal TTO to xx is a standard TTO–TT contraction. If both input TTs have rank rr, the product ranks can reach r2r^2. Reducing these ranks using standard TT rounding costs O(nr6)O(nr^6).

Variational compression (VAR) instead fits an output TT zz without forming the rank-r2r^2 intermediate. This fit can be computed via alternating least squares (ALS) [30], which minimizes ∥z−diag⁡(y)x∥F2\lVert z-\operatorname{diag}(y)x\rVert_F^2 over one core of zz at a time. For comparable input and output ranks, each sweep costs O(nr4)O(nr^4) [31]. Rank-adaptive alternatives include the two-site modified alternating least squares (MALS) method [30], which updates two neighboring cores together, and the alternating minimal energy method (AMEn) [32], which enriches the local basis using residual information.

Algorithms for the Hadamard product that can achieve cubic scaling in the TT rank include tensor train multiplication (TTM) [31], alternating cross interpolation (ACI) [33], and recursive sketched interpolation (RSI) [34]. In § 3, we test RSI as an alternative to VAR for the Hadamard product within the spectral Poisson solver.

Boundary-Adapted Spectral Transforms in TT Format

In this section, we develop TT representations of boundary-adapted spectral transforms, connecting classical spectral methods with quantum-circuit constructions and their classical tensor-network representations. We focus on the type-II discrete cosine and sine transforms (DCT-II and DST-II), which are relevant to the boundary conditions considered in this work. The construction can be extended analogously to other types of cosine and sine transforms. Starting from the classical construction of these transforms, we derive a unitary quantum formulation and exploit its circuit structure to establish an upper bound on the TT ranks of the resulting transform operators. This analysis provides the foundation for the Superfast Cosine and Sine Transforms introduced in the subsequent sections.

Classical Spectral Methods

To illustrate the construction of spectral methods for boundary value problems, we briefly review Fourier-type transforms for solving elliptic partial differential equations on bounded domains. As a simple example, we consider the one-dimensional Poisson problem to establish the fundamental concepts underlying the subsequent formulations. Let Ω=(0,L)⊂R\Omega=(0,L)\subset\mathbb{R} and consider the problem

−d2u(x)dx2=f(x),∀x∈Ω,(6)-\frac{\mathrm{d}^2u(x)}{\mathrm{d}x^2}=f(x),\qquad\forall x\in\Omega, \tag*{(6)}

subject to homogeneous Neumann boundary conditions

du(x)dx∣x=0=du(x)dx∣x=L=0.\left.\frac{\mathrm{d}u(x)}{\mathrm{d}x}\right|_{x=0}=\left.\frac{\mathrm{d}u(x)}{\mathrm{d}x}\right|_{x=L}=0.

In general, the continuous problem is reformulated in a discretized setting to obtain a computationally tractable formulation. Therefore, the domain Ω\Omega will be represented using a cell-centered grid

xm=(m+12)h,h=LN,x_m=\left(m+\frac{1}{2}\right)h,\qquad h=\frac{L}{N},

with m=0,…,N−1m=0,\ldots,N-1. For consistency with the subsequent sections, we assume that the number of grid points is a power of two, N=2nN=2^n, with n∈Nn\in\mathbb{N}. The continuous functions in Eq. (6) are sampled at the grid points, yielding the discrete values um=u(xm)u_m=u(x_m) and fm=f(xm)f_m=f(x_m) for the field and source terms, respectively. We then construct the even extension of uu as

u~=[u0,u1,…,uN−1,uN−1,…,u1,u0]T.\widetilde{u}=[u_0,u_1,\ldots,u_{N-1},u_{N-1},\ldots,u_1,u_0]^{T}.

which contains 2N2N entries and is indexed similarly by m=0,…,2N−1m=0,\ldots,2N-1. An analogous even extension is constructed for ff.

The discrete Fourier transform (DFT) can then be applied to these extended vectors, yielding

u~m=12N∑k=02N−1u^keiπmkN,(7)\widetilde{u}_m=\frac{1}{\sqrt{2N}}\sum_{k=0}^{2N-1}\widehat{u}_k e^{i\pi\frac{mk}{N}}, \tag*{(7)}
f~m=12N∑k=02N−1f^keiπmkN,(8)\widetilde{f}_m=\frac{1}{\sqrt{2N}}\sum_{k=0}^{2N-1}\widehat{f}_k e^{i\pi\frac{mk}{N}}, \tag*{(8)}

with the Fourier coefficients u^k\widehat{u}_k and f^k\widehat{f}_k, respectively. Additionally, the component wise Poisson equation (6) can be written through

(Lu)m=um+1−2um+um−1h2=−fm.(9)(\mathcal{L}u)_m=\frac{u_{m+1}-2u_m+u_{m-1}}{h^2}=-f_m. \tag*{(9)}

To close the above finite difference operation at the boundary points, we introduce two ghost points through the discrete Neumann conditions u−1=u0u_{-1}=u_0 and uN=uN−1u_N=u_{N-1}. Substituting the transformations (7) and (8) into the component-wise discretized Poisson equation (9) yields an alternative representation of the original problem in Fourier space

∑k=02N−1eiπkmN[u^kh2(eiπkN+e−iπkN−2)+f^k]=0.(10)\sum_{k=0}^{2N-1}e^{i\pi\frac{km}{N}}\left[\frac{\widehat{u}_k}{h^2}\left(e^{i\pi\frac{k}{N}}+e^{-i\pi\frac{k}{N}}-2\right)+\widehat{f}_k\right]=0. \tag*{(10)}

The differential equation we started with is thus transformed into an algebraic equation in Fourier space. Owing to the orthogonality of the Fourier modes, the above expression further reduces to the component-wise equation

ξk2u^k=f^k.\xi_k^2\widehat{u}_k=\widehat{f}_k.

with ξk=2Nsin⁡[πk/(2N)]/L\xi_k = 2N \sin[\pi k/(2N)]/L for k∈{1,…,2N−1}k \in\{1,\ldots,2N-1\}. Since ξ0=0\xi_0 = 0, the zero mode k=0k = 0 imposes the solvability condition that discrete source has zero mean

f^0=12N∑m=02N−1f~m=0.(11)\hat{f}_0 = \frac{1}{\sqrt{2N}}\sum_{m=0}^{2N-1}\tilde{f}_m = 0. \tag*{(11)}

Moreover, the zero mode implies that the solution uu is not unique, since its mean component remains undetermined. In particular, if uu is a solution, then so is u→u+Cu \to u + C for any constant CC.

The even extension allows the Poisson problem to be solved using the DFT, but doubles the number of grid points from NN to 2N2N without adding new information. The discrete cosine transform avoids this redundancy by incorporating the even symmetry directly into the transform, allowing the original NN-point problem to be solved without explicitly constructing the extended signal.

To see how this is achieved, let us consider the Fourier transform of the even extension u~\tilde{u}

u^k=12N∑m=02N−1u~me−iπkm/N=12N∑m=0N−1[u~me−iπkm/N+u~2N−1−me−iπk(2N−1−m)/N]=eiπk/(2N)2N∑m=0N−1[u~me−iπk(2m+1)/(2N)+u~2N−1−meiπk(2m+1)/(2N)].\begin{aligned} \hat{u}_k &= \frac{1}{\sqrt{2N}}\sum_{m=0}^{2N-1}\tilde{u}_m e^{-i\pi km/N}\\ &= \frac{1}{\sqrt{2N}}\sum_{m=0}^{N-1}\left[\tilde{u}_m e^{-i\pi km/N}+\tilde{u}_{2N-1-m}e^{-i\pi k(2N-1-m)/N}\right]\\ &= \frac{e^{i\pi k/(2N)}}{\sqrt{2N}}\sum_{m=0}^{N-1}\left[\tilde{u}_m e^{-i\pi k(2m+1)/(2N)}+\tilde{u}_{2N-1-m}e^{i\pi k(2m+1)/(2N)}\right]. \end{aligned}

Due to the even extension, the symmetry condition u~m=u~2N−1−m≡um\tilde{u}_m = \tilde{u}_{2N-1-m} \equiv u_m is fulfilled. Therefore we are able to simplify the above relation to

u^k=2Neiπk/(2N)∑m=0N−1umcos⁡[πkN(m+12)]≡eiπk/(2N)bk−1CNII[u]k,\begin{aligned} \hat{u}_k &= \sqrt{\frac{2}{N}}e^{i\pi k/(2N)}\sum_{m=0}^{N-1}u_m\cos\left[\frac{\pi k}{N}\left(m+\frac{1}{2}\right)\right]\\ &\equiv e^{i\pi k/(2N)}b_k^{-1}C_N^{\mathrm{II}}[u]_k, \end{aligned}

with the orthonormalization factor bk=1b_k = 1 for k≠0k \ne0 and b0=1/2b_0 = 1/\sqrt{2}.

The above expression connects the original NN-point vector uu with its components in Fourier space via the orthonormal DCT-II transform CNIIC_N^{\mathrm{II}}. Therefore, we can solve the one-dimensional Poisson problem with Neumann conditions without explicit even extension.

Similar derivations can be performed for different discretization schemes, leading to the different DCT types, as well as for Dirichlet boundary conditions, leading to the discrete sine transform (DST) [19, 35]. More complex inhomogeneous Dirichlet boundary conditions can be incorporated via a lifting function g(x)g(x) satisfying the prescribed boundary values. Writing u=v+gu = v + g yields a homogeneous problem for vv with a modified right-hand side. Neumann and mixed boundary conditions can be treated analogously by choosing appropriate symmetric or antisymmetric extensions, leading to cosine- or mixed-sine spectral bases [36].

Quantum Spectral Methods

Quantum Spectral Methods build on variants of the Quantum Fourier Transform (QFT) adapted to different boundary conditions. While periodic boundary conditions are treated using algorithms based directly on the QFT, Dirichlet and Neumann boundary conditions are naturally associated with the Quantum Sine Transform (QST) and Quantum Cosine Transform (QCT), respectively.

The quantum circuit implementation of the QFT is shown in Figure 1 (a), where the nn-qubit QFT is represented through a product

Quantum circuit for $n=4$ qubits: (a) the QFT, (b) the QCST, and (c) extraction of either the SFCT or SFST

Figure 1. Quantum circuit for n=4n=4 qubits: (a) the QFT and (b) the QCST. (c) Extraction of either the SFCT or SFST from their shared TTO representation. Selecting either SFCT or SFST is achieved by fixing the boundary cores to trivial 0− or 1−vectors. This procedure generally produces a skewed TTO representation, which is subsequently restored to standard canonical TTO form via a reshaping step. The circuits in (a) and (b) are based on the constructions presented in [37] and [26], with modifications described in the text.

QFTn=RnQn(12)QFT_n = R_n Q_n \tag*{(12)}

of the pure transformation QnQ_n, and a reordering operation RnR_n [37]. While the pure transformation depends solely on elementary gates, such as the Hadamard HH and the phase gate P(θ)P(\theta), the reordering operation depends on multiple SWAP gates. These rely heavily on CNOT gates, which remain a comparatively challenging component even in the quantum setting [38]. Moreover, the reordering is not necessarily needed for the actual transform but rather is introduced in the literature to match the ordering conventions used in classical DFT methods. In contrast to its classical counterpart, which exhibits an exponential time-complexity in the number of qubits, requiring O(n2n)\mathcal{O}(n2^n) operations, the QFT achieves a quadratic time complexity of O(n2)\mathcal{O}(n^2) [37, 39].

Classically, the DCT and DST can be derived from the DFT using even and odd extensions of the input data, respectively. However, simply discarding redundant Fourier coefficients is not a unitary operation and therefore cannot be directly implemented on a quantum computer. A suitable quantum circuit must implement the desired transform while preserving unitarity.

This obstacle can be avoided by embedding the sine and cosine transforms into a single unitary framework rather than treating them as independent reductions of the Fourier transform. Specifically, one can decompose the Fourier transform F2NF_{2N} into two symmetry-adapted components acting on complementary subspaces

UN†F2NVN=CNII⊕(−i)SNII,(13)U_N^\dagger F_{2N} V_N = C_N^{\mathrm{II}} \oplus(-i)S_N^{\mathrm{II}}, \tag*{(13)}

where CNIIC_N^{\mathrm{II}} and SNIIS_N^{\mathrm{II}} denote the discrete cosine and sine transforms of type II, respectively [35]. Similar decompositions can be derived for other types of discrete cosine and sine transforms. This identity defines a unitary mapping on the full Hilbert space of dimension 2N=2n+12N = 2^{n+1}. It therefore admits a natural quantum generalization by replacing the classical FFT with the QFT and constructing quantum circuits for the auxiliary basis transformations UNU_N and VNV_N [26]. The full quantum circuit implementing the combined Quantum Cosine-Sine Transform (QCST), analog to Eq. (13), is shown in Figure 1(b). We emphasize that the circuit is formulated exclusively in terms of the reduced transform QnQ_n, cf. Eq. (12). While this restriction is not strictly necessary for the quantum implementation, it is crucial for obtaining an efficient classical tensor train representation. The full circuit representation employs a set of non-standard gates defined as

B=12(1i1−i)J=12(1−i−i1)B = \frac{1}{\sqrt{2}}\begin{pmatrix}1 & i \\ 1 & -i\end{pmatrix} \qquad J = \frac{1}{\sqrt{2}}\begin{pmatrix}1 & -i \\ -i & 1\end{pmatrix}

as well as Kj=diag⁡(ω2j−1,1)K_j = \operatorname{diag}(\omega^{2^{j-1}},1), Lj=diag⁡(1,ω2j−1)L_j = \operatorname{diag}(1,\omega^{2^{j-1}}) and C=diag⁡(1,ω)C=\operatorname{diag}(1,\omega) where ω=exp⁡[2πi/(4N)]\omega=\exp\left[2\pi i/(4N)\right]. In addition, the construction makes use of the bit-reversed inverse permutation gate

P~n−1=RinvPn−1Rinv\widetilde{P}_n^{-1}=R_{\mathrm{inv}}P_n^{-1}R_{\mathrm{inv}}
Pn−1:∣x⟩↦∣(x−1) mod 2n⟩,P_n^{-1}:|x\rangle\mapsto|(x-1)\bmod2^n\rangle,

with x∈{0,…,2n−1}x\in\{0,\ldots,2^n-1\}. The operator RinvR_{\mathrm{inv}} constitutes the bit reversal operation Rinv∣b1b2⋯bn⟩=∣bn⋯b2b1⟩R_{\mathrm{inv}}|b_1b_2\cdots b_n\rangle=|b_n\cdots b_2b_1\rangle. The original permutation gate PnP_n is a well-known construction consisting solely of multi-controlled NOT gates [40].

Quantum-Inspired Spectral Methods

Having established a full quantum circuit representation of the QCST, we now address its classical simulability. In particular, we ask how the complexity of this transformation scales in a classical TT representation. It is well known that the reduced QFT QnQ_n, which forms the backbone of the QCST construction, admits an efficient classical representation in TT format known as the Superfast Fourier Transform (SFFT) [17, 18]. This suggests that similar properties are inherited by the QCST structure as well. This leads to one of the central results of this work:

Theorem 1 (Expressivity Theorem). The quantum circuit implementing the QCST admits a TT representation with maximal TT rank r^\hat{r} bounded by

r^≤12rS,\hat{r}\le12r_S,

where rSr_S denotes the TT rank of the SFFT associated with a relative accuracy εTT\varepsilon_{\mathrm{TT}}. If the circuit is restricted to implement either the quantum version of the DCT or the DST individually, the corresponding TT rank satisfies the tighter bound

r^≤6rS.\hat{r}\le6r_S.

The proof takes the operator Schmidt decomposition of the circuit in Figure 1(b) across every qubit bipartition, left and right of the reduced QFT QnQ_n. The initial Hadamard–CNOT block has Schmidt rank two. To the right of QnQ_n, the controlled K/LK/L block reduces to a product operator of rank one, while the two controlled permutations have rank three and the CNOT-BB-JJ block has rank four. Because these components share operator factors, the assembled right-hand block does not reach the naive product of these ranks but has Schmidt rank exactly six, which drops to three once the output index of the last qubit is fixed. Combining the leading factor of two with the rank rSr_S of QnQ_n, which is determined by the prescribed operator accuracy εTT\varepsilon_{\mathrm{TT}}, yields the bounds r^≤2⋅6rS\hat{r}\le2\cdot6r_S and r^≤2⋅3rS\hat{r}\le2\cdot3r_S, respectively. A detailed proof of Theorem 1 can be found in Appendix A. Following the naming convention used for the SFFT, we refer to the TTO representations of the QCT and QST as the Superfast Cosine Transform (SFCT) and Superfast Sine Transform (SFST), respectively.

The tighter bound applies directly to the SFCT and SFST: both are obtained from the QCST by fixing the boundary physical indices, see Figure 1(c). Since fixing an index cannot increase a bond dimension, the ranks of the transforms are bounded by those of the QCST. Reshaping the resulting tensors into standard TTO form (step 2) may introduce an additional rank increase, but the observed ranks remain well below 6rS6r_S, as shown in § 2.4. The ranks required to achieve a prescribed accuracy εTT\varepsilon_{\mathrm{TT}} for the SFFT saturate as the discretization is refined. The rank bounds derived above therefore imply the same saturation behavior for the QCST and, consequently, for the SFCT and SFST. The question remains under which conditions the TTO version is preferred over the classical transforms.

Before proceeding with the analysis, we convert the quantum circuit into a TTO representation using the so-called Zip-Up algorithm, which constructs the operator sequentially, one slice at a time [41]. The resulting slices are successively contracted and compressed to obtain a single TTO representing the full transformation.

Importantly, within the TN framework the unitarity constraint is no longer required. This allows us to construct separate TTO representations for the cosine and sine transforms from the full QCST operator without discarding information explicitly. To this end, we exploit the block-diagonal structure of the decomposition in Eq. (13). The DCT and DST components can be extracted by fixing the boundary physical indices of the TTO. Concretely, we project the input index of the first core and the output index of the last core onto basis states ∣0⟩\lvert0\rangle or ∣1⟩\lvert1\rangle, see Figure 1(c). This selection reflects the structure of the underlying operator: the input index of the first core determines whether the upper or lower block of the matrix representation in Eq. (13) is selected, while the output index of the last core distinguishes between the left and right blocks. The latter arises from the adopted momentum-space convention, which reverses the ordering of the cores. Consequently, the first core encodes both the most significant input bit and the least significant output bit.

Performing the resulting contractions yields a TTO in a slightly distorted form, where the boundary cores carry either a single input or a single output index, see Figure 1(c), step 1. To restore the standard TTO structure, we apply a sequence of contractions and reshaping operations. First, the uppermost core is contracted with its neighboring core and reshaped to expose one input and two output indices. The resulting tensor is contracted with the next core and reshaped again, effectively transferring the output index to the next core. This is followed by a SVD, which splits the compound tensor back into two cores: the first regains the standard TTO structure, while the second temporarily carries two output indices. Repeating this procedure moves the output indices one core at a time along the chain until the final core is reached. In this process, the output indices are propagated along the chain, while the first core, having lost its outer indices, is absorbed into its neighboring core. This restores the regular TTO form, as illustrated in Figure 1(c), step 2.

Validation

Before incorporating the superfast spectral transform into practical applications, we first assess the performance of the SFCT by comparing it with the classical DCT for a range of representative input signals. Specifically, we investigate its accuracy, computational cost, and TTO rank growth as functions of the discretization order, characterized by the number of qubits nn.

To probe different spectral characteristics, we consider the following classes of inputs: (i) smooth periodic signals, (ii) high-frequency oscillatory signals, (iii) discontinuous signals, (iv) localized Gaussian profiles, and (v) i.i.d. Gaussian white noise samples. These test cases span a range of regularity and spectral localization properties, which are known to strongly influence TT compressibility. The explicit definitions are provided in Appendix B. All experiments are conducted on a one-dimensional uniform grids of size N=2nN = 2^n, with nn ranging from 2 to 26. The classical reference solutions are computed using the orthonormal type-II DCT. However, since the computational cost of the DCT-II does not depend on the specific input, only one representative run is reported. The TT-based computations employ an error-controlled truncation scheme with tolerance εTT=10−8\varepsilon_{\mathrm{TT}} = 10^{-8}. Consequently, the error between the reference solution and the TT approximation remains on the order of the prescribed tolerance and is therefore not shown in a separate plot. No explicit rank constraints are imposed, allowing the TT ranks to adapt dynamically.

Figure 2(a) shows the runtime comparison between the classical DCT and the SFCT. While the classical implementation exhibits the expected O(Nlog⁡N)O(N \log N) scaling [42], the TT-based method shows favorable scaling behavior for all structured input types. In contrast, the unstructured white noise input does not exhibit compression and follows a scaling comparable to the classical method, up to a constant prefactor. For structured inputs, all TT-based runs exhibit a crossover with the classical method at approximately n∈[19,21]n \in[19, 21]. Beyond this regime, the SFCT becomes increasingly efficient, with runtime improvements of several orders of magnitude.

Runtime, rank, and memory comparisons for the SFCT

Figure 2. (a) Runtime comparison of the classical DCT and the SFCT for different input classes as a function of the discretization order nn; (b) TTO rank evolution of the SFCT; (c) Memory of the SFCT operator compared with the signal vector required by the classical FFT-based DCT (dashed) and, for reference, the dense DCT matrix (dotted).

The evolution of the maximal TT rank of the SFCT representation is shown in Figure 2(b). After an initial growth phase for small nn, the ranks stabilize at a plateau value of approximately 32. This behavior is consistent with Theorem 1, under the assumption that the underlying reduced QFT operator saturates at a fixed rank (rS=8r_S = 8 for the chosen accuracy).

Finally, Figure 2(c) compares the memory required by the SFCT operator with that of the classical DCT. Since the classical transform is evaluated via the FFT without forming the transform matrix, its memory is dominated by the signal vector and grows as O(N)=O(2n)O(N) = O(2^n), while the dense 2n×2n2^n \times2^n transform matrix is shown for reference only. Once the TT rank plateau is reached, the memory of the SFCT grows only linearly in nn. The two curves cross between n=15n = 15 and n=16n = 16, and at n=26n = 26 the SFCT operator requires 0.67 MB compared with 540 MB for the signal vector, a reduction by a factor of about 800.

Overall, these results demonstrate that the SFCT provides an efficient and accurate representation of spectral transforms for inputs that admit a compact TT representation, particularly in the high-resolution regime of large nn. The corresponding results for the DST-II and the SFST are given in Appendix C.

Application I: Quantum-Inspired CFD

TT methods have been used to simulate incompressible flows in periodic [3, 43, 44] and wall-bounded domains [4, 45, 46]. Several of these methods solve the Poisson equation for pressure or streamfunction in physical space. For the two-dimensional Rayleigh–Bénard benchmark of Ref. [47], we compare two spectral TT pressure solvers with a preconditioned physical-space TT solver. In this problem, a fluid layer is heated from below and cooled from above [48]. The horizontal direction is periodic, and at the plates we impose no-slip conditions on the velocity and homogeneous Neumann conditions in the pressure projection [20, 49]. The discrete pressure operator is diagonalized by a Fourier transform in the horizontal direction and the DCT-II in the wall-normal direction (§ 2).

Following Ref. [47], we use the Oberbeck–Boussinesq approximation and scale lengths by the plate separation LL, temperatures by their difference Δ\Delta, and velocities by Uff=gβΔLU_{\rm ff} = \sqrt{g\beta\Delta L}, where gg is the gravitational acceleration and β\beta the thermal expansion coefficient. Time is measured in units of t0=L/Ufft_0 = L/U_{\rm ff}. The Rayleigh and Prandtl numbers are Ra=gβΔL3/(νκ)Ra = g\beta\Delta L^3/(\nu\kappa) and Pr=ν/κPr = \nu/\kappa, with kinematic viscosity ν\nu and thermal diffusivity κ\kappa. The governing equations are

∂tui+uj∂jui=−∂ip+PrRa∂j∂jui−θδiy,(14)\partial_t u_i + u_j\partial_j u_i = -\partial_i p + \sqrt{\frac{Pr}{Ra}}\partial_j\partial_j u_i - \theta\delta_{iy}, \tag*{(14)}
∂tθ+uj∂jθ=1Ra Pr∂j∂jθ,(15)\partial_t\theta+ u_j\partial_j\theta= \frac{1}{\sqrt{Ra\,Pr}}\partial_j\partial_j\theta, \tag*{(15)}
∂juj=0.(16)\partial_j u_j = 0. \tag*{(16)}

Here ux=uu_x = u and uy=vu_y = v, repeated indices i,j∈{x,y}i,j \in\{x,y\} are summed, and δiy\delta_{iy} is the Kronecker delta. The coordinate yy increases downward, as in Ref. [47]. The pressure pp is scaled by the reference density times Uff2U_{\rm ff}^{2}, and θ\theta denotes temperature relative to the plate-mean temperature. We use Ra=108Ra = 10^8 and Pr=1Pr = 1 in a domain of width 2L2L. At the plates y=±1/2y = \pm1/2 in scaled coordinates, u=v=0u = v = 0 and θ=±1/2\theta= \pm1/2. The figures use height above the lower plate, z/L=1/2−yz/L = 1/2-y, and upward velocity w=−vw=-v.

We use the uniform staggered grid, second-order finite differences, and two-stage implicit–explicit Runge–Kutta (IMEX-RK2) scheme described in Ref. [47]. The discretization orders are nx=9n_x = 9 and ny=8n_y = 8, giving Nx=2nx=512N_x = 2^{n_x} = 512 and Ny=2ny=256N_y = 2^{n_y} = 256 grid points, and Δt/t0=1/512\Delta t/t_0 = 1/512. Let DhD_h and ∇h\nabla_h denote the staggered-grid divergence and gradient. Each pressure projection solves

Dh∇hp=Dhu∗Δtp,(17)D_h\nabla_h p = \frac{D_h u^*}{\Delta t_p}, \tag*{(17)}

where u∗u^* is the intermediate velocity and Δtp\Delta t_p is Δt/2\Delta t/2 in the first stage and Δt\Delta t in the second. The velocity correction is −Δtp∇hp-\Delta t_p\nabla_h p.

For the solver comparison, we prescribe a rank cap rr for velocity, temperature and pressure instead of a compression tolerance as in § 2.4. We apply the same cap when forming the pressure right-hand side (RHS). To assess storage efficiency, we use the ratio of stored TT coefficients to entries in the full-grid array for each field:

Srel=∑k=1nx+ny2rk−1rkNxNy.S_{\mathrm{rel}} = \frac{\sum_{k=1}^{n_x+n_y} 2r_{k-1}r_k}{N_xN_y}.

The three pressure solvers are as follows, where both spectral solvers use the SFFT in the horizontal direction but compute the wall-normal DCT-II differently:

  1. Preconditioned ALS. We solve the physical-space pressure equation with ALS [30], using a left preconditioner PP with maximum operator rank rPr_P [46]. The construction of PP and its use in the local linear systems are described in Appendix § 10.

  1. SFCT. The SFCT applies the DCT-II directly to the nyn_y wall-normal sites, without extending the field.

  1. Even extension + SFFT. The wall-normal DCT-II is evaluated through an even extension and the SFFT on ny+1n_y + 1 sites, followed by restriction and phase correction. The remaining pressure-solve operations are the same as in method 2.

The periodic–Neumann Laplacian has a constant null mode. We subtract the discrete mean of the RHS before solving, as required by Eq. (11). ALS fixes the pressure at one grid point. The spectral solvers set its mean to zero. For an exact solve with a compatible RHS, these gauges give the same pressure gradient. Writing bb for the RHS and hats for the mixed Fourier–cosine transform, the spectral solvers compute

p^=G⊙b^,Gkℓ={(λk(x)+λℓ(y))−1,(k,ℓ)≠(0,0),0,(k,ℓ)=(0,0).(18)\hat{p} = G \odot\hat{b}, \qquad G_{k\ell} = \begin{cases} \left(\lambda_k^{(x)} + \lambda_\ell^{(y)}\right)^{-1}, & (k,\ell) \ne(0,0), \\ 0, & (k,\ell) = (0,0). \end{cases} \tag*{(18)}

Here k=0,…,Nx−1k = 0, \ldots, N_x - 1 and ℓ=0,…,Ny−1\ell= 0, \ldots, N_y - 1, with (0,0)(0,0) the constant mode. For scaled grid spacings hx=2/Nxh_x = 2/N_x and hy=1/Nyh_y = 1/N_y, the eigenvalues are

λk(x)=−4hx2sin⁡2πkNx,λℓ(y)=−4hy2sin⁡2πℓ2Ny.\lambda_k^{(x)} = -\frac{4}{h_x^2}\sin^2\frac{\pi k}{N_x}, \qquad \lambda_\ell^{(y)} = -\frac{4}{h_y^2}\sin^2\frac{\pi\ell}{2N_y}.

The wall-normal eigenvalues have the cosine spectrum derived in § 2. For the SFCT, we approximate the inverse-spectrum product using VAR. For even extension + SFFT, we compare VAR with RSI [34] for the same product. We compare these three spectral configurations with preconditioned ALS. We construct the TT representation of GG using tensor cross interpolation (TCI) [50]. The spectral construction tolerance εspec\varepsilon_{\mathrm{spec}} controls GG, the eigenvalue vectors and phase factors. The inverse transform is followed by realification (Appendix § 11.1) and rounding to rr.

Starting from the same developed convective state, we compare trajectories through t/t0=2t/t_0 = 2. We run each of the three spectral configurations at r=50,100,150r = 50, 100, 150 and preconditioned ALS only at r=100r = 100. Separate short runs compare the computational cost of all four solver configurations at r=100r = 100.

For velocity and temperature, we use

eu=∥u−uref∥2∥uref∥2,eθ=∥θ−θref∥2∥θref∥2.(19)e_u = \frac{\lVert u-u_{\mathrm{ref}}\rVert_2}{\lVert u_{\mathrm{ref}}\rVert_2}, \qquad e_\theta= \frac{\lVert\theta-\theta_{\mathrm{ref}}\rVert_2}{\lVert\theta_{\mathrm{ref}}\rVert_2}. \tag*{(19)}

The velocity norm includes both components. The reference uses the same spatial and temporal discretization without TT compression. We evaluate heat transport and incompressibility using

Nuv(t)=1−Ra Pr ⟨vθ⟩V,Nu_{\mathit{v}}(t) = 1-\sqrt{Ra\,Pr}\,\langle v\theta\rangle_{\mathit{V}},
ddiv(t)=∥Dhu∥2NxNy.(20)d_{\mathrm{div}}(t) = \frac{\lVert D_h u\rVert_2}{\sqrt{N_xN_y}}. \tag*{(20)}

Here ⟨⋅⟩V\langle\cdot\rangle_{\mathit{V}} denotes the volume average. The minus sign follows from the downward velocity v=−wv=-w.

Figure 3 compares the reference and SFCT fields at t/t0=2t/t_0 = 2. The rank-100 TT fields have a relative storage requirement of Srel=0.736S_{\mathrm{rel}} = 0.736. All four rank-100 runs in Figure 4(a,Figure 4b) reproduce the reference heat transport with relative deviations below 1.1×10−51.1 \times10^{-5} over the sampled times.

Figure 3. Rayleigh–Bénard convection at t/t0=2t/t_0 = 2. (a) Full-grid reference and (b) SFCT solution at r=100r = 100, using VAR for the inverse-spectrum product. Parameters are Ra=108Ra = 10^8, Pr=1Pr = 1, nx=9n_x = 9 and ny=8n_y = 8 (512 × 256 grid points). Color shows temperature and line integral convolution (LIC) shows velocity orientation.

Figure 4. Heat transport, velocity divergence and field errors for the four pressure-solver configurations. Spectral constructions use εspec=10−10\varepsilon_{\mathrm{spec}} = 10^{-10}. (a) Volume Nusselt number and (b) its relative error at r=100r = 100. (c) Divergence RMS at the indicated ranks. (d) Relative velocity error and (e) relative temperature error at t/t0=2t/t_0 = 2. Preconditioned ALS is shown only at r=100r = 100.

Increasing the field rank reduces both the divergence and the field errors (Figure 4(c–Figure 4e)). The SFCT and even extension followed by the SFFT give similar errors at all three ranks. Their endpoint divergence RMS falls from about 3.1×10−23.1 \times10^{-2} at r=50r = 50 to 1.6×10−61.6 \times10^{-6} at r=150r = 150. At r=100r = 100, all four configurations give endpoint velocity and temperature errors of approximately 3.2×10−53.2 \times10^{-5} and 2.6×10−42.6 \times10^{-4}, with divergence RMS values of (3.74(3.74–3.84)×10−43.84) \times10^{-4}. At r=150r = 150, the spectral runs reduce the field errors to about 1.1×10−71.1 \times10^{-7} and 7.9×10−77.9 \times10^{-7}, respectively, roughly 300 times smaller than at r=100r = 100. The full-grid reference divergence remains below 8.5×10−158.5 \times10^{-15}. In the TT runs, divergence can remain even after an accurate pressure solve because we round the RHS and the updated velocity to rank rr. Changing VAR to RSI in the SFFT runs with even extension has comparatively little effect on the field errors.

Figure 5 compares pressure-solve and full-step times at r=100r = 100 for the four configurations. At step 10, all four give relative errors of approximately 7.7×10−77.7 \times10^{-7} in velocity and 6.2×10−66.2 \times10^{-6} in temperature. Relative to preconditioned ALS, the SFCT with VAR gives a 3.75-fold speedup for the pressure solve and a 1.48-fold speedup for the full step. For even extension followed by the SFFT, the corresponding speedups are 3.45 and 1.45 with VAR, and 7.30 and 1.62 with RSI. The momentum and temperature solves account for most of the remaining cost.

Figure 5. Time per step at r=100r = 100 for (a) both pressure projections combined and (b) the full step. SFFT denotes the even-extension runs. Bars show median times. Error bars span the three repetitions. Each label shows the median speedup over preconditioned ALS (Prec. ALS), calculated from matched runs. See Appendix § 11 for timing procedures and solver details.

Application II: Quantum-Inspired Homogenization

Given a composite material, Fourier-based homogenization [51, 52] determines its macroscopic mechanical response by solving a microscopic boundary value problem on a representative volume element (RVE) Ω=[0,L]D\Omega= [0,L]^D [53]. For a prescribed macroscopic strain E\mathbf{E}, the objective is to determine the effective stiffness tensor Ceff\mathbf{C}_{\mathrm{eff}}, relating the macroscopic stress and strain through

σeff=Ceff:E.\boldsymbol{\sigma}_{\mathrm{eff}} = \mathbf{C}_{\mathrm{eff}} : \mathbf{E}.

The RVE considered here consists of distinct material phases with piecewise-constant properties and sharp interfaces. The local constitutive response is described by

σ(x)=C(x):ε(x).(21)\boldsymbol{\sigma}(\mathbf{x}) = \mathbf{C}(\mathbf{x}) : \boldsymbol{\varepsilon}(\mathbf{x}). \tag*{(21)}

We first review the classical FFT-based homogenization scheme and its Tensor-Train extension before generalizing the latter to periodicity-compatible mixed uniform boundary conditions (PMUBC), which are particularly suitable for finite microstructural samples that are not intrinsically periodic. Their spectral treatment relies on the DCT-II and DST-II formulations introduced above.

Throughout this section, stress and strain tensors are represented in Voigt notation as vectors σ,ε∈Rnv\boldsymbol{\sigma}, \boldsymbol{\varepsilon} \in\mathbb{R}^{n_v}, with nv=3n_v = 3 in two dimensions and nv=6n_v = 6 in three dimensions. The stiffness tensor is correspondingly represented by a matrix C∈Rnv×nv\mathbf{C} \in\mathbb{R}^{n_v \times n_v} [52].

FFT-based Homogenization

On the periodic RVE Ω\Omega, the total displacement field is given by u(x)=Ex+u~(x)\mathbf{u}(\mathbf{x}) = \mathbf{E}\mathbf{x} + \tilde{\mathbf{u}}(\mathbf{x}), where Ex\mathbf{E}\mathbf{x} denotes the prescribed macroscopic part and u~(x)\tilde{\mathbf{u}}(\mathbf{x}) is a periodic fluctuation. The local strain field is obtained from the displacement field as

ε(x)=E+∇Su~(x),(22)\boldsymbol{\varepsilon}(\mathbf{x}) = \mathbf{E} + \nabla^{S}\tilde{\mathbf{u}}(\mathbf{x}), \tag*{(22)}

with ∇S\nabla^{S} denoting the symmetric part of the gradient. We further require the fluctuation to have a vanishing average gradient over the cell,

1∣Ω∣∫Ω∇u~(x) dx=0,\frac{1}{|\Omega|}\int_{\Omega}\nabla\tilde{\mathbf{u}}(\mathbf{x})\,\mathrm{d}\mathbf{x} = \mathbf{0},

which ensures that E\mathbf{E} equals the volume-averaged strain. Requiring the local stress field to satisfy equilibrium and introducing a homogeneous reference stiffness C0\mathbf{C}_0 together with the polarization field

τ(x)=[C(x)−C0]ε(x),\boldsymbol{\tau}(\mathbf{x}) = [\mathbf{C}(\mathbf{x}) - \mathbf{C}_0]\boldsymbol{\varepsilon}(\mathbf{x}),

the local equilibrium problem can be recast as the well-known Lippmann–Schwinger equation [51, 54]

ε(x)=E−{Γ0∗[(C−C0)ε]}(x).(23)\boldsymbol{\varepsilon}(\mathbf{x}) = \mathbf{E} - \left\{\Gamma_0 * [(\mathbf{C} - \mathbf{C}_0)\boldsymbol{\varepsilon}]\right\}(\mathbf{x}). \tag*{(23)}

The symbol Γ0\Gamma_0 denotes the Green–Eshelby operator associated with the homogeneous reference stiffness C0\mathbf{C}_0. This

Algorithm 1: FFT-based homogenization algorithm

Input: Macroscopic strain E\mathbf{E}, stiffness C\mathbf{C}, tolerance δtol\delta_{\mathrm{tol}}

Output: Local strain field ε\boldsymbol{\varepsilon}

ε(0)←E\boldsymbol{\varepsilon}^{(0)} \leftarrow\mathbf{E}

m←0m \leftarrow0

while not converged do

τ(m)←(C−C0)ε(m)\boldsymbol{\tau}^{(m)} \leftarrow(\mathbf{C} - \mathbf{C}_0)\boldsymbol{\varepsilon}^{(m)}

τ^(m)←F[τ(m)]\hat{\boldsymbol{\tau}}^{(m)} \leftarrow\mathcal{F}[\boldsymbol{\tau}^{(m)}]

ε^(m)←Γ^0τ^(m)\hat{\boldsymbol{\varepsilon}}^{(m)} \leftarrow\hat{\Gamma}_0\hat{\boldsymbol{\tau}}^{(m)}

ε(m+1)←E−F−1[ε^(m)]\boldsymbol{\varepsilon}^{(m+1)} \leftarrow\mathbf{E} - \mathcal{F}^{-1}[\hat{\boldsymbol{\varepsilon}}^{(m)}]

if ∥ε(m+1)−ε(m)∥F<δtol∥E∥F\lVert\boldsymbol{\varepsilon}^{(m+1)} - \boldsymbol{\varepsilon}^{(m)}\rVert_F < \delta_{\mathrm{tol}}\lVert\mathbf{E}\rVert_F then

break

end

m←m+1m \leftarrow m + 1

end

return ε(m)\boldsymbol{\varepsilon}^{(m)}

operator admits a closed-form representation in Fourier space [55], and, additionally, the convolution in the Lippmann–Schwinger equation reduces to a pointwise product in this representation. This enables efficient evaluation using the Fast Fourier Transform (FFT), denoted by F\mathcal{F}, resulting in the FFT-based homogenization algorithm 1. This algorithm evaluates Eq. (23) iteratively, starting from ε0=E\boldsymbol{\varepsilon}_0 = \mathbf{E}, until the convergence criterion δtol\delta_{\mathrm{tol}} is satisfied. Here and in the following we set δtol=10−4\delta_{\mathrm{tol}} = 10^{-4}.

After convergence, the effective stiffness tensor Ceff\mathbf{C}_{\mathrm{eff}} is obtained from the volume-averaged stress corresponding to each prescribed macroscopic strain E\mathbf{E}. Specifically,

σeff=1∣Ω∣∫ΩC(x)ε(x) dx,(24)\boldsymbol{\sigma}_{\mathrm{eff}} = \frac{1}{|\Omega|}\int_{\Omega}\mathbf{C}(\mathbf{x})\boldsymbol{\varepsilon}(\mathbf{x})\,\mathrm{d}\mathbf{x}, \tag*{(24)}

and the resulting stress–strain relation determines Ceff\mathbf{C}_{\mathrm{eff}} [56]. The computational cost of the FFT-based scheme scales as O(NDlog⁡N)O(N^D \log N) for an NDN^D discretization. This motivates the Tensor-Train formulation introduced in the following subsection, which aims to reduce the computational and memory requirements for high-resolution RVEs.

Tensor-Train based extension

The FFT-based homogenization scheme can be transferred to the tensor train format by representing the discretized fields and operators as low-rank tensor representations and replacing the classical Fourier transform by the Superfast Fourier Transform (SFFT). A detailed derivation of the resulting SFFT-based homogenization scheme is given in [11]; here, we summarize the aspects relevant for the present formulation. All fields and operators use the QTT representation of Section 2.

In contrast to the scalar fields often considered in conventional applications of TT formalism, the quantities appearing in the homogenization algorithm carry additional tensorial indices of dimensionality nνn_{\nu} associated with the Voigt representation. The TT representation must therefore account for these indices in addition to the indices associated with the discretization procedure. This is achieved by introducing an additional control core at the beginning of the TT representation, whose dimensionality corresponds to the number of Voigt components, six in the present three-dimensional formulation. The Green–Eshelby operator requires particular care because its momentum-space representation imposes a specific TT core ordering that must be consistent with the convention dictated by the SFFT (cf. § 2). For a multidimensional tensor-product transform, this is achieved by reversing the ordering of the TT cores independently within each spatial dimension.

With these representations, the FFT-based homogenization procedure can be transferred directly to TT format by replacing the Fourier transforms F\mathcal{F} and F−1\mathcal{F}^{-1} with the SFFT and its inverse, denoted by S\mathcal{S} and S−1\mathcal{S}^{-1}, respectively. The pointwise application of the Green–Eshelby operator, Γ^0τ^m\widehat{\Gamma}_{0}\widehat{\tau}_{m}, is replaced by the fast AMEn TT-TTO contraction algorithm denoted by A(Γ^0,τ^m)\mathcal{A}(\widehat{\Gamma}_{0},\widehat{\tau}_{m}) [32].

The resulting SFFT-based homogenization scheme therefore follows the same fixed-point iteration as the classical FFT formulation. After convergence, the local strain field is obtained by contracting the resulting tensor train representation. If the TT ranks of all fields and operators remain bounded, the computational cost per iteration grows only polylogarithmically with NN, in contrast to the O(NDlog⁡N)\mathcal{O}(N^{D}\log N) complexity of the classical FFT-based scheme [11]. Whether this regime is reached depends on the microstructure.

Spectral-Tensor-Train Homogenization

We generalize the SFFT-based homogenization framework to Spectral-Tensor-Train (STT) homogenization by replacing the purely periodic boundary conditions with periodicity-compatible mixed uniform boundary conditions (PMUBC) [21, 57]. These conditions extend periodic boundary conditions by combining displacement and traction constraints and are particularly suitable for finite microstructural samples that are not intrinsically periodic. In particular, for porous media, finite-volume representations of the microstructure may exhibit pronounced size and boundary effects, and artificially periodic continuation can alter features such as pore connectivity and therefore lead to significant differences in the predicted effective properties [58, 59, 60]. For readability, we present the following construction in two dimensions. Its extension to three dimensions is straightforward and is adopted in the numerical experiments.

For a prescribed macroscopic tensile load in Voigt notation E=E1e1\mathbf{E}=E_{1}\mathbf{e}_{1}, the corresponding PMUBC are given by

u1(0,y)=−E1L12,u1(L1,y)=E1L12,σ3(0,y)=0,σ3(L1,y)=0,σ3(x,0)=0,σ3(x,L2)=0,u2(x,0)=0,u2(x,L2)=0.\begin{aligned} u_{1}(0,y)&=-\frac{E_{1}L_{1}}{2}, & u_{1}(L_{1},y)&=\frac{E_{1}L_{1}}{2},\\ \sigma_{3}(0,y)&=0, & \sigma_{3}(L_{1},y)&=0,\\ \sigma_{3}(x,0)&=0, & \sigma_{3}(x,L_{2})&=0,\\ u_{2}(x,0)&=0, & u_{2}(x,L_{2})&=0. \end{aligned}

Here, the normal displacement is prescribed in the loading direction, while the transverse displacement and shear tractions are constrained according to the PMUBC prescription.

For a macroscopic shear load E=E3e3\mathbf{E}=E_{3}\mathbf{e}_{3}, the corresponding conditions take a different form, fulfilling

σ1(0,y)=0,σ1(L1,y)=0,u2(0,y)=−E3L14,u2(L1,y)=E3L14,u1(x,0)=−E3L24,u1(x,L2)=E3L24,σ2(x,0)=0,σ2(x,L2)=0.\begin{aligned} \sigma_{1}(0,y)&=0, & \sigma_{1}(L_{1},y)&=0,\\ u_{2}(0,y)&=-\frac{E_{3}L_{1}}{4}, & u_{2}(L_{1},y)&=\frac{E_{3}L_{1}}{4},\\ u_{1}(x,0)&=-\frac{E_{3}L_{2}}{4}, & u_{1}(x,L_{2})&=\frac{E_{3}L_{2}}{4},\\ \sigma_{2}(x,0)&=0, & \sigma_{2}(x,L_{2})&=0. \end{aligned}

Here, the roles of displacement and traction constraints are exchanged component-wise. The particular choice of boundary condition therefore depends on the applied macroscopic strain component, rather than being identical for all load cases. Details for all components in the three-dimensional formulation are given in Appendix H.

PMUBC can alternatively be interpreted through an extended mirrored domain. In particular, PMUBC on the original domain Ω=[0,L1]2\Omega=[0,L_{1}]^{2} are equivalent to periodic boundary conditions on Ω~=[−L,L]2\widetilde{\Omega}=[-L,L]^{2}, provided that the displacement field is extended according to

u1(−x,y)=−u1(x,y),u2(−x,y)=u2(x,y),u1(x,−y)=u1(x,y),u2(x,−y)=−u2(x,y).\begin{aligned} u_{1}(-x,y)&=-u_{1}(x,y), & u_{2}(-x,y)&=u_{2}(x,y),\\ u_{1}(x,-y)&=u_{1}(x,y), & u_{2}(x,-y)&=-u_{2}(x,y). \end{aligned}

These reflection symmetries induce corresponding even and odd symmetries in the local strain and stress components. The resulting extensions satisfy the appropriate matching conditions across the boundaries of the mirrored cells and therefore define periodic fields on the extended domain [57].

Although this construction permits the direct application of the FFT-based homogenization scheme on the mirrored domain, it increases the number of grid points by a factor of four in two dimensions and eight in three dimensions. To avoid this severe overhead, we instead exploit the symmetries induced by the mirrored-domain construction directly on the original domain, following [21]. In particular, each field component is either even or odd with respect to a given coordinate, with the specific symmetry depending on the applied macroscopic strain and the field component. This structure allows the corresponding Fourier transforms to be evaluated using only half of the original grid.

The construction parallels the even extension of § 2, with two differences: the symmetry is now imposed by the boundary conditions rather than chosen, and it differs between field components and load cases. Consider first a discretized volumetric component fjf_{j}, j=0,…,N−1j=0,\ldots,N-1, for which the even or odd symmetry on the mirrored domain translates to the grid-level relation

fj=±fN−1−j,{+even symmetry,−odd symmetry.f_{j}=\pm f_{N-1-j}, \qquad \begin{cases} + & \text{even symmetry},\\ - & \text{odd symmetry}. \end{cases}

Substituting this relation into the formula for the discrete Fourier coefficients

f^k=∑j=0N−1fjexp⁡(2πijkN)\hat{f}_k = \sum_{j=0}^{N-1} f_j \exp\left(\frac{2\pi i j k}{N}\right)

and pairing each index j<N/2j < N/2 with its mirrored counterpart N−1−jN - 1 - j yields, for an even number of grid points,

f^keven=2exp⁡(−iπkN)∑j=0N/2−1fjcos⁡(π(2j+1)kN),\hat{f}^{\mathrm{even}}_k = 2\exp\left(-\frac{i\pi k}{N}\right)\sum_{j=0}^{N/2-1} f_j \cos\left(\frac{\pi(2j+1)k}{N}\right),
f^kodd=2iexp⁡(−iπkN)∑j=0N/2−1fjsin⁡(π(2j+1)kN).\hat{f}^{\mathrm{odd}}_k = 2i\exp\left(-\frac{i\pi k}{N}\right)\sum_{j=0}^{N/2-1} f_j \sin\left(\frac{\pi(2j+1)k}{N}\right).

The phase factor accounts for the fact that the reflection symmetry is centered between grid points, while the remaining sums are real-valued cosine and sine transforms [21, 61].

For shear components, the corresponding symmetry relation takes the form fj=±fN−jf_j = \pm f_{N-j}, resulting in

f^keven=f0+(−1)kfN/2+2∑j=1N/2−1fjcos⁡(2πjkN),\hat{f}^{\mathrm{even}}_k = f_0 + (-1)^k f_{N/2} + 2\sum_{j=1}^{N/2-1} f_j \cos\left(\frac{2\pi j k}{N}\right),
f^kodd=2i∑j=1N/2−1fjsin⁡(2πjkN).\hat{f}^{\mathrm{odd}}_k = 2i\sum_{j=1}^{N/2-1} f_j \sin\left(\frac{2\pi j k}{N}\right).

Thus, the PMUBC formulation requires discrete cosine and sine transforms with additional phase factors, which are realized in the TT format by the SFCT and SFST, respectively.

Depending on the applied macroscopic strain, different components of the displacement, strain, and stress fields exhibit different symmetry types and consequently require different combinations of SFCT and SFST, as indicated in Figure 6. The complete component-wise transformation pattern for the employed Hex8R discretization [62] therefore relies exclusively on the DCT-II and DST-II and is given in Appendix H. Consistent with the type-II transforms, whose symmetry axis lies between two samples, the microstructure is sampled at the voxel centers, so that the mirror planes coincide with the voxel boundaries.

Slice of the 3D RVE for the input geometry and corresponding local stress field

Figure 6. Slice of the 3D RVE (a) for the input geometry and (b) the corresponding local stress field σ3\sigma_3 under shear load. The arrows indicate the relation between the displacement vectors within each quadrant. The dashed box denotes the reduced domain used for the STT homogenization method. The gray region has a Young’s modulus of E1=20 GPaE_1 = 20\,\mathrm{GPa}, while the white region has E2=1 GPaE_2 = 1\,\mathrm{GPa}. Both regions have a Poisson’s ratio of ν1=ν2=1/3\nu_1 = \nu_2 = 1/3.

When assembling these component-wise transforms in the TT format, the different frequency sets of the cosine and sine transforms require a common frequency layout. However, for a transform length M=N/2M = N/2, the cosine transform yields the frequencies k=0,…,M−1k = 0, \ldots, M - 1, whereas the sine transform yields k=1,…,Mk = 1, \ldots, M. We therefore store each sine coefficient in slot k mod Mk \bmod M, mapping the Nyquist frequency k=Mk = M to slot 0. This cyclic shift introduces no information loss, since the sine coefficient at k=0k = 0 vanishes identically. However, slot 0 then represents different physical frequencies for cosine and sine components. This distinction must be retained when applying the Green–Eshelby operator, which couples the Voigt components: at slot 0, cosine components are coupled at k=0k = 0 and sine components at k=Mk = M, whereas components of different parity are decoupled. All other frequency slots remain unchanged.

Returning to Algorithm 1, PMUBC can be incorporated into the Fourier-based homogenization algorithm by replacing the standard SFFT with the load-dependent, component-wise SFCT or SFST and the associated phase factors as well as the periodic Green operator by the modified operator described above. The multidimensional transforms are constructed separably by applying the prescribed one-dimensional transforms along each spatial direction for every Voigt component and load case, according to the symmetry patterns listed in Appendix H. The corresponding one-dimensional TTOs are concatenated along the consecutive directional TT cores and connected by rank-one bonds.

The phase factors are also represented in TT format with rank one. They depend only on the mode index kk, defined analogously to Eq. (3), along the corresponding direction. The ll-th core of the phase TT satisfies vl(il=0)=1v_l(i_l = 0) = 1, while for il=1i_l = 1 it is given by

vl(il=1)=exp⁡(−iπ2l2N).v_l(i_l = 1) = \exp\left(-\frac{i\pi2^l}{2N}\right).

The resulting rank-one phase representation can be lifted to a TTO through Eq. (5) and combined directly with the corresponding SFCT or SFST TTO.

Evaluation of the Homogenization Algorithm

Having established the role of the SFCT and SFST within the STT-based homogenization algorithm, we evaluate the computational performance of the mirrored and reduced-domain formulations for the three-dimensional boxed-fiber geometry shown in Figure 6. The discretization order nn determines N=2nN = 2^n discretization points per spatial dimension and N3=23nN^3 = 2^{3n} points in the full three-dimensional domain. Thus, the maximum investigated order of n=12n = 12 corresponds to N=4096N = 4096 points per dimension and approximately 6.87×10106.87 \times10^{10} points in the full domain. For the reduced-domain formulation, the smaller computational domain is explicitly accounted for in the PMUBC formulation, where a mirrored domain of order nn is represented by a reduced domain of order n−1n-1, such that both approaches are evaluated at the same physical resolution. All experiments use a fixed TT-compression tolerance of εTT=10−8\varepsilon_{\mathrm{TT}} = 10^{-8}. The TT-based homogenization reproduces the effective stiffness of the classical FFT-based scheme over the range in which the latter remains feasible, see Appendix § 11.2.

The reduced-domain formulation consistently lowers the computational cost over the investigated discretization range, as can be seen in Figure 7. To quantify the reduction, we define the improvement factor as

Computational scaling of the mirrored and reduced-domain approaches for the three-dimensional boxed-fiber geometry

Figure 7. Computational scaling of the mirrored and reduced-domain approaches for the three-dimensional boxed-fiber geometry: (a) iteration time, (b) memory consumption, (c) maximum TT rank, and (d) improvement factor χ\chi of the reduced approach relative to the mirrored approach.

χ=QmirroredQreduced,(25)\chi= \frac{Q_{\mathrm{mirrored}}}{Q_{\mathrm{reduced}}}, \tag*{(25)}

where QQ denotes memory consumption, iteration time, or maximum TT rank. Thus, χ>1\chi> 1 indicates an advantage of the reduced formulation.

The memory consumption is reduced by approximately a factor of 4 over a substantial range of discretization orders, while the iteration-time improvement ranges from approximately 2 to 4 for 3≤n≤103 \le n \le10, matching the range previously reported for the dense setting [21]. For the highest discretizations, both improvements increase further, reaching approximately χ≈7\chi\approx7, see Figure 7(d). The maximum TT rank is approximately halved by the reduced formulation, consistent with the observed reduction in memory consumption.

The number of iterations required for convergence remains approximately the same for both formulations, with only minor variations at the lower discretization orders. Hence, the reduction in iteration time primarily results from the lower computational cost per iteration rather than from a reduction in the number of iterations. Overall, the reduced-domain formulation provides a consistent computational advantage while maintaining the same physical discretization resolution.

Conclusion

We have developed tensor train (TT) representations of the type-II discrete cosine and sine transforms (SFCT and SFST). To this end, we converted a quantum circuit for the combined quantum cosine-sine transform into a single tensor train operator from which both transforms can be extracted. This construction also enabled us to derive an expressivity theorem establishing an upper bound of 6rS6r_S on the TT ranks of the individual transforms, independently of the discretization order. Here, rSr_S denotes the TT rank of the Superfast Fourier Transform (SFFT), which saturates at approximately rS≈10r_S \approx10. Numerical experiments further show that the ranks of both the SFCT and SFST saturate at approximately 32. For structured inputs, both transforms exhibit favorable runtime and memory scaling, outperforming their classical counterparts in runtime for discretization sizes above 2202^{20} (approx. 1 million) and achieving improved memory efficiency above 2152^{15} (approx. 32 thousand) discretization points.

For Rayleigh–Bénard convection at r=100r = 100, all four pressure-solver configurations gave comparable velocity and temperature errors. The spectral trajectories also closely reproduced the reference Nusselt number. With VAR for the Hadamard product, the SFCT and even extension followed by the SFFT sped up the Poisson solve by factors of 3.75 and 3.45, respectively, relative to preconditioned ALS. Using RSI instead of VAR in the even-extension solver gave a 7.3-fold speedup for the Poisson solve and a 1.6-fold speedup for the full time step. The momentum and temperature solves now account for most of the time per step. We therefore plan to test whether applying recursive sketched interpolation (RSI) [34] and alternating cross interpolation (ACI) [33] to the nonlinear products in the momentum and temperature equations can further reduce the full-step time.

In computational homogenization, the SFCT and SFST enabled the direct implementation of periodicity-compatible uniform boundary conditions (PMUBC) in TT format for high-resolution three-dimensional problems with up to 70 billion grid points. Compared with the conventional SFFT-based homogenization algorithm, this direct implementation resulted in a 2–6-fold speedup and a 4–7-fold reduction in memory consumption.

Several extensions of the proposed approach are possible. Other types of discrete cosine and sine transforms can be treated analogously. Moreover, since the Chebyshev transform on Chebyshev–Gauss nodes is equivalent to a DCT-II, the SFCT can also be applied to Chebyshev spectral methods on nonuniform grids. The quantum-circuit-based construction additionally provides a classical framework for simulating and benchmarking quantum spectral algorithms with non-periodic boundary conditions [63]. More broadly, the SFCT and SFST extend the range of spectral transforms that can be efficiently represented in TT format, opening up new possibilities for high-resolution PDE solvers with non-periodic boundary conditions.

Acknowledgment

S.H.H., M.K. and N.R.G. gratefully acknowledge funding from the German National High Performance Computing (NHR) association for the Center NHR South-West. N.-L.v.H. and D.J. acknowledge support from the European Union’s Horizon Europe programme under grant agreement No. 101080085 (QCFD). Their work on the spectral pressure solvers was carried out as part of the 16th German-Israeli Call for Proposals for Joint R&D Projects – Eureka Network. N.-L.v.H. and D.J. acknowledge computing resources provided by the Hummel-2 cluster at the University of Hamburg, funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – 498394658.

Proof of the Expressivity Theorem

Let UU act on HA⊗HB\mathcal{H}_A \otimes\mathcal{H}_B with dim⁡(HA⊗HB)=2n\dim(\mathcal{H}_A \otimes\mathcal{H}_B) = 2^n. For the bipartition between qubits jj and j+1j+1, the operator Schmidt decomposition reads

U=2n∑k=1r^σkAk⊗Bk,(26)U = \sqrt{2^n} \sum_{k=1}^{\hat{r}} \sigma_k A_k \otimes B_k, \tag*{(26)}

with Tr⁡(Ak†Ak′)=Tr⁡(Bk†Bk′)=δk,k′\operatorname{Tr}(A_k^\dagger A_{k'}) = \operatorname{Tr}(B_k^\dagger B_{k'}) = \delta_{k,k'} and ∑kσk2=1\sum_k \sigma_k^2 = 1. The number r^\hat{r} of non-zero coefficients is the operator Schmidt rank; it equals the TT rank across that bipartition, so the maximum over all bipartitions is the bond dimension of an exact TT representation. All operators below refer to one such fixed bipartition, and its index is suppressed; the cases in jj are stated explicitly where the rank depends on it.

Two bounds are used throughout. An expansion into mm product operators U=∑k=1mAk⊗BkU = \sum_{k=1}^{m} A_k \otimes B_k gives

rank⁡S(U)≤m,(27)\operatorname{rank}_{S}(U) \leq m, \tag*{(27)}

without requiring orthogonality of the factors, and the rank is submultiplicative,

rank⁡S(UV)≤rank⁡S(U)rank⁡S(V).(28)\operatorname{rank}_{S}(UV) \leq\operatorname{rank}_{S}(U)\operatorname{rank}_{S}(V). \tag*{(28)}

The only external input is the transform itself: Chen et al. [18] show that the Schmidt coefficients of the reduced QFT QnQ_n obey

lim⁡n→∞σk(Qn)≤1kexp⁡[−2k+122log⁡(4k+4eπ)],\lim_{n \to\infty} \sigma_k(Q_n) \leq\frac{1}{\sqrt{k}} \exp\left[-\frac{2k+1}{2^2}\log\left(\frac{4k+4}{e\pi}\right)\right],

so QnQ_n admits the low-rank TT representation known as the SFFT, whose rank we denote by rSr_S. It remains to bound the blocks to the left and right of the QFT in Figure 1(b).

Schmidt ranks of the individual circuit components

Throughout, the controlled permutation following the QFT is the bit-reversed shift P~n−1\widetilde{P}_n^{-1} of § 2.2, the convention induced downstream of the reduced transform QnQ_n. It enters via the recursion

P~n−1=[∣0⟩⟨0∣⊗j⊗1⊗(n−j)+∣1⟩⟨1∣⊗j⊗P~n−j−1]×(P~j−1⊗1⊗(n−j)),(29)\widetilde{P}_n^{-1} = \left[ |0\rangle\langle0|^{\otimes j} \otimes\mathbb{1}^{\otimes(n-j)} + |1\rangle\langle1|^{\otimes j} \otimes\widetilde{P}_{n-j}^{-1} \right] \times\left(\widetilde{P}_j^{-1} \otimes\mathbb{1}^{\otimes(n-j)}\right), \tag*{(29)}

in which the leading jj qubits carry the low-order bits, so that a carry either stays within the first jj qubits or propagates past the cut.

The block to the left of the QFT consists of the Hadamard gate and the multi-target CNOT,

U1=(∣0⟩⟨0∣⊗1⊗(n−1)+∣1⟩⟨1∣⊗X⊗(n−1))×(H⊗1⊗(n−1)),U_1 = \left(|0\rangle\langle0| \otimes\mathbb{1}^{\otimes(n-1)} + |1\rangle\langle1| \otimes X^{\otimes(n-1)}\right) \times\left(H \otimes\mathbb{1}^{\otimes(n-1)}\right),

which is already of the form Eq. (26) across the cut after qubit jj, with

A1=12j−1(∣0⟩⟨0∣H⊗1⊗(j−1),(30)A_1 = \frac{1}{\sqrt{2^{j-1}}}(|0\rangle\langle0| H \otimes\mathbb{1}^{\otimes(j-1)}, \tag*{(30)}
A2=12j−1(∣1⟩⟨1∣H)⊗X⊗(j−1),A_2 = \frac{1}{\sqrt{2^{j-1}}} \left(|1\rangle\langle1|H\right) \otimes X^{\otimes(j-1)},
B1=12n−j1⊗(n−j),B_1 = \frac{1}{\sqrt{2^{n-j}}}\mathbb{1}^{\otimes(n-j)},
B2=12n−jX⊗(n−j).B_2 = \frac{1}{\sqrt{2^{n-j}}}X^{\otimes(n-j)}.

Both families are orthonormal, since ∣0⟩⟨0∣⋅∣1⟩⟨1∣=0|0\rangle\langle0| \cdot|1\rangle\langle1| = 0 and Tr⁡(X⊗(n−j))=0\operatorname{Tr}(X^{\otimes(n-j)}) = 0, and the two coefficients are equal, σ1=σ2=1/2\sigma_1 = \sigma_2 = 1/\sqrt{2}. The left-hand block therefore has rank⁡S(U1)=2\operatorname{rank}_{S}(U_1) = 2 across every bipartition.

Right of the QFT, the K/L/CK/L/C block U2U_2 collapses further. Because Kl=ω2l−1LlK_l = \omega^{2^{l-1}}L_l, its two controlled branches differ only by a global phase, so the controlled structure disappears and U2U_2 becomes a single product operator. Collecting the action on the last qubit into

Cˉ:=(∣0⟩⟨0∣+ω2n−1−1∣1⟩⟨1∣)C,\bar{C} := \left(|0\rangle\langle0| + \omega^{2^{n-1}-1}|1\rangle\langle1|\right)C,

the cut after qubit jj gives the single pair

A1=12jL1⊗⋯⊗Lj,A_1 = \frac{1}{\sqrt{2^j}}L_1 \otimes\cdots\otimes L_j,
B1=12n−jLj+1⊗⋯⊗Ln−1⊗Cˉ,B_1 = \frac{1}{\sqrt{2^{n-j}}}L_{j+1} \otimes\cdots\otimes L_{n-1} \otimes\bar{C},

with σ1=1\sigma_1 = 1 and hence rank⁡S(U2)=1\operatorname{rank}_{S}(U_2) = 1.

The two controlled permutations are identical,

U3=U5=1⊗(n−1)⊗∣0⟩⟨0∣+P~n−1−1⊗∣1⟩⟨1∣,U_3 = U_5 = \mathbb{1}^{\otimes(n-1)} \otimes|0\rangle\langle0| + \widetilde{P}_{n-1}^{-1} \otimes|1\rangle\langle1|,

and inserting (29) separates them after qubit jj into

A1=∣1⟩⟨1∣⊗jP~j−1,B1=P~n−j−1−1⊗∣1⟩⟨1∣,A2=∣0⟩⟨0∣⊗jP~j−1,B2=1⊗(n−j−1)⊗∣1⟩⟨1∣,A3=1⊗j,B3=1⊗(n−j−1)⊗∣0⟩⟨0∣.(31)\begin{aligned} A_1 &= |1\rangle\langle1|^{\otimes j}\widetilde{P}_{j}^{-1}, \qquad B_1 = \widetilde{P}_{n-j-1}^{-1} \otimes|1\rangle\langle1|,\\ A_2 &= |0\rangle\langle0|^{\otimes j}\widetilde{P}_{j}^{-1}, \qquad B_2 = \mathbb{1}^{\otimes(n-j-1)} \otimes|1\rangle\langle1|,\\ A_3 &= \mathbb{1}^{\otimes j}, \qquad B_3 = \mathbb{1}^{\otimes(n-j-1)} \otimes|0\rangle\langle0|. \tag*{(31)} \end{aligned}

The three terms correspond to a carry crossing the cut, a carry absorbed before it, and the uncontrolled branch. Their left factors are mutually orthogonal and the terms are independent, so rank⁡S(U3)=rank⁡S(U5)=3\operatorname{rank}_{S}(U_3) = \operatorname{rank}_{S}(U_5) = 3 for 1≤j≤n−21 \le j \le n - 2, reducing to two at j=n−1j = n - 1, where the recursion terminates. The associated Schmidt coefficients are not all equal, so (30) fixes the rank without being normalised in the sense of (26).

The remaining block U4U_4 combines a multi-target CNOT, the gate BB on the last qubit and an inverted multi-control JJ. Writing D:=(J−1)BD := (J - \mathbb{1})B and P:=∣0⟩⟨0∣⊗(n−1)P := |0\rangle\langle0|^{\otimes(n-1)}, the multi-control structure collapses to 1⊗(n−1)⊗B+P⊗D\mathbb{1}^{\otimes(n-1)} \otimes B + P \otimes D, and multiplying by the leading CNOT gives the four-term expansion

U4=1⊗(n−1)⊗B∣0⟩⟨0∣+P⊗D∣0⟩⟨0∣+1⊗(n−1)⊗B∣1⟩⟨1∣+PX⊗(n−1)⊗D∣1⟩⟨1∣.\begin{aligned} U_4 ={}& \mathbb{1}^{\otimes(n-1)} \otimes B |0\rangle\langle0| + P \otimes D |0\rangle\langle0|\\ &+ \mathbb{1}^{\otimes(n-1)} \otimes B |1\rangle\langle1|\\ &+ P X^{\otimes(n-1)} \otimes D |1\rangle\langle1|. \end{aligned}

Its four left factors remain linearly independent for j≤n−2j \le n - 2, so the bound (27) is attained and rank⁡S(U4)=4\operatorname{rank}_{S}(U_4) = 4, again reducing to two at j=n−1j = n - 1. The explicit Schmidt pairs of U4U_4 are not needed, since only its rank enters below and the exact rank of the assembled right-hand block is obtained directly.

Rank of the complete block to the right of the QFT

Applying (28) to the four components subcircuit V:=U2U3U4U5V := U_2U_3U_4U_5 yields only the loose estimate

rank⁡S(V)≤1⋅3⋅4⋅3=36,(32)\operatorname{rank}_{S}(V) \le1 \cdot3 \cdot4 \cdot3 = 36, \tag*{(32)}

which ignores that the components share operator factors: both permutations are the same S:=P~n−1−1S := \widetilde{P}_{n-1}^{-1}, and the projector PP appears in U4U_4 as well. We therefore decompose VV directly. Being a product operator, U2U_2 does not change the rank and is omitted. The last qubit controls both permutations and carries BB and JJ, so it is natural to expand in its computational basis. Writing bab:=⟨a∣B∣b⟩b_{ab} := \langle a|B|b\rangle and dab:=⟨a∣D∣b⟩d_{ab} := \langle a|D|b\rangle for the resulting scalars, one obtains V=∑a,bWab⊗∣a⟩⟨b∣V = \sum_{a,b} W_{ab} \otimes|a\rangle\langle b| with

Wab=Sa(babTb+dabPTb)SbW_{ab} = S^a\left(b_{ab}T_b + d_{ab}PT_b\right)S^b

with the TbT_b matrices defined through T0=1⊗(n−1)T_0 = \mathbb{1}^{\otimes(n-1)} and T1=X⊗(n−1)T_1 = X^{\otimes(n-1)}. The exponents aa and bb record whether the permutation acts on the outgoing and incoming branch, so each WabW_{ab} is a shift, a gate, and a shift again.

Across the cut after qubit jj the factors that act as tensor products split trivially, 1=1A⊗1R\mathbb{1} = \mathbb{1}_A \otimes\mathbb{1}_R, P=PA⊗PRP = P_A \otimes P_R and X⊗(n−1)=XA⊗XRX^{\otimes(n-1)} = X_A \otimes X_R. The shift does not: the permutation may cross the cut, which happens exactly when the first jj qubits are all one and become all zero. This gives the two-term split

S=SA⊗1R+EA⊗SˉR,S = S_A \otimes\mathbb{1}_R + E_A \otimes\bar{S}_R,

with the carry operator and the remainder

EA:=∣1j⟩⟨0j∣,SˉR:=SR−1R,E_A := |1^j\rangle\langle0^j|,\qquad\bar{S}_R := S_R - \mathbb{1}_R,

and we write ER:=∣1n−1−j⟩⟨0n−1−j∣E_R := |1^{n-1-j}\rangle\langle0^{n-1-j}| for the corresponding operator on the other side of the cut. Because EAE_A maps a single basis state to a single basis state, products involving it collapse; the relations needed below are

XAEA=PA,PAXASA=PA,EAXASA=EA,EAPA=EA,SAPA=EA.\begin{aligned} X_AE_A &= P_A, & P_AX_AS_A &= P_A,\\ E_AX_AS_A &= E_A, & E_AP_A &= E_A,\\ S_AP_A &= E_A. \end{aligned}

Applying them, every WabW_{ab} reduces from four product terms to two, and the eight surviving terms use only six distinct left factors. Collecting them, VV takes the form (26) with

A1=1A,A2=PA,A3=XASA,A_1 = \mathbb{1}_A,\qquad A_2 = P_A,\qquad A_3 = X_AS_A,
A4=SA,A5=EA,A6=SAXASA,A_4 = S_A,\qquad A_5 = E_A,\qquad A_6 = S_AX_AS_A,

and

B1=b001R⊗∣0⟩⟨0∣,B2=(b01XRSˉR+d01PRXRSR)⊗∣0⟩⟨1∣+d00PR⊗∣0⟩⟨0∣,B3=b01XR⊗∣0⟩⟨1∣,B4=b101R⊗∣1⟩⟨0∣,B5=[b11(XRSˉR+SˉRXR+SˉRXRSˉR)+d11ERXRSR]⊗∣1⟩⟨1∣+(b10SˉR+d10ER)⊗∣1⟩⟨0∣,B6=b11XR⊗∣1⟩⟨1∣.(33)\begin{aligned} B_1 &= b_{00}1_R \otimes|0\rangle\langle0|,\\ B_2 &= \left(b_{01}X_R\bar{S}_R+d_{01}P_RX_RS_R\right)\otimes|0\rangle\langle1|\\ &\quad+d_{00}P_R\otimes|0\rangle\langle0|,\\ B_3 &= b_{01}X_R\otimes|0\rangle\langle1|,\\ B_4 &= b_{10}1_R\otimes|1\rangle\langle0|,\\ B_5 &= \left[b_{11}\left(X_R\bar{S}_R+\bar{S}_RX_R+\bar{S}_RX_R\bar{S}_R\right)\right.\\ &\quad\left.+d_{11}E_RX_RS_R\right]\otimes|1\rangle\langle1|\\ &\quad+\left(b_{10}\bar{S}_R+d_{10}E_R\right)\otimes|1\rangle\langle0|,\\ B_6 &= b_{11}X_R\otimes|1\rangle\langle1|. \tag*{(33)} \end{aligned}

By (27) this already sharpens (32) from 36 to 6. It remains to show that six is attained, that is, that the left factors are linearly independent. Their Gram matrix decouples into two identical blocks, one spanned by {1A,PA,XASA}\{1_A,P_A,X_AS_A\} and one by {SA,EA,SAXASA}\{S_A,E_A,S_AX_AS_A\}, each of the form

Gblock=(2j12111212j),det⁡(Gblock)=2j(2j−2),G_{\mathrm{block}}= \begin{pmatrix} 2^j & 1 & 2\\ 1 & 1 & 1\\ 2 & 1 & 2^j \end{pmatrix}, \qquad \det\left(G_{\mathrm{block}}\right)=2^j(2^j-2),

so that det⁡G=[2j(2j−2)]2\det G=[2^j(2^j-2)]^2. For j≥2j\ge2 the determinant is non-zero and all six factors are independent, whereas j=1j=1 makes it vanish and the Gram matrix drops to rank four. Hence

rank⁡S(V)={4,j=1 or j=n−1,6,2≤j≤n−2,(34)\operatorname{rank}_{S}(V)= \begin{cases} 4, & j=1\text{ or }j=n-1,\\ 6, & 2\le j\le n-2, \end{cases} \tag*{(34)}

so the factor six is an exact property of the right-hand block rather than an artefact of the product bound.

Boundary-fixed circuit and the expressivity bound

For the SFCT and SFST the physical index of the final qubit is fixed, so only half of the terms in (33) contribute. For a fixed output index a0a_0 the surviving left factors are {1A,PA,XASA}\{1_A,P_A,X_AS_A\} for a0=0a_0=0 and {SA,EA,SAXASA}\{S_A,E_A,S_AX_AS_A\} for a0=1a_0=1 – exactly the two Gram blocks above, each of full rank for j≥2j\ge2. Hence rank⁡S(Vfixed)=3\operatorname{rank}_{S}(V_{\mathrm{fixed}})=3 for 2≤j≤n−22\le j\le n-2, reducing to two at the outermost cut.

Combining rank⁡S(U1)=2\operatorname{rank}_{S}(U_1)=2, the rank rSr_S of the QFT and (34) gives

r^≤2rS6=12rS\hat{r}\le2r_S6=12r_S

for the QCST with open boundary indices, and

r^≤2rS3=6rS\hat{r}\le2r_S3=6r_S

for the boundary-fixed SFCT and SFST. Both bounds are independent of the discretisation order nn, which establishes that the SFCT and SFST admit efficient TT representations with a saturating rank.

One qualification remains. The rank of the assembled circuit can fall below the product bound, since further linear dependencies arise when the right-hand block is composed with the QFT. Equation (34) is therefore a rigorous circuit-level bound rather than a claim that the full circuit attains it.

Input Functions

We provide the explicit definitions of the input functions used in the numerical experiments of § 2.4 and Appendix § 9. All functions are defined on x∈[0,1)x\in[0,1) and discretized on a uniform grid of size N=2nN=2^n via

xk=kN,k=0,…,N−1.x_k=\frac{k}{N},\qquad k=0,\ldots,N-1.

Smooth signal.

fsmooth(x)=cos⁡(2πx)+12cos⁡(4πx).f_{\mathrm{smooth}}(x)=\cos(2\pi x)+\frac{1}{2}\cos(4\pi x).

High-frequency signal.

fhigh(x)=cos⁡(20πx).f_{\mathrm{high}}(x)=\cos(20\pi x).

Discontinuous signal.

fdisc(x)={1,x<0.5,0,x≥0.5.f_{\mathrm{disc}}(x)= \begin{cases} 1, & x<0.5,\\ 0, & x\ge0.5. \end{cases}

Gaussian signal.

fgauss(x)=exp⁡(−100(x−0.5)2).f_{\mathrm{gauss}}(x)=\exp\left(-100(x-0.5)^2\right).

Noise signal. We additionally consider a stochastic input given by Gaussian white noise:

fnoise(xk)∼N(0,1),f_{\mathrm{noise}}(x_k)\sim\mathcal{N}(0,1),

with independent samples at each grid point.

These test cases include both structured deterministic signals and a stochastic signal, allowing us to assess the robustness of the SFCT and SFST with respect to different input regularities and noise levels.

Numerical Experiments on DST-II

Figure 8 presents the results of the experiments in § 2.4 for the DST-II and the SFST using the functions defined in Appendix § 8. The runtime and memory trends are consistent with those observed for the DCT-II and the SFCT, respectively. Moreover, the TT ranks coincide for all tested values of nn, as expected from the equality of the exact operator Schmidt ranks of the SFCT and SFST across every bipartition.

Runtime, rank, and memory comparisons for the SFST

Figure 8. (a) Runtime comparison of the classical DST and the SFST for different input classes as a function of the discretization order nn; (b) TTO rank evolution of the SFST; (c) Memory of the SFST operator compared with the signal vector required by the classical FFT-based DST (dashed) and, for reference, the dense DST matrix (dotted).

Preconditioned linear solve in TT format

Poor conditioning of linear systems can slow iterative methods, including TT-based solvers. In the alternating linear scheme (ALS) [30], this can increase both the number of forward–backward sweeps and the effort required to solve each local linear system.

To remove the constant null mode, we replace the row and column of Dh∇hD_h\nabla_h associated with one pressure grid point by those of −I-I, where II is the identity matrix. We denote the resulting matrix by AA and refer to that location as the pinned point. We represent the pressure pp and RHS bb as TTs and AA and the preconditioner PP as TTOs, following § 1.1. For the Rayleigh–Bénard benchmark, we construct a left preconditioner PP once before time integration and reuse it in all runs with the same pressure matrix AA. At each pressure solve, ALS solves the preconditioned system PAp=PbPAp = Pb in TT format [46].

Offline construction. We construct an approximate left inverse PP by solving PA=IPA = I in TT form. Let vec⁡\operatorname{vec} denote column-wise vectorization and ⊗\otimes the Kronecker product. The vectorized system is

(AT⊗I)vec⁡(P)=vec⁡(I).(35)(A^{\mathsf T} \otimes I)\operatorname{vec}(P) = \operatorname{vec}(I). \tag*{(35)}

We use single-site ALS with residual enrichment after each sweep, inspired by AMEn [32], and cap the operator ranks at rPr_P.

Online pressure solve. At site kk, the unknowns are the entries pk=vec⁡(p[k])p_k = \operatorname{vec}(p^{[k]}) of the core shown separately in Fig. 9. The other pressure cores are fixed and define the frame matrix FkF_k [32], with p=Fkpkp = F_kp_k. Substituting this representation into the preconditioned system and projecting with Fk†F_k^\dagger gives the one-site ALS system [2, 30]

(Fk†PAFk)pk=Fk†Pb.(36)(F_k^\dagger PAF_k)p_k = F_k^\dagger Pb. \tag*{(36)}

Figure 9 shows the contractions with PP and AA retained as separate TTOs. We solve this local linear system iteratively with GMRES. After the sweep, we set the pressure to zero at the pinned point.

Image not extracted

Figure 9.

Numerical details for Rayleigh–Bénard convection

All spectral runs in Figure 4 and Figure 5 use εspec=10−10\varepsilon_{\mathrm{spec}} = 10^{-10}. For the timing comparison in Figure 5, all four configurations advance the same compressed initial state for 12 steps at r=100r = 100. The preconditioner rank is rP=50r_P = 50. Preconditioned ALS uses one forward–backward sweep with local GMRES absolute and relative tolerances of 10−810^{-8}. VAR uses at most five forward–backward sweeps, stopping when the relative change in the objective or iterate falls below 10−810^{-8}.

RSI uses an intermediate rank cap rint=r+30r_{\mathrm{int}} = r + 30. For the binary TT cores, the local Gaussian sketch matrices have size 2×mk2 \times m_k [34], where mk=⌊rint/2⌋+25m_k = \lfloor r_{\mathrm{int}}/2 \rfloor+ 25 is the sketch width. RSI starts with a block of eight TT cores and uses a relative tolerance of 10−1510^{-15} for the interpolative decompositions. The product is subsequently rounded to rank cap rr.

We perform three sequential repetitions on an AMD EPYC 9654 processor using Julia 1.12.6 with one Julia thread and one BLAS thread. Method order varies between repetitions, while the random seeds are held fixed. The RSI sketch seed is reset at each call. For each repetition, we average the time per step over steps 3–10. Pressure-solve time sums both stages and includes convergence tests, gauge fixing and reification. Full-step time also includes RHS formation and all state updates. Neither includes setup, diagnostic reporting or output. We report the median of the three within-repetition speedup ratios relative to preconditioned ALS.

As a check on the pressure solves in the timing runs of Figure 5, we evaluated the relative residual of the unpinned pressure equation, ∥b−Dh∇hp∥2/∥b∥2\lVert b - D_h\nabla_h p\rVert_2/\lVert b\rVert_2, outside the timed region. Over both projection stages of steps 3–10, the median was 1.04×10−31.04 \times10^{-3} for preconditioned ALS and ranged from 6.20×10−46.20 \times10^{-4} to 6.53×10−46.53 \times10^{-4} across the three spectral configurations.

Figure 9 (PDF p. 18). Effective local linear system in Eq. (36), with the unknown pressure core shown separately. Superscripts [j][j] label TT or TTO cores, with n=nx+nyn = n_x + n_y, and overbars denote complex conjugation. Dashed outlines mark omitted cores, leaving three input and three output legs in the effective matrix. All other pressure cores are fixed.

Real-core TT representation of real-valued states

A real-valued state can have a TT representation with complex cores. In both spectral pressure solvers, the inverse Fourier–cosine transform gives a real pressure field whose TT cores may still be complex. We construct an equivalent representation with real cores by doubling the internal bond dimensions. For a complex matrix MM, define

R(M)=(Re⁡M−Im⁡MIm⁡MRe⁡M).(37)\mathcal{R}(M) = \begin{pmatrix} \operatorname{Re} M & -\operatorname{Im} M \\ \operatorname{Im} M & \operatorname{Re} M \end{pmatrix}. \tag*{(37)}

For complex matrices M1M_1 and M2M_2 of compatible dimensions, R(M1M2)=R(M1)R(M2)\mathcal{R}(M_1M_2) = \mathcal{R}(M_1)\mathcal{R}(M_2), so this map preserves matrix products.

Write the complex TT as in Eq. (1),

T(i1,…,in)=A1(i1)A2(i2)⋯An(in),T(i_1,\ldots,i_n) = A_1(i_1)A_2(i_2)\cdots A_n(i_n),

with open boundary ranks r0=rn=1r_0 = r_n = 1. We apply R\mathcal{R} to each matrix slice and select the real component at the two boundaries. With e0=(1,0)⊤e_0 = (1,0)^\top, the real cores are

B1(i1)=e0⊤R(A1(i1)),B_1(i_1) = e_0^\top\mathcal{R}(A_1(i_1)),
Bk(ik)=R(Ak(ik)),k=2,…,n−1,B_k(i_k) = \mathcal{R}(A_k(i_k)), \qquad k = 2,\ldots,n-1,
Bn(in)=R(An(in))e0.B_n(i_n) = \mathcal{R}(A_n(i_n))e_0.

The contraction of the realified TT gives

TR(i1,…,in)=B1(i1)B2(i2)⋯Bn(in)=e0⊤R(A1(i1)A2(i2)⋯An(in))e0=Re⁡T(i1,…,in).(38)\begin{aligned} T_{\mathbb{R}}(i_1,\ldots,i_n) &= B_1(i_1)B_2(i_2)\cdots B_n(i_n) \\ &= e_0^\top\mathcal{R}\bigl(A_1(i_1)A_2(i_2)\cdots A_n(i_n)\bigr)e_0 \\ &= \operatorname{Re} T(i_1,\ldots,i_n). \tag*{(38)} \end{aligned}

Validation of Homogenization

The figure of merit for the homogenization procedure is the macroscopic stiffness tensor obtained from the Fourier-based algorithms. We assess the accuracy of the TT-based homogenization method through two complementary comparisons, which are shown in Figure 10.

Validation of the Spectral-TT Homogenization method

Figure 10. Validation of the Spectral-TT Homogenization method by comparing TT-based and FFT-based homogenization using the mirrored-domain approach (solid blue), as well as the mirrored-domain approach and direct PMUBC using TT-based homogenization (dashed black). The relative error in the homogenized stiffness tensor is shown as a function of the discretization order nn, with 2n2^n grid points per dimension.

First, we compare the stiffness tensors obtained using TT-based and conventional FFT-based homogenization, both employing the mirrored-domain representation shown in Figure 6. The corresponding relative validation error is defined as

σval(F)=∥CTT−CFFT∥F∥CFFT∥F.\sigma_{\mathrm{val}}^{(\mathrm{F})} = \frac{\lVert C_{\mathrm{TT}}-C_{\mathrm{FFT}}\rVert_{\mathrm{F}}} {\lVert C_{\mathrm{FFT}}\rVert_{\mathrm{F}}}.

This comparison serves to validate the TT implementation against the established FFT-based approach over the range of discretization orders for which the conventional FFT method remains computationally feasible.

For the lowest two discretization orders, n=2n = 2 and n=3n = 3, the relative error is below 10−1310^{-13}, indicating almost identical results. For higher orders, the error increases slightly above 10−510^{-5}. This behavior is consistent with the accuracy controlled by the prescribed truncation tolerance δtol=10−4\delta_{\mathrm{tol}} = 10^{-4} in the homogenization algorithms. Thus, the observed differences are within the expected accuracy of the TT-based procedure and could be further reduced by reducing δtol\delta_{\mathrm{tol}}.

Second, we investigate the influence of the domain representation by comparing the homogenized stiffness tensors obtained using the mirrored-domain approach and direct PMUBC, with both calculations employing the TT-based

For a real-valued tensor, the construction preserves the represented values up to roundoff. Before recompression, the internal bond dimensions are r~k=2rk\widetilde{r}_k = 2r_k for k=1,…,n−1k = 1,\ldots,n-1, with r~0=r~n=1\widetilde{r}_0 = \widetilde{r}_n = 1. In the pressure solver, the realified TT is rounded to rank cap rr. homogenization algorithm. The corresponding relative difference is defined as

σval(P)=∥Cmirrored−CPMUBC∥F∥CPMUBC∥F.\sigma_{\mathrm{val}}^{(\mathrm{P})} = \frac{\lVert\mathbf{C}_{\mathrm{mirrored}} - \mathbf{C}_{\mathrm{PMUBC}} \rVert_{\mathrm{F}}}{\lVert\mathbf{C}_{\mathrm{PMUBC}} \rVert_{\mathrm{F}}}.

For n=3n = 3 and n=4n = 4, the relative difference is initially on the order of 10−110^{-1}. With increasing discretization order, however, it decreases rapidly to approximately 10−1110^{-11} and subsequently remains at a level of around 10−1010^{-10}. This indicates that, for sufficiently fine discretizations, both domain representations yield virtually identical homogenized stiffness tensors.

Symmetries and Spectral Methods

The present work employs the Hex8R discretization [62], i.e., trilinear hexahedral elements with reduced integration on a regular voxel grid. The displacements are located at the voxel corners, whereas all strain and stress components are evaluated at the single integration point in the voxel center, see Table 1. The FFT-based scheme transforms only strain-type quantities. For these, every reflection symmetry of the mirrored domain is therefore half-sample symmetric with fj=±fN−1−jf_j = \pm f_{N-1-j} and the required transforms are exclusively the DCT-II for even and the DST-II for odd symmetry.

VariableLocation
u1,u2,u3u_1, u_2, u_3(ih1,jh2,kh3)(ih_1, jh_2, kh_3)
ε11,ε22,ε33\varepsilon_{11}, \varepsilon_{22}, \varepsilon_{33}((i+12)h1,(j+12)h2,(k+12)h3)\left((i+\frac{1}{2})h_1, (j+\frac{1}{2})h_2, (k+\frac{1}{2})h_3\right)
ε12,ε13,ε23\varepsilon_{12}, \varepsilon_{13}, \varepsilon_{23}((i+12)h1,(j+12)h2,(k+12)h3)\left((i+\frac{1}{2})h_1, (j+\frac{1}{2})h_2, (k+\frac{1}{2})h_3\right)

Table 1. Location of displacement and strain components for Hex8R discretization [62].

Table 2 lists the symmetry of each strain component with respect to the three coordinate directions for all six unit load cases. Each letter selects the transform along the corresponding direction: E denotes a DCT-II and O a DST-II. For example, under tensile load in xx-direction, the shear strain ε12\varepsilon_{12} with pattern OOE is transformed by a DST-II in xx and yy and by a DCT-II in zz.

Loadε11\varepsilon_{11}ε22\varepsilon_{22}ε33\varepsilon_{33}ε23\varepsilon_{23}ε13\varepsilon_{13}ε12\varepsilon_{12}
11EEEEEEEEEEOOOEOOOE
22EEEEEEEEEEOOOEOOOE
33EEEEEEEEEEOOOEOOOE
23EOOEOOEOOEEEOOEOEO
13OEOOEOOEOOOEEEEEOO
12OOEOOEOOEOEOEOOEEE

Table 2. Symmetry of strain components for different loading cases. E/O denote even/odd symmetry with respect to (x,y,z)(x, y, z) [21].

References

  1. [1]I. V. Oseledets, Tensor-train decomposition, SIAM Journal on Scientific Computing 33 (2011) 2295–2317.DOI
  2. [2]U. Schollwöck, The density-matrix renormalization group in the age of matrix product states, Annals of Physics 326 (2011) 96–192.DOI
  3. [3]N. Gourianov, M. Lubasch, S. Dolgov, Q. Y. van den Berg, H. Babaee, P. Givi, M. Kiffner, D. Jaksch, A quantum-inspired approach to exploit turbulence structures, Nature Computational Science 2 (2022) 30–37.DOI
  4. [4]M. Kiffner, D. Jaksch, Tensor network reduced order models for wall-bounded flows, Phys. Rev. Fluids 8 (2023) 12401.DOI
  5. [5]E. Ye, N. F. G. Loureiro, Quantum-inspired method for solving the Vlasov–Poisson equations, Phys. Rev. E 106 (2022) 035208.DOI
  6. [6]R. J. J. Connor, C. W. Duncan, A. J. Daley, Tensor network methods for the Gross–Pitaevskii equation on fine grids, New Journal of Physics 28 (2026) 023203.arxiv.org/abs/2507.01149
  7. [7]F. Gómez-Lozada, N. Perico-García, N. Gourianov, H. Salman, J. J. Mendoza-Arenas, Simulating quantum turbulence with matrix-product states, Physical Review Applied (2026).
  8. [8]M. Ali, A. Cortines, S. Morales, S. Mugel, M. Olave, R. Orús, S. Palmer, H. Usabiaga, Quantum-inspired solver for simulating material deformations, 2025. doi:10.48550/arXiv.2501.12151. arXiv:2501.12151.DOI
  9. [9]L. Risthaus, M. Schneider, Solving phase-field fracture problems in the tensor strain format, Proceedings in Applied Mathematics and Mechanics 22 (2023) e202200098.DOI
  10. [10]J. Vondřejec, D. Liu, M. Ladecký, H. G. Matthies, FFT-based homogenisation accelerated by low-rank tensor approximations, Comput. Methods Appl. Mech. Eng. 364 (2020) 112890.
  11. [11]S. H. Hauck, M. Kabel, M. Ali, N. R. Gauger, SFFT-Based Homogenization: Using Tensor Trains to Enhance FFT-Based Homogenization, Acta Mechanica Sinica 42 (2026) 724928.DOI
  12. [12]S. H. Hauck, M. Kabel, N. R. Gauger, Performance benchmarking of tensor trains for quantum-inspired homogenization on TPU, GPU, and CPU architectures, Future Generation Computer Systems 186 (2027) 108709.
  13. [13]L. Risthaus, M. Schneider, Imposing different boundary conditions for thermal computational homogenization problems with FFT- and tensor-train-based Green’s operator methods, Int J Numer Methods Eng. 125 (2024) e7423.DOI
  14. [14]M. G. Cecile, N.-L. van Hülst, T. Hashizume, P. Siegl, A. Setty, et al., Quantum algorithms for computational fluid dynamics, 2026. ArXiv:2609.39962.arxiv.org/abs/2609.39962
  15. [15]P. Siegl, G. S. Reese, T. Hashizume, N.-L. van Hülst, D. Jaksch, Tensor-programmable quantum circuits for solving differential equations, Physical Review Research 8 (2026) 013052.
  16. [16]P. Siegl, N.-L. van Hülst, M. Mandelt Buxadé, T. Hashizume, D. Jaksch, Efficient treatment of non-linearity in quantum computational fluid dynamics using hybrid tensor networks, 2026. ArXiv:2608.24150.arxiv.org/abs/2608.24150
  17. [17]S. Dolgov, B. Khoromskij, D. Savostyanov, Superfast Fourier transform using QTT approximation, J. Fourier Anal. Appl. 18 (2012) 915–953.DOI
  18. [18]J. Chen, E. M. Stoudenmire, S. R. White, Quantum Fourier transform has small entanglement, PRX Quantum 4 (2023) 040318.DOI
  19. [19]G. Strang, The discrete cosine transform, SIAM Review 41 (1999) 135–147.DOI
  20. [20]J. L. Guermond, P. Minev, J. Shen, An overview of projection methods for incompressible flows, Computer Methods in Applied Mechanics and Engineering 195 (2006) 6011–6045.
  21. [21]H. Grimm-Strele, M. Kabel, FFT-based homogenization with mixed uniform boundary conditions, Int. J. Numer. Methods Eng. 122 (2021) 7241–7265.
  22. [22]A. Javili, S. Saeb, P. Steinmann, Aspects of implementing constant traction boundary conditions in computational homogenization via semi-Dirichlet boundary conditions, Computational Mechanics 59 (2017) 21–35.DOI
  23. [23]C. Marcati, M. Rakhuba, J. E. M. Ulander, Low-rank tensor approximation of singularly perturbed boundary value problems in one dimension, Calcolo 59 (2022) 2.DOI
  24. [24]E. Kornev, S. Dolgov, M. Perelshtein, A. Melnikov, TetraFEM: Numerical solution of partial differential equations using tensor train finite element method, Mathematics 12 (2024) 3277.DOI
  25. [25]V. Kazaev, B. N. Khoromskij, Low-rank explicit QTT representation of the Laplace operator and its inverse, SIAM Journal on Matrix Analysis and Applications 33 (2012) 742–758.
  26. [26]A. Klapnecker, M. Rötteler, Discrete cosine transforms on quantum computers, in: ISPA 2001. Proceedings of the 2nd International Symposium on Image and Signal Processing and Analysis. In conjunction with 23rd International Conference on Information Technology Interfaces (IEEE Cat. No. 01EX480), 2001, pp. 464–468. doi:10.1109/ISPA.2001.938674.
  27. [27]W. Hackbusch, S. Kühn, A new scheme for the tensor representation, J. Fourier Anal. Appl. 15 (2009) 706–722.DOI
  28. [28]W. Hackbusch, Hierarchical Matrices: Algorithms and Analysis, Springer, 2015.DOI
  29. [29]M. Fannes, B. Nachtergaele, R. F. Werner, Finitely correlated states on quantum spin chains, Commun. Math. Phys. 144 (1992) 443–490.DOI
  30. [30]S. Holtz, T. Rohwedder, R. Schneider, The alternating linear scheme for tensor optimization in the tensor train format, SIAM Journal on Scientific Computing 34 (2012) A683–A713.DOI
  31. [31]A. A. Michailidis, C. Fenton, M. Kiffner, Element-wise multiplication of tensor trains, SIAM J. Sci. Comput. 47 (2025) B1158–B1174.DOI
  32. [32]S. V. Dolgov, D. V. Savostyanov, Alternating minimal energy methods for linear systems in higher dimensions, SIAM J. Sci. Comput. 36 (2014) A2248–A2271.DOI
  33. [33]M. K. Ritter, Fast elementwise operations on tensor trains with alternating cross interpolation, 2026. doi:10.48550/arXiv.2604.00037. arXiv:2604.00037.DOI
  34. [34]Z. Meng, Y. K. Khoo, J. Li, E. M. Stoudenmire, Recursive sketched interpolation: Efficient Hadamard products of tensor trains, arXiv preprint arXiv:2602.17974 (2026).DOI
  35. [35]M. V. Wickhauser, Adapted Wavelet Analysis: From Theory to Software, A.K. Peters, Wellesley, MA, 1994.
  36. [36]F. de Prenter, C. V. Verhoosel, E. H. van Brummelen, M. G. Larson, S. Badia, Stability and conditioning of immersed finite element methods: Analysis and remedies, Archives of Computational Methods in Engineering 30 (2023) 3617–3656.arxiv.org/abs/2208.08538
  37. [37]M. A. Nielsen, I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010.
  38. [38]C. Zheng, X. Yu, K. Wang, Cross-platform comparison of arbitrary quantum processes, npj Quantum Information 10 (2024) 4.DOI
  39. [39]D. Coppersmith, An Approximate Fourier Transform Useful in Quantum Factoring, Technical Report RC19642, IBM Research Division, Yorktown Heights, NY, 1994.
  40. [40]M. Püschel, M. Rötteler, T. Beth, Fast quantum Fourier transforms for a class of non-Abelian groups, in: Applied Algebra, Algebraic Algorithms and Error-Correcting Codes (AAECC-13), volume 1719 of Lecture Notes in Computer Science, Springer, 1999, pp. 148–159.
  41. [41]E. M. Stoudenmire, S. R. White, Minimally entangled typical thermal state algorithms, New Journal of Physics 12 (2010) 055026.DOI
  42. [42]J. Makhoul, A fast cosine transform in one and two dimensions, IEEE Transactions on Acoustics, Speech, and Signal Processing 28 (1980) 27–34.DOI
  43. [43]L. Hölscher, P. Rao, L. Müller, J. Klepsch, A. Luckow, T. Stollenwerk, F. K. Wilhelm, Quantum-inspired fluid simulation of two-dimensional turbulence with GPU acceleration, Physical Review Research 7 (2025) 013112.DOI
  44. [44]S. Pisoni, R. D. Peddinti, S. E. Guzman, E. Tiunov, L. Aolita, Compression, simulation, and synthesis of turbulent flows with tensor trains, Physical Review Research 8 (2026) 023245.arxiv.org/abs/2506.05477
  45. [45]R. D. Peddinti, S. Pisoni, A. Marini, P. Lott, H. Argentieri, E. Tiunov, L. Aolita, Quantum-inspired framework for computational fluid dynamics, Communications Physics 7 (2024) 135.DOI
  46. [46]N.-L. van Hülst, P. Siegl, P. Over, S. Bengoechea, T. Hashizume, M. G. Cecile, T. Rung, D. Jaksch, Quantum-inspired tensor-network fractional-step method for incompressible flow in curvilinear coordinates, Computer Physics Communications 325 (2025) 101169.
  47. [47]N.-L. van Hülst, M. G. Cecile, H.-Y. Van, T. Hashizume, E. de Villiers, D. Jaksch, Quantum-inspired simulation of 2D turbulent Rayleigh–Bénard convection, 2026. arXiv:2604.16179.arxiv.org/abs/2604.16179
  48. [48]G. Ahlers, S. Grossmann, D. Lohse, Heat transfer and large scale dynamics in turbulent Rayleigh–Bénard convection, Reviews of Modern Physics 81 (2009) 503–537.DOI
  49. [49]A. J. Chorin, J. E. Marsden, A Mathematical Introduction to Fluid Mechanics, Springer-Verlag, New York, 1979.
  50. [50]I. Oseledets, E. Tyrtyshnikov, TT-cross approximation for multidimensional arrays, Linear Algebra Appl. 432 (2010) 70–88.DOI
  51. [51]H. Moulinec, P. Suquet, A numerical method for computing the overall response of nonlinear composites with complex microstructure, Comput. Methods Appl. Mech. Eng. 157 (1998) 69–94.DOI
  52. [52]M. Schneider, A review of nonlinear FFT-based computational homogenization methods, Acta Mechanica 232 (2021) 2051–2100.DOI
  53. [53]D. Cioranescu, P. Donato, An Introduction to Homogenization, Oxford University Press, 1999.DOI
  54. [54]S. Brisard, L. Dormieux, FFT-based methods for the mechanics of composites: a general variational framework, Comput. Mater. Sci. 49 (2010) 663–671.DOI
  55. [55]F. Willot, Fourier-based schemes for computing the mechanical response of composites with accurate local fields, C. R. Mécanique 343 (2015) 232–245.DOI
  56. [56]R. Hill, A self-consistent mechanics of composite materials, Journal of the Mechanics and Physics of Solids 13 (1965) 213–222.DOI
  57. [57]A. Wiegmann, Fast Poisson, Fast Helmholtz and Fast Linear Elastostatic Solvers on Rectangular Parallelepipeds, Technical Report LBNL-43565, Lawrence Berkeley National Laboratory, Berkeley, CA, 1999.
  58. [58]L. Gélébart, A modified FFT-based solver for the mechanical simulation of heterogeneous materials with Dirichlet boundary conditions, Comptes Rendus Mécanique 348 (2020) 693–704.DOI
  59. [59]D. H. Pahr, P. K. Zysset, Influence of boundary conditions on computed apparent elastic properties of cancellous bone, Biomechanics and Modeling in Mechanobiology 7 (2008) 463–476.pubmed.ncbi.nlm.nih.gov/17972122
  60. [60]L. Risthaus, M. Schneider, Imposing Dirichlet boundary conditions directly for FFT-based computational micromechanics, Computational Mechanics 74 (2024) 1089–1113.DOI
  61. [61]P. N. Swartztrauber, Symmetric FFTs, Mathematics of Computation 47 (1986) 323–346.
  62. [62]M. Schneider, D. Merkert, M. Kabel, FFT-based homogenization for microstructures discretized by linear hexahedral elements, Int. J. Numer. Methods Eng. 109 (2017) 1461–1489.DOI
  63. [63]E. Febrianto, Y. Wang, B. Liu, M. Ortiz, F. Cirak, A quantum spectral method for non-periodic boundary value problems, Computer Methods in Applied Mechanics and Engineering 457 (2026) 118934.DOI

Paper details

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

views · 0

downloads · 0

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

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents