1 Al Aho Quantum Computer Compilers Al Aho KAUST February 27, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you.

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
Trapped Ions and the Cluster State Paradigm of Quantum Computing Universität Ulm, 21 November 2005 Daniel F. V. JAMES Department of Physics, University.
Quantum Error Correction Joshua Kretchmer Gautam Wilkins Eric Zhou.
A Universal Operator Theoretic Framework for Quantum Fault Tolerance Yaakov S. Weinstein MITRE Quantum Information Science Group MITRE Quantum Error Correction.
Quantum Computing Paul McGuirk 21 April Motivation: Factorization An important problem in computing is finding the prime factorization of an integer.
Universal Optical Operations in Quantum Information Processing Wei-Min Zhang ( Physics Dept, NCKU )
Ion Trap Quantum Computer. Two Level Atom as a qubit Electron on lower orbit Electron on higher orbit.
Quantum Computing Ambarish Roy Presentation Flow.
Quantum Computation and Error Correction Ali Soleimani.
Quantum Error Correction Codes-From Qubit to Qudit Xiaoyi Tang, Paul McGuirk.
An Algebraic Foundation for Quantum Programming Languages Andrew Petersen & Mark Oskin Department of Computer Science The University of Washington.
University of Queensland
Local Fault-tolerant Quantum Computation Krysta Svore Columbia University FTQC 29 August 2005 Collaborators: Barbara Terhal and David DiVincenzo, IBM quant-ph/
Quantum Algorithms I Andrew Chi-Chih Yao Tsinghua University & Chinese U. of Hong Kong.
Quantum Computing Joseph Stelmach.
Anuj Dawar.
An Arbitrary Two-qubit Computation in 23 Elementary Gates or Less Stephen S. Bullock and Igor L. Markov University of Michigan Departments of Mathematics.
Quantum Computers Todd A. Brun Communication Sciences Institute USC.
Quantum Computing Lecture 1 Michele Mosca. l Course Outline
Quantum Computation and Quantum Information – Lecture 2 Part 1 of CS406 – Research Directions in Computing Dr. Rajagopal Nagarajan Assistant: Nick Papanikolaou.
Quantum Communication, Quantum Entanglement and All That Jazz Mark M. Wilde Communication Sciences Institute, Ming Hsieh Department of Electrical Engineering,
Quantum Information Processing
Quantum computing Alex Karassev. Quantum Computer Quantum computer uses properties of elementary particle that are predicted by quantum mechanics Usual.
Programming Languages and Compilers for Quantum Computers June 16, 2014 Al Aho
Presented by: Erik Cox, Shannon Hintzman, Mike Miller, Jacquie Otto, Adam Serdar, Lacie Zimmerman.
Debasis Sadhukhan M.Sc. Physics, IIT Bombay. 1. Basics of Quantum Computation. 2. Quantum Circuits 3. Quantum Fourier Transform and it’s applications.
Alice and Bob’s Excellent Adventure
Michael A. Nielsen University of Queensland Quantum Mechanics I: Basic Principles Goal of this and the next lecture: to introduce all the basic elements.
From Bits to Qubits Wayne Viers and Josh Lamkins
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 2117 Lecture.
1 Al Aho Quantum Computer Compilers Al Aho UMBC April 25, 2013 TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
QUANTUM COMPUTING an introduction Jean V. Bellissard Georgia Institute of Technology & Institut Universitaire de France.
Lecture note 8: Quantum Algorithms
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.
Quantum Factoring Michele Mosca The Fifth Canadian Summer School on Quantum Information August 3, 2005.
Bell Measurements and Teleportation. Overview Entanglement Bell states and Bell measurements Limitations on Bell measurements using linear devices Teleportation.
QUANTUM COMPUTING What is it ? Jean V. Bellissard Georgia Institute of Technology & Institut Universitaire de France.
What is Qu antum In formation and T echnology? Prof. Ivan H. Deutsch Dept. of Physics and Astronomy University of New Mexico Second Biannual Student Summer.
QUANTUM COMPUTING Part II Jean V. Bellissard
Quantum and classical computing Dalibor HRG EECS FER
Quantum Computing and Quantum Programming Language
Quantum Computing Reversibility & Quantum Computing.
Quanum computing. What is quantum computation? New model of computing based on quantum mechanics. Quantum circuits, quantum Turing machines More powerful.
Quantum Convolutional Coding Techniques Mark M. Wilde Communication Sciences Institute, Ming Hsieh Department of Electrical Engineering, University of.
An Overview of Programming Languages and Compilers for Quantum Computers June 16, 2014 Al Aho
Quantum Computing & Algorithms
IPQI-2010-Anu Venugopalan 1 qubits, quantum registers and gates Anu Venugopalan Guru Gobind Singh Indraprastha Univeristy Delhi _______________________________________________.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
Suggestion for Optical Implementation of Hadamard Gate Amir Feizpour Physics Department Sharif University of Technology.
1 An Introduction to Quantum Computing Sabeen Faridi Ph 70 October 23, 2007.
Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007.
Simulation and Design of Stabilizer Quantum Circuits Scott Aaronson and Boriska Toth CS252 Project December 10, X X +Z Z +ZI +IX
Quantum Computing Keith Kelley CS 6800, Theory of Computation.
Quantum Bits (qubit) 1 qubit probabilistically represents 2 states
Richard Cleve DC 3524 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
From Algorithms to Software
Programming Languages and Compilers for Quantum Computers
Quantum Computation and Information Chap 1 Intro and Overview: p 1-28
A Layered Software Architecture for Quantum Computing Design Tools
Quantum Computing Dorca Lee.
Chap 4 Quantum Circuits: p
Introduction to Quantum logic (2)
Qubit Recycling in Quantum Computation
OSU Quantum Information Seminar
Quantum Computing Joseph Stelmach.
Presentation transcript:

1 Al Aho Quantum Computer Compilers Al Aho KAUST February 27, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA

2 Al Aho A Compiler Writer Looks at Quantum Computing 1.Why is there so much excitement about quantum computing? 2.A computational model for quantum programming 3.Candidate target-machine technologies 4.Quantum programming languages 5.Unsolved issues in building quantum computers

3 Al Aho What the Physicists are Saying “Quantum information is a radical departure in information technology, more fundamentally different from current technology than the digital computer is from the abacus.” William D. Phillips, 1997 Nobel Prize Winner in Physics

4 Al Aho Shor’s Integer Factorization Algorithm Problem: Given a composite n-bit integer, find a nontrivial factor. Best-known deterministic algorithm on a classical computer has time complexity exp(O( n 1/3 log 2/3 n )). A quantum computer can solve this problem in O( n 3 ) operations. Peter Shor Algorithms for Quantum Computation: Discrete Logarithms and Factoring Proc. 35 th Annual Symposium on Foundations of Computer Science, 1994, pp

5 Al Aho Integer Factorization: Estimated Times Classical: number field sieve –Time complexity: exp(O(n 1/3 log 2/3 n)) –Time for 512-bit number: 8400 MIPS years –Time for 1024-bit number: 1.6 billion times longer Quantum: Shor ’ s algorithm –Time complexity: O(n 3 ) –Time for 512-bit number: 3.5 hours –Time for 1024-bit number: 31 hours (assuming a 1 GHz quantum device) M. Oskin, F. Chong, I. Chuang A Practical Architecture for Reliable Quantum Computers IEEE Computer, 2002, pp

6 Al Aho Towards a Model of Computation for Quantum Programming Languages Physical System Mathematical Formulation Discretization Model of Computation

7 Al Aho The Physical Underpinnings of Quantum Computing The Four Postulates of Quantum Mechanics M. A. Nielsen and I. L. Chuang Quantum Computation and Quantum Information Cambridge University Press, 2000

8 Al Aho State Space Postulate The state of an isolated quantum system can be described by a unit vector in a complex Hilbert space. Postulate 1

9 Al Aho Qubit: Quantum Bit The state of a quantum bit in a 2-dimensional complex Hilbert space can be described by a unit vector (in Dirac notation) where α and β are complex coefficients called the amplitudes of the basis states |0 i and |1 i and In conventional linear algebra

10 Al Aho Time-Evolution Postulate Postulate 2 The evolution of a closed quantum system can be described by a unitary operator U. (An operator U is unitary if U y = U − 1.) U state of the system at time t 1 state of the system at time t 2

11 Al Aho Useful Quantum Operators: Pauli Operators Pauli operators X In conventional linear algebra is equivalent to

12 Al Aho Useful Quantum Operators: Hadamard Operator The Hadamard operator has the matrix representation H maps the computational basis states as follows Note that HH = I.

13 Al Aho Composition-of-Systems Postulate The state space of a combined physical system is the tensor product space of the state spaces of the component subsystems. If one system is in the state and another is in the state, then the combined system is in the state. is often written as or as. Postulate 3

14 Al Aho Useful Quantum Operators: the CNOT Operator The two-qubit CNOT (controlled-NOT) operator: CNOT flips the target bit t iff the control bit c has the value 1:. c t c The CNOT gate maps

15 Al Aho Measurement Postulate Quantum measurements can be described by a collection of operators acting on the state space of the system being measured. If the state of the system is before the measurement, then the probability that the result m occurs is and the state of the system after measurement is Postulate 4

16 Al Aho Measurement The measurement operators satisfy the completeness equation: The completeness equation says the probabilities sum to one:

17 Al Aho Quantum Circuits: A Model for Quantum Computation Quantum circuit to create Bell (Einstein-Podulsky-Rosen) states: Circuit maps Each output is an entangled state, one that cannot be written in a product form. (Einstein: “Spooky action at a distance.”) x y H

18 Al Aho Alice and Bob’s Qubit-State Delivery Problem Alice knows that she will need to send to Bob the state of an important secret qubit sometime in the future. Her friend Bob is moving far away and will have a very low bandwidth Internet connection. Therefore Alice will need to send her qubit state to Bob cheaply. How can Alice and Bob solve their problem?

19 Al Aho Alice and Bob’s Solution: Quantum Teleportation! Alice and Bob generate an EPR pair. Alice takes one half of the pair; Bob the other half. Bob moves far away. Alice interacts her secret qubit with her EPR-half and measures the two qubits. Alice sends the two resulting classical measurement bits to Bob. Bob decodes his half of the EPR pair using the two bits to discover. H X Z M1M1 M2M2

20 Al Aho Quantum Computer Architecture Knill [1996]: Quantum RAM, a classical computer combined with a quantum device with operations for initializing registers of qubits and applying quantum operations and measurements Quantum Memory Quantum Logic Unit Classical Computer E. Knill Conventions for Quantum Pseudocode Los Alamos National Laboratory, LAUR , 1996

21 Al Aho Cross’s Fault-Tolerant Quantum Computer Architecture Quantum Memory Quantum Logic Unit Classical Computer Ancilla Factory Quantum Software Factory Andrew W. Cross Fault-Tolerant Quantum Computer Architectures Using Hierarchies of Quantum Error-Correcting Codes PhD Thesis, MIT, June 2008

22 Al Aho Candidate Target-Machine Technologies Ion traps Josephson junctions Nuclear magnetic resonance Optical photons Optical cavity quantum electrodynamics Quantum dots Nonabelian fractional quantum Hall effect anyons

23 Al Aho MIT Ion Trap Simulator

24 Al Aho Ion Trap Quantum Computer: The Reality

25 Al Aho S. Simon, N. Bonesteel, M. Freedman, N. Petrovic, and L. Hormozi Topological Quantum Computing with Only One Mobile Quasiparticle Phys. Rev. Lett, 2006 Topological Quantum Computer Theorem: In any topological quantum computer, all computations can be performed by moving only a single quasiparticle!

26 Al Aho DiVincenzo Criteria for a Quantum Computer 1.Be a scalable system with well-defined qubits 2.Be initializable to a simple fiducial state 3.Have long decoherence times 4.Have a universal set of quantum gates 5.Permit efficient, qubit-specific measurements David DiVincenzo Solid State Quantum Computing

27 Al Aho Universal Sets of Quantum Gates A set of gates is universal for quantum computation if any unitary operation can be approximated to arbitrary accuracy by a quantum circuit using gates from that set. The phase-gate S = ; the π/8 gate T = Common universal sets of quantum gates: { H, S, CNOT, T } { H, I, X, Y, Z, S, T, CNOT } CNOT and the single qubit gates are exactly universal for quantum computation.

28 Al Aho Shor ’ s Quantum Factoring Algorithm Input: A composite number N Output: A nontrivial factor of N if N is even then return 2; if N = a b for integers a >= 1, b >= 2 then return a; x := rand(1,N-1); if gcd(x,N) > 1 then return gcd(x,N); r := order(x mod N); // only quantum step if r is even and x r/2 != (-1) mod N then {f1 := gcd(x r/2 -1,N); f2 := gcd(x r/2 +1,N)}; if f1 is a nontrivial factor then return f1; else if f2 is a nontrivial factor then return f2; else return fail; Nielsen and Chuang, 2000

29 Al Aho The Order-Finding Problem Given positive integers x and N, x < N, such that gcd(x, N) = 1, the order of x (mod N) is the smallest positive integer r such that x r ≡ 1 (mod N). E.g., the order of 5 (mod 21) is 6. The order-finding problem is, given two relatively prime integers x and N, to find the order of x (mod N). All known classical algorithms for order finding are superpolynomial in the number of bits in N.

30 Al Aho Quantum Order Finding Order finding can be done with a quantum circuit containing O((log N) 2 log log (N) log log log (N)) elementary quantum gates. Best known classical algorithm requires exp(O((log N) 1/2 (log log N) 1/2 ) time.

31 Al Aho Some Proposed Quantum Programming Languages Quantum pseudocode [Knill, 1996] Imperative: e.g., QCL [Ömer, ] –syntax derived from C –classical flow control –classical and quantum data –interleaved measurements and quantum operators Functional: e.g., QFC, QPL, QML –Girard’s linear logic –quantum lambda calculus

32 Al Aho Language Abstractions and Constraints States are superpositions Operators are unitary transforms States of qubits can become entangled Measurements are destructive No-cloning theorem: you cannot copy an unknown quantum state!

33 Al Aho Quantum Algorithm Design Techniques Phase estimation Quantum Fourier transform Period finding Eigenvalue estimation Grover search Amplitude amplification

34 Al Aho Quantum Computer Design Tools: Desiderata A design flow that will map high-level quantum programs into efficient fault-tolerant technology-specific implementations on different quantum computing devices Languages, compilers, simulators, and design tools to support the design flow Well-defined interfaces between components Efficient methods for incorporating fault tolerance and quantum error correction Efficient algorithms for optimizing and verifying quantum programs

35 Al Aho Quantum Design Tools Hierarchy Vision: Layered hierarchy with well-defined interfaces Programming Languages Compilers OptimizersLayout ToolsSimulators K. Svore, A. Aho, A. Cross, I. Chuang, I. Markov A Layered Software Architecture for Quantum Computing Design Tools IEEE Computer, 2006, vol. 39, no. 1, pp.74-83

36 Al Aho Languages and Abstractions in the Design Flow Front End Technology Independent CG+Optimizer Technology Dependent CG+Optimizer Technology Simulator quantum source program QIRQASMQPOL QIR: quantum intermediate representation QASM: quantum assembly language QPOL: quantum physical operations language quantum circuit quantum circuit quantum device quantum mechanics ABSTRACTIONS Quantum Computer Compiler

37 Al Aho Design Flow for Ion Trap Mathematical Model: Quantum mechanics, unitary operators, tensor products Physical Device Computational Formulation: Quantum bits, gates, and circuits Target QPOL Physical System: Laser pulses applied to ions in traps Quantum Circuit Model EPR Pair Creation QIR QPOL QASM QCC: QIR, QASM Machine Instructions A A B B

38 Al Aho Fault Tolerance In a fault-tolerant quantum computer, more than 99% of the resources spent will probably go to quantum error correction [Chuang, 2006]. A circuit containing N (error-free) gates can be simulated with probability of error at most ε, using N log(N/ε) faulty gates, which fail with probability p, so long as p < p th [von Neumann, 1956].

39 Al Aho Fault Tolerance Obstacles to applying classical error correction to quantum circuits: –no cloning –errors are continuous –measurement destroys information Shor [1995] and Steane [1996] showed that these obstacles can be overcome with concatenated quantum error-correcting codes. P. W. Shor Scheme for Reducing Decoherence in Quantum Computer Memory Phys. Rev. B 61, 1995 A. Steane Error Correcting Codes in Quantum Theory Phys. Rev. Lett. 77, 1966

40 Al Aho Mathematical Model: Quantum mechanics, unitary operators, tensor products Computational Formulation: Quantum bits, gates, and circuits Software: QPOL Physical System: Laser pulses applied to ions in traps Quantum Circuit Model EPR Pair Creation QIR QPOL QASM QCC: QIR, QASM Machine InstructionsPhysical Device A A B B Design Flow with Fault Tolerance and Error Correction Fault Tolerance and Error Correction (QEC) QEC Moves K. Svore PhD Thesis Columbia, 2006

41 Al Aho Topological Robustness

42 Al Aho Topological Robustness = = time

43 Al Aho Bonesteel, Hormozi, Simon, … ; PRL 2005, 2006; PRB 2007 U U Quantum Circuit time Braid =

44 Al Aho C. Nayak, S. Simon, A. Stern, M. Freedman, S. DasSarma Non-Abelian Anyons and Topological Quantum Computation Rev. Mod. Phys., June Degenerate ground states (in punctured system) act as the qubits. 2. Unitary operations (gates) are performed on ground state by braiding punctures (quasiparticles) around each other. Particular braids correspond to particular computations. 3. State can be initialized by “pulling” pairs from vacuum. State can be measured by trying to return pairs to vacuum. 4. Variants of schemes 2,3 are possible. Advantages: Topological Quantum “memory” highly protected from noise The operations (gates) are also topologically robust Kitaev Freedman

45 Al Aho Universal Set of Topologically Robust Gates Single qubit rotations: Controlled NOT: Bonesteel, Hormozi, Simon, 2005, 2006

46 Al Aho Target Code Braid for CNOT Gate with Solovay-Kitaev optimization

47 Al Aho Research Challenges More qubits Scalable, fault-tolerant architectures Suggestive programming languages More algorithms!

48 Al Aho Collaborators Andrew Cross MIT now SAIC Igor Markov U. Michigan Krysta Svore Columbia now Microsoft Research Isaac Chuang MIT Topological Quantum Computing: Steve Simon Bell Labs now Oxford

49 Al Aho Quantum Computer Compilers Al Aho KAUST February 27, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA