Quantum Inference on Bayesian Networks

Total Page:16

File Type:pdf, Size:1020Kb

Quantum Inference on Bayesian Networks Quantum inference on Bayesian networks The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation Low, Guang Hao, Theodore J. Yoder, and Isaac L. Chuang. “Quantum Inference on Bayesian Networks.” Phys. Rev. A 89, no. 6 (June 2014). © 2014 American Physical Society As Published http://dx.doi.org/10.1103/PhysRevA.89.062315 Publisher American Physical Society Version Final published version Citable link http://hdl.handle.net/1721.1/88648 Terms of Use Article is made available in accordance with the publisher's policy and may be subject to US copyright law. Please refer to the publisher's site for terms of use. PHYSICAL REVIEW A 89, 062315 (2014) Quantum inference on Bayesian networks Guang Hao Low, Theodore J. Yoder, and Isaac L. Chuang Massachusetts Institute of Technology, 77 Massachusetts Avenue, Cambridge, Massachusetts 02139, USA (Received 28 February 2014; published 13 June 2014) Performing exact inference on Bayesian networks is known to be #P -hard. Typically approximate inference techniques are used instead to sample from the distribution on query variables given the values e of evidence variables. Classically, a single unbiased sample is obtained from a Bayesian network on n variables with at most m parents per node in time O(nmP (e)−1), depending critically on P (e), the probability that the evidence might occur in the first place. By implementing a quantum version of rejection sampling, we obtain a square-root m − 1 speedup, taking O(n2 P (e) 2 ) time per sample. We exploit the Bayesian network’s graph structure to efficiently construct a quantum state, a q-sample, representing the intended classical distribution, and also to efficiently apply amplitude amplification, the source of our speedup. Thus, our speedup is notable as it is unrelativized—we count primitive operations and require no blackbox oracle queries. DOI: 10.1103/PhysRevA.89.062315 PACS number(s): 03.67.Ac, 02.50.Tt I. INTRODUCTION tions of sampling algorithms, for which promising results such as natively probabilistic computing with stochastic How are rational decisions made? Given a set of possible logic gates have been reported [10]. In this same vein, actions, the logical answer is the one with the largest corre- we could also consider physical systems that already de- sponding utility. However, estimating these utilities accurately scribe probabilities and their evolution in a natural fash- is the problem. A rational agent endowed with a model and ion to discover whether such systems would offer similar partial information of the world must be able to evaluate the benefits. probabilities of various outcomes, and such is often done Quantum mechanics can in fact describe such naturally through inference on a Bayesian network [1], which efficiently probabilistic systems. Consider an analogy: If a quantum state encodes joint probability distributions in a directed acyclic is like a classical probability distribution, then measuring it graph of conditional probability tables. In fact, the standard should be analogous to sampling, and unitary operators should model of a decision-making agent in a probabilistic time- be analogous to stochastic updates. Though this analogy is discretized world, known as a partially observable Markov qualitatively true and appealing, it is inexact in ways yet to decision process, is a special case of a Bayesian network. be fully understood. Indeed, it is a widely held belief that Furthermore, Bayesian inference finds application in processes quantum computers offer a strictly more powerful set of tools as diverse as system modeling [2], model learning [3,4], data than classical computers, even probabilistic ones [11], though analysis [5], and decision making [6], all falling under the this appears difficult to prove [12]. Notable examples of the umbrella of machine learning [1]. Unfortunately, despite the vast space of applications, power of quantum computation include exponential speedups Bayesian inference is difficult. To begin with, exact inference for finding prime factors with Shor’s algorithm [13], and is #P -hard in general [1]. It is often far more feasible to square-root speedups for generic classes of search problems perform approximate inference by sampling, such as with through Grover’s algorithm [14]. Unsurprisingly, there is a the Metropolis-Hastings algorithm [7] and its innumerable ongoing search for ever more problems amenable to quantum specializations [8], but doing so is still NP-hard in general [9]. attack [15–17]. This can be understood by considering rejection sampling, a For instance, the quantum rejection sampling algorithm for primitive operation common to many approximate algorithms approximate inference was only developed quite recently [18], that generates unbiased samples from a target distribution alongside a proof, relativized by an oracle, of a square-root P (Q|E) for some set of query variables Q conditional on speedup in runtime over the classical algorithm. The algorithm, some assignment of evidence variables E = e. In the general just like its classical counterpart, is an extremely general case, rejection sampling requires sampling from the full method of doing approximate inference, requiring preparation joint distribution P (Q,E) and throwing away samples with of a quantum pure state representing the joint distribution incorrect evidence. In the specific case in which the joint P (Q,E) and amplitude amplification to amplify the part of distribution is described by a Bayesian network with n nodes the superposition with the correct evidence. Owing to its each with no more than m parents, it takes time O(nm)to generality, the procedure assumes access to a state-preparation ˆ generate a sample from the joint distribution, and so a sample oracle AP , and the runtime is therefore measured by the from the conditional distribution P (Q|E) takes average time query complexity [19], the number of times the oracle must O(nmP (e)−1). Much of the computational difficulty is related be used. Unsurprisingly, such oracles may not be efficiently to how the marginal P (e) = P (E = e) becomes exponentially implemented in general, as the ability to prepare arbitrary states small as the number of evidence variables increases, since only allows for witness generation to QMA-complete problems, samples with the correct evidence assignments are recorded. the quantum analog to classically deterministic NP-complete One very intriguing direction for speeding up approx- problems [18,20]. This also corresponds consistently to the imate inference is in developing hardware implementa- NP-hardness of classical sampling. 1050-2947/2014/89(6)/062315(7) 062315-1 ©2014 American Physical Society GUANG HAO LOW, THEODORE J. YODER, AND ISAAC L. CHUANG PHYSICAL REVIEW A 89, 062315 (2014) FIG. 1. (Color online) (a) An example of a directed acyclic graph which can represent a Bayesian network by associating with each node a conditional probability table. For instance, associated with the node X1 is the one value P (X1 = 1), while that of X5 consists of four values, the probabilities X5 = 1 given each setting of the parent nodes, X2 and X3. (b) A quantum circuit that efficiently prepares the q-sample representing the full joint distribution of panel (a). Notice in particular how the edges in the graph are mapped to conditioning nodes in the circuit. The |ψj represent the state of the system after applying the operator sequence U1,...,Uj to the initial state |0000000. In this paper, we present an unrelativized (i.e., no oracle) We adopt the standard convention of capital letters (e.g., X) square-root, quantum speedup to rejection sampling on a representing random variables while lowercase letters (e.g., a) Bayesian network. Just as the graphical structure of a Bayesian are particular fixed values of those variables. For simplicity, network speeds up classical sampling, we find that the same the random variables are taken to be binary. Accordingly, structure allows us to construct the state-preparation oracle AˆP probability vectors are denoted P (X) ={P (X = 0),P (X = 1)} efficiently. Specifically, quantum sampling from P (Q|E = e) while P (x) ≡ P (X = x). Script letters represent a set of m −1/2 −1 takes time O(n2 P (e) ), compared with O(nmP (e) ) random variables X ={X1,X2,...,Xn}. for classical sampling, where m is the maximum number An arbitrary joint probability distribution P (x1,x2,...,xn) of parents of any one node in the network. We exploit the on n bits can always be factored by recursive application of structure of the Bayesian network to construct an efficient Bayes’s rule P (X,Y ) = P (X)P (Y |X), ˆ m quantum circuit AP composed of O(n2 ) controlled-NOT gates n and single-qubit rotations that generates the quantum state P (x1,x2,...,xn) = P (x1) P (xi |x1,...,xi−1). (1) |ψ P Q,E P representing the joint ( ). This state must then i=2 be evolved to |Q representing P (Q|E = e), which can be done by performing amplitude amplification [21], the source However, in most practical situations a given variable Xi will of our speedup and heart of quantum rejection sampling in be dependent on only a few of its predecessors’ values, those ⊆{ } general [18]. The desired sample is then obtained in a single we denote by parents (Xi ) x1,...,xi−1 [see Fig. 1(a)]. measurement of |Q. Therefore, the factorization above can be simplified to We better define the problem of approximate inference n with a review of Bayesian networks in Sec. II. We discuss P (x1,x2,...,xn) = P (x1) P (xi | parents(Xi )). (2) the sensible encoding of a probability distribution in a i=2 quantum state axiomatically in Sec. III. This is followed A Bayes net diagrammatically expresses this simplification, by an overview of amplitude amplification in Sec.
Recommended publications
  • Quantum Machine Learning: Benefits and Practical Examples
    Quantum Machine Learning: Benefits and Practical Examples Frank Phillipson1[0000-0003-4580-7521] 1 TNO, Anna van Buerenplein 1, 2595 DA Den Haag, The Netherlands [email protected] Abstract. A quantum computer that is useful in practice, is expected to be devel- oped in the next few years. An important application is expected to be machine learning, where benefits are expected on run time, capacity and learning effi- ciency. In this paper, these benefits are presented and for each benefit an example application is presented. A quantum hybrid Helmholtz machine use quantum sampling to improve run time, a quantum Hopfield neural network shows an im- proved capacity and a variational quantum circuit based neural network is ex- pected to deliver a higher learning efficiency. Keywords: Quantum Machine Learning, Quantum Computing, Near Future Quantum Applications. 1 Introduction Quantum computers make use of quantum-mechanical phenomena, such as superposi- tion and entanglement, to perform operations on data [1]. Where classical computers require the data to be encoded into binary digits (bits), each of which is always in one of two definite states (0 or 1), quantum computation uses quantum bits, which can be in superpositions of states. These computers would theoretically be able to solve certain problems much more quickly than any classical computer that use even the best cur- rently known algorithms. Examples are integer factorization using Shor's algorithm or the simulation of quantum many-body systems. This benefit is also called ‘quantum supremacy’ [2], which only recently has been claimed for the first time [3]. There are two different quantum computing paradigms.
    [Show full text]
  • Chapter 1 Chapter 2 Preliminaries Measurements
    To Vera Rae 3 Contents 1 Preliminaries 14 1.1 Elements of Linear Algebra ............................ 17 1.2 Hilbert Spaces and Dirac Notations ........................ 23 1.3 Hermitian and Unitary Operators; Projectors. .................. 27 1.4 Postulates of Quantum Mechanics ......................... 34 1.5 Quantum State Postulate ............................. 36 1.6 Dynamics Postulate ................................. 42 1.7 Measurement Postulate ............................... 47 1.8 Linear Algebra and Systems Dynamics ...................... 50 1.9 Symmetry and Dynamic Evolution ........................ 52 1.10 Uncertainty Principle; Minimum Uncertainty States ............... 54 1.11 Pure and Mixed Quantum States ......................... 55 1.12 Entanglement; Bell States ............................. 57 1.13 Quantum Information ............................... 59 1.14 Physical Realization of Quantum Information Processing Systems ....... 65 1.15 Universal Computers; The Circuit Model of Computation ............ 68 1.16 Quantum Gates, Circuits, and Quantum Computers ............... 74 1.17 Universality of Quantum Gates; Solovay-Kitaev Theorem ............ 79 1.18 Quantum Computational Models and Quantum Algorithms . ........ 82 1.19 Deutsch, Deutsch-Jozsa, Bernstein-Vazirani, and Simon Oracles ........ 89 1.20 Quantum Phase Estimation ............................ 96 1.21 Walsh-Hadamard and Quantum Fourier Transforms ...............102 1.22 Quantum Parallelism and Reversible Computing .................107 1.23 Grover Search Algorithm
    [Show full text]
  • Quantum Algorithms
    An Introduction to Quantum Algorithms Emma Strubell COS498 { Chawathe Spring 2011 An Introduction to Quantum Algorithms Contents Contents 1 What are quantum algorithms? 3 1.1 Background . .3 1.2 Caveats . .4 2 Mathematical representation 5 2.1 Fundamental differences . .5 2.2 Hilbert spaces and Dirac notation . .6 2.3 The qubit . .9 2.4 Quantum registers . 11 2.5 Quantum logic gates . 12 2.6 Computational complexity . 19 3 Grover's Algorithm 20 3.1 Quantum search . 20 3.2 Grover's algorithm: How it works . 22 3.3 Grover's algorithm: Worked example . 24 4 Simon's Algorithm 28 4.1 Black-box period finding . 28 4.2 Simon's algorithm: How it works . 29 4.3 Simon's Algorithm: Worked example . 32 5 Conclusion 33 References 34 Page 2 of 35 An Introduction to Quantum Algorithms 1. What are quantum algorithms? 1 What are quantum algorithms? 1.1 Background The idea of a quantum computer was first proposed in 1981 by Nobel laureate Richard Feynman, who pointed out that accurately and efficiently simulating quantum mechanical systems would be impossible on a classical computer, but that a new kind of machine, a computer itself \built of quantum mechanical elements which obey quantum mechanical laws" [1], might one day perform efficient simulations of quantum systems. Classical computers are inherently unable to simulate such a system using sub-exponential time and space complexity due to the exponential growth of the amount of data required to completely represent a quantum system. Quantum computers, on the other hand, exploit the unique, non-classical properties of the quantum systems from which they are built, allowing them to process exponentially large quantities of information in only polynomial time.
    [Show full text]
  • Quantum Computing : a Gentle Introduction / Eleanor Rieffel and Wolfgang Polak
    QUANTUM COMPUTING A Gentle Introduction Eleanor Rieffel and Wolfgang Polak The MIT Press Cambridge, Massachusetts London, England ©2011 Massachusetts Institute of Technology All rights reserved. No part of this book may be reproduced in any form by any electronic or mechanical means (including photocopying, recording, or information storage and retrieval) without permission in writing from the publisher. For information about special quantity discounts, please email [email protected] This book was set in Syntax and Times Roman by Westchester Book Group. Printed and bound in the United States of America. Library of Congress Cataloging-in-Publication Data Rieffel, Eleanor, 1965– Quantum computing : a gentle introduction / Eleanor Rieffel and Wolfgang Polak. p. cm.—(Scientific and engineering computation) Includes bibliographical references and index. ISBN 978-0-262-01506-6 (hardcover : alk. paper) 1. Quantum computers. 2. Quantum theory. I. Polak, Wolfgang, 1950– II. Title. QA76.889.R54 2011 004.1—dc22 2010022682 10987654321 Contents Preface xi 1 Introduction 1 I QUANTUM BUILDING BLOCKS 7 2 Single-Qubit Quantum Systems 9 2.1 The Quantum Mechanics of Photon Polarization 9 2.1.1 A Simple Experiment 10 2.1.2 A Quantum Explanation 11 2.2 Single Quantum Bits 13 2.3 Single-Qubit Measurement 16 2.4 A Quantum Key Distribution Protocol 18 2.5 The State Space of a Single-Qubit System 21 2.5.1 Relative Phases versus Global Phases 21 2.5.2 Geometric Views of the State Space of a Single Qubit 23 2.5.3 Comments on General Quantum State Spaces
    [Show full text]
  • Quantum Algorithms for Linear Algebra and Machine Learning
    Quantum Algorithms for Linear Algebra and Machine Learning. Anupam Prakash Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2014-211 http://www.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-211.html December 9, 2014 Copyright © 2014, by the author(s). All rights reserved. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission. Quantum Algorithms for Linear Algebra and Machine Learning by Anupam Prakash B.Tech., IIT Kharagpur 2008 A dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in Electrical Engineering and Computer Sciences in the GRADUATE DIVISION of the UNIVERSITY OF CALIFORNIA, BERKELEY Committee in charge: Professor Umesh Vazirani, Chair Professor Satish Rao Professor Ashvin Vishwanath Fall 2014 Quantum Algorithms for Linear Algebra and Machine Learning Copyright c 2014 by Anupam Prakash Abstract Quantum Algorithms for Linear Algebra and Machine Learning by Anupam Prakash Doctor of Philosophy in Electrical Engineering and Computer Sciences University of California, Berkeley Professor Umesh Vazirani, Chair Most quantum algorithms offering speedups over classical algorithms are based on the three tech- niques of phase estimation, amplitude estimation and Hamiltonian simulation. In spite of the linear algebraic nature of the postulates of quantum mechanics, until recent work by Lloyd and coauthors (23; 22; 24) no quantum algorithms achieving speedups for linear algebra or machine learning had been proposed.
    [Show full text]
  • ADVANCED QUANTUM INFORMATION THEORY Contents
    CDT in Quantum Engineering Spring 2016 ADVANCED QUANTUM INFORMATION THEORY Lecture notes Ashley Montanaro, University of Bristol [email protected] Contents 1 Introduction 2 2 Classical and quantum computational complexity4 3 Grover's algorithm 10 Health warning: There are likely to be changes and corrections to these notes throughout the unit. For updates, see http://www.maths.bris.ac.uk/~csxam/aqit2016/. Version 1.0 (January 11, 2016). 1 1 Introduction The field of quantum information theory studies the remarkable ways in which quantum information { and the processing thereof { differs from information stored in classical systems. Nowhere is this difference more pronounced than the dramatic speedups obtained by quantum computation over classical computation. These notes aim to cover (some of) the theoretical topics which any self-respecting quantum information theorist, or experimentalist working in the field of quantum information processing, should know. These include the famous algorithms of Shor and Grover, and the simulation of quantum systems; the more recent topic of quantum walk algorithms; decoherence and quantum error-correction. 1.1 Complementary reading These lecture notes have benefited significantly from the expositions in the following lecture courses, which may be of interest for background reading: • Quantum Computation, Richard Jozsa, University of Cambridge http://www.qi.damtp.cam.ac.uk/node/261 The material here on the QFT and Shor's algorithm follows this exposition closely. • Quantum Algorithms, Andrew Childs, University of Maryland http://cs.umd.edu/~amchilds/qa/ A combination of lecture notes for three graduate courses. The material here on quantum walk algorithms is based on the exposition in these notes.
    [Show full text]
  • High-Precision Quantum Algorithms
    High-precision quantum algorithms Andrew Childs What can we do with a quantum computer? • Factoring • Many problems with polynomial speedup (combinatorial search, collision finding, graph properties, Boolean formula evaluation, …) • Simulating quantum mechanics • Linear systems • And more: computing discrete logarithms, decomposing abelian groups, computing properties of algebraic number fields, approximating Gauss sums, counting points on algebraic curves, approximating topological invariants, finding isogenies between elliptic curves… Quantum algorithm zoo: math.nist.gov/quantum/zoo/ When can I have one? State of the art: well-characterized qubits with well-controlled interactions and long coherence times. Leading candidate systems: trapped ions superconducting qubits Several large experimental groups (Maryland/IonQ, UCSB/Google, IBM, Delft/Intel, …) have serious efforts underway to consider scaling up to a larger device—a major engineering challenge! Why else should you care? • Studying the power of quantum computers addresses a basic scientific question: what can be computed efficiently in the real world? • To design cryptosystems that are secure against quantum attacks, we have to understand what kinds of problems quantum computers can solve. • Ideas from quantum information provide new tools for thinking about physics (e.g., the black hole information loss problem) and computer science (e.g., quantum algorithm for evaluating Boolean formulas → upper bound on polynomial threshold function degree → new subexponential (classical!) algorithms
    [Show full text]
  • Applications of Quantum Amplitude Amplification
    Electronic Colloquium on Computational Complexity, Revision 1 of Report No. 151 (2014) Applications of Quantum Amplitude Amplification Debajyoti Bera1 1 IIIT-Delhi, New Delhi, India. Email: [email protected] Abstract Amplitude amplification is a central tool used in Grover’s quantum search algorithm and has been used in various forms in numerous quantum algorithms since then. It has been shown to completely eliminate one-sided error of quantum search algorithms where input is accessed in the form of black-box queries. We generalize amplitude amplification for decision problems in the familiar form where input is accessed in the form of initial states of quantum circuits and where arbitrary projective measurements may be used to ascertain success or failure. This gener- alization allows us to derive interesting applications of amplitude amplification for distinguishing between two given distributions based on their samples, detection of faults in quantum circuits and eliminating error of one and two-sided quantum algorithms with exact errors. 1998 ACM Subject Classification F.1.1 Models of Computation Keywords and phrases Quantum Computing, Amplitude Amplification, One-sided Error, Two- sided error Digital Object Identifier 10.4230/LIPIcs... 1 Introduction The motivation behind this work is to investigate the characteristics of quantum computation when viewed as randomized algorithms. It is known that quantum amplitude amplification, the key technique underlying Grover’s unordered search algorithm, is able to reduce and even eliminate error of one-sided quantum black-box algorithms for search problems [7]. We explored that direction further for two-sided error algorithms for decision problems based on the key observation that quantum algorithms appear to be better at distinguishing between two given probability distributions compared to classical randomized algorithms.
    [Show full text]
  • Arxiv:1805.11250V2 [Quant-Ph] 9 Jan 2019 J=1 Ilarly to an Analog-Encoding Unitary Transformation, We
    Quantum analog-digital conversion Kosuke Mitarai,1, ∗ Masahiro Kitagawa,1, 2 and Keisuke Fujii3, 4, y 1Graduate School of Engineering Science, Osaka University, 1-3 Machikaneyama, Toyonaka, Osaka 560-8531, Japan. 2Quantum Information and Quantum Biology Division, Institute for Open and Transdisciplinary Research Initiatives, Osaka University, 1-3 Machikaneyama, Toyonaka, Osaka 560-8531, Japan. 3Graduate School of Science, Kyoto University, Yoshida-Ushinomiya-cho, Sakyo-ku, Kyoto 606-8302, Japan. 4JST, PRESTO, 4-1-8 Honcho, Kawaguchi, Saitama 332-0012, Japan. (Dated: January 10, 2019) Many quantum algorithms, such as Harrow-Hassidim-Lloyd (HHL) algorithm, depend on oracles that efficiently encode classical data into a quantum state. The encoding of the data can be cat- egorized into two types; analog-encoding where the data are stored as amplitudes of a state, and digital-encoding where they are stored as qubit-strings. The former has been utilized to process classical data in an exponentially large space of a quantum system, whereas the latter is required to perform arithmetics on a quantum computer. Quantum algorithms like HHL achieve quantum speedups with a sophisticated use of these two encodings. In this work, we present algorithms that converts these two encodings to one another. While quantum digital-to-analog conversions have implicitly been used in existing quantum algorithms, we reformulate it and give a generalized protocol that works probabilistically. On the other hand, we propose a deterministic algorithm that performs a quantum analog-to-digital conversion. These algorithms can be utilized to realize high-level quantum algorithms such as a nonlinear transformation of amplitudes of a quantum state.
    [Show full text]
  • Optimizing the Number of Gates in Quantum Search
    Quantum Information and Computation, Vol. 0, No. 0 (2003) 000–000 c Rinton Press Optimizing the Number of Gates in Quantum Search Srinivasan Arunachalama QuSoft, CWI, Amsterdam, the Netherlands [email protected] Ronald de Wolf b QuSoft, CWI and University of Amsterdam, the Netherlands [email protected] Received (October 18, 2016) Revised (February 1, 2017) p p In its usual form, Grover’s quantum search algorithm uses O( N) queries and O( N log N) other elementary gates to find a solutionp in an N-bit database. Grover in 2002 showed how to reduce the number of other gates to O( N log log N) for the special case where the database has a unique solution,p without significantly increasing the number of queries. We show how to reduce this further to O( N log(r) N) gates for every constant r, and sufficiently large N. This means that, on average, the circuits between two queries barely touch more than a constant number of the log N qubits on which the algorithm acts. For a very large N thatp is a power of 2, we can choosep r such that the π ? algorithm uses essentially the minimal number 4 N of queries, and only O( N log(log N)) other gates. Keywords: Quantum computing, Quantum search, Gate complexity. Communicated by: to be filled by the Editorial 1 Introduction One of the main successes of quantum algorithms so far is Grover’s database search algorithm [1, 2]. Here a database of size N is modeled as a binary string x 2 f0; 1gN , whose bits are indexed by i 2 f0;:::;N − 1g.A solution is an index i such that xi = 1.
    [Show full text]
  • Exponentially More Precise Algorithms for Quantum Simulation of Quantum Chemistry
    Exponentially More Precise Algorithms for Quantum Simulation of Quantum Chemistry The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:38811452 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Other Posted Material, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#LAA Abstract In quantum chemistry, the \electronic structure problem" refers to the process of numer- ically solving Schrodinger's equation for a given molecular system. These calculations rank among the most CPU-intensive computations that are performed nowadays, yet they are also crucial to the design of new drugs and materials. The idea behind quantum simulation of quantum chemistry is that a quantum computer could perform such calcu- lations in a manner that is exponentially more efficient than what a classical computer could accomplish. In fact, quantum simulation is quite possibly the application most naturally suited to a quantum computer. In this work we introduce novel algorithms for the simulation of quantum chemistry, algorithms that are exponentially more pre- cise than previous algorithms in the literature. Previous algorithms are based on the Trotter-Suzuki decomposition and scale like the inverse of the desired precision, while our algorithms represent the first practical application of the recently developed trun- cated Taylor series approach, and they achieve scaling that is logarithmic in the inverse of the precision. We explore algorithms for both second-quantized and first-quantized encodings of the chemistry Hamiltonian, where the second-quantized encoding requires O(N) qubits for an N spin-orbital system, and the highly compressed first-quantized encoding requires O(η) qubits, where η << N is the number of electrons in the system.
    [Show full text]
  • Estimating the Resources for Quantum Computation with the Qure Toolbox
    ESTIMATING THE RESOURCES FOR QUANTUM COMPUTATION WITH THE QuRE TOOLBOX MARTIN SUCHARA1;a, ARVIN FARUQUE2, CHING-YI LAI3, GERARDO PAZ3, FREDERIC T. CHONG2, JOHN KUBIATOWICZ1 1Computer Science Division, UC Berkeley, 387 Soda Hall Berkeley, CA 94720, U.S.A. 2Computer Science Department, UC Santa Barbara, Harold Frank Hall Santa Barbara, CA 93106, U.S.A. 3Department of Electrical Engineering Systems, University of Southern California Los Angeles, CA 90089, U.S.A. This report describes the methodology employed by the Quantum Resource Estimator (QuRE) toolbox to quantify the resources needed to run quantum algorithms on quantum computers with realistic properties. The QuRE toolbox estimates several quantities including the number of physical qubits required to run a specified quantum algorithm, the execution time on each of the specified physical technologies, the probability of success of the computation, as well as physical gate counts with a breakdown by gate type. Estimates are performed for error-correcting codes from both the concatenated and topological code families. Our work, which provides these resource estimates for a cross product of seven quantum algorithms, six physical machine descriptions, several quantum control protocols, and four error-correcting codes, represents the most comprehensive resource estimation effort in the field of quantum computation to date. 1 Introduction Estimating the running time, number of qubits and other resources needed by realistic models of quantum computers is the first necessary step to reducing these resource requirements. This report describes our Quantum Resource Estimator (QuRE) toolbox which we used to calculate resource estimates for a cross product of several quantum algorithms, quantum technologies, and error-correction techniques.
    [Show full text]