A Verified Optimizer for Quantum Circuits

Total Page:16

File Type:pdf, Size:1020Kb

A Verified Optimizer for Quantum Circuits A Verified Optimizer for Quantum Circuits Kesha Hietala Robert Rand Shih-Han Hung Xiaodi Wu Michael Hicks University of Maryland, College Park, USA Abstract An appealing solution to this problem is to apply rigorous We present voqc, the first fully verified compiler for quan- formal methods to prove that an optimization or algorithm tum circuits, written using the Coq proof assistant. Quan- always does what it is intended to do. As an example, con- tum circuits are expressed as programs in a simple, low-level sider CompCert [26], which is a compiler for C programs language called sqir, which is deeply embedded in Coq. Op- that is written and proved correct using the Coq proof as- timizations and other transformations are expressed as Coq sistant [9]. CompCert includes sophisticated optimizations functions, which are proved correct with respect to a seman- whose proofs of correctness are verified to be valid by Coq’s tics of sqir programs. We evaluate voqc’s verified optimiza- type checker. tions on a series of benchmarks, and it performs comparably In this paper, we apply CompCert’s approach to the quan- to industrial-strength compilers. voqc’s optimizations re- tum setting. We present voqc (pronounced “vox”), a verified duce total gate counts on average by 17.7% on a benchmark optimizer for quantum circuits. voqc takes as input a quan- of 29 circuit programs compared to a 10.7% reduction when tum program written in a language we call sqir (“squire”). using IBM’s Qiskit compiler. While sqir is designed to be a simple quantum intermediate representation, it is not very different from languages such Keywords Formal Verification, Quantum Computing, Op- as PyQuil [36], which are used to construct quantum source timization, Certified Compilation, Programming Languages programs as circuits. voqc applies a series of optimizations to sqir programs, ultimately producing a result that is com- 1 Introduction patible with the specified quantum architecture. For added Programming quantum computers will be challenging, at convenience, voqc provides translators between sqir and least in the near term. Qubits will be scarce, and gate pipelines OpenQASM, the de facto standard format for quantum cir- will need to be short to prevent decoherence. Fortunately, cuits [12]. (Section 2.) optimizing compilers can transform a source algorithm to Like CompCert, voqc is implemented using the Coq proof work with fewer resources. Where compilers fall short, pro- assistant. sqir program ASTs are represented in Coq via a grammers can optimize their algorithms by hand. deep embedding, and optimizations are implemented as Coq Of course, both compiler and by-hand optimizations will functions, which are then extracted to OCaml. We define two inevitably have bugs. For evidence of the former, consider semantics for sqir programs. The simplest denotes every that higher optimization levels of IBM’s Qiskit compiler are quantum circuit as a unitary matrix. However this is only known to have mistakes (as is evident from its issue tracker1). applicable to unitary circuits, i.e., circuits without measure- Kissinger and van de Wetering [24] discovered mistakes in ment. For non-unitary circuits, we provide a denotation of the optimized outputs produced by the circuit compiler by density matrices. Properties of sqir programs, or transforma- Nam et al. [30]. And Nam et al. themselves found that the tions of them, can be proved using whichever semantics is optimization library they compared against sometimes pro- most convenient. As examples, we have proved correctness duced incorrect results. Making mistakes when optimizing properties about several source programs written in sqir, by hand is also to be expected: as put well by Zamdzhiev including GHZ state preparation, quantum teleportation, su- [49], quantum computing can be frustratingly unintuitive. perdense coding, and the Deutsch-Jozsa algorithm. Generally Unfortunately, the very factors that motivate optimizing speaking, sqir is designed to make proofs as easy as possi- quantum compilers make it difficult to test their correctness. ble. For example, we initially contemplated sqir programs Comparing runs of a source program to those of its opti- accessing qubits as Coq variables via higher order abstract mized version may be impractical due to the indeterminacy syntax [32], but we found that proofs were far simpler when of typical quantum algorithms and the substantial expense qubits were accessed as concrete indices into a global register. involved in executing or simulating them. Indeed, resources (Section 3.) may be too scarce, or the qubit connectivity too constrained, We have implemented and proved correct several transfor- to run the program without optimization! mations over sqir programs. In particular, we have developed verified versions of many of the optimizations used in astate- 1 https://github.com/Qiskit/qiskit-terra/issues/2752 of-the-art compiler developed by Nam et al. [30]. We have Draft paper, November 22, 2019, also verified a circuit mapping routine that transforms sqir . programs to satisfy constraints on how qubits may interact 1 Draft paper, November 22, 2019, K. Hietala, R. Rand, S. Hung, X. Wu &M.Hicks on a particular target architecture. These transformations it is measured, at which point the outcome will be 0 with 2 2 were reasonably straightforward to prove correct thanks to probability ⋃︀α⋃︀ and 1 with probability ⋃︀β⋃︀ . Measurement is sqir’s design. (Sections 4 and 5.) not passive: it has the effect of collapsing the state to match We find that voqc performs comparably to unverified, the measured outcome, i.e., either ⋃︀0̃︀ or ⋃︀1̃︀. As a result, all state-of-the-art compilers when run on a benchmark of 29 subsequent measurements return the same answer. circuit programs developed by Amy et al. [5]. These pro- Operators on quantum states are linear mappings. These grams range from 45 and 61,629 gates and use between 5 and mappings can be expressed as matrices, and their application 192 qubits. voqc reduced total gate counts on average by to a state expressed as matrix multiplication. For example, 17.7% compared to 10.7% by IBM’s Qiskit compiler [2]. There the Hadamard operator H is expressed as a matrix ⌋︂1 1 1 . 2 (︀ 1 −1 ⌋︀ is still room for improvement: Nam et al. [30] produced re- 1 1 Applying H to state ⋃︀0̃︀ yields ∐︀ ⌋︂ ; ⌋︂ ̃︀, also written as ⋃︀+̃︀. ductions of 26.5% using additional optimizations we expect 2 2 Many quantum operators are not only linear, they are also we could verify. (Section 6.) unitary—the conjugate transpose (or adjoint) of their matrix voqc is the first fully verified circuit optimizer for a realis- is its own inverse. This ensures that multiplying a qubit tic quantum circuit language. Amy et al. [6] developed a ver- by the operator preserves the qubit’s sum of norms squared. ified optimizing compiler from source Boolean expressions Since a Hadamard is its own adjoint, it is also its own inverse: to reversible circuits, but did not handle general quantum hence H 0 . programs. Rand et al. [34] developed a similar compiler for ⋃︀+̃︀ = ⋃︀ ̃︀ A quantum state with N qubits is represented as vector quantum circuits but without optimizations. Other low-level of length 2N . For example a 2-qubit state is represented as a quantum languages [12, 42] have not been developed with vector α; β;γ;δ where each component corresponds to (the verification in mind, and prior circuit-level optimizations ∐︀ ̃︀ square root of) the probability of measuring 00 , 01 , 10 , [5, 20, 30] have not been formally verified. In concurrent ⋃︀ ̃︀ ⋃︀ ̃︀ ⋃︀ ̃︀ and 11 , respectively. Because of the exponential size of the work, Shi et al. [40] developed CertiQ, which uses symbolic ⋃︀ ̃︀ complex quantum state space, it is not possible to simulate a execution and SMT solving to verify some circuit transfor- 100-qubit quantum computer using even the most powerful mations in the Qiskit compiler. CertiQ is limited to verifying classical computer! correct application of local equivalences, rather than more N -qubit operators are represented general circuit transformations, and sometimes verification as 2N 2N matrices. For example, ⎨ ⎬ fails in which case CertiQ must validate the optimized ("trans- × ⎝ 1 0 0 0 ⎠ the CNOT operator over two qubits ⎝ ⎠ lated") circuits on-line. The PyZX compiler [24] likewise uses ⎝ 0 1 0 0 ⎠ is expressed as the matrix shown at ⎝ ⎠ translation validation to check its rewrites of circuits using ⎝ 0 0 0 1 ⎠ the right. It expresses a controlled ⎝ ⎠ the equational theory of the ZX-Calculus [8]. (Section 7.) ⎝ 0 0 1 0 ⎠ not operation—if the first qubit is 0 ⎪ ⎮ Our work on voqc and sqir constitutes a step toward ⋃︀ ̃︀ then both qubits are mapped to them- developing a full-scale verified compiler toolchain. Next selves, but if the first qubit is 1 then the second qubit is steps include developing certified transformations from high- ⋃︀ ̃︀ negated, e.g., CNOT 00 00 while CNOT 10 11 . level quantum languages to sqir and implementing opti- ⋃︀ ̃︀ = ⋃︀ ̃︀ ⋃︀ ̃︀ = ⋃︀ ̃︀ N -qubit operators can be used to create entanglement, mizations with different objectives, e.g., that aim to reduce which is a situation where two qubits cannot be described the probability that a result is corrupted by quantum noise. independently. For example, while the vector 1; 0; 0; 0 can All code we reference in this paper can be found online at ∐︀ ̃︀ be written as 1; 0 1; 0 where is the tensor product, https://github.com/inQWIRE/SQIRE. ∐︀ ̃︀ ⊗ ∐︀ ̃︀ ⊗ the state ⌋︂1 ; 0; 0; ⌋︂1 cannot be similarly decomposed. We ∐︀ 2 2 ̃︀ say that ⌋︂1 ; 0; 0; ⌋︂1 is an entangled state.
Recommended publications
  • Introduction to Quantum Information Theory
    Introduction to Quantum Information Theory Carlos Palazuelos Instituto de Ciencias Matemáticas (ICMAT) [email protected] Madrid, Spain March 2013 Contents Chapter 1. A comment on these notes 3 Chapter 2. Postulates of quantum mechanics 5 1. Postulate I and Postulate II 5 2. Postulate III 7 3. Postulate IV 9 Chapter 3. Some basic results 13 1. No-cloning theorem 13 2. Quantum teleportation 14 3. Superdense coding 15 Chapter 4. The density operators formalism 17 1. Postulates of quantum mechanics: The density operators formalism 17 2. Partial trace 19 3. The Schmidt decomposition and purifications 20 4. Definition of quantum channel and its classical capacity 21 Chapter 5. Quantum nonlocality 25 1. Bell’s result: Correlations in EPR 25 2. Tsirelson’s theorem and Grothendieck’s theorem 27 Chapter 6. Some notions about classical information theory 33 1. Shannon’s noiseless channel coding theorem 33 2. Conditional entropy and Fano’s inequality 35 3. Shannon’s noisy channel coding theorem: Random coding 38 Chapter 7. Quantum Shannon Theory 45 1. Von Neumann entropy 45 2. Schumacher’s compression theorem 48 3. Accessible Information and Holevo bound 55 4. Classical capacity of a quantum channel 58 5. A final comment about the regularization 61 Bibliography 63 1 CHAPTER 1 A comment on these notes These notes were elaborated during the first semester of 2013, while I was preparing a course on quantum information theory as a subject for the PhD programme: Investigación Matemática at Universidad Complutense de Madrid. The aim of this work is to present an accessible introduction to some topics in the field of quantum information theory for those people who do not have any background on the field.
    [Show full text]
  • Efficient and Exact Quantum Compression
    Efficient and Exact Quantum Compression a; ;1 b;2 John H. Reif ∗ , Sukhendu Chakraborty aDepartment of Computer Science, Duke University, Durham, NC 27708-0129 bDepartment of Computer Science, Duke University, Durham, NC 27708-0129 Abstract We present a divide and conquer based algorithm for optimal quantum compression / de- compression, using O(n(log4 n) log log n) elementary quantum operations . Our result pro- vides the first quasi-linear time algorithm for asymptotically optimal (in size and fidelity) quantum compression and decompression. We also outline the quantum gate array model to bring about this compression in a quantum computer. Our method uses various classical algorithmic tools to significantly improve the bound from the previous best known bound of O(n3)(R. Cleve, D. P. DiVincenzo, Schumacher's quantum data compression as a quantum computation, Phys. Rev. A, 54, 1996, 2636-2650) for this operation. Key words: Quantum computing, quantum compression, algorithm 1 Introduction 1.1 Quantum Computation Quantum Computation (QC) is a computing model that applies quantum me- chanics to do computation. (Computations and methods not making use of quantum mechanics will be termed classical). A single molecule (or collection of .particles and/or atoms) may have n degrees of freedom known as qubits. Associated with each fixed setting X of the n qubits to boolean values is a basis state denoted a . Quantum mechanics allows for a linear superposition of these basis states to j i ∗ Corresponding author. Email addresses: [email protected] ( John H. Reif), [email protected] (Sukhendu Chakraborty). 1 The work is supported by NSF EMT Grants CCF-0523555 and CCF-0432038.
    [Show full text]
  • Unitary Decomposition Implemented in the Openql Programming Language for Quantum Computation A.M
    Unitary Decomposition Implemented in the OpenQL programming language for quantum computation A.M. Krol September 13th 36 Electrical Engineering, Mathematics and Computer Sciences LB 01.010 Snijderszaal Unitary Decomposition Implemented in the OpenQL programming language for quantum computation by A.M. Krol to obtain the degree of Master of Science at the Delft University of Technology, to be defended publicly on Friday September 13, 2019 at 15:00. Student number: 4292391 Project duration: November 20, 2018 – September 13, 2019 Thesis committee: Prof. dr. ir. K. Bertels, TU Delft, supervisor Dr. I. Ashraf, TU Delft Dr. M. Möller, TU Delft Dr. Z. Al-Ars TU Delft An electronic version of this thesis is available at http://repository.tudelft.nl/. Preface In this thesis, I explain my implementation of Unitary Decomposition in OpenQL. Unitary Decomposition is an algorithm for translating a unitary matrix into many small unitary matrices, which correspond to a circuit that can be executed on a quantum computer. It is implemented in the quantum programming framework of the QCA-group at TU Delft: OpenQL, a library for Python and C++. Unitary Decomposition is a necessary part in Quantum Associative Memory, an algorithm used in Quantum Genome Sequenc- ing. The implementation is faster than other known implementations, and generates 3 ∗ 2 ∗ (2 − 1) rotation gates for an n-qubit input gate. This is not the least-known nor the theoretical minimum amount, and there are some optimizations that can still be done to make it closer to these numbers. I would like to thank my supervisor, Prof. Koen Bertels, for the great supervision and insightful feedback.
    [Show full text]
  • Quantum Computing
    John H. Reif, Quantum Computing. Published in book “Bio-inspired and Nanoscale Integrated Computing”, Chapter 3, pp. 67-110 (edited by Mary Mehrnoosh Eshaghian-Wilner), Publisher: Wiley, Hoboken, NJ, USA, (February 2009). Chapter 3: Quantum Computing John H. Reif Department of Computer Science Duke University ‡ 3.0 Summary Quantum Computation (QC) is a type of computation where unitary and measurement operations are executed on linear superpositions of basis states. This paper provides a brief introduction to QC. We begin with a discussion of basic models for QC such as quantum TMs, quantum gates and circuits and related complexity results. We then discuss a number of topics in quan- tum information theory, including bounds for quantum communication and I/O complexity, methods for quantum data compression. and quantum er- ‡Surface address: Department of Computer Science, Duke University, Durham, NC 27708-0129. E-mail: [email protected]. This work has been supported by grants from NSF CCF-0432038 and CCF-0523555. A postscript preprint of this Chapter is available online at URL: http://www.cs.duke.edu/∼reif/paper/qsurvey/qsurvey.chapter.pdf. ror correction (that is, techniques for decreasing decoherence errors in QC), Furthermore, we enumerate a number of methodologies and technologies for doing QC. Finally, we discuss resource bounds for QC including bonds for processing time, energy and volume, particularly emphasizing challenges in determining volume bounds for observation apperatus. 3.1 Introduction 3.1.1 Reversible Computations Reversible Computations are computations where each state transformation is a reversible function, so that any computation can be reversed without loss of information.
    [Show full text]
  • Supercomputer Simulations of Transmon Quantum Computers Quantum Simulations of Transmon Supercomputer
    IAS Series IAS Supercomputer simulations of transmon quantum computers quantum simulations of transmon Supercomputer 45 Supercomputer simulations of transmon quantum computers Dennis Willsch IAS Series IAS Series Band / Volume 45 Band / Volume 45 ISBN 978-3-95806-505-5 ISBN 978-3-95806-505-5 Dennis Willsch Schriften des Forschungszentrums Jülich IAS Series Band / Volume 45 Forschungszentrum Jülich GmbH Institute for Advanced Simulation (IAS) Jülich Supercomputing Centre (JSC) Supercomputer simulations of transmon quantum computers Dennis Willsch Schriften des Forschungszentrums Jülich IAS Series Band / Volume 45 ISSN 1868-8489 ISBN 978-3-95806-505-5 Bibliografsche Information der Deutschen Nationalbibliothek. Die Deutsche Nationalbibliothek verzeichnet diese Publikation in der Deutschen Nationalbibliografe; detaillierte Bibliografsche Daten sind im Internet über http://dnb.d-nb.de abrufbar. Herausgeber Forschungszentrum Jülich GmbH und Vertrieb: Zentralbibliothek, Verlag 52425 Jülich Tel.: +49 2461 61-5368 Fax: +49 2461 61-6103 [email protected] www.fz-juelich.de/zb Umschlaggestaltung: Grafsche Medien, Forschungszentrum Jülich GmbH Titelbild: Quantum Flagship/H.Ritsch Druck: Grafsche Medien, Forschungszentrum Jülich GmbH Copyright: Forschungszentrum Jülich 2020 Schriften des Forschungszentrums Jülich IAS Series, Band / Volume 45 D 82 (Diss. RWTH Aachen University, 2020) ISSN 1868-8489 ISBN 978-3-95806-505-5 Vollständig frei verfügbar über das Publikationsportal des Forschungszentrums Jülich (JuSER) unter www.fz-juelich.de/zb/openaccess. This is an Open Access publication distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract We develop a simulator for quantum computers composed of superconducting transmon qubits.
    [Show full text]
  • Quantum Information Processing with Superconducting Circuits: a Review
    Quantum Information Processing with Superconducting Circuits: a Review G. Wendin Department of Microtechnology and Nanoscience - MC2, Chalmers University of Technology, SE-41296 Gothenburg, Sweden Abstract. During the last ten years, superconducting circuits have passed from being interesting physical devices to becoming contenders for near-future useful and scalable quantum information processing (QIP). Advanced quantum simulation experiments have been shown with up to nine qubits, while a demonstration of Quantum Supremacy with fifty qubits is anticipated in just a few years. Quantum Supremacy means that the quantum system can no longer be simulated by the most powerful classical supercomputers. Integrated classical-quantum computing systems are already emerging that can be used for software development and experimentation, even via web interfaces. Therefore, the time is ripe for describing some of the recent development of super- conducting devices, systems and applications. As such, the discussion of superconduct- ing qubits and circuits is limited to devices that are proven useful for current or near future applications. Consequently, the centre of interest is the practical applications of QIP, such as computation and simulation in Physics and Chemistry. Keywords: superconducting circuits, microwave resonators, Josephson junctions, qubits, quantum computing, simulation, quantum control, quantum error correction, superposition, entanglement arXiv:1610.02208v2 [quant-ph] 8 Oct 2017 Contents 1 Introduction 6 2 Easy and hard problems 8 2.1 Computational complexity . .9 2.2 Hard problems . .9 2.3 Quantum speedup . 10 2.4 Quantum Supremacy . 11 3 Superconducting circuits and systems 12 3.1 The DiVincenzo criteria (DV1-DV7) . 12 3.2 Josephson quantum circuits . 12 3.3 Qubits (DV1) .
    [Show full text]
  • Chapter 5 Quantum Information Theory
    Chapter 5 Quantum Information Theory Quantum information theory is a rich subject that could easily have occupied us all term. But because we are short of time (I’m anxious to move on to quantum computation), I won’t be able to cover this subject in as much depth as I would have liked. We will settle for a brisk introduction to some of the main ideas and results. The lectures will perhaps be sketchier than in the first term, with more hand waving and more details to be filled in through homework exercises. Perhaps this chapter should have been called “quantum information theory for the impatient.” Quantum information theory deals with four main topics: (1) Transmission of classical information over quantum channels (which we will discuss). (2) The tradeoff between acquisition of information about a quantum state and disturbance of the state (briefly discussed in Chapter 4 in connec- tion with quantum cryptography, but given short shrift here). (3) Quantifying quantum entanglement (which we will touch on briefly). (4) Transmission of quantum information over quantum channels. (We will discuss the case of a noiseless channel, but we will postpone discus- sion of the noisy channel until later, when we come to quantum error- correcting codes.) These topics are united by a common recurring theme: the interpretation and applications of the Von Neumann entropy. 1 2 CHAPTER 5. QUANTUM INFORMATION THEORY 5.1 Shannon for Dummies Before we can understand Von Neumann entropy and its relevance to quan- tum information, we must discuss Shannon entropy and its relevance to clas- sical information.
    [Show full text]
  • Quantum Information Theory
    Quantum Information Theory Jun-Ting Hsieh Bingbin Liu Stanford University Stanford University [email protected] [email protected] 1 Introduction In our current digital world, everything, from computing devices to communication channels, is represented as 0s and 1s. The “information” that these bits can present has been well studied in the field of classical information theory. For example, we know the capacity and limits of data compression and the rate of reliable communication over noisy channels. Recently, perhaps due to the excitement of quantum computation, these ideas in information theory have been extended to the quantum world, leading to the field of quantum information theory. In this paper, we would like to introduce the quantum counterparts of some of the key ideas we studied in the course, including the quantum entropy measure, quantum source encoding, and touch briefly on quantum channels. 1.1 How is quantum different than classical? Compared to the classical world, quantum mechanics has several “weird” properties that make things much more convoluted. Thus, we first introduce some major differences between quantum and classical information, which are the reasons that quantum information is so interesting yet harder to analyze. Refer to Section 2 for a more detailed introduction of quantum mechanics. Qubit. The quantum version of the classical bit is the qubit. A classical bit is either 0 or 1, while a qubit can be superposition of 0 and 1. This means that it is both 0 and 1, and if we perform a measurement we will get 0 and 1 with certain probabilities. Imagine that every bit in our computer is both 0 and 1 at the same time, and if we even try to read from it, we not only get a probabilistic answer but also collapse that qubit state! Entanglement.
    [Show full text]
  • The Transmon Qubit
    The Transmon Qubit Sam Bader December 14, 2013 Contents 1 Introduction 2 2 Qubit Architecture 4 2.1 Cooper Pair Box . .4 2.1.1 Classical Hamiltonian . .4 2.1.2 Quantized Hamiltonian . .5 2.2 Capacitively-shunted CPB . .7 2.2.1 The ratio EJ =Ec .....................................7 3 Circuit QED 9 3.1 Vocabulary of Cavity QED . .9 3.1.1 Jaynes-Cummings Hamiltonian . 10 3.1.2 Effects of the coupling: resonant and dispersive limits . 10 3.1.3 Purcell Effect . 11 3.2 Translating into Circuit QED . 12 3.2.1 Why Circuit QED is easier than Cavity QED . 12 3.2.2 Circuit QED Hamiltonian . 13 4 Control and Readout Protocol 15 4.1 Measurement . 15 4.2 Single qubit gates . 16 4.2.1 Modeling drives . 16 4.2.2 Applying gates . 16 4.3 Multi-qubit gates and entanglement . 17 5 Conclusion 19 A Derivation of Classical Hamiltonians for Qubit Systems 20 A.1 Cooper Pair Box . 20 A.2 Transmon with transmission line . 21 B Quantum Circuits 23 B.1 Charge basis . 23 B.2 Phase basis . 24 C Perturbation Theory for the Transmon 25 C.1 Periodic Potentials . 25 C.2 Transforming away the offset charge . 26 C.3 Duffing Oscillator . 26 C.3.1 Relative Anharmonicity . 26 C.3.2 Number operator matrix elements . 27 1 Chapter 1 Introduction Quantum information processing is one of the most thrilling prospects to emerge from the interaction of physics and computer science. In recent decades, scientists have transitioned from merely observing microscopic systems to actually controlling those same systems on the scale of individual quanta, and the future of information processing based on these techniques will revolutionize the computing industry.
    [Show full text]
  • Entanglement Manipulation
    Entanglement Manipulation Steven T. Flammia1 1Perimeter Institute for Theoretical Physics, Waterloo, Ontario, N2L 2Y5 Canada (Dated: 22 March 2010) These are notes for my RIT tutorial lecture at the University of Maryland math department. I. INTRODUCTION Entanglement serves as a resource which we can use to perform novel information processing tasks, in particular communication tasks. For example, superdense coding and teleportation are two such tasks which are impossible classically; they make essential use of entanglement. In this lecture I’m going to cover dense coding and teleportation and then show how we can manipulate entanglement into a standard “currency” which will allow us to quantify how useful different states are for these tasks. Based on an operational definition, we will define a way to measure the amount of entanglement in a quantum state. We will consider the following scenario. We have two parties, Alice and Bob (labeled A and B), and they wish to communicate through a quantum or classical channel. In the literature, channel does have a technical meaning: it is a completely positive linear map, i.e. a linear map that takes density operators to density operators (and it is not necessarily surjective). We call these CP maps for short. We can consider that the channel is noisy, or we can consider a perfect channel (the identity map), but we have noisy quantum states. We will always assume that any classical channel is perfect. A and B would like to communicate classical and quantum information in the most efficient way possible using the classical and quantum channels (respectively) that they share.
    [Show full text]
  • Perturbative Analysis of Two-Qubit Gates on Transmon Qubits
    Perturbative analysis of two-qubit gates on transmon qubits von Susanne Richer Masterarbeit in Physik vorgelegt der Fakult¨atf¨urMathematik, Informatik und Naturwissenschaften der RWTH Aachen im September 2013 angefertigt im Institut f¨urQuanteninformation bei Prof. Dr. Barbara M. Terhal, Prof. Dr. David P. DiVincenzo Abstract This thesis treats different schemes for two-qubit gates on transmon qubits and their per- turbative analysis. The transmon qubit is a superconducting qubit that stands out due to its very low sensitivity to charge noise, leading to high coherence times. However, it is also characterized by its low anharmonicity, making it impossible to neglect the higher transmon levels. Coupled systems of superconducting qubits and resonators can be treated in cavity QED. In the dispersive regime, where qubit and resonator are far detuned from each other, per- turbative methods can be used for the derivation of effective Hamiltonians. Several such methods are presented here, among which the Schrieffer-Wolff transformation results to be the most adequate. As the anharmonicity of the transmon qubit is low, higher transmon levels play a signifi- cant role in two-qubit gate schemes. These gates can be driven using microwave pulses, where certain resonance conditions between the transmon levels are used to tune up the desired two-transmon interaction effects. The Schrieffer-Wolff transformation will be used to see how these effects arise. Contents 1. Introduction 1 2. Transmon qubits in cavity QED 3 2.1. Cavity QED and Jaynes-Cummings model . .3 2.1.1. Dispersive regime . .4 2.2. Circuit QED . .5 2.2.1. The Transmon qubit .
    [Show full text]
  • Afonso Rodrigues Validation of Quantum Simulations
    Universidade do Minho Escola de Engenharia Departamento de Informática Afonso Rodrigues Validation of quantum simulations Assessing efficiency and reliability in experimental implementations November 2018 Universidade do Minho Escola de Engenharia Departamento de Informática Afonso Rodrigues Validation of quantum simulations Assessing efficiency and reliability in experimental implementations Master dissertation Master Degree in Engineering Physics Dissertation supervised by Luís Barbosa Carlos Tavares November 2018 ACKNOWLEDGEMENTS This work was only possible thanks to the contribution of several people to which I want to express my gratitude. To my supervisor prof. Luís Barbosa, for giving me the opportunity to undertake this project, and for his constant support, availability and patience; also to my co-supervisor Carlos Tavares, for his early insight. In no particular order of importance, to Miguel Nogueira, Ricardo Alves, Rui Costa, João Fonseca, Miguel Sanches, Joaquim Santos, and José Bruno, my friends and colleagues who accompanied me in this course and provided invaluable help. To my parents and sister, and Maria Coelho, André Souto and Gil Pimentel for their unconditional encouragement on the difficult days. Finally, I wish to thank University of Minho for these five years of learning, INESC TEC and specifically the HASLab team for supporting me in my first steps as a researcher. I acknowledge use of the IBM Q for this work. i ABSTRACT Quantum simulation is one of the most relevant applications of quantum computation for the near future, due to its scientific impact and also because quantum simulation algorithms are typically less demanding than generalized quantum computations. Ultimately, the success of a quantum simulation depends on the amount and reliability of information one is able to extract from the results.
    [Show full text]