Abstract: We introduce a new quantum algorithm for computing the Betti numbers of a simplicial complex. In contrast to previous quantum algorithms that work by estimating the eigenvalues of the combinatorial Laplacian, our algorithm is an instance of the generic Incremental Algorithm for computing Betti numbers that incrementally adds simplices to the simplicial complex and tests whether or not they create a cycle. In contrast to existing quantum algorithms for computing Betti numbers that work best when the complex has close to the maximal number of simplices, our algorithm works best for sparse complexes. To test whether a simplex creates a cycle, we introduce a quantum span-program algorithm. We show that the query complexity of our span program is parameterized by quantities called the effective resistance and effective capacitance of the boundary of the simplex. Unfortunately, we also prove upper and lower bounds on the effective resistance and capacitance, showing both quantities can be exponentially large with respect to the size of the complex, implying that our algorithm would have to run for exponential time to exactly compute Betti numbers. However, as a corollary to these bounds, we show that the spectral gap of the combinatorial Laplacian can be exponentially small. As the runtime of all previous quantum algorithms for computing Betti numbers are parameterized by the inverse of the spectral gap, our bounds show that all quantum algorithms for computing Betti numbers must run for exponentially long to exactly compute Betti numbers. Finally, we prove some novel formulas for effective resistance and effective capacitance to give intuition for these quantities.
Introduction
Topological Data Analysis (TDA) provides a robust framework for characterizing the "shape" of high-dimensional data. At its core, TDA focuses on computing Betti numbers ($\beta_d$), which count the number of $d$-dimensional holes in a simplicial complex. For instance, $\beta_0$ represents connected components, $\beta_1$ counts loops, and $\beta_2$ counts voids. While classically computing these invariants is computationally expensive for large complexes, Quantum Topological Data Analysis (QTDA) has been proposed as a potential source of exponential speedup.
Methodology: The Incremental Span-Program Algorithm
This research introduces a novel quantum algorithm that departs from the standard eigenvalue estimation techniques used in previous QTDA approaches, such as the LGZ algorithm. Instead, the authors adapt the classical Incremental Algorithm. This approach constructs a simplicial complex by adding simplices one at a time and determining whether each addition creates a new cycle or fills an existing one.
To implement this on a quantum architecture, the algorithm utilizes Span Programs. This framework is particularly effective for testing reachability and connectivity. By framing the Betti number calculation as a series of span-program queries, the algorithm becomes optimized for sparse complexes, where the number of simplices is relatively small compared to the total possible connections. This is a significant shift from prior quantum algorithms that were primarily efficient for "clique-dense" complexes.
Complexity Analysis via Physics Analogies
The runtime of the proposed span-program algorithm is governed by two physical analogies: effective resistance ($R_{eff}$) and effective capacitance ($C_{eff}$). These quantities, generalized from electrical circuit theory to higher-dimensional topology, measure how "stretched" or "twisted" a hole is within the complex.
The authors demonstrate that the query complexity is parameterized by these values. Crucially, they prove that for certain "worst-case" shapes—constructed using techniques like stellar subdivisions and iterated mapping cylinders—the effective resistance can grow exponentially with the size of the complex.
The "Fine Print" of Quantum Speedup
The most striking result of this work is the discovery of the "fine print" regarding quantum speedups in TDA. The runtime of all known QTDA algorithms is inversely proportional to the spectral gap ($\lambda_{min}$) of the combinatorial Laplacian.
The authors prove that this spectral gap can be exponentially small: $\Omega(1/n^{2dn})$ in general cases and $O(1/c^n)$ for specific constructions. This implies that for exact Betti number computation, even quantum algorithms will face exponential runtimes in the worst case. This finding challenges the initial optimism surrounding QTDA and highlights a fundamental bottleneck in the exact topological characterization of complex data.
Conclusion and Future Directions
While the results suggest that exact Betti number calculation is likely intractable for large-scale worst-case complexes, several avenues remain open. The authors suggest that approximate Betti number estimation might still be achievable within polynomial time. Furthermore, the average-case performance on common data distributions, such as Vietoris-Rips complexes, remains an open question. If the spectral gap is typically large in practical applications, QTDA may still offer significant advantages over classical methods.
Summary updated