[Paper Review] Computing Wasserstein Distance for Persistence Diagrams on a Quantum Computer
This paper proposes a quantum annealing approach to compute the Wasserstein distance between persistence diagrams by formulating the min-cost bipartite matching problem as a QUBO (Quadratic Unconstrained Binary Optimization) problem. The method maps the matching task to a D-Wave 2000Q quantum processor, demonstrating correct computation of squared Wasserstein distances for small diagram sizes, with performance degrading as problem size increases due to embedding constraints.
Persistence diagrams are a useful tool from topological data analysis which can be used to provide a concise description of a filtered topological space. What makes them even more useful in practice is that they come with a notion of a metric, the Wasserstein distance (closely related to but not the same as the homonymous metric from probability theory). Further, this metric provides a notion of stability; that is, small noise in the input causes at worst small differences in the output. In this paper, we show that the Wasserstein distance for persistence diagrams can be computed through quantum annealing. We provide a formulation of the problem as a Quadratic Unconstrained Binary Optimization problem, or QUBO, and prove correctness. Finally, we test our algorithm, exploring parameter choices and problem size capabilities, using a D-Wave 2000Q quantum annealing computer.
Motivation & Objective
- To develop a quantum computing approach for computing the Wasserstein distance between persistence diagrams, a key metric in topological data analysis.
- To map the min-cost matching problem underlying the Wasserstein distance into a QUBO formulation suitable for quantum annealing.
- To evaluate the feasibility and performance of this quantum approach on real hardware using a D-Wave 2000Q processor.
- To analyze the impact of critical QUBO parameter B on solution quality and stability across varying problem sizes.
Proposed method
- The Wasserstein distance computation is reduced to a min-cost bipartite matching problem on a constructed graph G̃, representing point pairs between two persistence diagrams.
- A QUBO Hamiltonian H is formulated in Eq. 3.5, combining cost terms F_c and constraint terms F_U, F_V to enforce valid matchings.
- The QUBO is designed such that its ground state corresponds to the minimum-cost matching required for the Wasserstein distance.
- The formulation ensures that the optimal solution corresponds to the correct Wasserstein distance when parameter B > B*, the maximum edge weight in G̃.
- The method is implemented and tested on a D-Wave 2000Q quantum processor, with results analyzed across different values of B and diagram sizes.
- The problem is encoded using logical qubits, with physical qubit chains representing logical variables, and solution quality is assessed via low-energy state sampling.
Experimental results
Research questions
- RQ1Can the Wasserstein distance computation for persistence diagrams be effectively formulated as a QUBO problem for quantum annealing?
- RQ2How does the choice of the penalty parameter B in the QUBO affect the accuracy and stability of the quantum solution?
- RQ3What is the maximum problem size for which the D-Wave 2000Q can reliably compute the Wasserstein distance using this method?
- RQ4How do solution quality and distribution of low-energy states vary with increasing diagram size and B values?
- RQ5What are the hardware limitations (e.g., qubit chain breaks, embedding density) that affect performance on near-term quantum processors?
Key findings
- For small problems (e.g., 3×2 diagrams), the D-Wave 2000Q successfully found low-energy states corresponding to the correct minimum-cost matching, with high frequency of correct solutions.
- When B was set to B*, the theoretical minimum required value, the quantum processor consistently returned correct Wasserstein distances, validating the QUBO formulation.
- Increasing B beyond B* still yielded correct solutions for small problems, indicating robustness to moderate overestimation of the penalty parameter.
- As problem size increased (e.g., 4×3 and 6×5 diagrams), solution quality degraded due to increased embedding complexity and higher likelihood of broken qubit chains.
- The number of physical qubits required to represent logical variables grew significantly with diagram size, particularly due to high node degrees in the problem graph, limiting scalability.
- The results suggest that while quantum annealing can compute Wasserstein distances accurately for small diagrams, scalability is constrained by hardware limitations such as chain breaks and qubit connectivity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.