Quantum-inspired probability metrics define a complete, universal space for statistical learning

Logan S. McCarty
8/26/2025
stat.MLcs.LGquant-ph

No official code found. Best implementation: logansmccarty/QPM (0 stars, MIT, last commit 2025-09-01).

Abstract

Comparing probability distributions is a core challenge across the natural, social, and computational sciences. Existing methods, such as Maximum Mean Discrepancy (MMD), struggle in high-dimensional and non-compact domains. Here we introduce quantum probability metrics (QPMs), derived by embedding probability measures in the space of quantum states: positive, unit-trace operators on a Hilbert space. This construction extends kernel-based methods and overcomes the incompleteness of MMD on non-compact spaces. Viewed as an integral probability metric (IPM), QPMs have dual functions that uniformly approximate all bounded, uniformly continuous functions on $\mathbb{R}^n$, offering enhanced sensitivity to subtle distributional differences in high dimensions. For empirical distributions, QPMs are readily calculated using eigenvalue methods, with analytic gradients suited for learning and optimization. Although computationally more intensive for large sample sizes ($O(n^3)$ vs. $O(n^2)$), QPMs can significantly improve performance as a drop-in replacement for MMD, as demonstrated in a classic generative modeling task. By combining the rich mathematical framework of quantum mechanics with classical probability theory, this approach lays the foundation for powerful tools to analyze and manipulate probability measures.

View on arXivView PDF

Code Implementations(1)

logansmccarty/QPMCommunity71%
MIT

Results and code from the paper "Quantum-inspired probability metrics define a complete, universal space for statistical learning"

00Jupyter NotebookAug 15, 20251 years agoMIT

Similar Papers

Cite this paper

@article{mccarty2025quantuminspired,
  title  = {Quantum-inspired probability metrics define a complete, universal space for statistical learning},
  author = {Logan S. McCarty},
  year   = {2025},
  eprint = {2508.21086},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.21086v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.21086.svg)](https://codeofpaper.com/paper/2508.21086)

Discussion