arXiv:2609.10729quant-phSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.10729

A Quantum-Inspired Dequantization Method for Diagonally Weighted Matrix Functions: Application to Learning with Optimized Random Features

Natsuto Isogai, Mio Murao, Hayata Yamasaki

Natsuto Isogai, 1,∗^{1,*} Mio Murao, 1,†^{1,\dagger} and Hayata Yamasaki 2,‡^{2,\ddagger}

1^{1}Department of Physics, Graduate School of Science, The University of Tokyo, Tokyo, Japan

2^{2}Department of Computer Science, Graduate School of Information Science and Technology, The University of Tokyo, Tokyo, Japan

Quantum-inspired classical algorithms have dequantized several quantum machine learning routines by replacing quantum linear-algebra subroutines with classical counterparts. However, the sampler based on quantum singular value transformation (QSVT) for learning with optimized random features is not covered by existing dequantization frameworks, because the matrix to be inverted is not itself available through sampling access. In this work, we develop a classical algorithm to address this type of quantum-advantage candidate. Our method samples heavy indices, reduces the transformation to a small principal block, and outputs a sparse classical representation with operator-norm guarantees. Applying this method dequantizes the sampler for optimized random features, giving a classical sampler with prescribed accuracy and polynomially related runtime. These results show that the factorization underlying a quantum block encoding can itself provide sufficient classical structure even when sampling-and-query access to the composite matrix is unavailable.

Introduction.— Machine learning has been a central tool for extracting structure from high-dimensional data. Quantum machine learning (QML) aims to further accelerate such learning tasks by using quantum computation for linear-algebraic subroutines [1–4]. Quantum singular value transformation (QSVT) provides a general framework for efficiently implementing spectral transformations of matrices acting on high-dimensional vector spaces [5, 6]. In recent years, several works have proposed settings in which quantum learners can achieve provable advantages over classical learners, under complexity-theoretic or oracle assumptions [7–12]. These results motivate a careful examination of which proposed QML advantages survive under comparable data-access models.

Quantum-inspired algorithms address this question by translating quantum state-preparation and block-encoding assumptions into classical sampling-and-query oracles [13–21]. Beginning with Tang's dequantization [13] of the quantum recommendation system [22], several quantum linear-algebra and QML algorithms have been shown to admit efficient classical simulations under suitable input-model assumptions. A common ingredient is sampling-and-query access to the matrix on which the spectral transformation is performed. Such access permits entry queries, norm queries, and ℓ2\ell_{2}-sampling from rows and columns, and thus supports randomized low-rank matrix approximations. When this access is available, broad classes of QSVT-based algorithms can be simulated classically with polynomially related complexity.

However, sampling-and-query access to the transformed matrix is not implied by the oracle assumptions of every quantum algorithm. A quantum algorithm may construct the required block-encoding by composing separately accessible operators, whereas the corresponding classical oracles need not provide sampling-and-query access to their product [23, 24].

The quantum algorithm for learning with optimized random features [23] provides a representative example. Optimized random features use a data-dependent sampling distribution designed to reduce the number of features required for kernel methods [25–29]. The quantum sampler uses QSVT to implement the inverse

Σϵ−1=(ϵI+q^(ρ)kq^(ρ))−1,(1)\mathbf{\Sigma}_{\epsilon}^{-1}=\left(\epsilon\mathbf{I}+\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}}\right)^{-1}, \tag{1}

where I denotes the identity matrix, q^(ρ)\hat{\mathbf{q}}^{(\rho)} is an operator representing an empirical probability distribution by its diagonal entries, and k\mathbf{k} is a kernel operator. The input model supplies state preparation for q^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}} and query access to the spectral weights defining k\mathbf{k}, from which k\mathbf{k} can be block encoded. It does not supply sampling-and-query access to q^(ρ)kq^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}}. In the discretized formulation of [23], this inverse acts on a space with GDG^{D} basis states. Under the stated oracle assumptions, the quantum sampler produces one optimized feature in time polynomial in the input dimension DD and the relevant precision parameters. By contrast, a direct classical procedure that explicitly constructs and inverts the GD×GDG^{D} \times G^{D} matrix has cost polynomial in GDG^{D} and is therefore exponential in DD.

Existing dequantization techniques relevant to this inverse rely on one of two principal mechanisms. Sampling-based methods construct randomized sketches using sampling access to the matrices to be transformed, as in dequantizations of recommendation systems [13–19]. Sparse-matrix methods instead assume sparse-query access and are classically efficient for low-degree polynomial transformations at constant additive precision, as in the guided local-Hamiltonian problem [30].

The optimized random-feature sampler is not a direct instance of either regime. The sampling-based results

†^{\dagger} murao@phys.s.u-tokyo.ac.jp

‡^{\ddagger} hayata.yamasaki@gmail.com cannot be applied directly because the corresponding classical input supplies sampling-and-query access only to the diagonal factor q^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}}, and not to k\mathbf{k} or to the composite matrix q^(ρ)kq^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}}. The sparse-access result also cannot be invoked, since sparse-query access to the matrix to be transformed is not provided, and the target inverse is not restricted to the low-degree, constant-precision regime.

Nevertheless, here we prove that the absence of both structures does not prohibit the dequantization. To establish this, we develop a general dequantization method for matrix functions of the form

f(γI+DAD),(2)f(\gamma\boldsymbol{I}+\boldsymbol{D}\boldsymbol{A}\boldsymbol{D}), \tag{2}

where the nonnegative diagonal matrix DD is supplied through sampling-and-query access, whereas the Hermitian matrix AA, which may be dense and full rank, is supplied only through entry queries. For optimized random features, taking D=q^(ρ)D = \sqrt{\hat{q}^{(\rho)}}, A=kA = k, and f(x)=x−1f(x) = x^{-1} gives a classical optimized-random-feature sampler whose runtime is polynomial in DD.

Unlike sampling-based dequantization methods, our algorithm does not require sampling-and-query access to DAD, but uses only samples from the diagonal factor D to identify a small set of heavy coordinates. In contrast to sparse-matrix methods, it imposes no sparsity condition on A. Once these coordinates are identified, entry queries to A on the corresponding indices suffice, even when A is dense and full rank. The resulting algorithm approximates Eq. (2) and remains applicable when entry queries to A are available only through probabilistic estimates.

Problem setting.— Let D=diag(d1,…,dn)≥0D = \text{diag}(d_1, \ldots, d_n) \geq 0 and let A∈Cn×nA \in \mathbb{C}^{n \times n} be Hermitian. Sampling-and-query access SQ(D)\text{SQ}(D) allows one to query did_i, obtain the Frobenius norm ∥D∥F\|D\|_F, and sample an index ii with probability di2/∥D∥F2d_i^2 / \|D\|_F^2. Entry-query access Q(A)\text{Q}(A) returns A(i,j)A(i, j) for a requested pair (i,j)(i, j), but does not provide row or column sampling [13–20, 30]. These oracles make every entry of the weighted matrix directly accessible through

(DAD)(i,j)=diA(i,j)dj,(3)(D A D)(i,j)=d_{i}A(i,j)d_{j}, \tag{3}

but they do not generally implement SQ(DAD). We also use a noisy query oracle QϵA,δA(A)Q_{\epsilon_A, \delta_A}(A), which returns every requested entry within additive error ϵA\epsilon_A with probability at least 1−δA1 - \delta_A. Let q(D)\mathbf{q}(D), s(D)\mathbf{s}(D), and n(D)\mathbf{n}(D) denote the runtimes of one entry query, one sample, and one norm query to SQ(D), respectively, and define

sq(D):=max⁡{q(D),s(D),n(D)}.(4)\mathbf{s}\mathbf{q}(D):=\max\{\mathbf{q}(D),\mathbf{s}(D),\mathbf{n}(D)\}. \tag{4}

Similarly, q(A)\mathbf{q}(A) and qϵA,δA(A)\mathbf{q}_{\epsilon_A, \delta_A}(A) denote the runtimes of one exact and one noisy entry query to AA, respectively. Thus, SQ and Q denote access oracles, whereas sq\mathbf{sq} and q\mathbf{q} denote the corresponding access costs.

For a real number γ>0\gamma > 0, define

M:=γI+DAD.(5)M:=\gamma\boldsymbol{I}+\boldsymbol{D}\boldsymbol{A}\boldsymbol{D}. \tag{5}

Figure

Diagonal truncation

Small-block computation

FIG. 1. Diagonal truncation and small-block computation. Samples from SQ(D) identify the heavy coordinates and define the truncated matrix D~\widetilde{D}. The matrix D~ADD~\widetilde{D}AD\widetilde{D} is supported on the corresponding principal block, where the matrix function is computed exactly and efficiently.

Our objective is to construct a classical representation of a matrix N\mathbf{N} that approximates f(M)f(\mathbf{M}) in the operator norm ∥⋅∥op\|\cdot\|_{\mathrm{op}} induced by the Euclidean norm, without exact sampling access to DAD\mathbf{DAD}.

Diagonal-truncation method.— Our key scheme uses samples from SQ(D) to recover, with high probability, all coordinates whose diagonal entries exceed a chosen threshold. Restricting D to these retained coordinates gives a truncated diagonal matrix D~\widetilde{D}. The matrix γI+D~AD\gamma I + \widetilde{D}AD differs from γI\gamma I only on the principal block indexed by the retained coordinates. Therefore, we query A only on this block and compute the matrix function there, while the remaining coordinates contribute f(γ)If(\gamma)I. The construction is also illustrated in Fig. 1.

We now formalize this construction and then state the resulting approximation guarantee. Let ϵD>0\epsilon_D > 0 be a truncation threshold and let δD∈(0,1)\delta_D \in (0,1) be the allowed failure probability of the truncation step. Define the set of heavy coordinates by

HϵD={i∈[n]:di≥ϵD}.(6)H_{\epsilon_{D}}=\{i\in[n]:d_{i}\geq\epsilon_{D}\}. \tag{6}

Every i∈HϵDi \in H_{\epsilon_D} is sampled by SQ(D) with probability at least ϵD2/∥D∥F2\epsilon_D^2 / \|D\|_F^2. Moreover,

∣HϵD∣≤∥D∥F2ϵD2,(7)|H_{\epsilon_{D}}|\leq\frac{\|D\|_{\mathrm{F}}^{2}}{\epsilon_{D}^{2}}, \tag{7}

because the squared diagonal entries sum to ∥D∥F2\|D\|_{F}^{2}. It follows that

R=⌈∥D∥F2ϵD2log⁡(∥D∥F2ϵD2δD)⌉(8)R=\left\lceil\frac{\|\boldsymbol{D}\|_{\mathrm{F}}^{2}}{\epsilon_{D}^{2}}\log\left(\frac{\|\boldsymbol{D}\|_{\mathrm{F}}^{2}}{\epsilon_{D}^{2}\delta_{D}}\right)\right\rceil \tag{8}

independent samples recover all coordinates in HϵDH_{\epsilon_D} with probability at least 1−δD1 - \delta_D.

Let SS be the recovered set, write s=∣S∣s = |S|, and let D~\widetilde{D} retain did_i on SS and vanish elsewhere. On the successful event,

∥D−D~∥op≤ϵD,s=rank(D~)≤∥D∥F2ϵD2.(9)\|\boldsymbol{D}-\widetilde{\boldsymbol{D}}\|_{\mathrm{op}}\leq\epsilon_{D},\qquad s=\mathrm{rank}(\widetilde{\boldsymbol{D}})\leq\frac{\|\boldsymbol{D}\|_{\mathrm{F}}^{2}}{\epsilon_{D}^{2}}. \tag{9}

The reduced dimension is therefore determined by the heavy-coordinate support of D. No low-rank or sparsity condition is imposed on A.

Choose an ordering S={i1,…,is}S = \{i_1, \ldots, i_s\} and define the bijection π(it)=t\pi(i_t) = t. The algorithm queries the upper-triangular entries of AA on S×SS \times S using QϵA,δA(A)\mathbf{Q}_{\epsilon_A, \delta_A}(A) and enforces Hermitian symmetry on the returned values. It then constructs the s×ss \times s matrix

M~S(t,u)=γδt,u+ditA~(it,iu)diu(10)\widetilde{M}_{S}(t,u)=\gamma\delta_{t,u}+d_{i_{t}}\widetilde{A}(i_{t},i_{u})d_{i_{u}} \tag{10}

and computes

B=f(M~S)(11)\boldsymbol{B}=f(\widetilde{\boldsymbol{M}}_{S}) \tag{11}

by diagonalizing M~S\widetilde{M}_{S} and applying f to its eigenvalues. The output matrix is represented by SS, π\pi, and BB as

N(i,j)={B(π(i),π(j)),i,j∈S,f(γ),i=j∉S,0,otherwise.(12)\boldsymbol{N}(i,j)=\begin{cases}\boldsymbol{B}(\pi(i),\pi(j)),&i,j\in S,\\f(\gamma),&i=j\notin S,\\0,&otherwise.\end{cases} \tag{12}

Indeed, after permuting the coordinates in S to the first s positions,

γI+D~A~D~≃(M~S00γIn−s).(13)\gamma\boldsymbol{I}+\widetilde{\boldsymbol{D}}\widetilde{\boldsymbol{A}}\widetilde{\boldsymbol{D}}\simeq\begin{pmatrix}{{{\widetilde{M}_{S}}}}&{{{0}}} \\{{{0}}}&{{{\gamma\boldsymbol{I}_{n-s}}}}\end{pmatrix}. \tag{13}

Its matrix function has the block B on S and equals f(γ)If(\gamma)I on the complement. Thus, N is stored using the index set S and one s×ss \times s block rather than an n×nn \times n array.

Main result.— Let A~\tilde{A} denote any Hermitian extension of the queried entries on S×SS \times S, and define

M~=γI+D~A~D~.(14)\widetilde{M}=\gamma\boldsymbol{I}+\widetilde{D}\widetilde{A}\widetilde{D}. \tag{14}

On the event that the truncation step and all retained-block queries succeed,

∥M−M~∥op≤2∥A∥op∥D∥opϵD+ϵA∥D∥F2=:ν.\begin{align*}\|M-\widetilde{M}\|_{\mathrm{op}}&\leq2\|A\|_{\mathrm{op}}\|D\|_{\mathrm{op}}\epsilon_{D}+\epsilon_{A}\|D\|_{\mathrm{F}}^{2}\\&=:\nu.\end{align*}

(15)

The first term comes from truncating the two diagonal factors, and the second comes from estimating the entries of A on the retained block.

The preceding approximation controls the error in the matrix to which ff is applied. To obtain an approximation guarantee after applying the matrix function ff, we need to bound ∥f(X)−f(Y)∥op\|f(\mathbf{X}) - f(\mathbf{Y})\|_{\mathrm{op}} in terms of ∥X−Y∥op\|\mathbf{X} - \mathbf{Y}\|_{\mathrm{op}}. A scalar function ff is LL-Lipschitz on an interval F⊆R\mathfrak{F} \subseteq \mathbb{R} if

∣f(x)−f(y)∣≤L∣x−y∣(x,y∈F).(16)|f(x)-f(y)|\leq L|x-y|\qquad(x,y\in\mathfrak{F}). \tag{16}

For Hermitian matrices with spectra contained in F\mathfrak{F}, the corresponding operator-norm perturbation bound incurs an additional logarithmic factor in the number of distinct eigenvalues [31]. Since the approximating matrix in Eq. (13) has at most s+1s+1 distinct eigenvalues, this gives the factor C[1+log⁡(1+s)]LC[1+\log(1+s)]L appearing below.

The following theorem summarizes the size of the retained block, the resulting approximation error, the success probability, and the running time. The detailed proofs are given in Appendix C.

Theorem 1 (Diagonal-truncation approximation). Suppose that f:R→Rf : \mathbb{R} \to \mathbb{R} is L-Lipschitz on a spectral interval containing

[λmin⁡(M)−ν,λmax⁡(M)+ν]∪{γ}.(17)[\lambda_{\operatorname*{m i n}}(M)-\nu,\lambda_{\operatorname*{m a x}}(M)+\nu]\cup\{\gamma\}. \tag{17}

Given SQ(D) and QϵA,δA(A)\mathbf{Q}_{\epsilon_A, \delta_A}(\mathbf{A}), the randomized classical algorithm described above outputs the representation of N\mathbf{N} in Eq. (12). With probability at least 1−δD−s(s+1)δA/21 - \delta_D - s(s + 1)\delta_A/2, the output satisfies

s≤∥D∥F2ϵD2,(18)s\leq\frac{\|D\|_{\mathrm{F}}^{2}}{\epsilon_{D}^{2}}, \tag{18} ∥f(M)−N∥op≤C[1+log⁡(1+s)]Lν,(19)\|f(M)-N\|_{\mathrm{op}}\leq C[1+\log(1+s)]L\nu, \tag{19}

where C > 0 is a numerical constant. The runtime is

O[sq(D)+qϵA,δA(A)+1]×O~[(∥D∥FϵD)6log⁡(1δD)].\begin{align*}O\left[\mathbf{s}\mathbf{q}(\boldsymbol{D})+\mathbf{q}_{\epsilon_{A},\delta_{A}}(\boldsymbol{A})+1\right]\\ \times\widetilde{O}\left[\left(\frac{\|\boldsymbol{D}\|_{\mathrm{F}}}{\epsilon_{D}}\right)^{6}\log\left(\frac{1}{\delta_{D}}\right)\right].\end{align*}

(20)

Optimized random features.— Random-feature methods approximate a shift-invariant kernel by sampling a finite collection of Fourier features and fitting a linear predictor in the resulting feature space [32, 33]. Once the feature parameters have been sampled, the remaining learning problem is an ordinary classical linear regression problem. In the standard construction, the feature parameters are sampled from the spectral distribution defining the kernel. Optimized random features instead use a data-dependent distribution related to regularized leverage scores [25–29]. This distribution assigns larger probability to features that are more useful for the observed input distribution and can reduce the number of features required to achieve the approximation quality of kernel ridge regression.

The quantum algorithm in [23] addresses the computational problem of sampling from this optimized distribution. The coefficient-fitting stage remains classical. We now apply Theorem 1 to the quantum sampling subroutine.

Let X={0,…,G−1}D\mathcal{X} = \{0, \ldots, G - 1\}^D, so that ∣X∣=GD|\mathcal{X}| = G^D, and let FDF_D denote the DD-dimensional discrete Fourier transform over X\mathcal{X}. The shift-invariant kernel is specified by a nonnegative diagonal matrix Q(τ)Q^{(\tau)} through

k=FD†Q(τ)FD,Qmax⁡(τ)=∥Q(τ)∥op.(21)\boldsymbol{k}=\boldsymbol{F}_{D}^{\dagger}\boldsymbol{Q}^{(\tau)}\boldsymbol{F}_{D},\qquad Q_{\max}^{(\tau)}=\|\boldsymbol{Q}^{(\tau)}\|_{\mathrm{op}}. \tag{21}

The empirical distribution q^(ρ)\hat{q}^{(\rho)} is represented both as a probability function over X\mathcal{X} and as the diagonal matrix q^(ρ)\hat{q}^{(\rho)}, and we define

Σϵ=ϵI+q^(ρ)kq^(ρ).(22)\mathbf{\Sigma}_{\epsilon}=\epsilon\mathbf{I}+\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}}. \tag{22}

For each x∈Xx \in \mathcal{X}, let

∣ϕx⟩=q^(ρ)FDQ(τ)∣x⟩.(23)|\phi_{x}\rangle=\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{F}_{D}\sqrt{\mathbf{Q}^{(\tau)}}|x\rangle. \tag{23}

The optimized distribution over random features is then given by

w(x)=⟨ϕx∣Σϵ−1∣ϕx⟩,Dϵ(x)=w(x)∑z∈Xw(z).(24)w(x)=\langle\phi_{x}|\mathbf{\Sigma}_{\epsilon}^{-1}|\phi_{x}\rangle,\qquad\mathcal{D}_{\epsilon}(x)=\frac{w(x)}{\sum_{z\in\mathcal{X}}w(z)}. \tag{24}

The quantum algorithm prepares a state whose measurement approximately samples from Dϵ\mathcal{D}_{\epsilon}. Under its oracle assumptions, one sample with total-variation error at most δ\delta is produced in time

O[Dlog⁡Glog⁡log⁡G+q(Q(τ))+sq(q^(ρ))]×O~[Qmax⁡(τ)ϵpolylog(1δ)].\begin{align*}O\left[D\log G\log\log G+\mathbf{q}(\boldsymbol{Q}^{(\tau)})+\mathbf{s}\mathbf{q}\left(\sqrt{\hat{\boldsymbol{q}}^{(\rho)}}\right)\right]\\ \times\widetilde{O}\left[\frac{Q_{\max}^{(\tau)}}{\epsilon}\mathrm{polylog}\left(\frac{1}{\delta}\right)\right].\end{align*}

(25)

The central computational step of the quantum sampler is the regularized inverse Σϵ−1\mathbf{\Sigma}_{\epsilon}^{-1}. To compare the quantum and classical algorithms under matched access assumptions, we give the classical algorithm query access Q(Q(τ))\mathbf{Q}(\mathbf{Q}^{(\tau)}), sampling-and-query access SQ(q^(ρ))\mathrm{SQ}(\sqrt{\hat{\mathbf{q}}^{(\rho)}}), and the value Qmax⁡(τ)Q_{\max}^{(\tau)}. These are the classical counterparts of the kernel-description oracle and the empirical-distribution state-preparation oracle used by the quantum algorithm [23]. Their access costs are denoted by q(Q(τ))\mathbf{q}(\mathbf{Q}^{(\tau)}) and sq(q^(ρ))\mathbf{s}\mathbf{q}(\sqrt{\hat{\mathbf{q}}^{(\rho)}}), respectively.

Under this access model, the classical input does not provide the sampling access or sparse access to q^(ρ)kq^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}} assumed by existing dequantization methods [13–19, 30]. Nevertheless, the regularized inverse in Eq. (22) lies precisely in the regime addressed by Theorem 1, and the available classical oracles satisfy its access requirements.

Sampling-and-query access to q^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}} directly supplies the nonnegative diagonal factor. Although entry-query access to the kernel matrix k\mathbf{k} is not given directly, its Fourier representation in Eq. (21) provides an efficient algorithm for estimating each entry by using Q(Q(τ))\mathbf{Q}(\mathbf{Q}^{(\tau)}). Moreover, since q^(ρ)\hat{\mathbf{q}}^{(\rho)} is a normalized probability distribution,

∥q^(ρ)∥F=1.(26)\left\|\sqrt{\hat{\boldsymbol{q}}^{(\rho)}}\right\|_{\mathrm{F}}=1. \tag{26}

Therefore, the Frobenius-norm dependence in Theorem 1 introduces no factor that grows with ∣X∣=GD|\mathcal{X}| = G^D.

Thus all conditions needed to apply Theorem 1 can be implemented under the corresponding classical input, despite the absence of sampling-and-query access to q^(ρ)kq^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}}. The theorem replaces this unavailable matrix-level access by sampling from the diagonal factor and computing only on the corresponding principal block as illustrated in Fig. 1.

The resulting principal-block representation can be used to approximate the optimized feature weights and to sample from the resulting distribution without enumerating the full domain. The detailed proof is given in Appendix E. We therefore obtain the following result.

Theorem 2 (Classical optimized-feature sampler). Given query access Q(Q(τ))\mathbf{Q}(\mathbf{Q}^{(\tau)}), sampling-and-query access SQ(q^(ρ))\mathrm{SQ}(\sqrt{\hat{\mathbf{q}}^{(\rho)}}), and the value Qmax⁡(τ)Q_{\max}^{(\tau)}, and assuming k(0,0)=Ω(1)\mathbf{k}(0,0) = \Omega(1) as in Ref. [23], for 0<ϵ≤min⁡{Qmax⁡(τ),Qmax⁡(τ)}0 < \epsilon \leq \min\left\{Q_{\max}^{(\tau)}, \sqrt{Q_{\max}^{(\tau)}}\right\}, and δ∈(0,1)\delta \in (0,1), there exists a randomized classical algorithm that outputs a sample from a distribution D′\mathcal{D}' satisfying

dTV(Dϵ,D′)≤δ.(27)d_{\mathrm{T V}}(\mathcal{D}_{\epsilon},\mathcal{D}^{\prime})\leq\delta. \tag{27}

After the classical data structure for the empirical distribution has been constructed, the runtime for producing one sample is

O[DpolylogG+q(Q(τ))+sq(q^(ρ))]×O~[(Qmax⁡(τ)ϵ)181δ6].\begin{align*}O\left[D\mathrm{polylog}G+\mathbf{q}(\boldsymbol{Q}^{(\tau)})+\mathbf{s}\mathbf{q}\left(\sqrt{\hat{\boldsymbol{q}}^{(\rho)}}\right)\right]\\ \times\widetilde{O}\left[\left(\frac{Q_{\max}^{(\tau)}}{\epsilon}\right)^{18}\frac{1}{\delta^{6}}\right].\end{align*}

(28)

The parameter dependences in Eqs. (25) and (28) do not match, and the powers in our classical bound are not claimed to be optimal. In particular, δ\delta describes the total-variation error of a single feature sample and does not by itself determine the end-to-end statistical cost, which also involves repeated sampling. The relevant complexity conclusion is that, when Qmax⁡(τ)/ϵ=poly(D)Q_{\max}^{(\tau)}/\epsilon = \text{poly}(D) and 1/δ=poly(D)1/\delta = \text{poly}(D), the classical sampler runs in time polynomial in DD and log⁡G\log G under the matched oracle assumptions. Hence, the proposed superpolynomial separation in DD disappears. Since optimized-feature sampling is the only quantum component of the learning procedure in Theorem 2 of [23], and the subsequent coefficient fitting is classical, replacing the sampler also yields a fully classical implementation of the learning procedure. This is an oracle-level dequantization of the QSVT-based learning procedure rather than a new statistical method for random-feature learning. It shows that the absence of sampling-and-query access to the composite matrix q^(ρ)kq^(ρ)\sqrt{\hat{\mathbf{q}}^{(\rho)}}\mathbf{k}\sqrt{\hat{\mathbf{q}}^{(\rho)}} does not prevent a polynomial-time classical simulation under the corresponding oracle assumptions.

Conclusion.— In this work, we have introduced a dequantization method for diagonally weighted matrix functions that operates without sampling access to the composite matrix itself. Given sampling-and-query access to a nonnegative diagonal factor D and entry-query access to a Hermitian factor A, the method identifies an effective coordinate support from D and reduces the matrix transformation to a small principal block. This yields a support-sparse approximation to f(γI+DAD)f(\gamma I + DAD) with an operator-norm guarantee. Applied to optimized random features, it yields a classical sampler running in polynomial time under the parameter regime and matched oracle assumptions. Since the subsequent coefficient fitting is classical, this also gives a fully classical implementation of the learning procedure in [23] and removes the proposed superpolynomial separation in the input dimension.

These results suggest that the dequantization of QSVT-based routines should be assessed through the combination of access structure and target transformation. Our result identifies diagonal weighting together with entry-wise access to the remaining Hermitian factor as a sufficient structure for dequantization. More broadly, the absence of sampling access to a block-encoded composite matrix does not by itself establish a quantum advantage, since the separately accessible factors may still enable a different efficient classical reduction. Characterizing more general factor-level access conditions is a natural direction for future work.

ACKNOWLEDGMENTS

We acknowledge the use of ChatGPT 5.6 sol to assist in the preparation of the manuscript. NI was supported by JST BOOST, Japan Grant Number JPMJBS2418, JST CREST Grant Number JPMJCR25I5, JSPS KAKENHI Grant Number 23K21643, and MEXT Quantum Leap Flagship Program (MEXT QLEAP) JPMXS0118069605, JPMXS0120351339. MM was supported by MEXT Quantum Leap Flagship Program (MEXT QLEAP) JPMXS0118069605, JPMXS0120351339, JST CREST Grant Number JPMJCR25I5, JST ASPIRE Grant Number JPMJAP25A3, JSPS KAKENHI Grant Number 23K21643, JST NEXUS Grant Number JPMJNX26C9, and IBM Quantum. HY was supported by JST PRESTO Grant Number JPMJPR201A, JPMJPR23FC, JSPS KAKENHI Grant Number JP23K19970, JST CREST Grant Number JPMJCR25I5, JST [Moonshot R&D] [Grant Number JPMJMS256J], and Faculty Research Funding from Google Quantum AI.

[1] P. Wittek, Quantum Machine Learning: What Quantum Computing Means to Data Mining (Elsevier, 2014).

[2] A. W. Harrow, A. Hassidim, and S. Lloyd, Quantum algorithm for linear systems of equations, Phys. Rev. Lett. 103, 150502 (2009).

[3] C. Ciliberto, M. Herbster, A. D. Ialongo, M. Pontil, A. Rocchetto, S. Severini, and L. Wossnig, Quantum machine learning: a classical perspective, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 474, 20170551 (2018).

[4] Z. Zhao, J. K. Fitzsimons, and J. F. Fitzsimons, Quantum-assisted Gaussian process regression, Phys. Rev. A 99, 052331 (2019).

[5] A. Gilyén, Y. Su, G. H. Low, and N. Wiebe, Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics, in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019 (Association for Computing Machinery, New York, NY, USA, 2019) p. 193–204.

[6] J. M. Martyn, Z. M. Rossi, A. K. Tan, and I. L. Chuang, Grand unification of quantum algorithms, PRX Quantum 2, 040203 (2021).

[7] R. A. Servedio and S. J. Gortler, Equivalences and separations between quantum and classical learnability, SIAM Journal on Computing 33, 1067 (2004).

[8] Y. Liu, S. Arunachalam, and K. Temme, A rigorous and robust quantum speed-up in supervised machine learning, Nature Physics 17, 1013 (2021).

[9] C. Gyurik and V. Dunjko, On establishing learning separations between classical and quantum machine learning with classical data (2023), arXiv:2208.06339 [quant-ph].

[10] C. Gyurik and V. Dunjko, Exponential separations between classical and quantum learners (2024),

arXiv:2306.16028 [quant-ph].

[11] H. Yamasaki, N. Isogai, and M. Murao, Advantage of quantum machine learning from general computational advantages, npj Quantum Information 12, 125 (2026).

[12] R. Molteni, C. Gyurik, and V. Dunjko, Exponential quantum advantages in learning quantum observables from classical data, npj Quantum Information 12, 19 (2026).

[13] E. Tang, A quantum-inspired classical algorithm for recommendation systems, in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019 (Association for Computing Machinery, New York, NY, USA, 2019) p. 217–228.

[14] N.-H. Chia, H.-H. Lin, and C. Wang, Quantum-inspired sublinear classical algorithms for solving low-rank linear systems (2018), arXiv:1811.04852 [cs.DS].

[15] N.-H. Chia, A. Gilyén, H.-H. Lin, S. Lloyd, E. Tang, and C. Wang, Quantum-Inspired Algorithms for Solving Low-Rank Linear Equation Systems with Logarithmic Dependence on the Dimension, in 31st International Symposium on Algorithms and Computation (ISAAC 2020), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 181, edited by Y. Cao, S.-W. Cheng, and M. Li (Schloss Dagstuhl–Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2020) pp. 47:1–47:17.

[16] D. Jethwani, F. Le Gall, and S. K. Singh, Quantum-Inspired Classical Algorithms for Singular Value Transformation, in 45th International Symposium on Mathematical Foundations of Computer Science (MFCS 2020), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 170, edited by J. Esparza and D. Král (Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2020) pp. 53:1–53:14.

[17] A. Gilyén, Z. Song, and E. Tang, An improved quantum-inspired algorithm for linear regression, Quantum 6, 754 (2022).

[18] N.-H. Chia, A. P. Gilyén, T. Li, H.-H. Lin, E. Tang, and C. Wang, Sampling-based sublinear low-rank matrix arithmetic framework for dequantizing quantum machine learning, J. ACM 69, 10.1145/3549524 (2022).

[19] A. Bakshi and E. Tang, An improved classical singular value transformation for quantum machine learning, in Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA) (Society for Industrial and Applied Mathematics, 2024) pp. 2398–2453, https://epubs.siam.org/doi/pdf/10.1137/1.9781611977912.

[20] F. Le Gall, Robust dequantization of the quantum singular value transformation and quantum machine learning algorithms, computational complexity 34, 2 (2025).

[21] N. Isogai, H. Yamasaki, S. Sonoda, and M. Murao, Winning lottery tickets in neural networks via a quantum-inspired classical algorithm (2026), arXiv:2605.13979 [quant-ph].

[22] I. Kerenidis and A. Prakash, Quantum Recommendation Systems, in 8th Innovations in Theoretical Computer Science Conference (ITCS 2017), Leibniz International Proceedings in Informatics (LIPics), Vol. 67, edited by C. H. Papadimitriou (Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2017) pp. 49:1–49:21.

[23] H. Yamasaki, S. Subramanian, S. Sonoda, and M. Koashi, Learning with optimized random features: Exponential speedup by quantum machine learning without sparsity and low-rank assumptions, in Advances in Neural Information Processing Systems 33 (2020) pp. 13674–13687.

[24] H. Yamasaki, S. Subramanian, S. Hayakawa, and S. Sonoda, Quantum ridgelet transform: Winning lottery ticket of neural networks with quantum computation, in Proceedings of the 40th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 202, edited by A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett (PMLR, 2023) pp. 39008–39034.

[25] F. Bach, On the equivalence between kernel quadrature rules and random feature expansions, Journal of Machine Learning Research 18, 1 (2017).

[26] H. Avron, M. Kapralov, C. Musco, C. Musco, A. Velingker, and A. Zandieh, Random Fourier features for kernel ridge regression: Approximation bounds and statistical guarantees, in Proceedings of the 34th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 70, edited by D. Precup and Y. W. Teh (PMLR, 2017) pp. 253–262.

[27] S. Shahrampour and S. Kolouri, On sampling random features from empirical leverage scores: Implementation and theoretical guarantees (2019), arXiv:1903.08329 [cs.LG].

[28] Z. Li, J.-F. Ton, D. Oglic, and D. Sejdinovic, Towards a unified analysis of random Fourier features, in Proceedings of the 36th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 97, edited by K. Chaudhuri and R. Salakhutdinov (PMLR, 2019) pp. 3905–3914.

[29] F. Liu, X. Huang, Y. Chen, J. Yang, and J. Suykens, Random Fourier features via fast surrogate leverage weighted sampling, in Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 34 (2020) pp. 4844–4851.

[30] S. Gharibian and F. Le Gall, Dequantizing the quantum

singular value transformation: hardness and applications to quantum chemistry and the quantum PCP conjecture, in Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022 (Association for Computing Machinery, New York, NY, USA, 2022) p. 19–32.

[31] A. Aleksandrov and V. Peller, Estimates of operator moduli of continuity, Journal of Functional Analysis 261, 2741 (2011).

[32] A. Rahimi and B. Recht, Random features for large-scale kernel machines, in Advances in Neural Information Processing Systems, Vol. 20, edited by J. Platt, D. Koller, Y. Singer, and S. Roweis (Curran Associates, Inc., 2007).

[33] A. Rahimi and B. Recht, Weighted sums of random kitchen sinks: Replacing minimization with randomization in learning, in Advances in Neural Information Processing Systems, Vol. 21, edited by D. Koller, D. Schuurmans, Y. Bengio, and L. Bottou (Curran Associates, Inc., 2008).

[34] B. Schölkopf and A. J. Smola, Learning with kernels: support vector machines, regularization, optimization, and beyond (MIT press, 2002).

[35] R. P. Brent, Fast multiple-precision evaluation of elementary functions, J. ACM 23, 242–251 (1976).

[36] B. Haible and T. Papanikolaou, Fast multiprecision evaluation of series of rational numbers, in Algorithmic Number Theory, edited by J. P. Buhler (Springer Berlin Heidelberg, Berlin, Heidelberg, 1998) pp. 338–350.

[37] R. P. Brent and P. Zimmermann, Modern Computer Arithmetic, Cambridge Monographs on Applied and Computational Mathematics, Vol. 18 (Cambridge University Press, 2010).