Abstract
Quantum Machine Learning (QML) offers a promising path toward leveraging the high-dimensional Hilbert space of quantum systems for complex data analysis. However, implementing Quantum Embedding Kernels (QEKs) on Noisy Intermediate-Scale Quantum (NISQ) devices is hindered by model selection challenges, hardware noise, and statistical fluctuations from finite sampling. This paper introduces a comprehensive pipeline to address these issues. By employing variational training via kernel-target alignment (KTA) and a suite of post-processing techniques—including diagonal-based noise mitigation and matrix regularization—the authors demonstrate that quantum kernels can achieve high classification accuracy on both synthetic and real-world datasets, even when executed on current hardware like the IonQ ion-trap processor.
1. Introduction
The core of many quantum machine learning algorithms is the quantum kernel, which maps classical data into a quantum feature space. While theoretically powerful, the practical utility of these kernels depends on our ability to design embeddings that reflect the underlying structure of the data and to extract reliable signals from noisy hardware. This work addresses the end-to-end process of training and deploying QEKs, providing a robust framework for the NISQ era.
2. Challenges in NISQ Kernel Methods
The authors identify three primary obstacles to the effective use of quantum kernels on current devices:
- Model Selection: Unlike classical kernels (e.g., RBF), the optimal quantum embedding for a specific dataset is rarely known a priori. Fixed embeddings may fail to capture relevant features.
- Device Noise: Gate errors and environmental decoherence, often modeled as depolarizing noise, shrink the distances between quantum states, effectively "washing out" the kernel's signal.
- Finite Sampling: Because quantum measurements are probabilistic, kernel values must be estimated from a finite number of "shots." This introduces statistical noise that can break the mathematical properties required by downstream classifiers.
3. The Proposed Pipeline
The authors propose a three-stage pipeline to transform raw, noisy quantum measurements into a high-quality kernel matrix suitable for Support Vector Machines (SVMs).
3.1 Variational Training via Kernel-Target Alignment (KTA)
To solve the model selection problem, the authors use Parametrized Quantum Circuits (PQCs). Instead of a full SVM training loop, which is computationally expensive, they optimize the circuit parameters by maximizing the Kernel-Target Alignment. KTA measures the similarity between the quantum kernel matrix $K$ and an ideal target matrix $T$ derived from training labels ($T_{ij} = y_i y_j$). This heuristic provides a differentiable objective function that aligns the quantum feature space with the classification task without requiring a full model fit at every iteration.
3.2 Noise Mitigation (M-Strategies)
A significant contribution of this work is the use of the kernel matrix diagonal as a calibration tool. In an ideal, noiseless setting, the inner product of a quantum state with itself is always unity ($K_{ii} = 1$). On real hardware, $K_{ii}$ typically drops below 1 due to depolarizing noise. By measuring these diagonal entries, the authors can estimate the "survival probability" of the quantum state. They introduce three strategies—M-SPLIT, M-MEAN, and M-SINGLE—to rescale the off-diagonal entries based on these measurements, effectively "boosting" the signal back to its intended scale.
3.3 Matrix Regularization
For a kernel matrix to be valid for use in an SVM, it must be Positive Semi-Definite (PSD). Noise and sampling errors often cause the matrix to have negative eigenvalues. The authors evaluate three regularization techniques to restore this property:
- R-TIK (Tikhonov): Adding a small constant to the diagonal.
- R-THR (Thresholding): Setting negative eigenvalues to zero.
- R-SDP (Semi-Definite Programming): Finding the nearest PSD matrix in the Frobenius norm.
4. Experimental Results
The framework was tested on several datasets, including a synthetic Checkerboard pattern, a "Symmetric Donuts" dataset, and a semi-artificial MNIST task.
4.1 Accuracy and Training
On the Checkerboard dataset, the impact of variational training was stark. A randomly initialized quantum kernel achieved a classification accuracy of only 0.52, essentially no better than a random guess. After optimizing the parameters via KTA, the accuracy rose to 0.97. This demonstrates that the "quantumness" of the circuit alone is insufficient; the embedding must be tuned to the specific geometry of the data.
4.2 Hardware Validation
The authors validated their noise mitigation and regularization strategies on the IonQ ion-trap processor via Amazon Braket. Using the Symmetric Donuts dataset, they showed that the combination of M-MEAN mitigation and R-SDP regularization significantly improved the alignment between the noisy hardware-generated kernel and the noiseless simulation. This suggests that the proposed pipeline is robust across different circuit depths and widths.
5. Discussion and Limitations
While the results are promising, the authors highlight several areas for future research. The construction of a kernel matrix requires $O(n^2)$ circuit evaluations, and the total number of shots scales as $O(n^3/\epsilon^2)$ to maintain a specific error bound $\epsilon$. This "quadratic bottleneck" poses a challenge for scaling to large datasets. Additionally, the risk of "barren plateaus"—regions of the parameter space where gradients vanish—remains a concern for deeper variational circuits, though it was not the primary focus of this study.
6. Conclusion
This work provides a practical roadmap for implementing quantum kernels on today's hardware. By treating the quantum embedding as a trainable component and utilizing the kernel's own structure for noise mitigation, the authors bridge the gap between theoretical quantum advantage and the realities of NISQ computing.
Summary updated