quant-phApr 16, 2026

Optimal algorithmic complexity of inference in quantum kernel methods

Authors: Elies Gil-FusterSeongwook ShinSofiene JerbiJens EisertMaximilian J. Kramer

Organizations: Dahlem Center for Complex Quantum Systems, Freie Universität Berlin, 14195 Berlin, Germany · Fraunhofer Heinrich Hertz Institute, 10587 Berlin, Germany · Department of Quantum Information Science and Engineering, Sejong University, 209 Neungdong-ro, Gwangjin-gu, 05006, Seoul, Republic of Korea · Helmholtz-Zentrum Berlin für Materialien und Energie, 14109 Berlin, Germany

Abstract

Quantum kernel methods are among the leading candidates for achieving quantum advantage in supervised learning. A key bottleneck is the cost of inference: evaluating a trained model on new data requires estimating a weighted sum i=1Nαik(x,xi)\sum_{i=1}^N α_i k(x,x_i) of NN kernel values to additive precision ε\varepsilon, where αα is the vector of trained coefficients. The standard approach estimates each term independently via sampling, yielding a query complexity of O(Nα22/ε2)O(N\lVertα\rVert_2^2/\varepsilon^2). In this work, we identify two independent axes for improvement: (1) How individual kernel values are estimated (sampling versus quantum amplitude estimation), and (2) how the sum is approximated (term-by-term versus via a single observable), and systematically analyze all combinations thereof. The query-optimal combination, encoding the full inference sum as the expectation value of a single observable and applying quantum amplitude estimation, achieves a query complexity of O(α1/ε)O(\lVertα\rVert_1/\varepsilon), removing the dependence on NN from the query count and yielding a quadratic improvement in both α1\lVertα\rVert_1 and ε\varepsilon. We prove a matching lower bound of Ω(α1/ε)Ω(\lVertα\rVert_1/\varepsilon), establishing query-optimality of our approach up to logarithmic factors. Beyond query complexity, we also analyze how these improvements translate into gate costs and show that the query-optimal strategy is not always optimal in practice from the perspective of gate complexity. Our results provide both a query-optimal algorithm and a practically optimal choice of strategy depending on hardware capabilities, along with a complete landscape of intermediate methods to guide practitioners. All algorithms require only amplitude estimation as a subroutine and are thus natural candidates for early-fault-tolerant implementations.

Explore similar work

May 14, 2026cs.LG

AQKA: Active Quantum Kernel Acquisition Under a Shot Budget

Estimating an N×NN \times N quantum kernel from circuit fidelities requires Θ(N2S)Θ(N^2 S) measurement shots, the dominant bottleneck for deployment on near-term hardware. Existing budget-saving methods (Nyström-QKE, ShoFaR, kernel-target alignment) sub-sample \emph{which} entries to measure but allocate shots \emph{uniformly} within their chosen subset, ignoring how much each entry drives the downstream classifier. We close this gap with two contributions. \textbf{First, a complete regime decomposition} for shot-budgeted quantum kernel learning: a principled menu of when each allocator wins. Our method, \emph{AQKA}, dominates the budget-limited regime (B16npairsB \lesssim 16 n_{\mathrm{pairs}}) on sparse-sensitivity KRR, with the gap \emph{growing} from +8+8 to +25+25 pts over uniform as NN scales 2251000225{\to}1000 and reaching +26+26--3232 pts on an \texttt{ibm_pittsburgh} (156-qubit Heron) hardware kernel; Nyström-QKE wins at saturating budgets on planted-sparse via low-rank reconstruction; ShoFaR is competitive only at extreme low budgets. \textbf{Second, a closed-form pair-level acquisition theory}: sijgijKij(1Kij)s_{ij}^{\star} \propto |g_{ij}|\sqrt{K_{ij}(1-K_{ij})} with explicit gradient gijg_{ij} for KRR (Lemma1, βiαj+βjαiKij(1Kij)|β_iα_j+β_jα_i|\sqrt{K_{ij}(1-K_{ij})}) and SVM via the envelope theorem (ηiηjKij(1Kij)|η_i^*η_j^*|\sqrt{K_{ij}(1-K_{ij})}); a \emph{corrected} sparsity-aware Cauchy--Schwarz rate ρ2m/Nρ\le 2m/N matching empirics (vs.\ the naive m2/N2m^2/N^2); an explicit-constant plug-in regret bound (Theorem2); and a tighter SVM ceiling ρSVMmsv2/N2ρ^{\mathrm{SVM}} \le m_{\mathrm{sv}}^2/N^2. We close with the first multi-seed live online adaptive shot allocation on quantum hardware: +17.0±4.8+17.0 \pm 4.8 pts at N=20N{=}20 on \texttt{ibm_aachen} (3.5σ3.5σ, 5 seeds), with the advantage holding at N=30N{=}30 at higher budget on \texttt{ibm_berlin} (+14.0±8.5+14.0 \pm 8.5 pts, 5 seeds).
Jian Xu, Chao Li, Delu Zeng +2
Jul 22, 2026quant-ph

A Multiclass Quantum Aligned Centroid Kernel

Kernel methods are powerful tools in machine learning but commonly used full-Gram kernels face three key limitations: (1) quadratic scaling with training set size; (2) the use of fixed, non-trainable kernels; and (3) the absence of an intrinsic formulation for multiclass classification. We present McQuack, a trainable quantum kernel method for multiclass problems that achieves linear scaling in the number of training samples. This is accomplished by replacing the full training-set Gram matrix with a trainable sample-to-(class-centroid) fidelity matrix. We evaluate the model in simulation and on 124 qubits of two IBM devices, across more than 150 datasets. In simulation, McQuack outperforms existing "pure" quantum baselines, while results from hardware inference -- obtained without training -- achieve performance similar to an RBF kernel. Finally, we study the trainability of the model and observe no evidence of barren plateaus in our experiments with up to 13 qubits, and highlight the importance of parameter initialization for successful optimization.
Kilian Tscharke, Pascal Debus
Jul 1, 2026cs.LG

Balancing Expressivity and Learnability in Quantum Kernel Bandit Optimization

We investigate Gaussian process (GP) bandit optimization with quantum kernels, assuming the mean reward function lies in the reproducing kernel Hilbert space (RKHS) induced by the quantum kernel. This setting is motivated by NISQ-era tasks such as quantum control, state preparation and variational quantum algorithms. While quantum kernels can offer a `quantum advantage' via domain-specific inductive biases, naïvely using full, high-dimensional kernels increases model complexity and information gain, leading to higher cumulative regret and poor learnability. To address this, we propose projected quantum kernels and classical kernel approximation techniques that reduce feature dimensionality while preserving key quantum properties. Using these approximate kernels, we develop misspecified GP bandit algorithms and derive regret bounds that characterize the trade-off between approximation error and information gain. The regret bounds provide principled guidance for selecting the optimal model complexity. Empirically, our methods outperform full quantum kernels in sample efficiency, while substantially reducing computational overhead, enabling scalable GP optimization for quantum-native applications.
Yuqi Huang, Vincent Y. F. Tan, Sharu Theresa Jose