[Paper Review] The complexity of quantum support vector machines
This paper analyzes the computational complexity of training quantum support vector machines (QSVMs) with noisy quantum kernel evaluations. It shows that the dual QSVM can be trained in O(M⁴.⁶⁷/ε²) quantum circuit evaluations, while a primal approach using a Pegasos-like algorithm scales as O(min{M²/ε⁶, 1/ε¹⁰}), with empirical results confirming these bounds. The approximate QSVM variant achieves the best scaling at O(1/ε³), though it lacks global optimality guarantees due to non-convexity.
Quantum support vector machines employ quantum circuits to define the kernel function. It has been shown that this approach offers a provable exponential speedup compared to any known classical algorithm for certain data sets. The training of such models corresponds to solving a convex optimization problem either via its primal or dual formulation. Due to the probabilistic nature of quantum mechanics, the training algorithms are affected by statistical uncertainty, which has a major impact on their complexity. We show that the dual problem can be solved in $O(M^{4.67}/\varepsilon^2)$ quantum circuit evaluations, where $M$ denotes the size of the data set and $\varepsilon$ the solution accuracy compared to the ideal result from exact expectation values, which is only obtainable in theory. We prove under an empirically motivated assumption that the kernelized primal problem can alternatively be solved in $O(\min \{ M^2/\varepsilon^6, \, 1/\varepsilon^{10} \})$ evaluations by employing a generalization of a known classical algorithm called Pegasos. Accompanying empirical results demonstrate these analytical complexities to be essentially tight. In addition, we investigate a variational approximation to quantum support vector machines and show that their heuristic training achieves considerably better scaling in our experiments.
Motivation & Objective
- To rigorously analyze the training complexity of quantum support vector machines (QSVMs) under realistic quantum hardware constraints.
- To quantify the impact of statistical noise from finite quantum circuit measurements on optimization convergence.
- To compare dual and primal training approaches for QSVMs using quantum kernels with finite sampling.
- To evaluate heuristic variational training methods and their empirical scaling relative to theoretical bounds.
- To determine whether practical quantum advantage in QSVM training is feasible under current noise and resource constraints.
Proposed method
- Analyzes the dual QSVM formulation by modeling kernel evaluations as noisy expectation values from finite measurement shots.
- Derives complexity bounds for the dual problem under the assumption of noisy halfspace learning, yielding O(M⁴.⁶⁷/ε²) circuit evaluations.
- Adapts the classical Pegasos algorithm to the quantum kernel setting, proving a primal optimization complexity of O(min{M²/ε⁶, 1/ε¹⁰}) evaluations.
- Introduces an approximate QSVM using a variational quantum circuit to parameterize the decision function, enabling faster empirical scaling.
- Empirically validates theoretical complexity bounds using QASM simulators with varying shot counts and data dimensions.
- Uses log-log fitting on error vs. shot count data to extract empirical exponents and compare with theoretical predictions.
Experimental results
Research questions
- RQ1What is the computational complexity of training a quantum support vector machine when kernel evaluations are subject to statistical noise from finite quantum measurements?
- RQ2How does the complexity of the dual QSVM formulation scale with data size M and solution accuracy ε under realistic quantum noise?
- RQ3Can the primal QSVM formulation via a stochastic gradient method like Pegasos achieve better scaling than the dual approach in the presence of quantum kernel noise?
- RQ4What is the empirical scaling of a variational approximation to the QSVM, and how does it compare to theoretical bounds?
- RQ5Does the approximate QSVM, while losing convexity and global optimality guarantees, offer a feasible path to practical quantum advantage in training?
Key findings
- The dual QSVM requires O(M⁴.⁶⁷/ε²) quantum circuit evaluations to achieve ε-accuracy, representing a polynomial overhead due to shot noise compared to classical SVMs.
- The primal QSVM using a Pegasos-like algorithm scales as O(min{M²/ε⁶, 1/ε¹⁰}) evaluations, with the 1/ε¹⁰ term dominating for high accuracy.
- Empirical results confirm that the theoretical complexity bounds are essentially tight, with measured ε-scaling exponents of 2.9±0.3 for the approximate QSVM.
- The approximate QSVM achieves the best empirical scaling at O(1/ε³), independent of data size M, though it lacks global optimality guarantees due to non-convexity.
- The Pegasos-based primal approach offers better M-scaling than the dual method but suffers from worse ε-scaling, especially when compared to classical kernels.
- The study highlights that while quantum kernels can offer provable speedups in theory, practical training complexity is significantly increased by statistical noise from finite sampling.
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.