Importance of Kernel Bandwidth in Quantum Machine Learning

Ruslan Shaydulin, Stefan M. Wild
11/9/2021
quant-phcs.LG

Official code: rsln-s/Importance-of-Kernel-Bandwidth-in-Quantum-Machine-Learning (9 stars, Jupyter Notebook, last commit 2022-04-14).

Abstract

Quantum kernel methods are considered a promising avenue for applying quantum computers to machine learning problems. Identifying hyperparameters controlling the inductive bias of quantum machine learning models is expected to be crucial given the central role hyperparameters play in determining the performance of classical machine learning methods.

Show full abstract

In this work we introduce the hyperparameter controlling the bandwidth of a quantum kernel and show that it controls the expressivity of the resulting model. We use extensive numerical experiments with multiple quantum kernels and classical datasets to show consistent change in the model behavior from underfitting (bandwidth too large) to overfitting (bandwidth too small), with optimal generalization in between. We draw a connection between the bandwidth of classical and quantum kernels and show analogous behavior in both cases. Furthermore, we show that optimizing the bandwidth can help mitigate the exponential decay of kernel values with qubit count, which is the cause behind recent observations that the performance of quantum kernel methods decreases with qubit count. We reproduce these negative results and show that if the kernel bandwidth is optimized, the performance instead improves with growing qubit count and becomes competitive with the best classical methods.

View on arXivView PDF

Code Implementations(1)

Data and code for the paper "Importance of Kernel Bandwidth in Quantum Machine Learning"

90Jupyter Notebook, PythonOct 29, 20214 years ago

Similar Papers

Cite this paper

@article{shaydulin2021importance,
  title  = {Importance of Kernel Bandwidth in Quantum Machine Learning},
  author = {Ruslan Shaydulin and Stefan M. Wild},
  year   = {2021},
  eprint = {2111.05451},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.05451}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.05451.svg)](https://codeofpaper.com/paper/2111.05451)

Discussion