NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantum Property Testing in Sparse Directed Graphs

Simon Apers, Frédéric Magniez, Sayantan Sen, Dániel Szabó

TL;DR

This paper explores the limits of quantum speedups in graph property testing, specifically for sparse directed graphs where you can only see outgoing edges. The authors demonstrate an almost quadratic quantum speedup for detecting certain subgraphs (like $k$-stars) but prove that other classic problems, such as 3-colorability, remain just as hard for quantum computers as they are for classical ones.

What Problem Does This Paper Address?

Property testing is the art of "sampling" a massive dataset to decide if it has a specific property (e.g., "is this graph connected?") or if it is "far" from having that property (meaning you'd have to change a lot of data to fix it). In the "big data" era, we often can't afford to read the whole input, so we want algorithms with sublinear query complexity.

This paper focuses on sparse directed graphs in the unidirectional model. In this model, you can ask a vertex "who are your neighbors?" but you can't easily find out "who points to you?" Classically, testing for $k$-source subgraphs (subgraphs with $k$ components that have no incoming edges from the rest of the subgraph) is very hard, requiring nearly $N$ queries as $k$ grows. The authors ask: Can quantum computers do better? And is there a limit to this advantage?

Methods

The authors employ two primary technical frameworks:

  1. Algorithm Design (Upper Bounds): They generalize a known quantum algorithm for finding "$k$-collisions" (finding $k$ different inputs that map to the same output). They adapt this to graphs by using Grover Search combined with Breadth-First Search (BFS). The algorithm iteratively finds partial subgraphs and "grows" them until a full $k$-source subgraph is identified.
  2. Complexity Analysis (Lower Bounds): To prove that their algorithm is nearly optimal, they use the method of dual polynomials. This involves representing a quantum algorithm's success probability as a high-degree polynomial and finding a "witness" (a dual polynomial) that proves no low-degree polynomial can approximate the function. They specifically had to overcome a technical hurdle: previous proofs relied on "one-sided error" properties, but the functions here required a more difficult "two-sided error" analysis.
  3. Reductions: For the 3-colorability problem, they use a reduction from a system of linear equations ($E(3,c)LIN-2$), showing that if a quantum computer could test 3-colorability efficiently, it could also solve a problem known to be hard for quantum queries.

Datasets

As a theoretical computer science paper, no real-world datasets were used. Instead, the authors analyze:

  • Synthetic Graph Models: Specifically, $d$-bounded degree directed and undirected graphs.
  • Integer Sequences: Used as an intermediate step to relate graph problems to the $k$-collision problem.

Key Insights and Ideas

  • The $k$-Collision Connection: The "aha moment" is realizing that finding a $k$-star (a center vertex with $k$ neighbors pointing to it) in a directed graph is essentially the same as finding a $k$-collision in a sequence. This allows the authors to port over sophisticated quantum tools from the world of sequence analysis to graph theory.
  • Not All Problems Speed Up: A major insight is the contrast between subgraph testing and 3-colorability. While the former sees a massive quantum boost, the latter remains stuck at $\Omega(N)$ queries. This highlights that quantum advantage in property testing is highly property-dependent.
  • Two-Sided Error Duality: On the technical side, the authors successfully applied the dual polynomial method to a "threshold function" composition that lacks one-sided error. This is a significant contribution to the toolbox of quantum lower bounds.

Key Results

  • Subgraph Testing Speedup: For testing $k$-source-subgraph-freeness, the paper provides a quantum algorithm with query complexity $O(N^{1/2(1-1/(2^k-1))})$. This is roughly a quadratic improvement over the classical $\Omega(N^{1-1/k})$ bound.
  • Nearly Tight Lower Bound: They prove a quantum lower bound of $\tilde{\Omega}(N^{1/2(1-1/k)})$, showing their algorithm is very close to the theoretical limit.
  • 3-Colorability Hardness: They prove that testing 3-colorability in undirected bounded-degree graphs requires $\Omega(N)$ quantum queries. In other words, there is no sublinear quantum tester for 3-colorability, just as there is no classical one.

Limitations and Future Work

  • The Complexity Gap: There is still a small gap between the $1/k$ in the lower bound and the $1/(2^k-1)$ in the upper bound for the $k$-collision/subgraph problem. Closing this gap remains an open challenge.
  • Bidirectional vs. Unidirectional: The paper notes that if a property is easy to test in the bidirectional model (where you can see incoming and outgoing edges), it's known to be somewhat testable in the unidirectional model classically. The authors suggest investigating if a similar "transfer" of efficiency exists for quantum algorithms.
  • Natural Exponential Advantages: While this paper shows quadratic speedups, others have shown exponential ones for "unnatural" properties. Finding a "natural" graph property with an exponential quantum speedup remains a "holy grail" in this field.

Summary updated

BibTeX
@inproceedings{apers2025quantum,
  author = {Simon Apers and Frédéric Magniez and Sayantan Sen and Dániel Szabó},
  title = {{Quantum Property Testing in Sparse Directed Graphs}},
  booktitle = {APPROX/RANDOM},
  year = {2025},
  doi = {10.4230/lipics.approx/random.2025.32},
}
Figure