Noisy Variational Quantum Algorithm Simulation Via Knowledge Compilation for Repeated Inference: Extended Abstract

Total Page:16

File Type:pdf, Size:1020Kb

Noisy Variational Quantum Algorithm Simulation Via Knowledge Compilation for Repeated Inference: Extended Abstract Noisy Variational Quantum Algorithm Simulation via Knowledge Compilation for Repeated Inference: Extended Abstract Yipeng Huang Steven Holtzen Todd Millstein Guy Van den Broeck Margaret Martonosi Rutgers University UCLA UCLA UCLA Princeton University [email protected] [email protected] [email protected] [email protected] [email protected] Abstract—We present a quantum circuit simulation toolchain QAOA simulation time vs. qubits (iterations=1) 102 targeted for simulating variational algorithms. We do so by qsim sampling with 1 thread qsim sampling with 16 threads encoding quantum amplitudes and noise probabilities in a 1 10 qtorch sampling with 1 thread probabilistic graphical model, and we use knowledge compi- qtorch sampling with 16 threads lation to compile the circuits to logical equations that support 100 knowledge compilation sampling Time (s) efficient repeated simulation of and sampling from quantum 10 1 circuits for different parameters. Compared to state-of-the-art 10 2 state vector and density matrix quantum circuit simulators, 5 10 15 20 25 30 our simulation approach offers greater performance when Qubits, representing Max-Cut problem vertices sampling from circuits with at least eight to 20 qubits and (a) Versus state vector (qsim) and tensor network (qTorch [3]) for with around 12 operations on each qubit. And versus quantum ideal circuits circuit simulation techniques based on tensor network contrac- tion, our simulation approach offers a 66 times reduction in Noisy QAOA simulation time vs. qubits (iterations=1) sampling cost for simulating ideal shallow quantum circuits density matrix sampling 102 with 32 qubits, making the approach ideal for simulating near- knowledge compilation sampling term variational quantum algorithms. 101 0 Time (s) 10 1. Motivation & Key Insights 10 1 Due to the limitations of existing quantum prototypes, 4 5 6 7 8 9 10 11 12 quantum circuit simulation continues to be a vital tool Qubits, representing Max-Cut problem vertices for validating next generation quantum computers and for (b) Versus density matrix simulation (Cirq) for noisy circuits studying variational quantum algorithms. Existing quantum circuit simulators do not address the common traits of varia- Figure 1: Knowledge compilation sampling performance. tional algorithms, namely: 1) their ability to work with noisy qubits and operations, 2) their repeated execution of the same circuits but with different parameters, and 3) the fact networks encode probabilistic knowledge about the world in that they sample from circuit final wavefunctions to drive a factorized format. The Bayesian networks compile down an optimization routine [2]. Quantum computing research to minimized data structures called arithmetic circuits (ACs) would benefit from a simulator that supports variational that enable repeated inference and sampling queries with algorithms specifically, which would require a simulator that different parameters and new pieces of evidence [1]. These 1) simulates the probabilistic effects of noise, 2) can handle features of the knowledge compilation approach—namely, more qubits, and 3) can reuse computation results between 1) the ability to represent and manipulate probabilistic simulation runs with different parameters. information, 2) the ability to compile probabilistic model The key insight of our paper is that knowledge compila- structural information into minimized formats, 3) the ability tion—–a technique for efficient repeated inference originat- to efficiently sample from the same model but for varying ing in artificial intelligence research—can be generalized to parameters and evidence—match well with the requirements work on complex-valued quantum amplitudes, such that the for variational quantum algorithm simulation. technique serves as the basis for a quantum circuit simula- tion toolchain geared for variational quantum algorithms. 2. Our Knowledge Compilation Approach In knowledge compilation, AI models such as Bayesian This work is funded in part by EPiQC, an NSF Expedition in Computing, We built a knowledge compilation toolchain for quantum under grant 1730082. algorithm simulation that excels at simulating noisy circuits CNF encoding of CNF to AC encoding of Quantum circuit Noisy quantum Bayesian Bayesian arithmetic circuit valid sets of Basis state simulation and circuit (quantum Quantum circuit Complex-valued network to amplitude to Bayesian network (AC) compiler qubit states sampling results kernel of Bayesian conjunctive structure calculation and network network returned to variational normal form wavefunction variational algorithm) compiler (CNF) compiler sampling Parameters for gate amplitudes and noise probabilities algorithm New parameters from variational algorithm iterations Figure 2: Toolchain stages and intermediate representations for quantum algorithm simulation via knowledge compilation. TABLE 1: Program transformations converting a noisy quantum circuit to conjunctive normal form (CNF). Quantum circuit The logical sentences comprising the CNF for a noisy Bell state quantum circuit example Compilation / simplification rules semantics encoded Qubits take on bi- q0m0 = j0i ⊕ q0m0 = j1i q1m0 = j0i ⊕ q1m0 = j1i Combine initial value sentences into binary nary values; supply q0m0 = j0i q1m0 = j0i constraint sentences using logical unit res- initial qubit values q0m1 = j0i ⊕ q0m1 = j1i q1m3 = j0i ⊕ q1m3 = j1i olution. Hadamard gate q0m0 = j0i^ q0m1 = j0i =) + p1 q0m0 = j0i^ q0m1 = j1i =) + p1 Weight variables stand in for parameters for 2 2 q0m0 = j1i^ q0m1 = j0i =) + p1 q0m0 = j1i^ q0m1 = j1i =) − p1 amplitudes or probabilities; compiler stores 2 2 equal-value parameters as a single variable. Phase damping q0m2rv = 0 ⊕ q0m2rv = 1 q0m1 = j1i^ q0m2rv = 0= ) +0:8 The simulator resolves variables with val- noise channel q0m1 = j0i =) q0m2rv = 0 q0m1 = j1i^ q0m2rv = 1= ) −0:6 ues that change for repeated simulations. CNOT gate q0m1 = j0i^q1m0 = j0i =) q1m3 = j0i q0m1 = j1i^q1m0 = j0i =) q1m3 = j1i Deterministic parameters (i.e., 0 or 1) are q0m1 = j0i^q1m0 = j1i =) q1m3 = j1i q0m1 = j1i^q1m0 = j1i =) q1m3 = j0i factored to logic without weight variables. for variational algorithms (Fig. 2). It comprises: prior queries such that subsequent queries update val- 1) A front-end for converting noisy quantum circuits ues only as necessary. The ACs also enable a Markov (specified in Google’s Cirq framework1) to complex- chain Monte Carlo procedure for sampling sets of qubit valued Bayesian networks [4], which we extend to outcomes according to their measurement probability. correctly encode quantum noise mixtures and chan- nels. Compared to conventional quantum circuits where 3. Key Results and Contributions complex-valued quantum amplitudes and real-valued noise probabilities are treated separately, the Bayesian Our key results are that 1) a quantum circuit simulation network encoding unifies quantum states and noise approach based on knowledge compilation of probabilistic events in a single representation. program representations is correct for a benchmark suite 2) A compiler that converts Bayesian networks represent- of quantum algorithms, and 2) such an approach offers ing noisy quantum circuits into conjunctive normal advantages in simulating near-term variational quantum al- gorithms, relative to other simulation approaches based on form (CNF) logic equations. The CNFs encode the 2 quantum circuits’ topological information. The sets of state vectors , density matrices, and tensor networks [3] logic variable assignments that satisfy the CNF corre- (Fig. 1). The advantages are due to the more compact spond to all sets of qubit state assignments that are con- representation, the circuit minimization and memoization sistent with a quantum circuit’s semantics (Tab. 1). The capabilites of our approach, and due to the storage costs structural information can be reused across simulations for conventional simulators based on matrix representations. independently of quantum amplitude and noise proba- The improved simulation performance facilitates studying bility parameters, which vary across simulations. More variational algorithms and validating prototype quantum importantly, CNF logical equation encodings for quan- computer results in the NISQ era of quantum computing. tum circuits permits using logical equation compilers based on SAT solvers to minimize the representation. References 3) A compiler that converts CNFs to ACs. An AC enu- [1] Adnan Darwiche. Modeling and Reasoning with Bayesian Networks. merates and assigns a weight value to each set of Cambridge University Press, New York, NY, USA, 1st edition, 2009. variable assignments that satisfy a logical equation [1]. [2] Edward Farhi, Jeffrey Goldstone, and Sam Gutmann. A Quan- Summing the weights across all qubit state assignments tum Approximate Optimization Algorithm. arXiv e-prints, page results in the output amplitudes that we seek to find in arXiv:1411.4028, Nov 2014. the quantum circuit simulation task. The ACs enable [3] E. Schuyler Fried, Nicolas P. D. Sawaya, Yudong Cao, Ian D. the quantum circuit simulator to find the probability Kivlichan, Jhonathan Romero, Alan´ Aspuru-Guzik, and Itay Hen, ed. qTorch: The quantum tensor contraction handler. PLoS ONE, 13(12), amplitude for an outcome, without incurring the cost 12 2018. of finding the amplitudes of intermediate qubit states. [4] Robert R Tucci. Quantum Bayesian nets. Int. Journal of Modern The ACs further memoize the calculated results from Physics B, 9(03):295–337, 1995. 1. https://github.com/quantumlib/Cirq 2. https://github.com/quantumlib/qsim.
Recommended publications
  • An Update on Google's Quantum Computing Initiative
    An Update on Google’s Quantum Computing Initiative January 31, 2019 [email protected] Copyright 2018 Google LLC Our Brains are Wired for Newtonian Physics Brains that recognize and anticipate behaviors of Heat, Light, Momentum, Gravity, etc. have an Evolutionary Advantage. Quantum phenomena contradict our intuition. Quantum Phenomena Contradict Intuition Interference, “Erasure”, etc. 0 Quantum Theory Explains ( 1) Cleanly… ...but the Math looks Strange 1 1 1 1 i i How can a Particle be √2 √2 i 1 On Two Paths at the Same Time? 1 1 √2 i P u 1 1 i P ( r) √2 i 1 Copyright 2017-2019 Google LLC Superposed States, Superposed Information l0〉 2 ( |0〉+|1〉 ) |0〉 + |1〉 = |00〉+|01〉+|10〉+|11〉 l1〉 Copyright 2017-2019 Google LLC 01 Macroscopic QM Enables New Technology Control of single quantum systems, to quantum computers 1 nm 1 μm 1 mm H atom wavefunctions: Problem: Light is 1000x larger Large “atom” has room for complex control Copyright 2017-2019 Google LLC Xmon: Direct coupling + Tunable Transmons ● Direct qubit-qubit capacitive coupling ● Turn interaction on and off with frequency g control “OFF” “ON” f10 f 21 Δ Frequency η Frequency Coupling g Qubit Qubit SQUID 2 2 Coupling rate Ωzz ≈ 4ηg / Δ Qubit A Qubit B Copyright 2017-2019 Google LLC Logic Built from Universal Gates Classical circuit: Quantum circuit: 1 bit NOT 1 qubit rotation 2 bit AND 1 Input Gates 2 qubit CNOT Wiring fan-out No copy 2 Input Gates (space+time ) time Copyright 2017-2019 Google LLC Execution of a Quantum Simulation arXiv:1512.06860 Copyright 2017-2019 Google LLC Quantum
    [Show full text]
  • A Tutorial Introduction to Quantum Circuit Programming in Dependently Typed Proto-Quipper
    A tutorial introduction to quantum circuit programming in dependently typed Proto-Quipper Peng Fu1, Kohei Kishida2, Neil J. Ross1, and Peter Selinger1 1 Dalhousie University, Halifax, NS, Canada ffrank-fu,neil.jr.ross,[email protected] 2 University of Illinois, Urbana-Champaign, IL, U.S.A. [email protected] Abstract. We introduce dependently typed Proto-Quipper, or Proto- Quipper-D for short, an experimental quantum circuit programming lan- guage with linear dependent types. We give several examples to illustrate how linear dependent types can help in the construction of correct quan- tum circuits. Specifically, we show how dependent types enable program- ming families of circuits, and how dependent types solve the problem of type-safe uncomputation of garbage qubits. We also discuss other lan- guage features along the way. Keywords: Quantum programming languages · Linear dependent types · Proto-Quipper-D 1 Introduction Quantum computers can in principle outperform conventional computers at cer- tain crucial tasks that underlie modern computing infrastructures. Experimental quantum computing is in its early stages and existing devices are not yet suitable for practical computing. However, several groups of researchers, in both academia and industry, are now building quantum computers (see, e.g., [2,11,16]). Quan- tum computing also raises many challenging questions for the programming lan- guage community [17]: How should we design programming languages for quan- tum computation? How should we compile and optimize quantum programs? How should we test and verify quantum programs? How should we understand the semantics of quantum programming languages? In this paper, we focus on quantum circuit programming using the linear dependently typed functional language Proto-Quipper-D.
    [Show full text]
  • COVID-19 Detection on IBM Quantum Computer with Classical-Quantum Transfer Learning
    medRxiv preprint doi: https://doi.org/10.1101/2020.11.07.20227306; this version posted November 10, 2020. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license . Turk J Elec Eng & Comp Sci () : { © TUB¨ ITAK_ doi:10.3906/elk- COVID-19 detection on IBM quantum computer with classical-quantum transfer learning Erdi ACAR1*, Ihsan_ YILMAZ2 1Department of Computer Engineering, Institute of Science, C¸anakkale Onsekiz Mart University, C¸anakkale, Turkey 2Department of Computer Engineering, Faculty of Engineering, C¸anakkale Onsekiz Mart University, C¸anakkale, Turkey Received: .201 Accepted/Published Online: .201 Final Version: ..201 Abstract: Diagnose the infected patient as soon as possible in the coronavirus 2019 (COVID-19) outbreak which is declared as a pandemic by the world health organization (WHO) is extremely important. Experts recommend CT imaging as a diagnostic tool because of the weak points of the nucleic acid amplification test (NAAT). In this study, the detection of COVID-19 from CT images, which give the most accurate response in a short time, was investigated in the classical computer and firstly in quantum computers. Using the quantum transfer learning method, we experimentally perform COVID-19 detection in different quantum real processors (IBMQx2, IBMQ-London and IBMQ-Rome) of IBM, as well as in different simulators (Pennylane, Qiskit-Aer and Cirq). By using a small number of data sets such as 126 COVID-19 and 100 Normal CT images, we obtained a positive or negative classification of COVID-19 with 90% success in classical computers, while we achieved a high success rate of 94-100% in quantum computers.
    [Show full text]
  • Arxiv:1812.09167V1 [Quant-Ph] 21 Dec 2018 It with the Tex Typesetting System Being a Prime Example
    Open source software in quantum computing Mark Fingerhutha,1, 2 Tomáš Babej,1 and Peter Wittek3, 4, 5, 6 1ProteinQure Inc., Toronto, Canada 2University of KwaZulu-Natal, Durban, South Africa 3Rotman School of Management, University of Toronto, Toronto, Canada 4Creative Destruction Lab, Toronto, Canada 5Vector Institute for Artificial Intelligence, Toronto, Canada 6Perimeter Institute for Theoretical Physics, Waterloo, Canada Open source software is becoming crucial in the design and testing of quantum algorithms. Many of the tools are backed by major commercial vendors with the goal to make it easier to develop quantum software: this mirrors how well-funded open machine learning frameworks enabled the development of complex models and their execution on equally complex hardware. We review a wide range of open source software for quantum computing, covering all stages of the quantum toolchain from quantum hardware interfaces through quantum compilers to implementations of quantum algorithms, as well as all quantum computing paradigms, including quantum annealing, and discrete and continuous-variable gate-model quantum computing. The evaluation of each project covers characteristics such as documentation, licence, the choice of programming language, compliance with norms of software engineering, and the culture of the project. We find that while the diversity of projects is mesmerizing, only a few attract external developers and even many commercially backed frameworks have shortcomings in software engineering. Based on these observations, we highlight the best practices that could foster a more active community around quantum computing software that welcomes newcomers to the field, but also ensures high-quality, well-documented code. INTRODUCTION Source code has been developed and shared among enthusiasts since the early 1950s.
    [Show full text]
  • Quantum Approximation for Wireless Scheduling
    applied sciences Article Quantum Approximation for Wireless Scheduling Jaeho Choi 1 , Seunghyeok Oh 2 and Joongheon Kim 2,* 1 School of Computer Science and Engineering, Chung-Ang University, Seoul 06974, Korea; [email protected] 2 School of Electrical Engineering, Korea University, Seoul 02841, Korea; [email protected] * Correspondence: [email protected]; Tel.: +82-2-3290-3223 Received: 2 September 2020; Accepted: 6 October 2020; Published: 13 October 2020 Abstract: This paper proposes an application algorithm based on a quantum approximate optimization algorithm (QAOA) for wireless scheduling problems. QAOA is one of the promising hybrid quantum-classical algorithms to solve combinatorial optimization problems and it provides great approximate solutions to non-deterministic polynomial-time (NP) hard problems. QAOA maps the given problem into Hilbert space, and then it generates the Hamiltonian for the given objective and constraint. Then, QAOA finds proper parameters from the classical optimization loop in order to optimize the expectation value of the generated Hamiltonian. Based on the parameters, the optimal solution to the given problem can be obtained from the optimum of the expectation value of the Hamiltonian. Inspired by QAOA, a quantum approximate optimization for scheduling (QAOS) algorithm is proposed. The proposed QAOS designs the Hamiltonian of the wireless scheduling problem which is formulated by the maximum weight independent set (MWIS). The designed Hamiltonian is converted into a unitary operator and implemented as a quantum gate operation. After that, the iterative QAOS sequence solves the wireless scheduling problem. The novelty of QAOS is verified with simulation results implemented via Cirq and TensorFlow-Quantum.
    [Show full text]
  • Heuristics for Quantum Compiling with a Continuous Gate Set Marc Grau Davis, Ethan Smith, Ana Tudor, Koushik Sen, Irfan Siddiqi, Costin Iancu
    Heuristics for Quantum Compiling with a Continuous Gate Set Marc Grau Davis, Ethan Smith, Ana Tudor, Koushik Sen, Irfan Siddiqi, Costin Iancu Abstract factor in the near future of NISQ devices, this metric has been We present an algorithm for compiling arbitrary unitaries targeted by others [25, 28, 50, 56]. into a sequence of gates native to a quantum processor. As The algorithm is inspired by the A* [22] search strategy accurate CNOT gates are hard for the foreseeable Noisy- and works as follows. Given the unitary associated with a Intermediate-Scale Quantum devices era, our A* inspired quantum transformation, we attempt to alternate layers of algorithm attempts to minimize their count, while accounting single qubit gates and CNOT gates. For each layer of single for connectivity. We discuss the search strategy together with qubit gates we assign the parameterized single qubit unitary to “metrics” to expand the solution frontier. For a workload of all the qubits. We then try to place a CNOT gate wherever the circuits with complexity appropriate for the NISQ era, we pro- chip connectivity allows, and add another layer of single qubit duce solutions well within the best upper bounds published in gates. We pass the parameterized circuit into an optimizer [44], literature and match or exceed hand tuned implementations, which instantiates the parameters for the partial solution such as well as other existing synthesis alternatives. In particular, that it minimizes a distance function. At each step of the when comparing against state-of-the-art available synthesis search, the solution with the shortest “heuristic” distance from packages we show 2:4× average (up to 5:3×) reduction in the original unitary is expanded.
    [Show full text]
  • Resource-Efficient Quantum Computing By
    Resource-Efficient Quantum Computing by Breaking Abstractions Fred Chong Seymour Goodman Professor Department of Computer Science University of Chicago Lead PI, the EPiQC Project, an NSF Expedition in Computing NSF 1730449/1730082/1729369/1832377/1730088 NSF Phy-1818914/OMA-2016136 DOE DE-SC0020289/0020331/QNEXT With Ken Brown, Ike Chuang, Diana Franklin, Danielle Harlow, Aram Harrow, Andrew Houck, John Reppy, David Schuster, Peter Shor Why Quantum Computing? n Fundamentally change what is computable q The only means to potentially scale computation exponentially with the number of devices n Solve currently intractable problems in chemistry, simulation, and optimization q Could lead to new nanoscale materials, better photovoltaics, better nitrogen fixation, and more n A new industry and scaling curve to accelerate key applications q Not a full replacement for Moore’s Law, but perhaps helps in key domains n Lead to more insights in classical computing q Previous insights in chemistry, physics and cryptography q Challenge classical algorithms to compete w/ quantum algorithms 2 NISQ Now is a privileged time in the history of science and technology, as we are witnessing the opening of the NISQ era (where NISQ = noisy intermediate-scale quantum). – John Preskill, Caltech IBM IonQ Google 53 superconductor qubits 79 atomic ion qubits 53 supercond qubits (11 controllable) Quantum computing is at the cusp of a revolution Every qubit doubles computational power Exponential growth in qubits … led to quantum supremacy with 53 qubits vs. Seconds Days Double exponential growth! 4 The Gap between Algorithms and Hardware The Gap between Algorithms and Hardware The Gap between Algorithms and Hardware The EPiQC Goal Develop algorithms, software, and hardware in concert to close the gap between algorithms and devices by 100-1000X, accelerating QC by 10-20 years.
    [Show full text]
  • EU–US Collaboration on Quantum Technologies Emerging Opportunities for Research and Standards-Setting
    Research EU–US collaboration Paper on quantum technologies International Security Programme Emerging opportunities for January 2021 research and standards-setting Martin Everett Chatham House, the Royal Institute of International Affairs, is a world-leading policy institute based in London. Our mission is to help governments and societies build a sustainably secure, prosperous and just world. EU–US collaboration on quantum technologies Emerging opportunities for research and standards-setting Summary — While claims of ‘quantum supremacy’ – where a quantum computer outperforms a classical computer by orders of magnitude – continue to be contested, the security implications of such an achievement have adversely impacted the potential for future partnerships in the field. — Quantum communications infrastructure continues to develop, though technological obstacles remain. The EU has linked development of quantum capacity and capability to its recovery following the COVID-19 pandemic and is expected to make rapid progress through its Quantum Communication Initiative. — Existing dialogue between the EU and US highlights opportunities for collaboration on quantum technologies in the areas of basic scientific research and on communications standards. While the EU Quantum Flagship has already had limited engagement with the US on quantum technology collaboration, greater direct cooperation between EUPOPUSA and the Flagship would improve the prospects of both parties in this field. — Additional support for EU-based researchers and start-ups should be provided where possible – for example, increasing funding for representatives from Europe to attend US-based conferences, while greater investment in EU-based quantum enterprises could mitigate potential ‘brain drain’. — Superconducting qubits remain the most likely basis for a quantum computer. Quantum computers composed of around 50 qubits, as well as a quantum cloud computing service using greater numbers of superconducting qubits, are anticipated to emerge in 2021.
    [Show full text]
  • Arxiv:2003.02989V2 [Quant-Ph] 26 Aug 2021
    TensorFlow Quantum: A Software Framework for Quantum Machine Learning Michael Broughton,1, 5, ∗ Guillaume Verdon,1, 2, 4, 6, y Trevor McCourt,1, 7 Antonio J. Martinez,1, 2, 4, 8 Jae Hyeon Yoo,2, 3 Sergei V. Isakov,1 Philip Massey,3 Ramin Halavati,3 Murphy Yuezhen Niu,1 Alexander Zlokapa,9, 1 Evan Peters,4, 6, 10 Owen Lockwood,11 Andrea Skolik,12, 13, 14, 15 Sofiene Jerbi,16 Vedran Dunjko,13 Martin Leib,12 Michael Streif,12, 14, 15, 17 David Von Dollen,18 Hongxiang Chen,19, 20 Shuxiang Cao,19, 21 Roeland Wiersema,22, 23 Hsin-Yuan Huang,1, 24, 25 Jarrod R. McClean,1 Ryan Babbush,1 Sergio Boixo,1 Dave Bacon,1 Alan K. Ho,1 Hartmut Neven,1 and Masoud Mohseni1, z 1Google Quantum AI, Mountain View, CA 2Sandbox@Alphabet, Mountain View, CA 3Google, Mountain View, CA 4Institute for Quantum Computing, University of Waterloo, Waterloo, Ontario, N2L 3G1, Canada 5School of Computer Science, University of Waterloo, Waterloo, Ontario, N2L 3G1, Canada 6Department of Applied Mathematics, University of Waterloo, Waterloo, Ontario, N2L 3G1, Canada 7Department of Mechanical & Mechatronics Engineering, University of Waterloo, Waterloo, Ontario, N2L 3G1, Canada 8Department of Physics & Astronomy, University of Waterloo, Waterloo, Ontario, N2L 3G1, Canada 9Division of Physics, Mathematics and Astronomy, Caltech, Pasadena, CA 91125 10Fermi National Accelerator Laboratory, P.O. Box 500, Batavia, IL, 605010 11Department of Computer Science, Rensselaer Polytechnic Institute, Troy, NY 12180, USA 12Data:Lab, Volkswagen Group, Ungererstr. 69, 80805 München, Germany 13Leiden University, Niels Bohrweg 1, 2333 CA Leiden, Netherlands 14Quantum Artificial Intelligence Laboratory, NASA Ames Research Center (QuAIL) 15USRA Research Institute for Advanced Computer Science (RIACS) 16Institute for Theoretical Physics, University of Innsbruck, Technikerstr.
    [Show full text]
  • Quantum Approximation for Wireless Scheduling Jaeho Choi, Seunghyeok Oh, and Joongheon Kim
    1 Quantum Approximation for Wireless Scheduling Jaeho Choi, Seunghyeok Oh, and Joongheon Kim Abstract This paper proposes a quantum approximate optimization algorithm (QAOA) method for wireless scheduling problems. The QAOA is one of the promising hybrid quantum-classical algorithms for many applications and it provides highly accurate optimization solutions in NP-hard problems. QAOA maps the given problems into Hilbert spaces, and then it generates Hamiltonian for the given objectives and constraints. Then, QAOA finds proper parameters from classical optimization approaches in order to optimize the expectation value of generated Hamiltonian. Based on the parameters, the optimal solution to the given problem can be obtained from the optimum of the expectation value of Hamiltonian. Inspired by QAOA, a quantum approximate optimization for scheduling (QAOS) algorithm is proposed. First of all, this paper formulates a wireless scheduling problem using maximum weight independent set (MWIS). Then, for the given MWIS, the proposed QAOS designs the Hamiltonian of the problem. After that, the iterative QAOS sequence solves the wireless scheduling problem. This paper verifies the novelty of the proposed QAOS via simulations implemented by Cirq and TensorFlow-Quantum. Index Terms Quantum Approximate Optimization Algorithm (QAOA), Maximum Weight Independent Set (MWIS), NP-Hard, Wireless Scheduling, Quantum Application I. INTRODUCTION Nowadays, quantum computing and communications have received a lot of attention from academia and industry research communities. In particular, quantum computing based NP-hard problem solving is of great interest [1]–[4]. Among them, quantum approximate optimization algorithm (QAOA) is one of the well-known quantum computing based optimization solvers, and it has been verified that the QAOA outperforms the others in many combinatorial problems which is closed related to wireless scheduling problems [5]–[9].
    [Show full text]
  • Classical Optimizers for Noisy Intermediate-Scale Quantum Devices
    Lawrence Berkeley National Laboratory Recent Work Title Classical Optimizers for Noisy Intermediate-Scale Quantum Devices Permalink https://escholarship.org/uc/item/9022q1tm Authors Lavrijsen, W Tudor, A Muller, J et al. Publication Date 2020-10-01 DOI 10.1109/QCE49297.2020.00041 Peer reviewed eScholarship.org Powered by the California Digital Library University of California Classical Optimizers for Noisy Intermediate-Scale antum Devices Wim Lavrijsen, Ana Tudor, Juliane Müller, Costin Iancu, Wibe de Jong Lawrence Berkeley National Laboratory {wlavrijsen,julianemueller,cciancu,wadejong}@lbl.gov, [email protected] ABSTRACT of noise on both the classical and quantum parts needs to be taken We present a collection of optimizers tuned for usage on Noisy Inter- into account. In particular, the performance and mathematical guar- mediate-Scale Quantum (NISQ) devices. Optimizers have a range of antees, regarding convergence and optimality in the number of applications in quantum computing, including the Variational Quan- iterations, of commonly used classical optimizers rest on premises tum Eigensolver (VQE) and Quantum Approximate Optimization that are broken by the existence of noise in the objective function. (QAOA) algorithms. They have further uses in calibration, hyperpa- Consequently, they may converge too early, not nding the global rameter tuning, machine learning, etc. We employ the VQE algorithm minimum, get stuck in a noise-induced local minimum, or even fail as a case study. VQE is a hybrid algorithm, with a classical minimizer to converge at all. step driving the next evaluation on the quantum processor. While For chemistry, the necessity of developing robust classical op- most results to date concentrated on tuning the quantum VQE circuit, timizers for VQE in the presence of hardware noise has already our study indicates that in the presence of quantum noise the clas- been recognized [20].
    [Show full text]
  • A Practical Introduction to Quantum Computing: from Qubits to Quantum Machine Learning and Beyond
    A Practical Introduction to Quantum Computing: From Qubits to Quantum Machine Learning and Beyond El´ıas F. Combarro [email protected] CERN openlab (Geneva, Switzerland) - University of Oviedo (Oviedo, Spain) CERN - November/December 2020 Part I Introduction: quantum computing... the end of the world as we know it? 2 / 30 I, for one, welcome our new quantum overlords Image credits: sciencenews.org 3 / 30 Philosophy of the course Image credits: Modified from an Instagram image by Bob MacGuffie 4 / 30 Tools and resources • Jupyter Notebooks • Web application to create and execute notebooks that include code, images, text and formulas • They can be used locally (Anaconda) or in the cloud (mybinder.org, Google Colab...) • IBM Quantum Experience • Free online access to quantum simulators (up to 32 qubits) and actual quantum computers (1, 5 and 15 qubits) with different topologies • Programmable with a visual interface and via different languages (python, qasm, Jupyter Notebooks) • Launched in May 2016 • https://quantum-computing.ibm.com/ Image credits: IBM 5 / 30 Tools and resources (2) • Quirk • Online simulator (up to 16 qubits) • Lots of different gates and visualization options • http://algassert.com/quirk • D-Wave Leap • Access to D-Wave quantum computers • Ocean: python library for quantum annealing • Problem specific (QUBO, Ising model...) • https://www.dwavesys.com/take-leap 6 / 30 The shape of things to come Image credits: Created with wordclouds.com 7 / 30 What is quantum computing? Quantum computing Quantum computing is a computing
    [Show full text]