Quantum Kitchen Sinks: An algorithm for machine learning on near-term quantum computers

Noisy intermediate-scale quantum computing devices are an exciting platform for the exploration of the power of near-term quantum applications. Performing nontrivial tasks in such devices requires a fundamentally different approach than what would be used on an error-corrected quantum computer. One such approach is to use hybrid algorithms, where problems are reduced to a parameterized quantum circuit that is often optimized in a classical feedback loop. Here we describe one such hybrid algorithm for machine learning tasks by building upon the classical algorithm known as random kitchen sinks. Our technique, called quantum kitchen sinks, uses quantum circuits to nonlinearly transform classical inputs into features that can then be used in a number of machine learning algorithms. We demonstrate the power and flexibility of this proposal by using it to solve binary classification problems for synthetic datasets as well as handwritten digits from the MNIST database. Using the Rigetti quantum virtual machine, we show that small quantum circuits provide significant performance lift over standard linear classical algorithms, reducing classification error rates from 50% to $<0.1\%$, and from $4.1\%$ to $1.4\%$ in these two examples, respectively. Further, we are able to run the MNIST classification problem, using full-sized MNIST images, on a Rigetti quantum processing unit, finding a modest performance lift over the linear baseline.

[1]  Brian Kingsbury,et al.  Kernel Approximation Methods for Speech Recognition , 2017, J. Mach. Learn. Res..

[2]  Maarten Van Den Nes Classical simulation of quantum computation, the Gottesman-Knill theorem, and slightly beyond , 2010 .

[3]  W. Marsden I and J , 2012 .

[4]  S. Lloyd,et al.  Quantum principal component analysis , 2013, Nature Physics.

[5]  Maarten Van den Nest,et al.  Classical simulation of quantum computation, the gottesman-Knill theorem, and slightly beyond , 2008, Quantum Inf. Comput..

[6]  A. Rahimi,et al.  Uniform approximation of functions with random bases , 2008, 2008 46th Annual Allerton Conference on Communication, Control, and Computing.

[7]  Sabrina Hong,et al.  Demonstration of universal parametric entangling gates on a multi-qubit lattice , 2017, Science Advances.

[8]  K. Birgitta Whaley,et al.  Towards quantum machine learning with tensor networks , 2018, Quantum Science and Technology.

[9]  Thomas L. Griffiths,et al.  Advances in Neural Information Processing Systems 21 , 1993, NIPS 2009.

[10]  Forest , 1983, Restoration & Management Notes.

[11]  Krysta Marie Svore,et al.  Quantum Speed-Ups for Solving Semidefinite Programs , 2017, 2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS).

[12]  Ashley Montanaro,et al.  Achieving quantum supremacy with sparse and noisy commuting quantum computations , 2016, 1610.01808.

[13]  A. Harrow,et al.  Quantum algorithm for linear systems of equations. , 2008, Physical review letters.

[14]  Iordanis Kerenidis,et al.  Quantum Recommendation Systems , 2016, ITCS.

[15]  John Preskill,et al.  Quantum accuracy threshold for concatenated distance-3 codes , 2006, Quantum Inf. Comput..

[16]  I. Chuang,et al.  Quantum Computation and Quantum Information: Introduction to the Tenth Anniversary Edition , 2010 .

[17]  Alán Aspuru-Guzik,et al.  A variational eigenvalue solver on a photonic quantum processor , 2013, Nature Communications.

[18]  D. Russell,et al.  Parametrically Activated Entangling Gates Using Transmon Qubits , 2017, Physical Review Applied.

[19]  Ashley Montanaro,et al.  Average-case complexity versus approximate simulation of commuting quantum computations , 2015, Physical review letters.

[20]  Hartmut Neven,et al.  Optimizing Variational Quantum Algorithms using Pontryagin's Minimum Principle , 2016, ArXiv.

[21]  N. Didier,et al.  Analytical modeling of parametrically-modulated transmon qubits , 2017, 1706.06566.

[22]  Kristan Temme,et al.  Supervised learning with quantum-enhanced feature spaces , 2018, Nature.

[23]  E. Knill,et al.  Resilient Quantum Computation , 1998 .

[24]  Scott Aaronson,et al.  The computational complexity of linear optics , 2010, STOC '11.

[25]  Ericka Stricklin-Parker,et al.  Ann , 2005 .

[26]  Simone Severini,et al.  Hierarchical quantum classifiers , 2018, npj Quantum Information.

[27]  A. Atiya,et al.  Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond , 2005, IEEE Transactions on Neural Networks.

[28]  Benjamin Recht,et al.  Random Features for Large-Scale Kernel Machines , 2007, NIPS.

[29]  Alex Smola,et al.  Kernel methods in machine learning , 2007, math/0701907.

[30]  Xiaodi Wu,et al.  Quantum SDP Solvers: Large Speed-Ups, Optimality, and Applications to Quantum Learning , 2017, ICALP.

[31]  John Preskill,et al.  Quantum Computing in the NISQ era and beyond , 2018, Quantum.

[32]  E. Farhi,et al.  A Quantum Approximate Optimization Algorithm , 2014, 1411.4028.

[33]  A. Harrow,et al.  Quantum Supremacy through the Quantum Approximate Optimization Algorithm , 2016, 1602.07674.

[34]  Lance Fortnow,et al.  Proceedings of the forty-third annual ACM symposium on Theory of computing , 2011, STOC 2011.

[35]  AI Koan,et al.  Weighted Sums of Random Kitchen Sinks: Replacing minimization with randomization in learning , 2008, NIPS.

[36]  Dorit Aharonov,et al.  Fault-tolerant Quantum Computation with Constant Error Rate * , 1999 .

[37]  H. Neven,et al.  Quantum Algorithms for Fixed Qubit Architectures , 2017, 1703.06199.

[38]  Hartmut Neven,et al.  Classification with Quantum Neural Networks on Near Term Processors , 2018, 1802.06002.

[39]  Barenco,et al.  Elementary gates for quantum computation. , 1995, Physical review. A, Atomic, molecular, and optical physics.

[40]  Thomas G. Dietterich,et al.  In Advances in Neural Information Processing Systems 12 , 1991, NIPS 1991.

[41]  J. Gambetta,et al.  Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets , 2017, Nature.

[42]  William J. Zeng,et al.  A Practical Quantum Instruction Set Architecture , 2016, ArXiv.

[43]  Yoshua Bengio,et al.  Gradient-based learning applied to document recognition , 1998, Proc. IEEE.

[44]  Masoud Mohseni,et al.  Quantum support vector machine for big feature and big data classification , 2013, Physical review letters.

[45]  M. Schuld,et al.  Circuit-centric quantum classifiers , 2018, Physical Review A.

[46]  Andrew W. Cross,et al.  Quantum learning robust against noise , 2014, 1407.5088.