Derandomization of quantum algorithm for triangle finding

Guanzhong Li, Lvzhou LiInf. Comput 2025

TL;DR

This paper presents the first deterministic quantum algorithm for the triangle sum problem (a generalization of triangle finding) that achieves the optimal query complexity of $O(n^{9/7})$. This is a significant step in derandomizing quantum algorithms, proving that high success probabilities can be achieved deterministically without sacrificing quantum speedups.

What Problem Does This Paper Address?

Quantum algorithms often rely on randomness, leading to a probability of failure. Derandomization aims to eliminate this randomness, creating deterministic algorithms that succeed with certainty. While derandomization has been successful in classical computing, it's particularly challenging in quantum computing due to the inherent probabilistic nature of quantum mechanics. The triangle finding problem, which seeks to identify a triangle in a graph, is a well-studied problem in quantum computing. This paper tackles a more general version, the "triangle sum problem," where edges are weighted, and the goal is to find a triangle whose edge weights sum to a specific value modulo M. The challenge is to achieve this deterministically with the best possible query complexity, which is currently $O(n^{9/7})$ for bounded-error quantum algorithms.

Methods

The authors build upon a previous quantum walk-based algorithm for the triangle finding problem and adapt it for the triangle sum problem. Their approach involves a four-layer subroutine structure, where each layer is derandomized. Key techniques include:

  • Nested Quantum Walks with Quantum Data Structures: This allows for efficient storage and manipulation of data, crucial for reducing the setup costs of certain subroutines.
  • Deterministic Quantum Search with Adjustable Parameters: This technique, based on generalized Grover's algorithm, is used to achieve certainty of success by carefully tuning parameters.
  • Dimensional Reduction of Quantum Walk Search on Johnson Graphs: The authors employ a method to reduce the complexity of quantum walks on Johnson graphs by focusing on smaller invariant subspaces, making the algorithms more efficient. Specifically, they utilize "quantum edge-walk" and "quantum vertex-walk" on Johnson graphs.

Datasets

Not discussed in the paper. The problem is defined on abstract graphs with edge weights.

Key Insights and Ideas

  • Derandomization is Achievable for Complex Quantum Problems: This work demonstrates that even for problems like triangle sum, which involve intricate quantum walk structures, deterministic algorithms with optimal query complexity are possible.
  • The Power of Nested Quantum Walks: The use of nested quantum walks with quantum data structures is highlighted as a crucial technique for overcoming high setup costs in complex algorithms.
  • Dimensional Reduction as a General Tool: The technique for reducing the dimensionality of invariant subspaces in quantum walks on Johnson graphs proves to be a powerful tool for derandomization, with potential applications to other problems.
  • Bridging the Gap to Certainty: The paper successfully bridges the gap between bounded-error quantum algorithms and deterministic ones for this problem, achieving certainty without sacrificing the state-of-the-art query complexity.

Key Results

The paper presents a deterministic quantum algorithm for the triangle sum promised problem (where there's at most one target triangle) that makes $O(n^{9/7})$ queries to the edge weight oracle. This is the same query complexity as the best known bounded-error quantum algorithms for this problem. As a corollary, it also provides a deterministic quantum algorithm for the standard triangle finding problem with the same query complexity.

Limitations and Future Work

The authors acknowledge the following limitations and suggest future research directions:

  • Promise of a Single Triangle: The current algorithm relies on the promise that the graph contains at most one target triangle. A key open question is whether this lower bound of $\Omega(n^{9/7}/\sqrt{\log n})$ remains unchanged for this promised problem.
  • Generalizing to Multiple Triangles: The paper raises the question of whether deterministic quantum algorithms can be designed for cases where the graph contains none or more than one target triangle.
  • Derandomizing Other State-of-the-Art Algorithms: The authors suggest exploring the derandomization of the $O(n^{5/4})$-query quantum algorithm for triangle finding, especially when given additional promises.

Summary updated

BibTeX
@article{li2025derandomization,
  author = {Guanzhong Li and Lvzhou Li},
  title = {{Derandomization of quantum algorithm for triangle finding}},
  journal = {Inf. Comput},
  year = {2025},
  doi = {10.1016/j.ic.2025.105295},
}
Figure