Quantum Topological Data Analysis with Linear Depth and Exponential Speedup

Shashanka Ubaru, Ismail Yunus Akhalwaya, Mark S. Squillante, Kenneth L. Clarkson, Lior HoresharXiv 2021

Abstract

Quantum computing offers the potential of exponential speedups for certain classical computations. Over the last decade, many quantum machine learning (QML) algorithms have been proposed as candidates for such exponential improvements. However, issues such as the data-loading problem, dequantization results, and fault-tolerance requirements have hindered their practical realization. The quantum topological data analysis (QTDA) algorithm of Lloyd, Garnerone, and Zanardi was one of the first QML algorithms to offer an expected exponential speedup. However, it requires fault-tolerant quantum computing and has a high time complexity. In this paper, we overhaul the QTDA algorithm to achieve an improved exponential speedup and linear depth complexity of $O(n\log(1/(\delta\epsilon)))$. Our approach includes an efficient realization of the combinatorial Laplacian as a sum of Pauli operators, a quantum rejection sampling approach, and a stochastic rank estimation method to estimate Betti numbers.

Introduction

Topological Data Analysis (TDA) is a powerful tool for identifying the "shape" of data—identifying clusters, loops, and voids (quantified as Betti numbers) that persist across different scales. While classical TDA is computationally expensive for high-dimensional features, a quantum version (QTDA) proposed in 2016 promised exponential speedups.

Despite its promise, the original QTDA algorithm faced three major hurdles: the requirement for error-corrected (fault-tolerant) hardware, a high time complexity of $O(n^4)$, and the threat of "dequantization"—where classical algorithms are found to match quantum performance. This research introduces NISQ-QTDA, a redesigned algorithm that achieves linear circuit depth ($O(n)$) and remains immune to classical dequantization, making it a viable candidate for near-term quantum hardware.

Methods

The authors replace the computationally heavy components of the original QTDA with three key innovations designed for Noisy Intermediate-Scale Quantum (NISQ) devices.

1. Pauli Representation of the Laplacian

A major hurdle in previous QTDA implementations was the efficient simulation of the combinatorial Laplacian. The authors address this by representing the boundary operator $\partial$ as a sum of Pauli operators using Jordan-Wigner embeddings.

The boundary operator $\partial$ expressed as a sum of Pauli operators, enabling linear-depth simulation.

This mapping allows the operator to be simulated with $O(n)$ depth. By treating the boundary operator as a sum of tensor products of Pauli matrices (like $\sigma_z$ and the annihilation operator $a$), the complex topological structure is translated into a language native to quantum hardware.

2. Quantum Rejection Sampling

Instead of using depth-intensive methods like Grover’s Search to build the simplicial complex, the algorithm employs a projection approach combined with mid-circuit measurements. While this is quadratically less efficient in terms of total trials, it significantly reduces the circuit depth, allowing the algorithm to run on current hardware without the need for complex Quantum RAM (QRAM).

3. Stochastic Rank Estimation

This is the core innovation of the paper. To find Betti numbers, one does not need the full list of eigenvalues (which requires expensive Quantum Phase Estimation). Instead, the authors use a stochastic method based on Chebyshev polynomials to estimate the dimension of the kernel (the number of zero eigenvalues). This treats the problem as a trace estimation task, which is inherently more robust to noise.

Key Results and Complexity

The overhaul results in a dramatic reduction in circuit depth from high-order polynomial to linear: $O(n \log(1/\delta\epsilon))$, where $n$ is the number of data points. Crucially, the algorithm maintains an exponential speedup over the best-known classical algorithms for Betti number estimation, particularly for high-order Betti numbers in dense complexes.

Furthermore, the authors highlight that Betti number estimation is "DQC1-hard." This complexity class is believed to be classically intractable, providing a theoretical "moat" against dequantization efforts that have neutralized other QML algorithms.

Discussion and Future Work

While the algorithm offers a path to NISQ-era utility, its efficiency depends on the "spectral gap" ($\delta$)—the distance between the zero and the smallest non-zero eigenvalue. A very small gap increases the required polynomial degree and depth. Additionally, the rejection sampling approach depends on the fraction of simplices in the data; extremely sparse data may increase the number of required trials.

Future work involves applying these stochastic rank estimation techniques to other areas of numerical linear algebra and machine learning, potentially extending the benefits of linear-depth quantum algorithms beyond the realm of topology.

Summary updated

BibTeX
@misc{ubaru2021quantum,
  author = {Shashanka Ubaru and Ismail Yunus Akhalwaya and Mark S. Squillante and Kenneth L. Clarkson and Lior Horesh},
  title = {{Quantum Topological Data Analysis with Linear Depth and Exponential Speedup}},
  year = {2021},
  eprint = {2108.02811},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.02811},
}
Figure