# Tight Quantum Query Bounds for Collision Finding over Arbitrary Bounded Types

Quantum.world

> Resolves Belovs' open problem with tight quantum query bounds for r-collisions of arbitrary type, sharpening complexity for set equality and k-distinctness.

**arXiv**: 2611.17804 · Preprint · not peer-reviewed

**Published**: 2026-11-13

**Authors**: Tianci Peng, Shiqi Hou, Xiaoyang Dong

## In plain words

Many quantum algorithms are judged by how many queries they need to find a collision: two or more inputs on which a function takes the same value. The answer depends heavily on how the repeated values are distributed — a function where every value has exactly k preimages is easy to attack in one way, while a function with a single rare (k+1)-fold repeat hidden among many k-fold repeats is hard in a different way.

## AI summary

Tight Quantum Query Bounds for Collision Finding over Arbitrary Bounded Types

## Overview

**Research area:** Quantum query complexity, with direct bearing on quantum cryptanalysis and the theory of quantum algorithms for collision and distinctness problems.

**Technical level:** Advanced. The paper assumes fluency in quantum query complexity, the (general) adversary bound, learning graphs, quantum walks, and compressed-oracle techniques; the lower-bound machinery (completion frames, harmonic subspaces, transfer maps) is research-frontier mathematics.

**Scope (one sentence):** The paper pins down, up to constant factors, the bounded-error quantum query complexity of finding one r-collision in any function whose exact "type" (the multiset of equality-class sizes) is fixed and bounded, giving matching lower and upper bounds for every feasible output alphabet.

## What This Paper Is About

Many quantum algorithms are judged by how many queries they need to find a *collision*: two or more inputs on which a function takes the same value. The answer depends heavily on how the repeated values are distributed — a function where every value has exactly k preimages is easy to attack in one way, while a function with a single rare (k+1)-fold repeat hidden among many k-fold repeats is hard in a different way. This paper gives a single formula that covers all such distributions at once, showing the complexity is the maximum of several scales determined by how many equality classes of size at least 2, 3, …, r exist, and it proves this formula is tight for every bounded type and every alphabet large enough to realize the type.

## Key Contributions

1. **A unified tight characterization for arbitrary bounded types.** Theorem 1.1 states that for fixed K ≥ r ≥ 2, every sufficiently large N, every exact type λ of maximum class size at most K with B_r ≥ 1, and every alphabet q ≥ B₁, the worst-case quantum query complexity of finding one r-collision with success probability at least 2/3 is Θ_{K,r}(𝒬_r(λ)), where 𝒬_r(λ) is the maximum over 2 ≤ j ≤ r of (N^{2^{j−1}} ∏_{i=2}^{j−1} B_i^{2^{i−2}} / M^{2^{j−2}})^{1/(2^j−1)} with M = B_r. Constants are independent of the alphabet and the type, and the lower bound also holds on average over the uniform distribution on functions of that exact type.
2. **Resolution of an open problem of Belovs.** Corollary 1.2 shows that finding the unique (k+1)-collision in type (kⁿ, k+1), where N = kn + k + 1, costs Θ_k(N^{3/4 − 1/[4(2^{k+1}−1)]}) for every feasible alphabet q ≥ n+1. This matches Belovs's distinctness exponent while removing his requirements of linearly many classes of every smaller size and a large alphabet. It thereby answers both parts of the question posed in Belovs [8, Section 7]: the exceptional type, and a tight characterization for an arbitrary prescribed partition.
3. **A filtered compressed permutation oracle.** The authors introduce a process that projects the database onto its harmonic subspace after each complete function query, and prove an O(T/N) comparison with the true function-query evolution for T ≤ N/4 (Corollary 4.19). This breaks the square-root soundness horizon of ordinary compressed permutation oracles (O(T/√N) error for T ≤ √N) and is supplemented by a proof (Proposition 4.16) that the unfiltered process has an intrinsic square-root obstruction even on complete function-query blocks.
4. **Matching algorithms with no logarithmic overhead.** Theorem 8.1 gives algorithms achieving O_{K,r}(𝒬_r(λ)) on every input of the prescribed type: sampled collision tables with Grover enumeration when 𝒬_r ≤ √N, and a colored adaptive learning graph when 𝒬_r ≥ √N, with a coherent decision-to-search conversion of constant overhead. An independent nested quantum-walk algorithm (Theorem A.1) matches the three-collision bound up to polylogarithmic factors.

## Main Findings

- **The complexity is a maximum over intermediate collision orders.** The bound 𝒬_r(λ) is not determined by the number M = B_r of target classes alone; the tail counts B₂, …, B_{r−1} (numbers of classes of size at least j) each contribute a scale, and the largest one wins. The paper states explicitly that the number of target classes alone does not capture both the abundant-collision and sparse-target behaviours.
- **Pure type (kⁿ) recovers known results.** With N = kn and 2 ≤ r ≤ k, all relevant tail counts equal n = Θ_k(N), giving Θ_{k,r}(N^{(2^{r−1}−1)/(2^r−1)}). This recovers the earlier multi-collision bounds of the authors and, at r = k, the tight adaptive bound of Peng and Wu for promised k-to-one finding. The pair-finding scale is Θ(N^{1/3}), and higher orders are covered even though the input has no classes of intermediate sizes.
- **Exceptional type (kⁿ, k+1) yields the distinctness exponent.** Here B₂ = ⋯ = B_k = n+1 = Θ_k(N) and B_{k+1} = 1; the j-th scale is Θ_k(N^{3/4 − 1/[4(2^j−1)]}), which increases with j, so the maximum is attained at j = k+1.
- **A concrete three-level example shows a phase transition.** For type (1ⁿ, 2^b, 3) with N = n + 2b + 3, M = 1 and B₂ = b+1, the tight complexity is Θ(max{N^{2/3}, N^{4/7}(b+1)^{1/7}}). The two terms balance at b + 1 ≍ N^{2/3}; b = O(1) gives Θ(n^{2/3}) (the element-distinctness scale), while b = Ω(n) gives b = Θ(N) and complexity Θ(N^{5/7}), matching the worst-case three-distinctness exponent.
- **Moments are controlled in terms of tail counts.** For the exceptional type, with C_j counting buckets holding at least j records and μ_j(t) its unnormalized first moment in the filtered source state, the paper proves μ_j(t) = O_k(t^{2−2^{1−j}}/N^{1−2^{1−j}}) for 1 ≤ j ≤ k, and ‖P_*ξ_T⁺‖ = O_k(T/N + T^{2−2^{−k}}/N^{3/2−2^{−k}}) over 0 ≤ t ≤ T ≤ N/4. The terminal conversion to a success bound costs O_k(T/N + N^{−1/2}), the N^{−1/2} term being incurred only a constant number of times.
- **Alphabet generality is complete.** The results hold uniformly for every q ≥ B₁, including the smallest feasible alphabet q = B₁ (and q = n+1 in the exceptional case), with constants independent of q. No large-alphabet assumption is needed, unlike Belovs's Ω(N²) assumption for the unrestricted distinctness lower bound.
- **A separate walk-based algorithm exists for three-collisions.** The nested quantum random walk achieves Õ_K(max{N^{2/3}M^{−1/3}, N^{4/7}B₂^{1/7}M^{−2/7}}) queries, matching the type-dependent lower bound up to polylogarithmic factors, using a reversible inner-buffer update that retains all eligible pairs including overlapping ones.

## Methodology in Plain English

**Lower bound.** The authors represent a function of the prescribed type as f = a ∘ β ∘ π — a hidden uniform permutation of slots, an assignment of slots to "buckets" of prescribed sizes, and an injective table of output labels. The algorithm is only ever given the ordinary function oracle; the permutation and bucket structure live in the analysis. Crucially, they keep the *function* query interface rather than granting independent permutation access, because for types with few target classes independent permutation access would leak extra information.

To analyse many queries, they use a compressed permutation oracle: a database of partial injections that grows by at most one record per query. The standard version of this oracle is only sound up to about √N queries, which is far too short for distinctness-type bounds. Their fix is to apply a harmonic projection after each complete query (removing components already represented at lower degree). They prove this filtered process tracks the real evolution to within O(T/N) error, which stays small for T = o(N), and they prove the unfiltered version genuinely fails at T = Θ(√N).

A second ingredient handles the sparse-target problem: distinguishing partial collisions that can still be extended to a target from those trapped in smaller classes. They build a weighted "capacity-extension" map J that transports the analysis from an auxiliary source (n+1 buckets of capacity k, with a hidden mark indicating which gets the extra slot) to the target with one (k+1)-bucket. Different capacities admit different numbers of physical realizations, giving the explicit weight √((k+1)_h/(k)_h). The failure of J to commute with the query evolution measures progress toward the exceptional collision. Deletion identities, leakage estimates in both directions, and a counter-projection bound control the interaction with the harmonic projection. A hybrid (transfer-map) estimate bounds the accumulated defect on the evolving source state, and a moment recursion — proved simultaneously over the target and all auxiliary capacity multisets so that missing class sizes cause no problem — yields the tail-count-dependent bounds.

For a general type, the proof selects the order j maximizing the formula. If target classes are abundant, a moment estimate at that order already bounds success; otherwise the maximizing inequalities identify an actually present smaller capacity with enough candidate buckets, and a final hidden extension bounds progress into the target classes. Terminal verification treats the union of target-bucket events directly, avoiding an extra √M factor.

**Upper bound.** Parameters are chosen so that preparation, successive prefix extensions, and target completion each cost O_{K,r}(𝒬_r). Below the √N scale, inputs are assigned to disjoint random roles, sampled at chosen rates, and equal-value prefixes are extended by successive Grover enumerations, with a fixed total budget per enumeration to avoid a logarithmic loss. Above √N, a colored adaptive learning graph uses prefix-population bounds for both positive and negative inputs, proved feasible via the dual-adversary constraints including fault-correction terms; ordered restriction of roles isolates a colorful target with constant probability. Decision is converted to search by parity masks encoding the isolated target input, followed by a coherent compute–phase–uncompute and a Hadamard transform, with Grover search finding the remaining preimages in O_{K,r}(√N) additional queries.

## Why This Matters

**Impact on research.** The paper closes a gap between two previously separate bodies of work — the abundant-collision regime (collision problem, set equality, where Belovs and Rosmanis gave tight general-adversary bounds under a large-alphabet assumption) and the sparse-target regime of k-distinctness. It shows the two are endpoints of one quantitative continuum governed by intermediate populations. It also supplies a lower-bound tool — filtered compressed permutation oracles with O(T/N) error — that reaches past the √N horizon of prior soundness proofs, and it removes the "linearly many classes of every smaller size" crutch that earlier hard-instance constructions relied on. Since the algorithm is told the type but not the class members, the result also sharpens what "knowing the promise" is worth.

**Potential applications (implications of the results, not claims tested in the paper):**

- **Hash-function cryptanalysis:** estimating the true quantum cost of finding collisions in constrained constructions where output multiplicities are known or promised, rather than assuming a uniformly random function.
- **Security-parameter selection for post-quantum schemes:** the tight exponents give concrete query counts for collision-based security arguments under structured input distributions.
- **Distinctness-based problems in quantum algorithm design:** the intermediate-population framework transfers to any problem whose hardness is governed by how many candidate witnesses remain extendable at each level.
- **Benchmarking heuristic quantum algorithms:** the exact exponents (e.g. N^{2/3} vs N^{5/7} for the (1ⁿ, 2^b, 3) type) provide reference curves for evaluating proposed algorithms on structured instances.

**Industry relevance.** The results matter to anyone setting cryptographic parameters against quantum adversaries, and to groups designing quantum algorithms where the input promise is structured rather than uniformly random. The removal of large-alphabet assumptions is practically significant, since real primitives have small output ranges relative to their domains.

## Future Directions

- **Constant-factor and polylogarithmic tightening.** The main theorem is tight only up to constants depending on K and r; the nested-walk algorithm for three-collisions matches only up to polylogarithmic factors, leaving open whether a walk-based approach can be made exactly tight.
- **Extending beyond bounded class sizes.** The characterization assumes K and r fixed. Whether an analogous single formula governs unbounded or growing maximum class size — and how the constants then depend on K — is not settled here.
- **Removing the exact-type promise.** The algorithm is given the numbers n_d but not the class members. Understanding what happens when only partial information about the multiplicity profile is available would connect the framework to more realistic cryptanalytic settings.
- **Sharpening the filtered-oracle technique.** The O(T/N) comparison is proved for T ≤ N/4; whether the filtering idea (or a refined harmonic projection) can push compressed-oracle soundness further, or apply to other correlated distributions such as random permutations with constraints, is left as a direction for further work.

## Target Audience

Quantum algorithms and quantum-cryptography researchers, especially those working on query complexity lower bounds, compressed-oracle techniques, adversary and learning-graph methods, and quantum cryptanalysis of hash functions. The paper is also relevant to cryptographers who need defensible security-parameter estimates against quantum collision-finding, and to graduate students with a background in quantum query complexity who want a worked example of extending compressed-oracle lower bounds beyond the square-root barrier. Readers without that background will find the lower-bound sections demanding, though the statement of Theorem 1.1 and the three worked examples are accessible on their own.

## Authors’ abstract

We determine the bounded-error quantum query complexity of finding one $r$-collision in an $N$-input function of prescribed type, which specifies all equality-class sizes. For every fixed maximum class size and collision order, we give a tight bound as the maximum of scales determined by the numbers of classes of size at least $2,\ldots,r$. The lower bound holds for a uniformly random function of that type, and a matching algorithm succeeds on every such function. No…

[The full abstract on arXiv](https://arxiv.org/abs/2611.17804)

[Read the original paper](https://arxiv.org/abs/2611.17804)

## Related papers

- [Quantum kinetic uncertainty relations: Role of coherence in current fluctuation bounds](https://quantum.world/paper/quantum-kinetic-uncertainty-relations-role-of-coherence-in-current-2611.18037) 2026-11-13 · quant-ph · Key terms of the title in common
- [Infinite or indefinite: the query cost of simulating the quantum switch](https://quantum.world/paper/infinite-or-indefinite-the-query-cost-of-simulating-the-quantum-switch-2611.16229) 2026-11-12 · quant-ph · Key terms of the title in common
- [Multiplicative Semidefinite Programming Upper Bounds on Quantum No-Signalling-Assisted Zero-Error Capacity](https://quantum.world/paper/multiplicative-semidefinite-programming-upper-bounds-on-quantum-no-2610.21071) 2026-10-15 · quant-ph · Key terms of the title in common
- [Distributional Quantum Query Complexity](https://quantum.world/paper/distributional-quantum-query-complexity-2610.06835) 2026-10-05 · quant-ph · Key terms of the title in common
- [Resource Theory of Aquaternionicity: Every Pure State Is a Replicable Resource for Exact Simulation of Arbitrary Quantum Operations](https://quantum.world/paper/resource-theory-of-aquaternionicity-every-pure-state-is-a-replicable-2610.02942) 2026-10-02 · quant-ph · Key terms of the title in common

---

Canonical: https://quantum.world/paper/tight-quantum-query-bounds-for-collision-finding-over-arbitrary-bounded-2611.17804
