NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Variational Quantum Approximate Support Vector Machine With Inference Transfer

Siheon Park, Daniel K. Park, June-Koo Kevin RheearXiv 2022 · DOI

Introduction

Support Vector Machines (SVMs) are fundamental to classical machine learning, offering robust classification by identifying an optimal hyperplane that maximizes the margin between data classes. However, as datasets scale, classical SVM training faces a significant bottleneck: its computational complexity typically grows at least quadratically with the number of samples ($O(M^2)$).

While various "Quantum SVM" proposals have emerged to address this, they often rely on future fault-tolerant hardware (requiring Quantum RAM) or suffer from prohibitive measurement overheads in near-term implementations. To bridge this gap, researchers have introduced the Variational Quantum Approximate Support Vector Machine (VQASVM). This algorithm is specifically designed for Noisy Intermediate-Scale Quantum (NISQ) devices, offering sub-quadratic training complexity while maintaining high classification accuracy.

Methods and Technical Innovation

The VQASVM algorithm reformulates the standard SVM dual problem into a variational framework. Instead of direct matrix inversion, the heavy lifting is shifted to a Variational Quantum Algorithm (VQA) where the objective function is evaluated as the expectation value of a quantum Hamiltonian.

Key technical components include:

  • Ansatz Encoding: A hardware-efficient parameterized quantum circuit (PQC) encodes the Lagrange multipliers. Because SVM solutions are naturally sparse—relying on a small subset of "support vectors"—the required PQC depth remains manageable.
  • Inference Transfer: A critical innovation is the separation of training and inference. Once the optimal parameters ($\theta^*$) are found via variational optimization, they are stored classically. These parameters can then be "transferred" to different quantum processors to classify new data without repeating the expensive training phase.
  • Complexity Scaling: The algorithm achieves a run-time complexity of $O(M \cdot \text{polylog}(M))$, providing a theoretical path to outperforming classical methods as hardware matures.
The VQASVM workflow illustrating the hybrid variational training loop (left) and the subsequent inference transfer to a separate quantum circuit (right).

Experimental Validation

The researchers validated VQASVM across three benchmarks of increasing complexity:

  1. Toy Dataset: Synthetic data points mapped onto a Bloch sphere for proof-of-concept testing on real hardware.
  2. Iris Flower Dataset: A standard 4-feature dataset used to evaluate convergence and resilience to noise.
  3. MNIST Digits: Hand-written digits (0 and 1) reduced to 10 features via Principal Component Analysis (PCA) to test scalability up to 8,192 training samples.

Key Results

The algorithm demonstrated strong performance in both numerical simulations and real-world hardware tests. On the Iris dataset, VQASVM achieved a simulation accuracy of 95.34%. More importantly, tests on the 27-qubit ibmq_montreal processor yielded 93.3% accuracy on the toy dataset, proving the model's viability despite current hardware noise levels.

Performance of VQASVM on a toy dataset, comparing noisy simulations with results from the ibmq_montreal processor.

Furthermore, the MNIST experiments confirmed that training loss increases only logarithmically with the number of qubits. This suggests that VQASVM can effectively scale to larger datasets that are currently beyond the reach of other NISQ-based classifiers like Quantum Kernel Estimators (QKE), which are hampered by $O(M^4)$ measurement requirements.

Discussion and Future Outlook

VQASVM addresses the "measurement trap" of near-term quantum machine learning by ensuring that the number of measurements required for a bounded error remains independent of the training sample size. Additionally, the inherent sparsity of SVM solutions helps the algorithm avoid "barren plateaus"—flat optimization landscapes that often plague variational circuits.

Future work will focus on optimizing quantum feature maps, as the ultimate "quantum advantage" depends on how data is embedded into the quantum state space. The researchers also suggest that techniques like Quantum Kernel Alignment and boosting could further enhance the robustness and accuracy of the VQASVM framework.

Summary updated

BibTeX
@misc{park2022variational,
  author = {Siheon Park and Daniel K. Park and June-Koo Kevin Rhee},
  title = {{Variational Quantum Approximate Support Vector Machine With Inference Transfer}},
  year = {2022},
  eprint = {2206.14507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.14507},
}
Figure