Quantum Computers Algorithms and applications. Simulating classical operations 2/41 Dušan Gajević.

Slides:



Advertisements
Similar presentations
Quantum Computation and Quantum Information – Lecture 3
Advertisements

University of Strathclyde
University of Queensland
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum Computing Uf H Nick Bonesteel
Quantum Computers Gates, circuits and programming.
Quantum Speedups DoRon Motter August 14, Introduction Two main approaches are known which produce fast Quantum Algorithms The first, and main approach.
Chien Hsing James Wu David Gottesman Andrew Landahl.
Department of Computer Science & Engineering University of Washington
Quantum Computing Ambarish Roy Presentation Flow.
1 Quantum Computing: What’s It Good For? Scott Aaronson Computer Science Department, UC Berkeley January 10,  John.
Quantum Computation and Error Correction Ali Soleimani.
University of Queensland
Superposition, Entanglement, and Quantum Computation Aditya Prasad 3/31/02.
Matthew Guidry. The Fundamentals of Cryptography  One of the fundamentals of cryptography is that keys selected for various protocols that are computationally.
Quantum Computing Joseph Stelmach.
Anuj Dawar.
1 Recap (I) n -qubit quantum state: 2 n -dimensional unit vector Unitary op: 2 n  2 n linear operation U such that U † U = I (where U † denotes the conjugate.
Shor’s Algorithm Osama Awwad Department of Computer Science Western Michigan University July 12, 2015.
Quantum Algorithms Preliminaria Artur Ekert. Computation INPUT OUTPUT Physics Inside (and outside) THIS IS WHAT OUR LECTURES WILL.
Quantum computing Alex Karassev. Quantum Computer Quantum computer uses properties of elementary particle that are predicted by quantum mechanics Usual.
By: Mike Neumiller & Brian Yarbrough
Moore’s Law the number of circuits on a single silicon chip doubles every 18 to 24 months.
Tallinn University of Technology Quantum computer impact on public key cryptography Roman Stepanenko.
Classical Versus Quantum. Goal: Fast, low-cost implementation of useful algorithms using standard components (gates) and design techniques Classical Logic.
Debasis Sadhukhan M.Sc. Physics, IIT Bombay. 1. Basics of Quantum Computation. 2. Quantum Circuits 3. Quantum Fourier Transform and it’s applications.
From Bits to Qubits Wayne Viers and Josh Lamkins
Cove: A Practical Quantum Computer Programming Framework Matt Purkeypile Doctorate of Computer Science Dissertation Defense June 26, 2009.
Small-Depth Quantum Circuits Frederic Green Department of Math/CS Clark University Worcester, MA.
Analysis of Algorithms
Lecture note 8: Quantum Algorithms
Algorithms Artur Ekert. Our golden sequence H H Circuit complexity n QUBITS B A A B B B B A # of gates (n) = size of the circuit (n) # of parallel units.
An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003.
Short course on quantum computing Andris Ambainis University of Latvia.
1 Database Searching in Quantum and Natural Computing Michael Heather & Nick Rossiter, Northumbria University, England
Physics of Computing and the Promise and Limitations of Quantum Computing Charles H. Bennett IBM Research Yorktown Santa Cruz, 24 Oct 2005.
Quantum Processing Simulation
ELE 523E COMPUTATIONAL NANOELECTRONICS
Cove: A Practical Quantum Computer Programming Framework Matt Purkeypile (DCS3) Winter 2009.
Introduction to Quantum Computing
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 653 Lecture.
Multipartite Entanglement and its Role in Quantum Algorithms Special Seminar: Ph.D. Lecture by Yishai Shimoni.
Page 1 COMPSCI 290.2: Computer Security “Quantum Cryptography” including Quantum Communication Quantum Computing.
Quantum Computing: An Introduction Khalid Muhammad 1 History of Quantum Computing Bits and Qubits Problems with the Quantum Machine.
Quantum Computers The basics. Introduction 2/47 Dušan Gajević.
Quantum Computing Charles Bloomquist CS147 Fall 2009.
An Introduction to Quantum Computation Sandy Irani Department of Computer Science University of California, Irvine.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
Quantum Circuits and Algorithms l Modular Arithmetic, XOR l Reversible Computation revisited l Quantum Gates revisited l A taste of quantum algorithms:
1 An Introduction to Quantum Computing Sabeen Faridi Ph 70 October 23, 2007.
Quantum Computing: An Introduction
Quantum Computing Richard Jozsa Centre for Quantum Information and Foundations DAMTP University of Cambridge.
Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007.
Intro to Quantum Algorithms SUNY Polytechnic Institute Chen-Fu Chiang Fall 2015.
Quantum Computing Keith Kelley CS 6800, Theory of Computation.
Attendance Syllabus Textbook (hardcopy or electronics) Groups s First-time meeting.
Quantum Algorithms Oracles
Prabhas Chongstitvatana Chulalongkorn University
Introduction to Quantum Computing Lecture 1 of 2
A low cost quantum factoring algorithm
Quantum Circuits and Algorithms
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
Quantum Computing: an introduction
OSU Quantum Information Seminar
Quantum Computation and Information Chap 1 Intro and Overview: p 28-58
Quantum Computing Prabhas Chongstitvatana Faculty of Engineering
Quantum Computing Joseph Stelmach.
Presentation transcript:

Quantum Computers Algorithms and applications

Simulating classical operations 2/41 Dušan Gajević

Simulating classical operations Is it possible to simulate classical computer operations on a quantum computer? – Pure states correspond to classical bits – To implement any classical computer operation a universal set of gates is needed – (NOT, AND), (NOT, OR), (NAND), (NOR)… Quantum computers are reversible, yet, in any of these sets there is at least one irreversible operation Obviously, the real question is, can a reversible computer simulate an irreversible operation? 3/41 Dušan Gajević

Simulating classical operations – Toffoli gate can be used to implement classical irreversible operations – Is there anything else a reversible circuit might need to simulate a classical computer? NOTANDNAND 4/41 Dušan Gajević

Simulating classical operations – In fact, classical computer contains two more “gates” (elements) that are easily overlooked – Using Toffoli gate FANOUTERASE …but not the actual ERASE Even a type of erase… 5/41 Dušan Gajević

Simulating classical operations – In reversible computing, it is allowed to erase duplicates of information, but it is not allowed to erase the last copy It is possible to simulate any classical irreversible computation using only Toffoli gates, but it requires a use of some extra bits Put another way, Toffoli gate is a universal gate for classical reversible computing 6/41 Dušan Gajević

Computation based on reversible logic can take no energy to compute! Offtopic: Energy dissipation Run forward to get an answer… …copy that answer……undo the computation This will recover all the energy spent except the small amount used for copying an answer 7/41 Dušan Gajević

Offtopic: Energy dissipation – Energy must be dissipated to initialize the system or to make a permanent record of an answer These operations set a new value in a memory register regardless of what the state was, hence, they are irreversible 8/41 Dušan Gajević

Simulating classical operations We saw it’s possible to simulate irreversible operations on a reversible computer Hence, it is possible to simulate classical operations on a quantum computer – But this is not what quantum computers are intended for – it is not much of a benefit… 9/41 Dušan Gajević

Quantum parallelism 10/41 Dušan Gajević

Quantum parallelism A fundamental feature of many quantum algorithms – Suppose a binary function f(x) – Let’s introduce a following unitary transformation single bit in – single bit out XOR (addition modulo 2) 11/41 Dušan Gajević

Quantum parallelism – And use it in a following circuit …state after applying the introduced transformation As if f(x) is evaluated for 2 values of x simultaneously 12/41 Dušan Gajević

– Now a modified binary function f(x) – and a corresponding unitary transformation Quantum parallelism n-bit input single bit output 13/41 Dušan Gajević

Quantum parallelism – in a modified circuit Hadamard transform – applied on n qubits 14/41 Dušan Gajević

Quantum parallelism As if f(x) is evaluated for 2 n values of x simultaneously 15/41 Dušan Gajević

Quantum parallelism To achieve this sort of parallelism in classical computing multiple circuits are needed, while here a single circuit is employed – but, after measurement, only one evaluation of f(x) remains Quantum computing requires more than quantum parallelism alone to work 16/41 Dušan Gajević

“I do not like it, and I am sorry I had anything to do with it” – Erwin Schrödinger 17/41 Dušan Gajević

Deutsch-Jozsa algorithm 18/41 Dušan Gajević

Deutsch-Jozsa algorithm Problem formulation f(x) is allowed to be either: - constant or - balanced A black box… 2 n possible input values output has the same value for all inputs output is: - 0 for half of the function inputs, - 1 for the other half The goal is to determine whether the function f(x) is constant or balanced 19/41 Dušan Gajević

Deutsch-Jozsa algorithm Classical solution: – We are checking the output for every possible input value If we come across a different output – we know the function is balanced Otherwise, when we check at least half plus one possible inputs to be equal (2 n /2 + 1) – we know the function is constant Time complexity of the classical solution is exponential 20/41 Dušan Gajević

Deutsch-Jozsa algorithm classical bits … … … the measurement 21/41 Dušan Gajević

Deutsch-Jozsa algorithm – What makes the resulting state so special? A single amplitude of this state depends on f(x) evaluated for all values of x! 22/41 Dušan Gajević

Deutsch-Jozsa algorithm – Of the special interest is the amplitude of the state 23/41 Dušan Gajević

Deutsch-Jozsa algorithm – there are three different possibilities The function is constant f(x)=0 The function is constant f(x)=1 The function is balanced half f(x)=1 – half f(x)=0 function constant results in 0…0 function balanced results in ≠ 0…0 24/41 Dušan Gajević

Deutsch-Jozsa algorithm Deutsch-Jozsa algorithm: – Compared to the classical solution displayed before, it offers exponential speedup – Unlike most quantum algorithms, it is deterministic – But it is of little practical use – it has no known applications Nevertheless, it suggests quantum computers are capable of solving some problems much more efficiently than conventional computers 25/41 Dušan Gajević

Applications Factorization of large numbers 26/41 Dušan Gajević

The simplest solution is to start from 2 and check for every consequent number whether it’s a factor – Exponential time complexity But even the best known classical algorithms have superpolynomial time complexity Factorization of large numbers prime numbers n digits 27/41 Dušan Gajević

Factorization of large numbers The fact there is no computer today which could efficiently factor numbers is widely used in cryptography for secure data transmission (RSA public key routine) 28/41 Dušan Gajević

Factorization of large numbers Shor’s algorithm – in 1994, Peter Shor published a quantum algorithm for factoring large numbers – Like most quantum algorithms, it is non-deterministic – It has polynomial time complexity – Shor also published a polynomial-time quantum algorithm for discrete logarithms These algorithms sparked a huge amount of interest in quantum computing 29/41 Dušan Gajević

Applications Quantum search 30/41 Dušan Gajević

Quantum search Classically, and on average, how many operations are required for searching an unsorted database with N elements? Grover’s algorithm – in 1996, Lov Grover formulated a quantum algorithm for searching an unstructured database in O(N 1/2 ) time – Another non-deterministic quantum algorithm 31/41 Dušan Gajević

Quantum search The quadratic speedup might not look impressive compared to exponential speedup offered by algorithms based on quantum Fourier transform – But for large search spaces… Quantum search algorithms, also, have a wider range of application than algorithms based on quantum Fourier transformation 32/41 Dušan Gajević

Applications Quantum simulation 33/41 Dušan Gajević

Quantum simulation Simulation of naturally occurring quantum systems – another possible application of quantum computers Why are classical computers so bad at simulating quantum systems? – For a single qubit, a hydrogen atom, two complex coefficients are needed to specify the state of the system – For 2 hydrogen atoms, 4 complex coefficients are needed – For 3 atoms, 8 coefficients – … – For N atoms, 2 N coefficients Number grows exponentially! 34/41 Dušan Gajević

Quantum simulation – For only 30 qubits, more than a billion complex coefficients are needed! Amount of resources needed to simulate a quantum system on a quantum computer grows linearly with the growth of the number of simulated elements – But the extraction of desired information still poses a problem, due to collapse caused by measurement Obviously, quantum systems are really good at spending classical resources 35/41 Dušan Gajević

Technical challenges 36/41 Dušan Gajević

Quantum decoherence There are a lot of technical challenges in building a large-scale quantum computer One of the greatest challenges is minimizing quantum decoherence – Quantum system can get entangled with the environment and evolve as if the environment “measured” the quantum system – Decoherence is irreversible, as it is non-unitary Quantum systems have to be isolated as much as possible from its environment as any unintentional interaction with the outside world can disturb the fragile state of the system 37/41 Dušan Gajević

Advances 38/41 Dušan Gajević

Advances In 2010, company named D-Wave Systems announced D-Wave One, the first commercially available quantum computer system – 128-qubit quantum processor acting as a co-processor, accelerator Intended for solving discrete optimization problems – Front-ended on a network as a standard server – Adiabatic model, unlike gate model explained earlier Quantum annealing – Operating in an extreme environment – Low power consumption - power demand expected to remain constant with scaling up 39/41 Dušan Gajević

Advances In 2013, D-Wave Systems launched 512-qubit D-Wave Two Price? Controversy 40/41 Dušan Gajević

References University of California, Berkeley, Qubits and Quantum Measurement and Entanglement, lecture notes, Michael A. Nielsen, Isaac L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, Cambridge, UK, Colin P. Williams, Explorations in Quantum Computing, Springer, London, Samuel L. Braunstein, Quantum Computation Tutorial, electronic document University of York, York, UK Bernhard Ömer, A Procedural Formalism for Quantum Computing, electronic document, Technical University of Vienna, Vienna, Austria, Artur Ekert, Patrick Hayden, Hitoshi Inamori, Basic Concepts in Quantum Computation, electronic document, Centre for Quantum Computation, University of Oxford, Oxford, UK, Wikipedia, the free encyclopedia, /41 Dušan Gajević