Quantum computation: a tutorial

Similar documents
2.2 Classical circuit model of computation

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation

Introduction to Quantum Computation

Unit 8A Computer Organization. Boolean Logic and Gates

ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL

Bits. Chapter 1. Information can be learned through observation, experiment, or measurement.

VHDL DESIGN AND IMPLEMENTATION OF C.P.U BY REVERSIBLE LOGIC GATES

The physics of information: from Maxwell s demon to Landauer. Eric Lutz University of Erlangen-Nürnberg

Computer Organization: Boolean Logic

Thermodynamics of computation

Investigating the Complexity of Various Quantum Incrementer Circuits. Presented by: Carlos Manuel Torres Jr. Mentor: Dr.

Gates for Adiabatic Quantum Computing

Transmitting and Hiding Quantum Information

Quantum Computing 101. ( Everything you wanted to know about quantum computers but were afraid to ask. )

The Karnaugh Map COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Building a Computer Adder

CS61c: Representations of Combinational Logic Circuits

quantum mechanics is a hugely successful theory... QSIT08.V01 Page 1

1.0 Introduction to Quantum Systems for Information Technology 1.1 Motivation

Parallelization of the QC-lib Quantum Computer Simulator Library

CSE 20 DISCRETE MATH. Fall

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Chapter 1. Introduction

Quantum Computing. Richard Jozsa Centre for Quantum Information and Foundations DAMTP University of Cambridge

Quantum Computation 650 Spring 2009 Lectures The World of Quantum Information. Quantum Information: fundamental principles

- Why aren t there more quantum algorithms? - Quantum Programming Languages. By : Amanda Cieslak and Ahmana Tarin

Seminar 1. Introduction to Quantum Computing

CHAPTER SEVEN THE GALLEY METHOD. Galley method 2. Exercises 8

Logic Theory in Designing of Digital Circuit & Microprocessor

Introduction to Quantum Computing

Introduction to Quantum Computing

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

Optimization of reversible sequential circuits

Information and Physics Landauer Principle and Beyond

Quantum Computers. Peter Shor MIT

Looking at a two binary digit sum shows what we need to extend addition to multiple binary digits.

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

Boolean Algebra and Digital Logic

Chapter 1: Logic systems

IBM Q: building the first universal quantum computers for business and science. Federico Mattei Banking and Insurance Technical Leader, IBM Italy

Chapter 2. Digital Logic Basics

Compute the Fourier transform on the first register to get x {0,1} n x 0.

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

The Philosophy of Quantum Mechanics (Handout Eight) between the microphysical and the macrophysical. The macrophysical world could be understood

Boolean Logic Prof. James L. Frankel Harvard University. Version of 3:20 PM 29-Aug-2017 Copyright 2017, 2016 James L. Frankel. All rights reserved.

Introduction to Quantum Computing

Computational Complexity

Physics, Time and Determinism

Decoherence and the Classical Limit

Contents. Chapter 3 Combinational Circuits Page 1 of 36

What is a quantum computer? Quantum Architecture. Quantum Mechanics. Quantum Superposition. Quantum Entanglement. What is a Quantum Computer (contd.

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

Secrets of Quantum Information Science

Design of High-speed low power Reversible Logic BCD Adder Using HNG gate

Discrete Quantum Theories

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

Shor Factorization Algorithm

THE LOGIC OF COMPOUND STATEMENTS

Quantum computing for beginners

Quantum Computers. Todd A. Brun Communication Sciences Institute USC

Control gates as building blocks for reversible computers

School of Computer Science and Electrical Engineering 28/05/01. Digital Circuits. Lecture 14. ENG1030 Electrical Physics and Electronics

A Thermodynamic Turing Machine: Artificial Molecular Computing Using Classical Reversible Logic Switching Networks [1]

The goal differs from prime factorization. Prime factorization would initialize all divisors to be prime numbers instead of integers*

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Quantum Computing and the Possible Effects on Modern Security Practices

Quantum Computing Submitted in partial fulfillment of the requirement for the award of degree of Bachelor of Technology in Computer Science

Lecture Notes for Ph219/CS219: Quantum Information Chapter 5. John Preskill California Institute of Technology

Part 1: Logic and Probability

QUANTUM COMPUTER SIMULATION

Chapter 2. Basic Principles of Quantum mechanics

Combinational Logic. By : Ali Mustafa

Chapter 7 Logic Circuits

Boolean State Transformation

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Outline. policies for the first part. with some potential answers... MCS 260 Lecture 10.0 Introduction to Computer Science Jan Verschelde, 9 July 2014

6.896 Quantum Complexity Theory September 18, Lecture 5

CPSC 467b: Cryptography and Computer Security

Quantum Computing. Thorsten Altenkirch

Maxwell s Demon. Kirk T. McDonald Joseph Henry Laboratories, Princeton University, Princeton, NJ (October 3, 2004)

Boolean Algebra & Digital Logic

arxiv:quant-ph/ v1 24 Jun 1998

Tutorial on Quantum Computing. Vwani P. Roychowdhury. Lecture 1: Introduction

Quantum Phase Estimation using Multivalued Logic

phys4.20 Page 1 - the ac Josephson effect relates the voltage V across a Junction to the temporal change of the phase difference

Security Implications of Quantum Technologies

Digital Logic (2) Boolean Algebra

9 Knapsack Cryptography

Adiabatic quantum computation a tutorial for computer scientists

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Systems I: Computer Organization and Architecture

Realization of programmable logic array using compact reversible logic gates 1

Boolean circuits. Lecture Definitions

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Radiological Control Technician Training Fundamental Academic Training Study Guide Phase I

Reversible Circuit Using Reversible Gate

Transcription:

Quantum computation: a tutorial Samuel L. Braunstein Abstract: Imagine a computer whose memory is exponentially larger than its apparent physical size; a computer that can manipulate an exponential set of inputs simultaneously; a computer that computes in the twilight zone of Hilbert space. You would be thinking of a quantum computer. Relatively few and simple concepts from quantum mechanics are needed to make quantum computers a possibility. The subtlety has been in learning to manipulate these concepts. Is such a computer an inevitability or will it be too difficult to build? In this paper we give a tutorial on how quantum mechanics can be used to improve computation. Our challenge: solving an exponentially difficult problem for a conventional computer---that of factoring a large number. As a prelude, we review the standard tools of computation, universal gates and machines. These ideas are then applied first to classical, dissipationless computers and then to quantum computers. A schematic model of a quantum computer is described as well as some of the subtleties in its programming. The Shor algorithm [1,2] for efficiently factoring numbers on a quantum computer is presented in two parts: the quantum procedure within the algorithm and the classical algorithm that calls the quantum procedure. The mathematical structure in factoring which makes the Shor algorithm possible is discussed. We conclude with an outlook to the feasibility and prospects for quantum computation in the coming years. Let us start by describing the problem at hand: factoring a number N into its prime factors (e.g., the number 51688 may be decomposed as ). A convenient way to quantify how quickly a particular algorithm may solve a problem is to ask how the number of steps to complete the algorithm scales with the size of the ``input'' the algorithm is fed. For the factoring problem, this input is just the number N we wish to factor; hence the length of the input is. (The base of the logarithm is determined by our numbering system. Thus a base of 2 gives the length in

binary; a base of 10 in decimal.) `Reasonable' algorithms are ones which scale as some small-degree polynomial in the input size (with a degree of perhaps 2 or 3). On conventional computers the best known factoring algorithm runs in steps [3]. This algorithm, therefore, scales exponentially with the input size. For instance, in 1994 a 129 digit number (known as RSA129 [3']) was successfully factored using this algorithm on approximately 1600 workstations scattered around the world; the entire factorization took eight months [4]. Using this to estimate the prefactor of the above exponential scaling, we find that it would take roughly 800,000 years to factor a 250 digit number with the same computer power; similarly, a 1000 digit number would require years (significantly lon ger than the age of the universe). The difficulty of factoring large numbers is crucial for public-key cryptosystems, such as ones used by banks. There, such codes rely on the difficulty of factoring numbers with around 250 digits. Recently, an algorithm was developed for factoring numbers on a quantum computer which runs in steps where is small [1]. This is roughly quadratic in the input size, so factoring a 1000 digit number with such an algorithm would require only a few million steps. The implication is that public key cryptosystems based on factoring may be breakable. To give you an idea of how this exponential improvement might be possible, we review an elementary quantum mechanical experiment that demonstrates where such power may lie hidden [5]. The two-slit experiment is prototypic for observing quantum mechanical behavior: A source emits photons, electrons or other particles that arrive at a pair of slits. These particles undergo unitary evolution and finally measurement. We see an interference pattern, with both slits open, which wholely vanishes if either slit is covered. In some sense, the particles pass through both slits in parallel. If such unitary evolution were to represent a calculation (or an operation within a calculation) then the quantum system would be performing computations in parallel. Quantum parallelism comes for free. The output of this system would be given by the constructive interference among the parallel computations.

5.1.1 Computing at the atomic scale: Quantum computers will perform computations at the atomic scale [5,6]. Fig. 1 shows a survey made by Keyes in 1988 [7]: The number of dopant impurities required for logic in the bases of bipolar transistors is plotted against the year. This plot may be thought of as showing the number of electrons required to store a single bit of information. An extrapolation of the plot suggests that we might be within the reach of atomic-scale computations within the next two decades. Fig. 1 Plot from Ref. [7] showing the number of dopant impurities involved in logic in bipolar transistors with year. (Copyright 1988 by International Business Machines Corporation, reprinted with permission.) 5.1.2

Reversible computation: What are the difficulties in trying to build a classical computing machine on such a small scale? One of the biggest problems with the program of miniaturizing conventional computers is the difficulty of dissipated heat. As early as 1961 Landauer studied the physical limitations placed on computation from dissipation [8]. Surprisingly, he was able to show that almost all operations required in computation could be performed in a reversible manner, thus dissipating no heat! The first condition for any deterministic device to be reversible is that its input and output be uniquely retrievable from each other. This is called logical reversibility. If, in addition to being logically reversible, a device can actually run backwards then it is called physically reversible and the second law of thermodynamics guarantees that it dissipates no heat. The work on classical, reversible computation has laid the foundation for the development of quantum mechanical computers. On a quantum computer, programs are executed by unitary evolution of an input that is given by the state of the system. Since all unitary operators U are invertible with, we can always ``uncompute'' (reverse the computation) on a quantum computer. 5.1.3 Classical universal machines and logic gates: We now review the basic logic elements used in computation and explain how conventional computers may be used for any ``reasonable'' computation. A reasonable computation is one that may be written in terms of some (possibly large) Boolean expression, and any Boolean expression may be constructed out of a fixed set of logic gates. Such a set (e.g., AND, OR and NOT) is called universal. In fact we can get by with only two gates, such as AND and NOT or OR and NOT. Alternatively, we may replace some of these primitive gates by others, such as the exclusive-or (called XOR); then AND and XOR form a universal set. The truth tables for these gates are displayed in Table 1. Any

machine which can build up arbitrary combinations of logic gates from a universal set is then a universal computer. Table 1 Truth table defining the operation of some elementary logic gates. Each row shows two input values A and B and the corresponding output values for gates AND, OR and XOR. The output for the NOT gate is shown only for input B. Which of the above gates is reversible? Since AND, OR, and XOR are manyto-one operations they are not, as they stand, logically reversible. Before we discuss how these logic gates may be made reversible we consider some nonstandard gates that we shall require. 5.1.4 FANOUT and ERASE: Although the above gates are sufficient for the mathematics of logic, they are not sufficient to build a practical machine. A useful computer will also require the FANOUT and ERASE gates (Fig. 2).

Fig. 2 Two non-standard gates that are required to build a computer, in addition to a universal set of logic gates, are: (a) the FANOUT gate which duplicates an input A and (b) the ERASE gate which deletes its input. First consider the FANOUT gate: Is it reversible? Certainly no information has been destroyed so it is at least logically reversible. Landauer showed that it could also be physically reversible [8]. Let us describe a simple model for FANOUT based on Bennett's scheme for a reversible measurement (Fig. 3) [9]. Here a dark ball is used to determine the presence or absence of a second (light) ball inside a trap. The trap consists of a set of mirrors and may be thought of as a one-bit memory register. If the trap is occupied then the dark ball is reflected and leaves along directionm (with the light ball continuing along its original trajectory); otherwise it passes unhindered towards N. Upon leaving the trap, the dark ball's direction is used to populate, or not, another trap. Fig. 3 A reversible measurement of the existence of a (light) ball in a trap of mirrors (dark rectangles) [9]. A (dark) ball enters the trap from Y. In the

absence of a light ball in the trap the dark ball will follow the path HN. In presence of a light ball (timed to start at X) the dark ball will deflect the light one from its unhindered trajectory ABCDEF to ABGDEF and will follow the pathhijklm itself. (Copyright 1988 by International Business Machines Corporation, reprinted with permission.) Let us now consider the ERASE operation which is required to ``clean out'' the computer's memory periodically. One type of erasure can be performed reversibly: If we have a backup copy of some information, we can erase further copies by uncomputing the FANOUT gate. The difficulty arises when we wish to erase our last copy, referred to here as the primitive ERASE. Consider a single bit represented by a pair of equally probable classical states of some particle. To erase the information about the particle's state we must irreversibly compress phase-space by a factor of two. If we allowed this compressed phase-space to adiabatically expand, at temperature T, to its original size, we could obtain an amount of work equal to (where is Boltzmann's constant). Landauer concluded, based on simple models and more general arguments about the compression of phasespace, that the erasure of a bit of information at temperature Trequires the dissipation of at least [8]. heat (a result known as Landauer's principle)