arXiv:2609.03628cs.CCSep 2026

Manuscript Offprint

arXiv:2609.03628

Random Garbage Separates XOR from Forward-Only Queries

Khaled Elbassioni, Rishikesh Gajjala, Saurabh Ray

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give exponential quantum query separations between the standard XOR interface and two forward-only interfaces that supply neither an adjoint nor an inverse oracle. Let X=F2nX = \mathbb{F}_2^n, N=∣X∣N = |X|, and fh,r(x)=(h(x),x,rx)f_{h,r}(x) = (h(x), x, r_x), where h:X→Xh: X \to X is promised to be either a permutation or a Simon two-to-one function, and rr is a fixed table of nn-bit tags, unrestricted by the promise and reused on every query. The resulting problem is solvable with at most n+2n+2 standard XOR queries, but has forward-erasing query complexity Θ(N)\Theta(\sqrt{N}). This answers affirmatively open question 11 in [Aar21]. We also embed these instances into permutations. The detailed construction retains the copy of xx in each prescribed output, but for these promises that copy can be replaced by one bit that distinguishes the two inputs in every Simon pair. This gives a permutation domain of size L=4N2L = 4N^2 and a permutation problem with the same standard-query upper bound and forward-only in-place query complexity Θ(N)=Θ(L1/4)\Theta(\sqrt{N}) = \Theta(L^{1/4}). Both lower bounds remain valid with a clean coherent bypass.

The common lower bound uses an analysis-only recording replacement. In the replacement computation, tracing out the fixed random tag table after TT calls gives a sum of positive-semidefinite operator contributions, each depending on hh at no more than TT addresses. On such a set, the restrictions induced by random permutations and random Simon functions differ only if the set contains a hidden Simon pair, an event of probability O(T2/N)O(T^2/N).

1 Introduction

The standard quantum query interface to a classical function preserves the query input and XORs the function value into a target register. An injective function also admits a smaller forward interface that replaces the input by the function value. This interface is an isometry when the codomain is larger and an in-place unitary when the function is a permutation. We show that these interfaces can have exponentially different query complexity when only forward calls are supplied.

Aaronson asked whether a Boolean property of injective functions can require asymptotically fewer standard queries than forward-erasing queries, and suggested a Simon function padded by fixed random garbage as a candidate [Aar21]. Here the garbage is a table of tags sampled once for the oracle instance and reused on every call. A quantum algorithm may therefore revisit the same entries in superposition and coherently combine amplitudes from different visits. Refreshing the tags on each call would define a different oracle model.

The tags are essential to the lower bound, rather than merely a device for making the oracle injective: the explicit copy of xx already guarantees injectivity. If the tag table were constant, a forward query would still preserve the interference needed for ordinary Simon sampling. Under the random hard distribution, the independently sampled fixed tags instead give the proof one purifying table cell for each address. The recording comparison organizes the state into orthogonal components indexed by the addresses whose cells have left their initial uniform subspaces. This structure ultimately converts TT forward queries into a birthday bound.

We establish the separation first for an injection into a larger codomain, where the recording argument is most transparent, and then for a permutation. The formal query interfaces appear in Section 2. They do not supply the adjoint or inverse oracle: if the inverse were also available, two forward/inverse calls would implement one standard XOR query.