Abstract
We present several applications of quantum amplitude amplification to finding claws and collisions in ordered or unordered functions. Our algorithms generalize those of Brassard, Hoyer, and Tapp, and imply an $N^{3/4} \log(N)$ quantum upper bound for the element distinctness problem (contrasting with $N \log(N)$ classical complexity). We also give an algorithm to finding a triangle in a graph more efficiently than classically.
Introduction
In classical computational complexity, certain fundamental tasks are bound by well-established limits. For instance, determining if all elements in a list of size $N$ are unique—the Element Distinctness problem—requires $\Omega(N \log N)$ comparisons, the same complexity as sorting the list. This research explores how quantum computing can bypass these classical speed limits for structural problems involving functions and graphs.
By leveraging and generalizing the principles of Grover’s search, this paper introduces quantum algorithms that provide significant speedups for three primary problems:
- Claw-finding: Identifying inputs $x$ and $y$ for two different functions $f$ and $g$ such that $f(x) = g(y)$.
- Collision-finding: Identifying two distinct inputs for a single function that yield the same output.
- Triangle-finding: Identifying three vertices in a graph that form a complete sub-graph of three nodes.
Methodology: Quantum Amplitude Amplification
The foundational mechanism for these improvements is Quantum Amplitude Amplification (QAA). While Grover’s algorithm is optimized to find a single target in an unsorted database in $O(\sqrt{N})$ time, QAA generalizes this process. It allows a quantum computer to take an arbitrary algorithm with a low success probability and "amplify" that probability to near-certainty significantly faster than classical repetition.
To solve specific structural problems, the authors combine QAA with several strategic approaches:
- Hybrid Classical-Quantum Search: For unordered functions, the algorithms use classical sorting on a subset of the data to build a searchable structure, which is then queried using quantum search techniques.
- Recursive Sub-problems: When dealing with ordered functions (where $f(i) \leq f(i+1)$), the domain is partitioned into smaller segments and solved in parallel using quantum recursion.
- Nested Quantum Searches: For the triangle-finding problem, the algorithm employs a nested structure—one quantum search identifies a potential edge, while a second, internal search seeks a third node to complete the triangle.
Key Insights
The Decoupling of Sorting and Distinctness
A major contribution of this work is the demonstration that, in the quantum realm, checking for element distinctness is computationally easier than sorting. While quantum sorting still requires approximately $N \log N$ comparisons, the authors establish an upper bound of $O(N^{3/4} \log N)$ for element distinctness. This proves that quantum computers can identify patterns in data without the overhead required to fully organize that data.
The Impact of Data Order
The research highlights that pre-existing order significantly enhances quantum efficiency. If a function is already sorted, the complexity of finding a claw drops from $N^{3/4}$ to nearly $\sqrt{N}$. For cases where both functions are ordered, the authors utilize the iterated logarithm ($\log^* N$)—a function that grows so slowly it is effectively constant—to reach a near-optimal speedup of $O(\sqrt{N} c^{\log^* N})$.
Results and Complexity Bounds
The paper establishes several new upper bounds for quantum query complexity:
| Problem | Quantum Upper Bound |
|---|---|
| Element Distinctness | $O(N^{3/4} \log N)$ |
| Unordered Claws | $O(N^{3/4} \log N)$ |
| Ordered Claws (One function) | $O(\sqrt{N} \log N)$ |
| Ordered Claws (Both functions) | $O(\sqrt{N} c^{\log^* N})$ |
| Triangle-finding | $O(n + \sqrt{nm})$ |
For triangle-finding, $n$ represents nodes and $m$ represents edges. This algorithm is particularly potent for sparse graphs, offering a quadratic gap over classical methods.
Limitations and Future Directions
Despite the advancements, the authors identify a gap in the unordered claw-finding problem. While they established an upper bound of $N^{3/4}$, the known lower bound remains $\sqrt{N}$. This suggests that further optimizations are likely possible (a gap eventually addressed by later researchers like Ambainis).
Additionally, the triangle-finding algorithm's advantage diminishes as graphs become denser. In a fully connected graph where $m \approx n^2$, the complexity reaches $O(n^{3/2})$, matching a standard Grover search over all possible triples. Finally, the authors note that their work focuses on query complexity (the number of data lookups) rather than gate complexity (the total number of physical quantum operations), which remains a critical consideration for implementation on near-term quantum hardware.
Summary updated