[Paper Review] Practical application improvement to Quantum SVM: theory to practice
This paper proposes a practical enhancement to Quantum Support Vector Machines (QSVM) by introducing tunable quantum kernels via shallow unitary transformations with rotation factors and added regularization, enabling consistent performance across diverse datasets—matching or exceeding classical SVM accuracy, especially on complex data where classical kernels fail.
Quantum machine learning (QML) has emerged as an important area for Quantum applications, although useful QML applications would require many qubits. Therefore our paper is aimed at exploring the successful application of the Quantum Support Vector Machine (QSVM) algorithm while balancing several practical and technical considerations under the Noisy Intermediate-Scale Quantum (NISQ) assumption. For the quantum SVM under NISQ, we use quantum feature maps to translate data into quantum states and build the SVM kernel out of these quantum states, and further compare with classical SVM with radial basis function (RBF) kernels. As data sets are more complex or abstracted in some sense, classical SVM with classical kernels leads to less accuracy compared to QSVM, as classical SVM with typical classical kernels cannot easily separate different class data. Similarly, QSVM should be able to provide competitive performance over a broader range of data sets including ``simpler'' data cases in which smoother decision boundaries are required to avoid any model variance issues (i.e., overfitting). To bridge the gap between ``classical-looking'' decision boundaries and complex quantum decision boundaries, we propose to utilize general shallow unitary transformations to create feature maps with rotation factors to define a tunable quantum kernel, and added regularization to smooth the separating hyperplane model. We show in experiments that this allows QSVM to perform equally to SVM regardless of the complexity of the data sets and outperform in some commonly used reference data sets.
Motivation & Objective
- Address the challenge of overfitting and poor generalization in QSVM when applied to simpler datasets where classical SVM excels.
- Bridge the performance gap between classical SVM with RBF kernels and QSVM by introducing flexible, tunable quantum kernel configurations.
- Enable practical QSVM deployment under Noisy Intermediate-Scale Quantum (NISQ) constraints by combining quantum feature maps with classical regularization.
- Demonstrate that QSVM can outperform classical SVM on complex, high-dimensional data where classical kernels struggle to capture intricate decision boundaries.
Proposed method
- Utilize general shallow unitary transformations with rotation parameters to construct customizable quantum feature maps, extending the range of applicable quantum kernels.
- Construct quantum kernels from inner products of quantum states prepared via parameterized quantum circuits, enabling efficient computation on NISQ devices.
- Integrate classical regularization techniques into the QSVM training pipeline to smooth decision boundaries and reduce overfitting.
- Apply principal component analysis (PCA) to reduce high-dimensional data to 2D for visualization and to create complex, abstracted data patterns.
- Use a hybrid quantum-classical approach: quantum circuits compute the kernel matrix, while classical SVM handles classification and optimization.
- Tune the combination of Pauli-based unitary gates (e.g., Y, Z, YY, ZZ) and rotation factors as hyperparameters to optimize kernel performance per dataset.
Experimental results
Research questions
- RQ1Can QSVM achieve performance comparable to classical SVM across both simple and complex datasets when using tunable quantum kernels?
- RQ2How does the inclusion of regularization in QSVM affect model generalization and prevent overfitting on NISQ hardware?
- RQ3To what extent can quantum kernels with unitary transformations outperform classical RBF kernels on data with complex, non-linear decision boundaries?
- RQ4What is the impact of different quantum kernel configurations (e.g., Pauli Y, Z, YY, ZZ) on classification accuracy across diverse datasets?
- RQ5Can QSVM maintain consistent performance across a spectrum of data complexity, from linearly separable to highly abstracted data?
Key findings
- QSVM with tunable quantum kernels and regularization achieved test accuracy of 98% on the breast cancer dataset, matching classical SVM’s performance.
- On the compressed handwritten digits dataset, QSVM with the Pauli Y YY kernel reached 48% accuracy, outperforming classical SVM’s 43%.
- For the artificial complex dataset, the Pauli Z ZZ kernel achieved 100% test accuracy, significantly outperforming classical SVM’s 5%.
- QSVM with optimized unitary configurations consistently matched or exceeded classical SVM performance across all tested datasets, including those where classical kernels failed.
- The use of rotation factors and general unitary transformations enabled effective kernel tuning, making QSVM adaptable to diverse data types and complexity levels.
- The hybrid quantum-classical framework allowed practical deployment of QSVM on NISQ devices, demonstrating robustness and scalability for real-world applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.