Skip to content
Preprint

Quantum Spectral Anomaly Detection

Jul 2026 · 1 citation · 31 references
Physics Computer Science

Abstract

A core task in quantum anomaly detection is to compute an anomaly score that quantifies how strongly a test quantum state deviates from a given quantum dataset assumed to be normal. Classically, principal component analysis (PCA) for centered data computes the anomaly score by evaluating the test sample relative to the subspace spanned by the selected leading eigenvectors. However, for quantum data that lack a standard centering, explicitly recovering principal eigenvectors, constructing full Gram matrices, or loading quantum-random-access-memory-style data can be more costly than estimating the anomaly score itself. To avoid these costs, we propose Quantum Spectral Anomaly Detection (QSPADE), which computes PCA-like anomaly scores directly from the spectrum of the average state of the normal dataset. By replacing hard PCA rank selection with a smooth, temperature-controlled spectral threshold, QSPADE makes near-threshold spectral components contribute partially to the anomaly score. This makes the score vary continuously rather than jump when a borderline component is included or excluded, and makes it less sensitive to noise or arbitrary hard cutoffs near the threshold. In the zero-temperature limit, QSPADE recovers the hard-projector PCA score. The proposed measurement-based quantum detector can be calibrated with a sample complexity independent of the data dimension. Numerical simulations show that QSPADE behaves like kernel-PCA on encoded classical data and detects changes across a transverse-field Ising transition without predefined order parameters. Consequently, QSPADE gives an efficient framework for both quantum-kernel anomaly detection on encoded classical data and the monitoring of quantum-native systems where diagnostic observables are unknown.

View source

Similar papers

Jul 2026

Depth-Efficient Quantum Topological Data Analysis for Regime-Specific Detection of Financial Stress

The first adaptation of Pauli Correlation Encoding to quantum topological data analysis is presented, reformulating Betti number estimation as a depth-efficient variational optimization over a compressed qubit register, reformulating Betti number estimation as a depth-efficient variational optimization over a compresse...

A. Mazumder, S. Mazumder · 0 citations
Open access Jul 2026

Hybrid Quantum-Classical Intrusion Detection with Quantum Feature Representations under NISQ Constraints

This paper investigates whether quantum principal component analysis can provide useful features for IDS without relying on claims of end-to-end quantum superiority, and finds that QPCA is most useful as a representation enhancer under NISQ-compatible, not hardware-validated, constraints.

Murilo Salem, D. Pontes, Luísa Böhm et al. · 0 citations
Conference Jul 2026

Benchmarking Classical and Quantum Machine Learning for Intrusion Detection Across Multiple Datasets

This paper presents a comparative benchmarking study of classical and quantum machine learning models for intrusion detection using three benchmark datasets: NSL-KDD, UNSW-NB15, and MQTTEEB-D2025. The study evaluates how preprocessing choices, feature selection strategies, and quantum encoding methods influence model p...

Taha M. Mahmoud, N. Kaabouch · 0 citations
Jul 2026

Spectrum Estimation is Almost as Hard as Tomography

We study the sample complexity of estimating and testing fundamental unitarily invariant properties of unknown quantum states; namely, the tasks of spectrum estimation, von Neumann entropy estimation, and rank-testing. For $d$-dimensional states, and for every $\gamma>0$, we prove a sample complexity lower bound of $\O...

Marco Fanizza, Ryan O'Donnell, Chirag Wadhwa · 2 citations
Conference Jul 2026

Quantum Kernel Concentration Under Class Imbalance: Empirical Characterisation with Discrimination Ratio and Quantum Imbalance Vulnerability Score

Quantum kernel methods are a candidate approach for machine learning on near-term quantum hardware, but two practical problems limit their deployment: kernel values concentrate exponentially as the qubit count grows, and real-world datasets are often severely class-imbalanced. We present the first systematic empirical...

Souvik Ghosh, Vijaysherly V. · 0 citations
Open access Jul 2026

Parameter-Efficient Quantum and Hybrid Autoencoders for One-Class Anomaly Detection

Overall, quantum and hybrid autoencoders are not universally superior, but deliver competitive anomaly detection with remarkably high parametric efficiency.

Murilo Salem, D. Pontes, João Carrett et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.