Logical Abstractions for Noisy Variational Quantum Algorithm

Total Page:16

File Type:pdf, Size:1020Kb

Logical Abstractions for Noisy Variational Quantum Algorithm Logical Abstractions for Noisy Variational antum Algorithm Simulation Yipeng Huang Steven Holtzen Todd Millstein [email protected] [email protected] [email protected] Rutgers University University of California, Los Angeles University of California, Los Angeles New Brunswick, NJ, United States Los Angeles, CA, United States Los Angeles, CA, United States Guy Van den Broeck Margaret Martonosi [email protected] [email protected] University of California, Los Angeles Princeton University Los Angeles, CA, United States Princeton, NJ, United States ABSTRACT KEYWORDS Due to the unreliability and limited capacity of existing quantum quantum circuits, Bayesian networks, conjunctive normal form, computer prototypes, quantum circuit simulation continues to be a knowledge compilation, exact inference, simulation vital tool for validating next generation quantum computers and ACM Reference Format: for studying variational quantum algorithms, which are among Yipeng Huang, Steven Holtzen, Todd Millstein, Guy Van den Broeck, and Mar- the leading candidates for useful quantum computation. Existing garet Martonosi. 2021. Logical Abstractions for Noisy Variational Quantum quantum circuit simulators do not address the common traits of Algorithm Simulation. In Proceedings of the 26th ACM International Con- variational algorithms, namely: 1) their ability to work with noisy ference on Architectural Support for Programming Languages and Operating qubits and operations, 2) their repeated execution of the same cir- Systems (ASPLOS ’21), April 19–23, 2021, Virtual, USA. ACM, New York, NY, cuits but with dierent parameters, and 3) the fact that they sample USA, 17 pages. https://doi.org/10.1145/3445814.3446750 from circuit nal wavefunctions to drive a classical optimization routine. We present a quantum circuit simulation toolchain based Before After on logical abstractions targeted for simulating variational algo- rithms. Our proposed toolchain encodes quantum amplitudes and noise probabilities in a probabilistic graphical model, and it com- piles the circuits to logical formulas that support ecient repeated simulation of and sampling from quantum circuits for dierent parameters. Compared to state-of-the-art state vector and density matrix quantum circuit simulators, our simulation approach oers greater performance when sampling from noisy circuits with at Figure 1: Equivalent knowledge com- least eight to 20 qubits and with around 12 operations on each pilation representations of a 4-qubit qubit, making the approach ideal for simulating near-term varia- noisy QAOA quantum circuit. In this tional quantum algorithms. And for simulating noise-free shallow work we calculate and sample ampli- quantum circuits with 32 qubits, our simulation approach o ers a tudes from arithmetic circuits (ACs) 66 reduction in sampling cost versus quantum circuit simulation ⇥ representing noisy quantum circuits. techniques based on tensor network contraction. To the left, direct compilation results in ACs where qubit states ordered in time CCS CONCEPTS progresses from top to bottom. Above, • Computer systems organization Quantum computing; • optimizations such as logical minimiza- ! Mathematics of computing Probabilistic inference prob- tion, qubit state reordering, and eliding ! lems; Bayesian networks; Decision diagrams; • Computing method- internal qubit states reduce the size of ologies Knowledge representation and reasoning. the AC. The reduced but equivalent rep- ! resentation leads to more ecient sim- Permission to make digital or hard copies of all or part of this work for personal or ulation and sampling. classroom use is granted without fee provided that copies are not made or distributed for prot or commercial advantage and that copies bear this notice and the full citation on the rst page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, 1 INTRODUCTION to post on servers or to redistribute to lists, requires prior specic permission and/or a fee. Request permissions from [email protected]. Consensus among quantum systems researchers is that variational ASPLOS ’21, April 19–23, 2021, Virtual, USA algorithms are among the most important near-term applications of © 2021 Association for Computing Machinery. ACM ISBN 978-1-4503-8317-2/21/04. quantum computing [50, 55]. Variational algorithms work by using https://doi.org/10.1145/3445814.3446750 a classical computer to train for optimal parameters that minimize 456 ASPLOS ’21, April 19–23, 2021, Virtual, USA Yipeng Huang, Steven Holtzen, Todd Millstein, Guy Van den Broeck, and Margaret Martonosi a function evaluated by a quantum computer. Examples include (1) A front-end for converting noisy quantum circuits (specied the quantum approximate optimization algorithm (QAOA) [26, 27] in Google’s Cirq framework1) to complex-valued Bayesian and the variational quantum eigensolver (VQE) [53] algorithm for networks [8, 10, 47, 54, 63, 66], which we extend to correctly physical simulations. Unlike prominent quantum algorithms such encode quantum noise mixtures and channels. Compared as Shor’s factoring [58] and Grover’s search [30] algorithms, vari- to conventional quantum circuits where complex-valued ational algorithms can extract useful computation out of noisy quantum amplitudes and real-valued noise probabilities are intermediate-scale quantum (NISQ) computer prototypes, which treated separately, the Bayesian network encoding unies only support unreliable operations on a limited number of qubits quantum states and noise events in a single representation. (the fundamental unit of quantum computing). (2) A compiler that converts Bayesian networks representing A further consequence of the limited capacity, reliability, and noisy quantum circuits into conjunctive normal form (CNF) endurance of existing quantum prototypes is that simulation using logic formulas. The CNFs encode the quantum circuits’ struc- classical computers continues to be a critical research tool [50, tural information: the sets of logic variable assignments that Chapter 6.3]. Classical computer simulations of quantum algorithm satisfy the CNF correspond to all sets of qubit state assign- circuits are important for developing new quantum algorithms and ments that are consistent with the original quantum cir- for validating results from quantum prototypes. cuit’s semantics. This structural information can be reused Thus far, the most advanced quantum circuit simulators are not across simulations independently of quantum amplitude and geared for simulating important variational quantum algorithms. noise probability parameters, which vary across simulations, Quantum computing research would benet from a simulator that which is a key benet over prior simulation techniques. supports variational algorithms specically, which would require (3) A compiler that converts CNFs to ACs. An AC enumerates a simulator that 1) supports simulating the eect of noise, 2) e- and assigns a weight value to each set of variable assignments ciently supports repeated simulations with dierent parameters, 3) that satisfy a logical formula [22]. Summing the weights oers an ability to sample from the output of the quantum computer, across all qubit state assignments results in the output ampli- and 4) excels at simulating quantum circuits with many qubits and tudes that we seek to nd in the quantum circuit simulation relatively few operations per qubit. Unfortunately, leading quantum task. The compiler can factor away the variables that repre- circuit simulators have instead focused on simulations that estab- sent intermediate qubit states, thereby enabling the quantum lish the point at which limitations of classical computing give way circuit simulator to nd the probability amplitude for an out- to quantum computers having an advantage, a milestone termed come without incurring the cost of nding the amplitudes quantum supremacy [3, 32, 48, 62]. Such simulators can only simu- of intermediate qubit states. The ACs also enable a Markov late quantum circuits that are ideal (noise-free), and they cannot chain Monte Carlo procedure for sampling sets of qubit out- reuse computation results across simulation runs. The clear mis- comes according to their measurement probability. match between the requirements for variational algorithm versus supremacy simulations have resulted in simulators that do not We validate our compilation and simulation approach for both adequately support important variational workloads. noise-free and noisy quantum circuits, demonstrating correct re- The key insight of our paper is that knowledge compilation—a sults for a suite of quantum algorithms including Deutsch-Jozsa, technique for ecient repeated inference originating in articial Bernstein-Vazirani, hidden shift, quantum Fourier transform, Shor’s, intelligence research [22, 23]—can serve as the basis for a quantum and Grover’s algorithms. circuit simulation toolchain geared for variational algorithms. In a We benchmark the performance of our simulator for sampling knowledge compilation approach to performing inference, knowl- outputs for a QAOA algorithm for Max-Cut and a VQE algorithm edge about probabilistic relationships between events is rst en- for nding the minimum energy con guration of a 2D Ising model. coded in a graphical model such as a Bayesian network [22, 42, 52]. Compared to state-of-the-art simulators for both ideal and noisy The knowledge compilation techniques convert Bayesian
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]