We demonstrate the correct functioning of our quantum-assisted approach by implementing and running the quantum kernel algorithm on a statevector quantum simulator via Qiskit's FidelityQuantumKernel. The statevector simulator computes exact quantum state fidelities without shot noise, providing the theoretical best-case performance of the quantum kernel and isolating the effect of dimensionality reduction from hardware-specific artefacts.
For each of the four reduction methods carried through to full evaluation (PCA, RP Gaussian, PLS, UMAP), a complete 500×500 quantum kernel matrix was computed, requiring approximately 140 minutes per matrix (27.7 hours total for the 10 independent validation datasets). The quantum SVM was then evaluated using 5×5 repeated stratified cross-validation (25 folds) on identical partitions as the classical baseline, ensuring a fair paired comparison.
The results demonstrate that the quantum pipeline functions correctly across all reduction methods, with quantum SVM accuracies ranging from 0.620 to 0.725 for BV/TV classification and 0.921 to 0.976 for Tb.N classification - all substantially above the 0.50 random baseline. Kernel matrix diagnostics confirm that the quantum circuits produce physically meaningful kernel matrices with properties that vary systematically across reduction methods: effective rank ratios range from 0.179 (PLS) to 0.831 (PCA), and off-diagonal means range from 0.010 to 0.089, consistent with theoretical predictions about exponential concentration in quantum kernels.
The key finding is that UMAP is the only reduction method where the quantum kernel remains competitive with the classical RBF-SVM baseline. Under repeated cross-validation, UMAP showed a +0.032 accuracy gap favouring the quantum kernel (Dietterich 5×2 CV p = 0.177), while all linear methods showed substantial quantum deficits of −0.090 to −0.116. Independent validation on 10 separately generated datasets confirmed that UMAP maintains quantum–classical parity (gap = −0.030, p = 0.123), whereas the linear method deficits remained significant even under corrected statistical tests. Quantum kernel ridge regression was additionally evaluated, revealing uniform failure at regression (negative R² for all 8-qubit methods), demonstrating that the ZZ kernel captures decision boundaries but not smooth metric structure.
All code, including the synthetic bone generator, feature extraction, reduction pipeline, quantum kernel computation, and statistical analysis, is publicly available on GitHub and archived on Zenodo under the MIT licence, enabling full reproducibility.