WorksComputer Science
Benchmarking Quantum Kernel SVMs for Credit Card Fraud Detection: Performance Realities Under NISQ Constraints
Abstract
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.
Introduction
Financial fraud detection systems process millions of daily credit card transactions in real time, facing an extreme class imbalance where legitimate instances drastically outweigh fraudulent activity. Standard algorithms optimized for balanced accuracy frequently yield high false-negative rates, exposing financial institutions to severe fraud losses. Classical machine learning models like Random Forests, Support Vector Machines (SVM), and Gradient Boosting rely on kernel tricks or decision tree partitions to resolve non-linear boundaries. While effective on uncompressed feature spaces, their performance bounds are tied to classical distance metrics.
Quantum Machine Learning (QML) presents a distinct computational model by transforming classical features into quantum states via parameterized quantum circuits.
Related Work
Addressing financial fraud with classical supervised models relies heavily on sampling techniques and ensemble architectures. Dal Pozzolo et al. demonstrated that combining decision tree ensembles with undersampling or SMOTE oversampling achieves strong ROC-AUC performance () on real-world transaction logs. However, classical kernel algorithms struggle to maintain runtime efficiency when processing high-dimensional non-linear interactions across large sample volumes.
Quantum kernel methods, introduced by Havlíček et al. and Schuld & Killoran, proved that quantum processors can evaluate kernel matrices corresponding to overlaps in quantum feature spaces. Subsequent exploratory studies by Grossi et al. applied hybrid QSVM frameworks to financial risk modeling, noting severe sample subsampling requirements. Existing literature frequently compares small-scale QSVM trials directly against full-dataset classical models without normalizing for training sample size, obscuring whether performance gaps stem from data volume or kernel expressivity. Table 1 organizes prior literature baselines and highlights the specific contributions of this study.
| Reference | Methodology | Dataset | Core Findings | Methodological Gap | Relevance to Present Work |
| Cortes & Vapnik [3] | Support Vector Machine | Benchmark Sets | Maximized margin classification using convex optimization | Sensitive to manual kernel selection | Mathematical basis for QSVM |
| Breiman [2] | Random Forest | Tabular Benchmarks | Low variance ensemble classification via bootstrap decision trees | High memory footprint on massive feature spaces | Primary classical benchmark |
| Dal Pozzolo et al. [4] | Undersampling + ML | ULB Fraud Dataset | Demonstrated optimal probability calibration under extreme skew | Information loss from majority undersampling | Framing for imbalance metrics |
| Bao & Yang [13] | SMOTE Resampling | Financial Imbalanced | Synthesized boundary samples to improve minority recall | Potential boundary noise introduction | Basis for SMOTE QML integration |
| Havlíček et al. (2019) | Quantum Kernel Classifier | Synthetic Quantum Data | Proved quantum feature mapping in exponential Hilbert space | Evaluated on artificial quantum distributions | Theoretical foundation for |
| Grossi et al. [15] | Hybrid QSVM Pipeline | Financial Fraud Logs | Applied QSVM to financial data with quantum feature selection | Lacked controlled sample-size baseline normalization | Direct predecessor benchmarking baseline |
Table 1. Literature Survey and Comparative Methodological Context
Table 1 categorizes foundational literature across classical machine learning, class imbalance strategies, and quantum kernel methodologies. It highlights key gaps in prior studies, such as the lack of sample-size normalization when evaluating QSVMs, which forms the basis for the controlled benchmarking framework introduced in this study.
Problem Formulation
Let be a financial dataset where is a transaction feature vector and is the class label. Here, marks fraud and marks legitimate charges. Fraud cases make up roughly 0.172% of the dataset.
Classical SVM
Classical SVMs find a separating decision boundary by maximizing margins in kernel space. The kernel function calculates vector similarity. For Radial Basis Function (RBF) kernels:
Quantum Kernel Formulation
In QSVM, a parameterized circuit maps input vector into an -qubit quantum state vector . The quantum kernel entry measures state overlap (fidelity) in Hilbert space:
We pass this computed Gram matrix directly to a classical C-SVM quadratic solver to find the optimal margins.
Methodology
We construct a unified benchmarking pipeline to evaluate classical and quantum models under rigorous data controls.
Algorithm 1: Quantum Kernel SVM Pipeline with SMOTE Resampling
Algorithm 1: Quantum Kernel Support Vector Machine (QSVM) Pipeline with Integrated SMOTE
Input:
Transaction dataset , where feature vector and class label
Target qubit dimension
Sub-sampled training volume limit
Output:
Predicted labels for test set
Classification metrics: PR-AUC, ROC-AUC, Precision, Recall, -Score
Procedure:
Feature Preprocessing & Dimensionality Reduction
Compute feature-wise mean and standard deviation across dataset .
Standardize raw features: for all .
Reduce dimensionality via PCA to project standardized features into target qubit space: .
Stratified Partitioning & SMOTE Resampling
Perform stratified split: using an 80:20 ratio.
Apply SMOTE on training split to synthesize minority fraud instances: .
Extract balanced subset of size to satisfy quantum simulation constraints: .
Quantum Gram Matrix () Construction
Initialize a -qubit register in the zero state where .
for each sample pair do
Construct parameterized quantum feature circuit and adjoint circuit .
Execute transition state circuit: .
Measure probability of state to assign Gram matrix entry:
end for
Model Optimization & Classification Inference
Train soft-margin -SVM classifier using precomputed matrix to find optimal dual multipliers :
Compute test kernel matrix between test instances and quantum training set :
Predict target class labels:
Compute evaluation metrics: Precision, Recall, -Score, ROC-AUC, and PR-AUC.
return predicted labels and metric evaluation suite.
The above algorithm provides a novel hybrid architecture by embedding Synthetic Minority Oversampling (SMOTE) directly into the quantum Gram matrix workflow, mitigating severe class skew and boosting PR-AUC scores by roughly +0.04 without distorting Hilbert space inner products. By enforcing strictly matched sample sizes () and feature dimensions (), it establishes a standardized framework that isolates true quantum kernel expressivity from classical sample volume advantages. This design offers a reproducible blueprint for applying near-term quantum machine learning to imbalanced tabular financial data while systematically accounting for NISQ operational constraints.
Quantum Feature Encoding Strategies
We analyze three feature encoding circuits differing in depth and entangling gate density:
Angle Encoding: Maps features directly into single-qubit rotations accompanied by linear CNOT entangling chains.
ZZFeatureMap: Combines single-qubit Hadamard gates, rotations, and pairwise interaction terms using CNOT-RZ-CNOT blocks.
IQP Feature Mapping: Instantaneous Quantum Polynomial embedding featuring full-mesh pairwise entangling connections across all qubit pairs to generate dense multi-qubit correlations.
Figure 1 illustrates the Angle Encoding architecture, which maps the four PCA-reduced transaction features directly into single-qubit rotation angles. A linear chain of adjacent CNOT gates introduces basic entangling coupling across neighboring feature indices with minimal circuit depth . While its low gate count minimizes NISQ hardware noise, its limited expressivity restricts its ability to capture complex non-linear fraud relationships, resulting in a PR-AUC of 0.700.

Figure 1. Quantum circuit schematic for Angle Encoding with single-qubit rotations and linear CNOT entanglement.
Figure 2 depicts the ZZFeatureMap circuit, which initializes all four qubits into statevector superposition via Hadamard gates prior to single-qubit rotations. Non-linear financial interactions are captured by encoding pairwise feature products into quantum phase shifts through CNOT--CNOT gate sequences. However, because the entangling topology is restricted strictly to adjacent qubit pairs, non-adjacent PCA feature interactions are omitted, limiting classification performance to a PR-AUC of 0.700.

Figure 2. Quantum circuit schematic for ZZFeatureMap incorporating Hadamard layers, phase rotations, and pairwise interactions.
Figure 3 demonstrates the Instantaneous Quantum Polynomial (IQP) Feature Map, which constructs an all-to-all full-mesh entangling network across every qubit pair in the register. By capturing global, multi-feature correlation vectors simultaneously, it allows the QSVM to construct richer decision boundaries for detecting subtle fraud patterns, achieving the highest quantum simulation PR-AUC of 0.730. Conversely, the increased circuit depth and higher CNOT gate count make this topology the most susceptible to thermal relaxation and gate errors on physical NISQ hardware.

Figure 3. Quantum circuit schematic for IQP Feature Map showing full-mesh entangling interactions across the qubit register.
Table 2 summarizes the structural properties and algorithmic trade-offs of Angle Encoding, ZZFeatureMap, and IQP Feature Mapping. It compares circuit depth scaling ( vs. ), gate compositions, expressivity levels, and noise sensitivity across all three quantum feature maps. This comparison illustrates how increasing entangling density enhances quantum feature expressivity at the cost of higher noise susceptibility on physical hardware.
| Feature Encoding Scheme | Circuit Depth Scaling | Expressivity Level | Noise Sensitivity | Dominant Quantum Gates |
| Angle Encoding | Moderate | Low | , Linear CNOT | |
| ZZFeatureMap | High | Moderate | , , Pairwise CNOT | |
| IQP Embedding | Very High | High | , , Full-Mesh CNOT |
Table 2. Circuit Characteristics of Evaluated Quantum Encoding Schemes
Hardware Execution vs. Ideal Statevector Simulation
Statevector simulation calculates exact quantum state overlaps without noise. Running circuits on physical hardware (ibm_kingston) introduces single-qubit errors (), CNOT gate infidelities (--), and decoherence (--), which washes out kernel values toward uniform noise.
Table 3 measures the performance degradation encountered when transitioning from an ideal statevector simulator (PR-AUC = 0.70) to a physical quantum processor (ibm_kingston, PR-AUC = 0.62). It pinpoints thermal relaxation, single- and two-qubit gate infidelities, and readout errors as the primary physical degradation factors under NISQ constraints.
| Execution Platform | PR-AUC Score | Dominant Performance Degradation Factor |
| Statevector Simulator (Ideal) | 0.70 0.03 | Training subset restriction (N = 150) due to simulation scaling |
| IBM Quantum Hardware (ibm_kingston) | 0.62 0.05 | Thermal relaxation, gate infidelities, readout errors |
Table 3. QSVM Classification Performance on Ideal Simulation vs. Physical Backend
Experimental Setup & Results
The empirical benchmarking setup is parameterized as follows:
Dataset Specification: European Credit Card Fraud dataset comprising 284,807 transaction instances, 492 fraud cases, and 30 continuous features.
Preprocessing Protocol: StandardScaler z-score normalization followed by Principal Component Analysis (PCA) feature reduction from 30 features to principal components (matching a 4-qubit register).
Sampling Strategy: Stratified 80:20 train-test split. Training subsets of and were extracted to compare QSVM and classical baselines under identical sample constraints.
Software Infrastructure: Python, Scikit-learn, Qiskit Machine Learning framework.
Evaluation Metrics: Precision, Recall, F1-Score, Receiver Operating Characteristic AUC (ROC-AUC), Precision-Recall AUC (PR-AUC).
Table 4 presents a multi-tiered empirical evaluation of classical algorithms and QSVM variants across varying dataset scopes, sample sizes, and feature counts. It demonstrates that while unconstrained classical models reach top PR-AUC scores (0.983), sample-restricted classical baselines (, PR-AUC = 0.750) align closely with the best quantum configuration (IQP, PR-AUC = 0.730).
| Model Variant | Dataset Scope / Sample Size | Features | Precision | Recall | F1-Score | ROC-AUC | PR-AUC |
| Logistic Regression | Full Dataset (k) | 30 | 0.92 | 0.85 | 0.88 | 0.978 | 0.983 |
| RBF-SVM | Full Dataset (k) | 30 | 0.91 | 0.84 | 0.87 | 0.974 | 0.981 |
| Random Forest | Full Dataset (k) | 30 | 0.94 | 0.87 | 0.90 | 0.979 | 0.983 |
| Logistic Regression | 4 PCA Features (Full ) | 4 | 0.89 | 0.81 | 0.85 | 0.960 | 0.960 |
| Random Forest | 4 PCA Features (Full ) | 4 | 0.91 | 0.83 | 0.87 | 0.965 | 0.965 |
| Logistic Regression | 4 PCA Features () | 4 | 0.78 | 0.73 | 0.75 | 0.840 | 0.740 |
| RBF-SVM | 4 PCA Features () | 4 | 0.79 | 0.74 | 0.76 | 0.850 | 0.750 |
| Random Forest | 4 PCA Features () | 4 | 0.80 | 0.75 | 0.77 | 0.850 | 0.750 |
| QSVM (Angle) | 4 PCA Features () | 4 | 0.70 | 0.68 | 0.69 | 0.700 | 0.700 |
| QSVM (ZZFeatureMap) | 4 PCA Features () | 4 | 0.70 | 0.68 | 0.69 | 0.700 | 0.700 |
| QSVM (IQP) | 4 PCA Features () | 4 | 0.73 | 0.71 | 0.72 | 0.730 | 0.730 |
Table 4. Empirical Performance Metrics Across Model Architecture and Data Constraints
Figure 4 illustrates the Precision-Recall (a) and Receiver Operating Characteristic (b) trajectories comparing unconstrained classical baselines against sample- and feature-restricted QSVM variants. While unconstrained Random Forest achieves top-tier performance (PR-AUC = 0.983), restricting classical models to micro-subsets () causes performance to drop to 0.750, putting the best quantum result (IQP, PR-AUC = 0.730) into realistic context. The pronounced drop in PR-AUC across restricted models highlights how extreme class skew and severe sample truncation disproportionately affect minority fraud detection.

Figure 4. (a) Precision-Recall curves and (b) Receiver Operating Characteristic (ROC) curves across classical models and QSVM variants.
Figure 5 presents a comparative bar chart isolating the impact of dimensionality reduction (30 features down to 4 PCA) and sample size restriction () on classification accuracy. The classical sub-sample threshold (0.750) demonstrates that the performance gap between full classical baselines (0.983) and QSVM models (0.700–0.730) stems primarily from NISQ-era data limits rather than quantum kernel expressivity. Among quantum schemes, IQP feature mapping comes closest to the classical sub-sample baseline, reinforcing the value of dense entangling topologies.

Figure 5. Precision-Recall AUC (PR-AUC) performance comparison highlighting the impact of full feature space vs. sub-sampled PCA constraints.
Analysis
Table 5 presents the quantitative effect of integrating SMOTE directly within the quantum Gram matrix generation workflow. Table 5 quantifies the empirical performance gain resulting from integrating synthetic minority oversampling (SMOTE) directly into the quantum Gram matrix generation workflow. Across evaluated quantum encodings, SMOTE integration consistently increases classification accuracy, providing a performance uplift of roughly +0.03 to +0.04 in PR-AUC. This proves that balancing class proportions before state encoding prevents minority-class attenuation without corrupting Hilbert space inner products.
| Feature Encoding Scheme | Resampling Protocol | PR-AUC Score | Performance Gain (ΔPR-AUC) |
| Angle Encoding | Without SMOTE | 0.66 | Baseline |
| Angle Encoding | With SMOTE Integration | 0.70 | +0.04 |
| ZZFeatureMap | Without SMOTE | 0.67 | Baseline |
| ZZFeatureMap | With SMOTE Integration | 0.70 | +0.03 |
Table 5. QSVM Performance Impact With and Without SMOTE Resampling
Evaluating quantum Gram matrices requires individual quantum state overlaps. In classical statevector simulation, each overlap incurs an exponential factor, creating a steep execution bottleneck as training set size grows. Table 6 contrasts the theoretical runtime complexity and scalability bounds of classical models against QSVM statevector simulation. It highlights the dual computational bottleneck of near-term quantum kernels: the quadratic sample scaling required for Gram matrix evaluation and the exponential factor inherent to classical simulation. This computational overhead explains why strict sub-sampling bounds are required when training quantum classifiers on high-volume financial logs.
| Algorithm | Asymptotic Computational Complexity | Large-Scale Dataset Scalability |
| Logistic Regression | High (Scales linearly with samples) | |
| Random Forest | High (Parallelizable across trees) | |
| Classical RBF-SVM | to | Moderate (Gram matrix storage bound) |
| QSVM (Statevector Simulation) | Low (Exponential in qubits, quadratic in samples) |
Table 6. Asymptotic Algorithmic Complexity and Dataset Scalability
Figure 6 plots empirical execution runtime against training sample size (), highlighting the computational bottleneck of quantum Gram matrix evaluation. Evaluating state overlaps alongside an exponential statevector simulation factor causes QSVM execution times to scale far more steeply than classical Random Forest or RBF-SVM baselines. This quadratic scaling bottleneck explains why sample sizes must be capped during NISQ benchmarking and represents a core barrier to processing high-volume financial transaction logs in real time.

Figure 6. Execution runtime scaling illustrating the quadratic sample growth and exponential qubit simulation penalty for QSVM.
The experimental benchmarks demonstrate that classical models trained on full feature sets outperform NISQ-era quantum kernels (PR-AUC = 0.983 vs. 0.730). Rather than indicating an inherent flaw in quantum feature spaces, our controlled normalization reveals three primary structural bottlenecks responsible for this gap:
Dimensionality Reduction Compression Loss: Compressing 30 transaction features to 4 principal components causes classical model accuracy to drop from PR-AUC = 0.983 to 0.965. QSVM models are currently bound to low qubit counts, forcing reliance on aggressive linear projection.
Gram Matrix Sample Bottleneck: Evaluating N² quantum circuit inner products restricts QSVM training to small sample sizes (N = 150). When classical baselines are evaluated under identical sample constraints (N = 500), their performance drops from 0.983 to 0.750, indicating that sample volume limitations account for most of the performance discrepancy.
Hardware Gate Noise Degradation: Executing circuits on physical processors introduces error accumulation from CNOT entangling gates and thermal relaxation, reducing PR-AUC to 0.62.
Conclusions
This study established an empirical benchmarking framework for Quantum Kernel Support Vector Machines on imbalanced financial fraud data. When evaluated under normalized sample size and feature constraints, QSVM exhibits classification performance competitive with classical baselines (PR-AUC = 0.730 vs. 0.750). However, unconstrained classical models trained on full transaction datasets remain far superior in runtime, scalability, and predictive accuracy (PR-AUC = 0.983). Future work should explore fault-tolerant quantum hardware execution, variational quantum feature selection, and hybrid quantum neural networks to address current NISQ scaling bottlenecks.
References
- [2]L. Breiman, "Random forests," Machine Learning, vol. 45, no. 1, pp. 5–32, 2001.
- [3]C. Cortes and V. Vapnik, "Support-vector networks," Machine Learning, vol. 20, no. 3, pp. 273–297, 1995.DOI
- [4]A. Dal Pozzolo, O. Caelen, R. A. Johnson, and G. Bontempi, "Calibrating probability with undersampling for unbalanced classification," in Proc. IEEE Symp. Comput. Intell. Data Mining, 2015.DOI
- [13]H. Bao and Z. Yang, "A review of SMOTE methods for imbalanced data," IEEE Access, 2023.
- [15]M. Grossi, N. Ibrahim, V. Radescu, R. Loredo, K. Voigt, C. Von Altrock, and A. Rudnik, "Mixed quantum-classical method for fraud detection with quantum feature selection," IEEE Transactions on Quantum Engineering, vol. 3, pp. 1–12, 2022.DOI