Classifying Data with Local Hamiltonians
Abstract
The goal of this work is to define a notion of a quantum neural network to classify data, which exploits the low energy spectrum of a local Hamiltonian. As a concrete application, we build a binary classifier, train it on some actual data and then test its performance on a simple classification task. More specifically, we use Microsoft's quantum simulator, Liquid, to construct local Hamiltonians that can encode trained classifier functions in their ground space, and which can be probed by measuring the overlap with test states corresponding to the data to be classified. To obtain such a classifier Hamiltonian, we further propose a training scheme based on quantum annealing which is completely closed-off to the environment and which does not depend on external measurements until the very end, avoiding unnecessary decoherence during the annealing procedure. For a network of size n, the trained network can be stored as a list of O(n) coupling strengths. We address the question of which interactions are most suitable for a given classification task, and develop a qubit-saving optimization for the training procedure on a simulated annealing device. Furthermore, a small neural network to classify colors into red vs. blue is trained and tested, and benchmarked against the annealing parameters.
- Publication:
-
arXiv e-prints
- Pub Date:
- July 2018
- DOI:
- 10.48550/arXiv.1807.00804
- arXiv:
- arXiv:1807.00804
- Bibcode:
- 2018arXiv180700804B
- Keywords:
-
- Quantum Physics;
- Condensed Matter - Disordered Systems and Neural Networks;
- Computer Science - Data Structures and Algorithms;
- Computer Science - Machine Learning;
- 81P45;
- 94A17;
- 68T05
- E-Print:
- 21 pages, 8 figures, 4 tables