The IBM Quantum Computing Platform

Total Page:16

File Type:pdf, Size:1020Kb

The IBM Quantum Computing Platform The IBM Quantum Computing Platform Martin Koppenh¨ofer https://www.quantumtheory-bruder.physik.unibas.ch/ Online resources https://www.quantumtheory-bruder.physik.unibas.ch/ people/martin-koppenhoefer/ quantum-computing-and-robotic-science-workshop.html installation guide material for this session slides 2 Outline 1 Recap Overview of quantum-computing platforms Bell states 2 Programming the quantum computer with python The qiskit framework Programming session 1 3 Superdense coding Programming session 2 4 Quantum algorithms Deutsch algorithm Programming session 3 3 Recap spins in large molecules + NMR ions in electromagnetic traps neutral atoms in optical lattices optical quantum computing 31P donor atoms in silicon electron spins in semiconductor quantum dots superconducting electrical circuits flux qubit * charge qubit phase qubit * transmon qubit topological qubits * online access 4 Recap Bell states 1 2 3 x H 1 jβ00i = p (j00i + j11i) |βxy > 2 CNOT 1 y jβ01i = p (j01i + j10i) 2 1 jβ10i = p (j00i − j11i) 1 input state: jxyi = j00i 2 2 apply Hadamard gate 1 jβ i = p (j01i − j10i) 1 1 11 H^ = p1 : 2 2 1 −1 p1 (j00i + j10i) General expression: 2 jβ i = p1 (j0yi + (−1)x j1¯yi) 3 apply CNOT gate: xy 2 p1 (j00i + j11i) = jβ i 2 00 5 Recap Bell states 6 Recap Bell states on a real quantum processor 7 Programming the quantum computer with python The qiskit framework 8 Programming the quantum computer with python The qiskit framework Terra Ignis define quantum algorithms characterize quantum by quantum circuits / pulses hardware adapt quantum circuits to reconstruct quantum states the hardware (transpilation) (tomography) connect to the quantum compensate noise and errors hardware (mitigation) visualize results Aqua Aer predefined algorithms for simulate quantum typical applications algorithms 9 Programming the quantum computer with python Programming session 1 Content defining quantum circuits in python (Terra) state-vector simulator (Aer) QASM simulator (Aer) device imperfections 10 Programming the quantum computer with python Programming session 1 Agenda you will be split into small teams (in breakout rooms) in each breakout room, introduce you quickly to your teammates one participant turns on screen sharing discuss and code together the exercise after a while, the host will close the breakout rooms and let you return to the main session 11 Superdense coding Idea two parties: Alice (A) and Bob (B) Alice wants to transmit 2 classical bits of information to Bob classically, she needs to send two bits to Bob quantum-mechanically, she can send one qubit to Bob! 12 Superdense coding Idea Bell states 1 1 jβ00i = p (j00i + j11i) jβ01i = p (j01i + j10i) 2 2 1 1 jβ10i = p (j00i − j11i) jβ11i = p (j01i − j10i) 2 2 Consider that Alice and Bob share a Bell state jβ00i Alice can convert this Bell state into any other Bell state herself (with no help from Bob) σ^x ⊗ 1 jβ00i = jβ01i σ^z ⊗ 1 jβ00i = jβ10i iσ^y ⊗ 1 jβ00i = jβ11i iσ^y =σ ^z σ^x 13 Superdense coding Protocol A single qubit can transmit two classical bits of information ALICE t : jai jbi j0i j0i a a 0 j0i+j1i b b t : jai jbi p j0i 1 2 σz j00i+j11i t : jai jbi p 2 2 0 HH a i.e. jai jbi jβ00i 0 b t3: jai jbi jβ0bi BOB t4: jai jbi jβabi t t t t t t t 0 1 2 3 4 5 6 t6: jai jbi jai jbi The information about a and b is encoded in the entangled state of the two-qubit system shared by Alice and Bob 14 Superdense coding Programming session 2 Content transpiling quantum circuits (Terra) error mitigation (Ignis) 15 Quantum algorithms Deutsch algorithm Is f (x): f0; 1g ! f0; 1g balanced or constant? balanced if f (0) = f (1) , f (0) ⊕ f (1) = 1 constant if f (0) = f (1) , f (0) ⊕ f (1) = 0 U^f : jx; yi ! jx; y ⊕ f (x)i quantum circuit implementing y + f (x) mod 2 in the second qubit example: input jxi = p1 (j0i + j1i), jyi = j0i leads to 2 1 p (j0; f (0)i + j1; f (1)i) 2 ) one \application" of f results in both f (0) and f (1)! but: measurement gives either j0; f (0)i or j1; f (1)i so, quantum parallelism does not help ...? 16 Quantum algorithms Deutsch algorithm ...it does if we transform the information in a clever way: |0> H x x H Uf |1> H y y+f(x) generate use quantum use superposition parallelism interference final state is / jf (0) ⊕ f (1)i ⊗ (j0i − j1i) ) measuring the first qubit gives a global property of f , namely f (0) ⊕ f (1), using only one evaluation of f (x) this is impossible on a classical computer! 18 Quantum algorithms Programming session 3 Content predefined quantum algorithms (Aqua) 19 Educational material https://qiskit.org/learn Qiskit textbook Youtube series Coding with Qiskit Online course Introduction to QC 20 Thank you for your attention..
Recommended publications
  • Superdense Teleportation and Quantum Key Distribution for Space Applications
    2015 IEEE International Conference on Space Optical Systems and Applications (ICSOS) Superdense Teleportation and Quantum Key Distribution for Space Applications Trent Graham, Christopher Zeitler, Joseph Chapman, Hamid Javadi Paul Kwiat Submillimeter Wave Advanced Technology Group Department of Physics Jet Propulsion Laboratory, University of Illinois at Urbana-Champaign California Institute of Technology Urbana, USA Pasadena, USA tgraham2@illinois. edu Herbert Bernstein Institute for Science & Interdisciplinary Studies & School of Natural Sciences Hampshire College Amherst, USA Abstract—The transfer of quantum information over long for long periods of time (as would be needed for large scale distances has long been a goal of quantum information science quantum repeaters) and cannot be amplified without and is required for many important quantum communication introducing error [ 6 ] and thus can be very difficult to and computing protocols. When these channels are lossy and distribute over large distances using conventional noisy, it is often impossible to directly transmit quantum states communication techniques. Despite current limitations, some between two distant parties. We use a new technique called quantum communication protocols have already been superdense teleportation to communicate quantum demonstrated over long-distances in terrestrial experiments. information deterministically with greatly reduced resources, Notably, quantum teleportation (a remote quantum state simplified measurements, and decreased classical transfer protocol),
    [Show full text]
  • Superdense Coding Ch.4.4 No Cloning Ch.4.2
    C/CS/PhysC191 SuperdenseCoding,NoCloning 9/15/07 Fall 2009 Lecture 6 1 Readings Benenti, Casati, and Strini: Superdense Coding Ch.4.4 No Cloning Ch.4.2 2 Superdense Coding Super dense coding is the less popular sibling of teleportation. It can actually be viewed as the process in reverse. The idea is to transmit two classical bits of information by only sending one quantum bit. The process starts out with an EPR pair that is shared between the sender (Alice) and receiver (Bob). ψ = 1 00 + 11 √2 The first qubit is Alice’s, the second is Bob’s. Alice wants to send a two bit message to Bob, e.g., 00, 01, 10, or 11. She first performs a single qubit operation on her qubit which transforms the EPR pair according to which message she wants to send: • for a message 00: Alice applies I (i.e., does nothing) • for a message 01: Alice applies X • for a message 10: Alice applies Z • for a message 11: Alice applies iY (i.e. both X and Z) + + + This transforms the EPR pair φ into the four Bell (EPR) states φ , φ − , ψ , and ψ− , respec- tively: 1 1 0 0 • 00: 1 00 + 11 1 00 + 11 = 1 0 1 √2 −→ √2 √2 0 1 0 0 1 1 • 01: 1 00 + 11 1 10 + 01 = 1 1 0 √2 −→ √2 √2 1 0 1 1 0 0 • 10: 1 00 + 11 1 00 11 = 1 0 1 √2 −→ √2 − √2 0 − 1 − C/CS/Phys C191, Fall 2009, Lecture 6 1 0 0 i 1 • 11: i − 1 00 + 11 1 01 10 = 1 i 0 √2 −→ √2 − √2 1 − 0 The key to super-dense coding is that these four Bell states are orthonormal and are hence distinguishable by a quantum measurement, in this case a two-qubit measurement made by Bob.
    [Show full text]
  • Classical Information Capacity of Superdense Coding
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by CERN Document Server Classical information capacity of superdense coding Garry Bowen∗ Department of Physics, Australian National University, Canberra, A.C.T. 0200, Australia. (February 1, 2001) Classical communication through quantum channels may be enhanced by sharing entanglement. Superdense coding allows the encoding, and transmission, of up to two classical bits of information in a single qubit. In this paper, the maximum classical channel capacity for states that are not maximally entangled is derived. Particular schemes are then shown to attain this capacity, firstly for pairs of qubits, and secondly for pairs of qutrits. 03.67.Hk Quantum information exhibits many features which do ters, then the maximal amount of classical information not have analogues in classical information theory [1]. that may be transferred is given by the Kholevo bound For this reason, when a quantum channel is used for com- [10], munication, there exist a number of different capacities for the different types of information transmitted through C = max S p (U k I )ρ (U k I )y k k A B AB A B the channel [2{5]. fU ;pkg ⊗ ⊗ A " k ! Superdense coding (referred to in this paper simply as X dense coding), first proposed by Bennett and Wiesner [6], k k y pkS (U IB )ρAB(U IB ) : (1) is where the transmission of classical information through − A ⊗ A ⊗ k # a quantum channel is enhanced by shared entanglement X between sender and receiver. The classical information This bound has been shown to be asymptotically attain- capacity for a channel where sender and receiver share able by using product state block coding [8,11].
    [Show full text]
  • General Overview of the Field
    Introduction to quantum computing and simulability General overview of the field Daniel J. Brod Leandro Aolita Ernesto Galvão Outline: General overview of the field • What is quantum computing? • A bit of history; • The rules: the postulates of quantum mechanics; • Information-theoretic-flavoured consequences; • Entanglement; • No-cloning; • Teleportation; • Superdense coding; What is quantum computing? • Computing paradigm where information is processed with the rules of quantum mechanics. • Extremely interdisciplinary research area! • Physics, Computer science, Mathematics; • Engineering (the thing looks nice on paper, but building it is hard!); • Chemistry, biology and others (applications); • Promised speedup on certain computational problems; • New insights into foundations of quantum mechanics and computer science. Let’s begin with some history! Timeline of (classical) computing Charles Babbage Ada Lovelace (1791-1871) (1815-1852) Analytical Engine (1837) First computer program (1843) First proposed general purpose Written by Ada Lovelace for the mechanical computer. Not Analytical engine. Computes completed by lack of money ☹️ Bernoulli numbers. Timeline of (classical) computing Alonzo Church Alan Turing (1903-1995) (1912-1954) 1 0 1 0 0 1 1 0 1 Turing Machine (1936) World War II Abstract model for a universal Colossus, Bombe, Z3/Z4 and others; computing device. - Decryption of secret messages; - Ballistics; Timeline of (classical) computing Intel® 4004 (1971) 2.300 transistors. Intel® Core™ (2010) 560.000.000 transistors. Transistor
    [Show full text]
  • Entanglement and Superdense Coding with Linear Optics
    International Journal of Quantum Information Vol. 9, Nos. 7 & 8 (2011) 1737À1744 #.c World Scientific Publishing Company DOI: 10.1142/S0219749911008222 ENTANGLEMENT AND SUPERDENSE CODING WITH LINEAR OPTICS MLADEN PAVIČIĆ Chair of Physics, Faculty of Civil Engineering, University of Zagreb, Croatia [email protected] Received 16 May 2011 We discuss a scheme for a full superdense coding of entangled photon states employing only linear optics elements. By using the mixed basis consisting of four states that are unambigu- ously distinguishable by a standard and polarizing beam splitters we can deterministically transfer four messages by manipulating just one of the two entangled photons. The sender achieves the determinism of the transfer either by giving up the control over 50% of sent messages (although known to her) or by discarding 33% of incoming photons. Keywords: Superdense coding; quantum communication; Bell states; mixed basis. 1. Introduction Superdense coding (SC)1 — sending up to two bits of information, i.e. four messages, by manipulating just one of two entangled qubits (two-state quantum systems) — is considered to be a protocol that launched the field of quantum communication.2 Apart from showing how different quantum coding of information is from the classical one — which can encode only two messages in a two-state system — the protocol has also shown how important entanglement of qubits is for their manipulation. Such an entanglement has proven to be a genuine quantum effect that cannot be achieved with the help of two classical bit carriers because we cannot entangle classical systems. To use this advantage of quantum information transfer, it is very important to keep the trade-off of the increased transfer capacity balanced with the technology of implementing the protocol.
    [Show full text]
  • I I Mladen Paviˇci´C: Companion to Quantum Computation and Communication — 2013/3/5 — Page 331 — Le-Tex I I
    i i Mladen Paviˇci´c: Companion to Quantum Computation and Communication — 2013/3/5 — page 331 — le-tex i i 331 Index a – nuclear 258 A-gate 218 – quantum number 258 abacus 10 – total 258 adiabatic passage 255 annihilation Adleman, Leonard 22 – operator 195 AlGaAs 223 anti-diagonally polarized photon 53 algorithm anti-Hermitian – Bernstein–Vazirani 286 –operator 43 – Deutsch–Jozsa 284 anti-Stokes – exponential speedup 286 – photon 265 – Deutsch’s 282 Antikythera mechanism 10 –eigenvalue argument – exponential speedup 293 –bit 27 – exponential time 293 astrolabe 10 – Euclid’s 288 atom –feasible 20 – interference 269 – field sieve 22, 287 atom–cavity – general number field sieve 155 – coupling 252, 256, 273 – GNFS 155, 287 – constant 256 – Grover’s 19, 293 atomic –intractable 20 – dipole matrix element 198 – Shor’s 19, 157, 214, 287, 288 – ensemble 262 – all optical 192 auxiliary qubit 181 – exponential speedup 288 axis – exponential time 288 –fast 53 – NMR 214, 287, 290 –slow 53 – Simon’s 287 – exponential speedup 287 b – subexponential 22 B92 165 Alice 81 B92 protocol 170, 171 – classical 141, 152 balanced function 282 – quantum 160 bandwidth 16 alkali-metal atoms 257 Bardeen all-optical 176 – John 236 analog computer 12 basis ancilla 103, 138, 146, 181 – computational 34 angular BB84 protocol 167, 170 – momentum BBN Technologies 157 – electron 215 BBO crystal 55 Companion to Quantum Computation and Communication, First Edition. M. Paviˇci´c. © 2013 WILEY-VCH Verlag GmbH & Co. KGaA. Published 2013 by WILEY-VCH Verlag GmbH & Co. KGaA. i
    [Show full text]
  • Quantum Protocols Involving Multiparticle Entanglement and Their Representations in the Zx-Calculus
    Quantum Protocols involving Multiparticle Entanglement and their Representations in the zx-calculus. Anne Hillebrand University College University of Oxford A thesis submitted for the degree of MSc Mathematics and the Foundations of Computer Science 1 September 2011 Acknowledgements First I want to express my gratitude to my parents for making it possible for me to study at Oxford and for always supporting me and believing in me. Furthermore, I would like to thank Alex Merry for helping me out whenever I had trouble with quantomatic. Moreover, I want to say thank you to my friends, who picked me up whenever I was down and took my mind off things when I needed it. Lastly I want to thank my supervisor Bob Coecke for introducing me to the subject of quantum picturalism and for always making time for me when I asked for it. Abstract Quantum entanglement, described by Einstein as \spooky action at a distance", is a key resource in many quantum protocols, like quantum teleportation and quantum cryptography. Yet entanglement makes protocols presented in Dirac notation difficult to follow and check. This is why Coecke nad Duncan have in- troduced a diagrammatic language for multi-qubit systems, called the red/green calculus or the zx-calculus [23]. This diagrammatic notation is both intuitive and formally rigorous. It is a simple, graphical, high level language that empha- sises the composition of systems and naturally captures the essentials of quantum mechanics. One crucial feature that will be exploited here is the encoding of complementary observables and corresponding phase shifts. Reasoning is done by rewriting diagrams, i.e.
    [Show full text]
  • Deterministic Entanglement Distillation for Secure Double-Server Blind Quantum Computation
    OPEN Deterministic entanglement distillation for SUBJECT AREAS: secure double-server blind quantum QUANTUM INFORMATION computation QUANTUM OPTICS Yu-Bo Sheng1,2 & Lan Zhou2,3 Received 1Institute of Signal Processing Transmission, Nanjing University of Posts and Telecommunications, Nanjing 210003, China, 2Key 2 May 2014 Lab of Broadband Wireless Communication and Sensor Network Technology, Nanjing University of Posts and Telecommunications, 3 Accepted Ministry of Education, Nanjing 210003, China, College of Mathematics & Physics, Nanjing University of Posts and 2 December 2014 Telecommunications, Nanjing 210003, China. Published 15 January 2015 Blind quantum computation (BQC) provides an efficient method for the client who does not have enough sophisticated technology and knowledge to perform universal quantum computation. The single-server BQC protocol requires the client to have some minimum quantum ability, while the double-server BQC protocol makes the client’s device completely classical, resorting to the pure and clean Bell state shared by Correspondence and two servers. Here, we provide a deterministic entanglement distillation protocol in a practical noisy requests for materials environment for the double-server BQC protocol. This protocol can get the pure maximally entangled Bell should be addressed to state. The success probability can reach 100% in principle. The distilled maximally entangled states can be remaind to perform the BQC protocol subsequently. The parties who perform the distillation protocol do Y.-B.S. (shengyb@ not need to exchange the classical information and they learn nothing from the client. It makes this protocol njupt.edu.cn) unconditionally secure and suitable for the future BQC protocol. lind quantum computation (BQC) is a new type of quantum computation model which can release the client who does not have enough knowledge and sophisticated technology to perform the universal B quantum computation1–15.
    [Show full text]
  • Deterministic Secure Quantum Communication on the BB84 System
    entropy Article Deterministic Secure Quantum Communication on the BB84 System Youn-Chang Jeong 1, Se-Wan Ji 1, Changho Hong 1, Hee Su Park 2 and Jingak Jang 1,* 1 The Affiliated Institute of Electronics and Telecommunications Research Institute, P.O.Box 1, Yuseong Daejeon 34188, Korea; [email protected] (Y.-C.J.); [email protected] (S.-W.J.); [email protected] (C.H.) 2 Korea Research Institute of Standards and Science, Daejeon 43113, Korea; [email protected] * Correspondence: [email protected]; Tel.: +82-42-870-2134 Received: 23 September 2020; Accepted: 6 November 2020; Published: 7 November 2020 Abstract: In this paper, we propose a deterministic secure quantum communication (DSQC) protocol based on the BB84 system. We developed this protocol to include quantum entity authentication in the DSQC procedure. By first performing quantum entity authentication, it was possible to prevent third-party intervention. We demonstrate the security of the proposed protocol against the intercept-and-re-send attack and the entanglement-and-measure attack. Implementation of this protocol was demonstrated for quantum channels of various lengths. Especially, we propose the use of the multiple generation and shuffling method to prevent a loss of message in the experiment. Keywords: optical communication; quantum cryptography; quantum mechanics 1. Introduction By using the fundamental postulates of quantum mechanics, quantum cryptography ensures secure communication among legitimate users. Many quantum cryptography schemes have been developed since the introduction of the BB84 protocol in 1984 [1] by C. H. Bennett and G. Brassard. In the BB84 protocol, the sender uses a rectilinear or diagonal basis to encode information in single photons.
    [Show full text]
  • Lecture 7 1 Readings 2 Superdense Coding
    C/CS/Phys C191 Superdense Coding, Quantum Cryptography 9/20/05 Fall 2005 Lecture 7 1 Readings Benenti, Casati, and Strini: Superdense Coding Ch.4.4 Quantum Cryptography Ch. 4.1, 4.3 2 Superdense Coding Super dense coding is the less popular sibling of teleportation. It can actually be viewed as the process in reverse. The idea is to transmit two classical bits of information by only sending one quantum bit. The process starts out with an EPR pair that is shared between the sender (Alice) and receiver (Bob). ψ = 1 00 + 11 √2 The first qubit is Alice’s, the second is Bob’s. Alice wants to send a two bit message to Bob, e.g., 00, 01, 10, or 11. She first performs a single qubit operation on her qubit which transforms the EPR pair according to which message she wants to send: • for a message 00: Alice applies I (i.e., does nothing) • for a message 01: Alice applies X • for a message 10: Alice applies Z • for a message 11: Alice applies iY (i.e. both X and Z) + + + This transforms the EPR pair φ into the four Bell (EPR) states φ , φ − , ψ , and ψ− , respec- tively: 1 1 0 0 • 00: 1 00 + 11 1 00 + 11 = 1 0 1 √2 −→ √2 √2 0 1 0 0 1 1 • 01: 1 00 + 11 1 10 + 01 = 1 1 0 √2 −→ √2 √2 1 0 1 1 0 0 • 10: 1 00 + 11 1 00 11 = 1 0 1 √2 −→ √2 − √2 0 − 1 − C/CS/Phys C191, Fall 2005, Lecture 7 1 0 0 i 1 • 11: i − 1 00 + 11 1 01 10 = 1 i 0 √2 −→ √2 − √2 1 − 0 The key to super-dense coding is that these four Bell states are orthonormal and are hence distinguishable by a quantum measurement, in this case a two-qubit measurement made by Bob.
    [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]
  • Dual Quantum Zeno Superdense Coding Fakhar Zaman , Youngmin Jeong & Hyundong Shin
    www.nature.com/scientificreports OPEN Dual Quantum Zeno Superdense Coding Fakhar Zaman , Youngmin Jeong & Hyundong Shin Quantum superdense coding enables a sender to encode a two-bit classical message in one qubit using Received: 19 September 2018 the preshared entanglement. In this paper, we develop a superdense coding protocol using a dual Accepted: 16 July 2019 quantum Zeno (DQZ) gate to take the full advantage of quantum superdense coding from the complete Published: xx xx xxxx Bell-state analysis. We verify that the DQZ gate allows remote parties to achieve the distinguishability of orthonormal Bell states in a semi-counterfactual manner and the DQZ superdense coding achieves high throughput efciency as a function of cycle numbers for the Bell-state analyzer. Quantum superdense coding is a communication protocol where two-bit classical information can be transferred between two spatially separated parties using initially shared entanglement1. In general, one can encode 2n bits of classical information in n qubits from shared 2n-qubit maximally entangled states. Tus, the pre-shared max- imally entangled state can double the classical capacity of the channel. However, the efciency of the quantum superdense coding depends on the distinguishability of the 22n maximally entangled states. For a bipartite system, an important challenge in realizing quantum superdense coding is the distinguishability of the Bell states1,2. However, one cannot discriminate between the four Bell states using only linear elements3–5. Te use of hyperentanglement6,7, the entanglement in multiple degrees of freedom, or an ancillary photon8,9 with linear optics made it possible to discriminate between the four orthonormal Bell states with certainty.
    [Show full text]