Quantum State Discrimination for Supervised Classification

Roberto Giuntini, Héctor Freytes, Daniel K. Park, Carsten Blank, Federico Holik, Keng Loon Chow, Giuseppe SergioliarXiv 2021 · DOI

Abstract

In this paper we investigate the connection between quantum information theory and machine learning. In particular, we show how quantum state discrimination can represent a useful tool to address the standard classification problem in machine learning. Previous studies have shown that the optimal quantum measurement theory developed in the context of quantum information theory and quantum communication can inspire a new binary classification algorithm that can achieve higher inference accuracy for various datasets. Here we propose a model for arbitrary multiclass classification inspired by quantum state discrimination, which is enabled by encoding the data in the space of linear operators on a Hilbert space. While our algorithm is quantum-inspired, it can be implemented on classical hardware, thereby permitting immediate applications.

Introduction

Supervised classification is a cornerstone of machine learning, but as datasets grow in complexity, researchers are looking toward quantum mechanics for new algorithmic inspirations. While many Quantum Machine Learning (QML) algorithms require future fault-tolerant quantum hardware, Quantum-Inspired Machine Learning (QIML) uses the mathematical framework of quantum mechanics—such as density matrices and Hilbert spaces—to improve classical algorithms today.

This research bridges quantum information theory and machine learning by adapting quantum state discrimination techniques for multiclass classification. By encoding classical data as density operators and applying "Pretty Good Measurements," the authors develop a quantum-inspired algorithm that runs on classical hardware and demonstrates that classification accuracy improves as data is mapped into higher-dimensional tensor spaces.

Methodology

The authors propose a three-step pipeline for their quantum-inspired classifier:

  1. Encoding: Classical feature vectors are mapped to pure quantum states (density matrices) using amplitude encoding.
  2. Quantum Centroids: For each class in the training set, a "quantum centroid" is calculated. This is a density matrix representing the uniformly weighted average of all encoded states belonging to that class.
  3. Pretty Good Measurement (PGM): To classify a new "unseen" data point, the algorithm treats it as a quantum state discrimination task. Since the optimal measurement for multiple states is hard to find, they use the PGM (or Hausladen-Wootters measurement). This provides an analytical, albeit sub-optimal, way to assign the data point to the class whose centroid it most closely matches.

A key innovation discussed is tensor encoding. By taking $n$ copies of the encoded state ($\rho^{\otimes n}$), the algorithm effectively moves the problem into a much larger Hilbert space. This is mathematically analogous to the "kernel trick" used in Support Vector Machines (SVMs), allowing for better separation between classes.

Theoretical Insights

The paper reveals a striking linear correlation (Pearson coefficient $\approx 0.9468$) between the Helstrom bound (a theoretical limit on how well two quantum states can be told apart) and actual classification accuracy. This suggests that if you can distinguish the "quantum versions" of your classes better, your classifier performs better.

Furthermore, the authors prove (Theorem 4.1) that the Helstrom bound increases monotonically as you increase the number of tensor copies of the data. This provides a rigorous theoretical justification for why increasing the dimensionality of the quantum feature map helps performance.

Empirical Evaluation

The authors evaluated the relationship between quantum distinguishability and classification accuracy using 14 benchmark datasets, including medical/biological data (Appendicitis, Haberman, Lupus), synthetic/geometric sets (Banana, Moon, Prnn_synth), and general datasets (Titanic, Hill_Valley).

Key results from these evaluations include:

  • Correlation: Analysis across the 14 test datasets confirmed a strong positive relationship between the Helstrom bound and balanced accuracy.
  • Performance Gains: Numerical simulations showed that metrics like the F1-score and k-Cohen index improve consistently as the number of tensor copies ($n$) increases.
  • Multiclass Viability: The authors demonstrated that the PGM-based multiclass classifier follows similar logic to the binary case, with the PGM bound also appearing to increase with tensor copies.

Conclusion

Despite using the language of qubits and POVMs, the algorithm relies on standard linear algebra (matrix multiplication, traces, and pseudoinverses) that can be executed on existing classical CPUs and GPUs. However, while tensor copies improve accuracy, the dimensionality of the density matrices grows exponentially ($d^n$). On classical hardware, this eventually leads to a "curtain of dimensionality" where the memory and time requirements become prohibitive.

Future work could involve implementing the high-dimensional measurement steps on actual quantum hardware to bypass classical computational bottlenecks, as well as developing a general formal proof for the multiclass (PGM) case regarding tensor copies.

Summary updated

BibTeX
@misc{giuntini2021quantum,
  author = {Roberto Giuntini and Héctor Freytes and Daniel K. Park and Carsten Blank and Federico Holik and Keng Loon Chow and Giuseppe Sergioli},
  title = {{Quantum State Discrimination for Supervised Classification}},
  year = {2021},
  eprint = {2104.00971},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.00971},
}
Figure