Skip to content

nkmjm/QCLL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum circuit-like learning

Quantum circuit-like learning (QCLL) is a classical machine learning algorithm with similar properties, behavior, and performance to quantum circuit learning (QCL). While QCL can employ an exponentially high-dimensional Hilbert space as its feature space due to the use of a quantum circuit [1], QCLL uses the same Hilbert space with a low computational cost by a statistical technique known as count sketch [2].

[1] Mitarai et al. (2018). "Quantum circuit learning."
[2] Pham & Pagh (2013). "Fast and scalable polynomial kernels via explicit feature maps."

Citation

If you use QCLL in your published work, please cite the following preprint :

  • Koide-Majima, N., Majima, K. (2020).
    “Quantum circuit-like learning: A fast and scalable classical machine-learning algorithm with similar performance to quantum circuit learning”
    URL: https://arxiv.org/abs/2003.10667

Requirements

  • python 3
  • numpy, spicy, random, math, matplotlib (for demo)

Demo

  • demo_regression.ipynb (QCLL on 4 regression tasks; see figure below)
  • demo_classification.ipynb (QCLL on a classification task)

The initial state of the optimization is randomly defined. In our preprint, to avoid local minima of the cost function, we repeated the optimization algorithm several times with different initializations and the parameters showing the lowest cost function value were adopted. Please note that you run the optimization algorithm only once for quick results in this demo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published