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

Classical and quantum spectral density estimation under local graph access

Rong-Hua Li, Meihao Liao, Yichun YangarXiv 2026

TL;DR

This paper establishes the fundamental limits of estimating a graph's spectral density using local queries, proving that classical algorithms strictly require exponential queries ($2^{\Omega(1/\varepsilon)}$) to achieve an accuracy of $\varepsilon$. To bypass this barrier, the authors introduce a novel quantum algorithm that achieves a polynomial query complexity of $\widetilde{O}(\varepsilon^{-3})$, demonstrating a provable exponential quantum advantage for graph property testing.

What Problem Does This Paper Address?

The empirical spectral distribution (the distribution of eigenvalues of a graph's normalized adjacency matrix) provides vital global insights into a network's structure, including its expansion properties, mixing time, and community traits. However, computing these eigenvalues exactly via matrix diagonalization is computationally prohibitive ($O(n^3)$) for massive modern graphs.

To handle large-scale data, researchers turn to spectral density estimation, which aims to approximate this eigenvalue distribution within an error tolerance $\varepsilon$ (measured using the Wasserstein-1 distance) by making only a small number of local queries to the graph (e.g., sampling a vertex, querying its degree, or finding its $i$-th neighbor).

While a classical algorithm requiring $2^{O(1/\varepsilon)}$ queries has existed since 2018, it remained an open question whether this exponential dependence on $\varepsilon$ was truly necessary for unweighted graphs. Furthermore, whether quantum computing could offer a speedup in this local query model was completely unexplored.

Methods

The paper approaches the problem from both classical and quantum perspectives:

  • Classical Lower Bound: To prove that the exponential barrier is unavoidable classically, the authors construct "hard" graph instances using quotients of hypercubes by binary self-dual codes. They contrast Type-I codes (which place half the spectral atoms halfway between lattice points) with Type-II codes (which force all spectral atoms onto a lattice). Using a coupling argument and finite geometry incidence bounds, they demonstrate that a classical algorithm cannot distinguish between these two graph structures without exploring an exponential number of vertices.
  • Quantum Upper Bound: The authors design a polynomial-query quantum algorithm using a four-step pipeline:
  • High-degree spectral truncation: High-degree vertices are isolated and truncated using nuclear sparsification to control the maximum degree.
  • Neighbor state preparation: Grover’s search is leveraged to efficiently prepare quantum superpositions of a vertex's neighborhood in $O(\sqrt{\Delta})$ queries.
  • Spectrum estimation: Quantum Phase Estimation (QPE) is applied to a quantum walk operator to sample from the graph's eigenvalues.
  • Quantum distribution learning: Instead of standard classical sampling (which scales as $O(1/\varepsilon^2)$), they employ an advanced $\ell_\infty$-norm multidimensional amplitude estimation method to learn the distribution using only $\widetilde{O}(1/\varepsilon)$ queries.

Datasets

Not discussed in the paper. As a purely theoretical computer science paper, it does not use real-world datasets. Instead, it relies on synthetic mathematical constructions—specifically hypercube quotients and parity-controlled cycle graphs—to rigorously prove upper and lower complexity bounds.

Key Insights and Ideas

  • The Unavoidable Classical Wall: The paper definitively proves that classical local graph exploration cannot escape the exponential dependency on $1/\varepsilon$. High-precision spectral estimation classically requires looking at an exponentially large portion of the graph.
  • Superposition Bypasses Exploration: Quantum local access allows coherent superposition queries. This enables quantum-walk-based phase estimation to sample directly from the spectral density approximation, completely bypassing the classical bottleneck of physical graph exploration.
  • Bridging Quantum Sub-routines: By elegantly combining quantum walks, phase estimation, and $\ell_\infty$ distribution learning, the authors successfully convert an exponential classical query complexity into a clean, polynomial cubic dependency ($\varepsilon^{-3}$).

Key Results

  • Classical Optimality: The authors prove a classical lower bound of $2^{\Omega(1/\varepsilon)}$ queries, confirming that the landmark 2018 Cohen-Steiner algorithm is optimal up to a constant in the exponent.
  • Exponential Quantum Advantage: They deliver a quantum algorithm with a query complexity of $\widetilde{O}(\varepsilon^{-3})$, establishing a clear exponential speedup over classical local access methods.
  • Quantum Lower Bound: Using the polynomial method on parity-controlled cycle graphs, they establish a quantum query lower bound of $\widetilde{\Omega}(\varepsilon^{-4/3})$, narrowing the theoretical sandbox for future algorithmic improvements.

The landscape of these classical and lower bound results is summarized in the paper's comparison table:

Table 1. Classical algorithms and lower bounds for ε-approximate spectral density estimation under W1. The algorithms are assumed with ε = ˜Ω(1/√n). We denote matvec to be the matrix–vector multiplication, σl to be the l-th largest singular value of NG. Non-adaptive RW refers to random walks started from uniformly random nodes.

Limitations and Future Work

  • The Quantum Complexity Gap: A theoretical gap remains between the quantum upper bound ($\widetilde{O}(\varepsilon^{-3})$) and the quantum lower bound ($\widetilde{\Omega}(\varepsilon^{-4/3})$). Closing this gap to find the exact quantum query complexity is an open challenge.
  • Bridge to Practicality: The proposed quantum routines rely on clean, fault-tolerant quantum operations (like long-coherence phase estimation). Adapting these techniques to work on near-term, noisy intermediate-scale quantum (NISQ) devices or making them more structurally practical remains an objective for future research.

Summary updated

BibTeX
@misc{li2026classical,
  author = {Rong-Hua Li and Meihao Liao and Yichun Yang},
  title = {{Classical and quantum spectral density estimation under local graph access}},
  year = {2026},
  eprint = {2608.22769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.22769},
}
Figure