We develop quantum protocols for anomaly detection and apply them to the task of credit card fraud detection (FD). First, we establish classical benchmarks based on supervised and unsupervised machine learning methods, where average precision is chosen as a robust metric for detecting anomalous data. We focus on kernel-based approaches for ease of direct comparison, basing our unsupervised modelling on one-class support vector machines (OC-SVM). Next, we employ quantum kernels of different type for performing anomaly detection, and observe that quantum FD can challenge equivalent classical protocols at increasing number of features (equal to the number of qubits for data embedding). Performing simulations with registers up to 20 qubits, we find that quantum kernels with re-uploading demonstrate better average precision, with the advantage increasing with system size. Specifically, at 20 qubits we reach the quantum-classical separation of average precision being equal to 15%. We discuss the prospects of fraud detection with near- and mid-term quantum hardware, and describe possible future improvements.
We develop quantum protocols for anomaly detection and apply them to the task of credit card fraud detection (FD). First, we establish classical benchmarks based on supervised and unsupervised machine learning methods, where average precision is chosen as a robust metric for detecting anomalous data. We focus on kernel-based approaches for ease of direct comparison, basing our unsupervised modelling on one-class support vector machines (OC-SVM). Next, we employ quantum kernels of different type for performing anomaly detection, and observe that quantum FD can challenge equivalent classical protocols at increasing number of features (equal to the number of qubits for data embedding). Performing simulations with registers up to 20 qubits, we find that quantum kernels with re-uploading demonstrate better average precision, with the advantage increasing with system size. Specifically, at 20 qubits we reach the quantum-classical separation of average precision being equal to 15%. We discuss the prospects of fraud detection with near- and mid-term quantum hardware, and describe possible future improvements.
Detecting credit card fraud is notoriously difficult because fraudulent charges make up less than 0.2% of total transactions. Quantum Machine Learning (QML), particularly Quantum Kernel Support Vector Machines (QSVM), promises richer feature representations by embedding classical data into high-dimensional Hilbert spaces. However, whether this theoretical advantage holds up when managing real-world financial data bottlenecks remains unclear. We designed a controlled benchmark comparing three quantum encodings, Angle, ZZFeatureMap, and IQP against classical models while keeping sample sizes, feature counts, and scaling strictly matched. To handle class skew without corrupting quantum state overlaps, we embedded synthetic minority oversampling (SMOTE) directly into the quantum Gram matrix workflow, raising PR-AUC scores by roughly +0.04 across feature maps. When trained on the full European credit card dataset with 30 features, classical baselines reached a top PR-AUC of 0.983. However, restricting classical models to match QSVM hardware constraints (500 samples, 4 PCA features) dropped their PR-AUC to 0.750. This puts our best quantum result 0.730 PR-AUC using IQP encoding on 150 samples into realistic context. Testing on physical quantum hardware reduced performance further to 0.62 due to CNOT gate errors and thermal noise. Overall, our findings pinpoint two main operational bottlenecks for near-term quantum kernels: the scaling of Gram matrix evaluation and heavy information loss from squeezing features onto small qubit registers.
Credit card fraud detection (CCFD) is an active research field that addresses anomaly detection in card transaction streams. This paper presents a survey of quantum machine learning (QML) approaches to CCFD in the current literature. However, variation in dataset selection, feature encoding, and execution settings limits direct comparison across studies. These limitations are examined in relation to fraud detection accuracy, interpretability, and robustness to adversarial behavior. QML is relevant to CCFD because it may provide alternative feature representations and optimization strategies for detecting subtle fraud patterns in imbalanced transaction streams. A taxonomy of different QML algorithms and their utility in CCFD is provided, spanning variational quantum kernel methods, quantum classifiers, quantum neural networks, and hybrid quantum-classical architectures. Circuit design, simulator versus hardware execution, and noise assumptions are detailed. Additionally, we explore the effects of quantum noise within the current Noisy Intermediate-Scale Quantum (NISQ) era of quantum computers. The review highlights that current QML hybrid workflows are largely exploratory, where quantum components support feature mapping, anomaly scoring, representation learning, or optimization. The paper concludes with future research directions for integrating operational QML into CCFD.
Classical ML models for fraud detection tend to break down on rare events, which are the cases that matter most. In imbalanced transaction datasets, new fraud patterns often fall outside what these models were trained to recognize. This paper presents a Hybrid Quantum-Classical Anomaly Detection Framework built to address that gap. Particle Swarm Optimization (PSO) handles feature selection, after which transaction features are encoded into quantum-inspired Hilbert spaces using Angle and Amplitude Encoding. Two quantum models, a Quantum Kernel SVM (QK-SVM) and a Variational Quantum Circuit (VQC), process these representations, and their outputs are fused with scores from Random Forest, XGBoost, and One-Class SVM through a weighted scoring scheme. On the Credit Card Fraud Detection benchmark, the hybrid framework outperforms classical-only baselines on rare event detection across Precision, Recall, F1-Score, and ROC-AUC, without needing actual quantum hardware.
The increasing dependence on digital and card-based payment systems has heightened the risk of financial fraud. This situation creates an urgent need for models that can identify rare fraudulent events in uneven transaction data. Traditional machine learning models often sacrifice recall for precision when the minority class is very small. Quantum classifiers are theoretically appealing for capturing complex feature relationships, but current hardware limitations on qubit count and circuit depth restrict their effectiveness. This work introduces a hybrid quantum-classical framework for credit card fraud detection. It combines an Extreme Gradient Boosting (XGBoost) classifier with a Quantum Support Vector Machine (QSVM) that uses a ZZ feature map and a fidelity-based quantum kernel. To handle class imbalance, we apply the Synthetic Minority Oversampling Technique (SMOTE) and adjust decision thresholds. The quantum element is trained on a reduced, class-balanced data subset, ensuring it stays within the feasible limits of the simulator. We merge predictions from the classical and quantum models using a weighted probability fusion approach, optimizing the final threshold to maximize the F1-score. Using the Kaggle Credit Card Fraud Detection dataset, the hybrid model achieves a precision of 0.9783, recall of 0.9000, F1-score of 0.9375, and ROC-AUC of 0.9805. It surpasses the standalone XGBoost baseline, XGBoost with SMOTE, and the standalone QSVM regarding F1 and ROC-AUC metrics. These results show that blending classical gradient boosting with quantum kernel-based classification, along with imbalance-aware techniques, can significantly enhance fraud detection quality despite current quantum hardware limitations. This offers a practical path for future work in quantum-assisted financial security.
We benchmarked quantum kernel k-means against classical clustering for credit-card fraud detection on real transaction data, at up to \MaxQubits{} qubits, under a protocol with separated selection and reporting data and matched search budgets. We find no robust quantum advantage: the sign of the difference depends on register size, all effect sizes are below 0.013 ARI, and the single significant advantage we observe is fully explained by the number of configurations searched. We further show that ordinary hyperparameter choices move performance by considerably more than the quantum kernel does, that additional qubits degrade rather than improve performance through kernel concentration, and that the clustering framing itself fails at realistic class imbalance though kernel-based anomaly scoring does not. We regard the methodological contribution as the more durable one. The search-budget ablation in particular is inexpensive and, in our case, decisive: it converted a statistically significant advantage into a procedural artefact. We would encourage its routine use.
Quantum algorithms have demonstrated extraordinary potential in numerous fields. The demand for fraud detection in credit cards is growing increasingly, which calls for more efficient algorithms. This work adopts the detection method of Quantum Support Vector Machine (QSVM) to improve the accuracy of credit card fraud detection. Meanwhile, Quantum-Synthetic Minority Oversampling Technique (Quantum-SMOTE) is utilized to address the issue of imbalanced credit card datasets. The QSVM model maps classical data to a high-dimensional Hilbert space through quantum feature mapping, thereby enhancing the separability of features. Then, quantum kernel computation is performed to calculate the inner products between features for model training. The research results show that the QSVM achieves the best overall performance, which indicates that QSVM has significant potential in handling credit card fraud detection.