arXiv:2610.41694quant-phOct 2026

Manuscript Offprint

arXiv:2610.41694

Exponential quantum-classical query separations for cyclic Forrelation

Yuxin Zhang, Changpeng Shao

Abstract

We study the randomized classical query complexity of cyclic Forrelation, a cyclic analogue of the kk-Forrelation problem introduced by Aaronson and Ambainis [AA15, STOC'15] and known to achieve an optimal separation between quantum and randomized query complexities [BS21, STOC'21]. In kk-cyclic Forrelation, we are given kk Boolean functions f1,…,fk:F2n→{−1,1}f_1, \ldots, f_k : \mathbb{F}_2^n \to \{-1,1\}, and the goal is to estimate Tk(f1,…,fk)=1NTr(Df1H⊗n⋯DfkH⊗n)T_k(f_1, \ldots, f_k) = \frac{1}{N} \mathrm{Tr}(D_{f_1} H^{\otimes n} \cdots D_{f_k} H^{\otimes n}), where Dfi=diag(fi(x):x∈F2n)D_{f_i} = \mathrm{diag}(f_i(x) : x \in \mathbb{F}_2^n), HH is the Hadamard gate, and N=2nN = 2^n. The problem arises naturally as a normalized-trace estimation problem in the DQC1 query model and can be solved with kk quantum queries. Its classical query complexity was recently posed as an open problem in [JLS+^+26, FOCS'26], which conjectured a lower bound of Ω~(N1−2/k)\tilde{\Omega}(N^{1-2/k}).

We establish a nearly complete characterization of the nonadaptive classical query complexity of cyclic Forrelation. For even k≥4k \geq 4, we prove a tight bound of Θk(N1−2/k)\Theta_k(N^{1-2/k}) for constant additive error. For odd k≥5k \geq 5, we obtain a lower bound of Ωk(N1−2/(k−1))\Omega_k(N^{1-2/(k-1)}) and an upper bound of Ok(N1−2/k)O_k(N^{1-2/k}). Surprisingly, the case k=3k=3 admits a polylogarithmic-query nonadaptive classical algorithm, disproving the previous conjecture in this case. These results suggest an unexpected parity-dependent structure: the nonadaptive classical query complexity may be governed by the independence number of the kk-cycle, leading to the exponent 1−1/⌊k/2⌋1-1/\lfloor k/2 \rfloor, rather than the previously conjectured 1−2/k1-2/k, which was motivated by a Fourier-growth heuristic. Finally, allowing adaptivity, we prove a lower bound of Ω(N1/4)\Omega(N^{1/4}) for every k≥4k \geq 4.

Although formally close to kk-Forrelation, the cyclic structure leads to rather different classical behavior, and the standard techniques for kk-Forrelation do not apply. Our lower bounds are instead based on hidden-shift collision constructions, and our upper bounds follow from randomized sampling together with cycle-specific conditional-moment estimates. While recent work of Girish [Gir26, STOC'26] has revealed strong limitations of the model, our results provide a systematic understanding of its query advantages over classical computation.

*zhang.yuxin@renyi.hu †changpeng.shao@amss.ac.cn

1 Introduction

Forrelation is a fundamental problem in the study of quantum advantages in the query complexity model. Introduced by Aaronson [Aar10] and generalized by Aaronson and Ambainis [AA15], the kk-Forrelation problem gives query access to kk Boolean functions f1,…,fk:F2n→{−1,1}f_1, \ldots, f_k : \mathbb{F}_2^n \to \{-1,1\}, and the goal is to estimate

Φk(f1,…,fk)=⟨0n∣H⊗nDf1H⊗n⋯DfkH⊗n∣0n⟩=1N(k+1)/2∑x1,…,xk∈F2nf1(x1)⋯fk(xk)(−1)x1⋅x2+⋯+xk−1⋅xk,\begin{align*}\Phi_{k}(f_{1},\ldots,f_{k})&=\langle 0^{n}|H^{\otimes n}D_{f_{1}}H^{\otimes n}\cdots D_{f_{k}}H^{\otimes n}|0^{n}\rangle\\&=\frac{1}{N^{(k+1)/2}}\sum_{x_{1},\ldots,x_{k}\in\mathbb{F}_{2}^{n}}f_{1}(x_{1})\cdots f_{k}(x_{k})\left(-1\right)^{x_{1}\cdot x_{2}+\cdots+x_{k-1}\cdot x_{k}},\end{align*}

(1)

where N=2nN=2^n, Dfi:=diag(fi(x):x∈F2n)D_{f_i}:=\mathrm{diag}(f_i(x):x\in\mathbb{F}_2^n) and HH is the Hadamard gate. A quantum algorithm can estimate Φk\Phi_k using [k/2][k/2] queries [AA15]. On the classical side, it is known that any qq-query quantum algorithm can be simulated by a randomized classical algorithm using O(N1−1/2q)O(N^{1-1/2q}) queries [AA15, BGGS21]. So for constant additive error, kk-Forrelation admits a randomized classical algorithm with query complexity O(N1−1/k)O(N^{1-1/k}) [BGGS21, Theorem 4]. Following earlier progress by Tal [Tal20] on the related kk-Rorrelation problem, Bansal and Sinha [BS21] established a matching lower bound of Ω~(N1−1/k)\widetilde{\Omega}(N^{1-1/k}), showing that the randomized query complexity of kk-Forrelation is tight up to logarithmic factors. Sherstov, Storozhenko, and Wu [SSW21] independently obtained a similar result for kk-Rorrelation. Moreover, kk-Forrelation (with kk growing polynomially in nn) is BQP-complete [AA15], and it underlies the oracle separation of BQP and the polynomial hierarchy [RT19]. Beyond these results, Forrelation and its variants have also been used to establish exponential quantum-classical separations in communication complexity [GRT21, GRZ21] and in the query complexity of matrix functions [MS24], to prove further oracle separations in quantum complexity theory [AIK22], to separate quantum query algorithms with different numbers of rounds of adaptivity [GSTW24], and to construct quantum cryptographic primitives relative to classical oracles [KQST23], etc.

In this paper, we study how much quantum query advantage is possible in a restricted model of quantum computation. The one-clean-qubit model, also known as DQC1 (deterministic quantum computation with one qubit), was introduced by Knill and Laflamme [KL98] to capture the computational power of quantum systems whose state is almost completely mixed. In this model, a polynomial-size unitary circuit acts on the initial state

ρ=∣0⟩⟨0∣⊗I2n2n,\rho=|0\rangle\langle0|\otimes\frac{I_{2^{n}}}{2^{n}},

in which only the first qubit is pure and is measured at the end of the computation. Although DQC1 is contained in BQP and is believed to be strictly weaker, it provides a natural setting for understanding the resources underlying quantum computational advantages.

Despite its simple structure and limited purity, DQC1 can efficiently solve certain problems for which no efficient classical algorithms are known. A natural task in this model is estimating normalized traces of unitaries. If one applies a Hadamard gate to the clean qubit, then a unitary UU controlled by it, and then another Hadamard gate, the clean qubit is measured as 0 with probability

12+Re Tr(U)2n+1,\frac{1}{2}+\frac{\mathrm{Re}\,\mathrm{Tr}(U)}{2^{n+1}},

so O(ε−2)O(\varepsilon^{-2}) repetitions suffice to estimate 2−n Re Tr(U)2^{-n}\,\mathrm{Re}\,\mathrm{Tr}(U) to additive error ε\varepsilon. This problem is DQC1-complete [KL98, She06], and underlies many other natural DQC1-complete problems, such as approximating Jones polynomials [SJ08] and estimating spectral sums such as the normalized trace of the inverse [EHLG25]; see [JLS+26] and the references therein. Moreover, it was shown that, for suitable variants of the model, efficient classical simulation of DQC1 would collapse the polynomial hierarchy [MFF14, FKM⁺¹⁸]. These results provide complexity-theoretic evidence for the computational advantage of DQC1 over classical computation. A complementary approach is to establish unconditional quantum-classical separations, as has been achieved in the one-clean-qubit communication model [KL21, AGL23]. In this work, we turn to query complexity, which provides another natural framework for studying the computational advantages of DQC1 unconditionally.

The DQC1 query model has the same alternating circuit structure as the standard quantum query model, with the restrictions on initial states and measurement described above. The input consists of kk Boolean functions f1,…,fk:F2n→{−1,1}f_1, \ldots, f_k : \mathbb{F}_2^n \to \{-1,1\}, accessed through their phase oracles {Dfj}j∈[k]\{D_{f_j}\}_{j\in[k]}. In a qq-query DQC1 algorithm, the unitary UU in the circuit above has the form

U=Vq+1OqVq⋯O1V1,U=V_{q+1}O_q V_q\cdots O_1V_1,

where V1,…,Vq+1V_1,\ldots,V_{q+1} are unitaries independent of input and each Oi∈{Df1,…,Dfk}O_i\in\{D_{f_1},\ldots,D_{f_k}\} is one of the given oracles.1^1 Recently, Girish [Gir26] showed that 2-Forrelation requires NΩ(1)N^{\Omega(1)} queries in the DQC1 model, establishing an exponential query complexity separation between DQC1 and BQP.

While this result highlights the limitations of DQC1 relative to BQP, a complementary question is whether DQC1 can nevertheless offer substantial query advantages over classical computation. To establish such an advantage, we seek problems that DQC1 can solve efficiently but are hard for classical algorithms. The central role of normalized trace estimation suggests a natural candidate: a cyclic analogue of Forrelation. Whereas standard Forrelation in (1) is defined by a matrix element of a product of Hadamard transforms and diagonal phase oracles, replacing the matrix element by a normalized trace leads to a cyclic analogue. This seemingly simple modification makes the problem naturally suited to DQC1, while its classical query complexity remains unclear. A lower bound on its classical query complexity was conjectured in [JLS⁺²⁶]. In this paper, we systematically study the randomized classical query complexity of this problem, in both the nonadaptive and adaptive settings.

Cyclic Forrelation. We consider a cyclic analogue of the kk-Forrelation problem, replacing a matrix entry by a normalized trace:

Tk(f1,…,fk)=1NTr⁡(Df1H⊗nDf2H⊗n⋯DfkH⊗n)=1Nk/2+1∑x1,…,xk∈F2nf1(x1)⋯fk(xk)(−1)x1⋅x2+⋯+xk−1⋅xk+xk⋅x1.\begin{align*}T_{k}(f_{1},\ldots,f_{k})&=\frac{1}{N}\operatorname{Tr}\left(D_{f_{1}}H^{\otimes n}D_{f_{2}}H^{\otimes n}\cdots D_{f_{k}}H^{\otimes n}\right)\\&=\frac{1}{N^{k/2+1}}\sum_{x_{1},\ldots,x_{k}\in\mathbb{F}_{2}^{n}}f_{1}(x_{1})\cdots f_{k}(x_{k})\left(-1\right)^{x_{1}\cdot x_{2}+\cdots+x_{k-1}\cdot x_{k}+x_{k}\cdot x_{1}}.\end{align*}

(2)

We define kk-cyclic Forrelation as the problem of estimating TkT_k. Since all matrices involved are real and orthogonal, TkT_k is a real number in [−1,1][-1,1]. Compared with Φk\Phi_k, the phase differs in a single term: the phase of Φk\Phi_k follows the path x1−x2−⋯−xkx_1 - x_2 - \cdots - x_k, whereas the additional term xk⋅x1x_k \cdot x_1 in TkT_k closes this path into a cycle. Each run of the DQC1 circuit with U=Df1H⊗n⋯DfkH⊗nU = D_{f_1}H^{\otimes n} \cdots D_{f_k}H^{\otimes n} makes one query to each fjf_j, so TkT_k can be estimated to constant additive error using kk queries in DQC1, as shown in Figure 1. Moreover, just as Forrelation is BQP-complete, when kk is allowed to grow with the input size, estimating TkT_k is DQC1-complete [JLS⁺²⁶, Proposition 1.3]. Cyclic Forrelation also plays a central role in establishing exponential classical query lower bounds for estimating normalized traces of functions of sparse Hamiltonians [JLS⁺²⁶].

1^1Since UU is applied controlled by the clean qubit, each OiO_i is implemented as a controlled-DfjD_{f_j}, which counts as one query. Each controlled-DfjD_{f_j} operation can be implemented using one query to the standard oracle and Hadamard gates on the answer qubit [Gir26, Section 2.2].

Figure

Figure 1: A k-query DQC1 circuit for k-cyclic Forrelation.

The classical complexity of cyclic Forrelation. Much less is known about the classical query complexity of cyclic Forrelation. For k=4k=4, Shepherd's hidden-subspace construction [She10, Proposition 3.3.6] establishes a deterministic classical query lower bound Ω(N1/4)\Omega(N^{1/4}) for a closely related normalized-trace problem. However, the randomized classical query complexity of cyclic Forrelation remained largely unexplored. For general kk, it was conjectured in [JLS+^{+}26, Conjecture 1.4] that estimating TkT_k to constant additive error requires Ω^(N1−2/k)\widehat{\Omega}(N^{1-2/k}) classical queries. Using a similar technique as in [BS21], one can prove a lower bound of Ω^(N1−2/k)\widehat{\Omega}(N^{1-2/k}), but only for additive error of order 1/N1/N, which is too small to be meaningful. The classical query complexity of cyclic Forrelation thus remained open, even for k=4k=4, a gap remained between the known Ω^(N1/4)\widehat{\Omega}(N^{1/4}) lower bound and the conjectured Ω^(N1/2)\widehat{\Omega}(N^{1/2}).

References (29)