English

TensorFlow Quantum: A Software Framework for Quantum Machine Learning

Quantum Physics 2021-08-30 v2 Disordered Systems and Neural Networks Machine Learning Programming Languages

Abstract

We introduce TensorFlow Quantum (TFQ), an open source library for the rapid prototyping of hybrid quantum-classical models for classical or quantum data. This framework offers high-level abstractions for the design and training of both discriminative and generative quantum models under TensorFlow and supports high-performance quantum circuit simulators. We provide an overview of the software architecture and building blocks through several examples and review the theory of hybrid quantum-classical neural networks. We illustrate TFQ functionalities via several basic applications including supervised learning for quantum classification, quantum control, simulating noisy quantum circuits, and quantum approximate optimization. Moreover, we demonstrate how one can apply TFQ to tackle advanced quantum learning tasks including meta-learning, layerwise learning, Hamiltonian learning, sampling thermal states, variational quantum eigensolvers, classification of quantum phase transitions, generative adversarial networks, and reinforcement learning. We hope this framework provides the necessary tools for the quantum computing and machine learning research communities to explore models of both natural and artificial quantum systems, and ultimately discover new quantum algorithms which could potentially yield a quantum advantage.

Keywords

Cite

@article{arxiv.2003.02989,
  title  = {TensorFlow Quantum: A Software Framework for Quantum Machine Learning},
  author = {Michael Broughton and Guillaume Verdon and Trevor McCourt and Antonio J. Martinez and Jae Hyeon Yoo and Sergei V. Isakov and Philip Massey and Ramin Halavati and Murphy Yuezhen Niu and Alexander Zlokapa and Evan Peters and Owen Lockwood and Andrea Skolik and Sofiene Jerbi and Vedran Dunjko and Martin Leib and Michael Streif and David Von Dollen and Hongxiang Chen and Shuxiang Cao and Roeland Wiersema and Hsin-Yuan Huang and Jarrod R. McClean and Ryan Babbush and Sergio Boixo and Dave Bacon and Alan K. Ho and Hartmut Neven and Masoud Mohseni},
  journal= {arXiv preprint arXiv:2003.02989},
  year   = {2021}
}

Comments

56 pages, 34 figures, many updates throughout the manuscript, several new sections are added