Quantum-inspired classification via efficient simulation of Helstrom measurement

Wooseop Hwang, Daniel K. Park, Israel F. Araujo, Carsten BlankarXiv 2024 · DOI

Abstract: The Helstrom measurement (HM) is known to be the optimal strategy for distinguishing non-orthogonal quantum states with minimum error. Previously, a binary classifier based on classical simulation of the HM has been proposed. It was observed that using multiple copies of the sample data reduced the classification error. Nevertheless, the exponential growth in simulation runtime hindered a comprehensive investigation of the relationship between the number of copies and classification performance. We present an efficient simulation method for an arbitrary number of copies by utilizing the relationship between HM and state fidelity. Our method reveals that the classification performance does not improve monotonically with the number of data copies. Instead, it needs to be treated as a hyperparameter subject to optimization, achievable only through the method proposed in this work. We present a Quantum-Inspired Machine Learning binary classifier with excellent performance, providing such empirical evidence by benchmarking on eight datasets and comparing it with 13 hyperparameter optimized standard classifiers.

Introduction

In quantum information theory, the Helstrom measurement (HM) provides the theoretical lower bound for the probability of error when discriminating between two non-orthogonal quantum states. Applying this principle to machine learning involves encoding classical data into quantum states and utilizing the HM as a decision boundary. While previous research indicated that increasing the number of "copies" ($k$) of these quantum states could improve classification accuracy, classical simulation of this process faced an exponential computational bottleneck. Specifically, the complexity scaled as $O(N^k)$, where $N$ is the feature count, limiting practical exploration to very small values of $k$.

Methodology: The HQCS Classifier

This paper introduces the HQC-Simulation (HQCS) classifier, which overcomes the exponential scaling of traditional quantum simulation. The core innovation is a mathematical derivation (Proposition 1) that establishes a direct relationship between the Helstrom measurement and state fidelity. By utilizing inner products rather than high-dimensional Kronecker products, the computational complexity is reduced from exponential to linear ($O(N)$).

This efficiency allows the number of copies ($k$) to be treated as a continuous, real-valued hyperparameter. This flexibility is mathematically powerful, enabling the optimization of $k$ at values that are physically impossible in a laboratory setting (e.g., non-integer copies) but computationally advantageous for classification performance.

Experimental Evaluation

The HQCS classifier was benchmarked against 13 standard classical models, including Support Vector Machines (SVM), Random Forest, XGBoost, and CatBoost. The evaluation spanned eight diverse datasets, many of which are characterized by unbalanced classes or overlapping data points that challenge traditional distance-based metrics.

Figure 1: Cross-validated F1 scores for HQCS (Hel/Fid) compared against 13 standard classifiers across eight datasets.

As shown in the performance heatmap, the HQCS models (labeled as 'Hel' for Helstrom and 'Fid' for Fidelity) consistently perform on par with or better than state-of-the-art classical models. Notably, on the Haberman, Hepatitis, and Transfusion datasets, the quantum-inspired approach demonstrated superior F1 scores compared to hyperparameter-optimized classical benchmarks.

Discussion: The Role of Quantum Copies

A key finding of this work is the rejection of the "more is better" assumption regarding quantum copies. Performance does not improve monotonically with $k$; instead, it often peaks and then declines, suggesting that $k$ acts as a regularization parameter that must be tuned to avoid overfitting.

Figure 2: F1 score performance as a function of the number of copies (k) for the Appendicitis and Transfusion datasets, illustrating non-monotonicity and non-integer optima.

For instance, in the Transfusion dataset, the optimal F1 score was achieved at $k = 147.5$. The ability to explore such high and non-integer values of $k$ in seconds—previously a task requiring impossible memory and runtime—is a direct result of the proposed efficient simulation method.

Conclusion

The HQCS classifier demonstrates that quantum-inspired metrics can find meaningful structure in complex, "messy" classical data. While currently limited to binary classification, future work aims to extend this framework to multi-class problems using "Pretty Good Measurements" (PGMs) and to integrate the "kernel trick" for deeper theoretical comparisons with other quantum machine learning strategies. This research highlights the immediate value of quantum-inspired algorithms on classical hardware, even before large-scale quantum computers become available.

Summary updated

BibTeX
@misc{hwang2024quantum,
  author = {Wooseop Hwang and Daniel K. Park and Israel F. Araujo and Carsten Blank},
  title = {{Quantum-inspired classification via efficient simulation of Helstrom measurement}},
  year = {2024},
  eprint = {2403.15308},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.15308},
}
Figure