26
An Introduction to Quantum An Introduction to Quantum Phenomena and their Effect Phenomena and their Effect on Computing on Computing Peter Shoemaker MSCS Candidate

An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Embed Size (px)

Citation preview

Page 1: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

An Introduction to Quantum An Introduction to Quantum Phenomena and their Effect on Phenomena and their Effect on

ComputingComputing

Peter Shoemaker

MSCS Candidate

March 7th, 2003

Page 2: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

OverviewOverview

•How quantum computers work

•How they differ from classical computers

•Quantum algorithms

•State of Research

Page 3: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

What is Quantum Computing?What is Quantum Computing?

Definition: A fundamentally new mode of information processing that can be performed only by harnessing physical phenomena unique to quantum mechanics

•Highly theoretical at current state of research

•Has potential for computing power far beyond classical computers

Page 4: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Where Would Quantum Where Would Quantum Computers Excel?Computers Excel?

•Cryptography

•Searching (Grover’s Algorithm)

•Factoring Large Numbers (Shor’s Algorithm)

•Simulating Quantum Mechanical Systems

Page 5: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Classical ComputersClassical Computers•Use bits which contain either a zero or a one

•Operate on these bits using a series of binary logic gates

•Components have been decreasing in size (logic gates and wires are currently less than 1 micron wide)

•Classical designs are reaching the theoretical limit of miniaturization (only a few atoms)

•1 micron = 10-4 cm

•1 atom = 10-8 cm

Page 6: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Classical Computers (cont.)Classical Computers (cont.)

•On the atomic scale matter obeys the rules of quantum, not classical physics

•Must develop some form of quantum technology to further computer research

•Quantum technology could not only further reduce the size of components, but could allow for development of new algorithms based on quantum concepts

Page 7: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Physics ConceptsPhysics ConceptsQubit (Quantum bit)

•When an electron is placed in a magnetic field the spin of the electron is either aligned with the field (spin-up state) or opposite the field (spin-down state)

•Nuclei of atoms exhibit the same property

•Can set the spin state of an particle using energy pulse

•Spin up-state represents a 1, spin-down a 0

•This representation of 1 and 0 using electron spins is known as a qubit

•These states could also be represented by electron charge instead of spins

Page 8: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Physics Concepts (cont.)Physics Concepts (cont.)Superposition

•Can also set the spin state of a qubit to be a “superposition” of the two states, i.e. both 0 and 1 simultaneously

•Measurement of a superposed qubit destroys the superposition and will yield either a 1 or a 0

•Operations can be performed on a superposed qubit without destroying the superposition

Page 9: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

SuperpositionSuperposition

Passing a photon through a half-silvered mirror

Page 10: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Superposition (cont.)Superposition (cont.)

Quantum interference

Page 11: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Superposition (cont.)Superposition (cont.)

Quantum Interference

Page 12: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Physics Concepts (cont.)Physics Concepts (cont.)Entanglement

•Two Particles can also be prepared in an entangled state where performing an operation on one particle performs the same operation on another

•Multiple operations can be performed on particles in an entangled state without destroying the entanglement or the superposition of either particle

•Measuring the spin of either particle destroys the superposition of both states but places both particles in a distinct state

•Entangled particles can be large distances apart (even billions of light years)

Page 13: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

So What’s the Point?So What’s the Point?•While a single classical bit can store either 0 or 1, a single qubit can simultaneously store both 0 and 1

•Two qubits can store four states simultaneously while two classical bits can store one of four states

•Three qubits can store eight states

•In general if L is the number of qubits in a quantum register, that register can store 2L different states simultaneously

•Classical registers only store one state

•More importantly, any operation on such a quantum register can be performed on all 2L states in a single operation

Page 14: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Classical vs. QuantumClassical vs. Quantum•It takes classical computer 2L operations to perform the same calculation as one quantum operation on L qubits

•With only 500 qubits (2500 states) a quantum computer could represent numbers larger than the number of atoms in the known universe

•The 2500 operations necessary to perform the same operation to 2500 would take an incredible amount of time on a classical computer

•As the number of qubits increases the performance gain over classical computers grows exponentially do to the parallel ness of operations

Page 15: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Is It This Simple?Is It This Simple?•Measuring the superposed states in a quantum register collapses entangled particles into single binary states

•Though we can operate on 2L numbers simultaneously we can’t retrieve all 2L results

•Must have special quantum algorithms that can exploit this parallelism

•Quantum computers are fragile

•Needs some form of quantum error correction to ensure accuracy

•Implementing a large scale quantum computer is beyond the current state of research

Page 16: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Quantum AlgorithmsQuantum Algorithms•When a qubit is measured it will only return either a 0 or a 1

•In terms of a quantum register, only one of the 2L states stored in that register will be selected

•Which state is returned is governed by probability amplitudes

•Quantum algorithms manipulate this probability so that a state containing a correct result will be selected

Page 17: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Quantum ProbabilityQuantum Probability•A qubit is represented as a complex linear superposition that satisfies the normalizing condition

•i.e: where A and B are complex numbers and

|A|2 + |B|2 = 1

•|A|2 + |B|2 represent the probability that when the qubit is measured it will measure as being in the 0 or 1 state respectively

•Quantum algorithms will alter these probabilities based on which states contain the desired result

10 BA

Page 18: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Searching (Grover’s Algorithm)Searching (Grover’s Algorithm)

•Developed by Lov K. Grover in 1996

•Provides an efficient algorithm for searching un-indexed data

•Linear search takes n/2 operations on average

•Grover’s algorithm takes about sqrt(n) operations on average

•Performance gains vs. linear search grow larger as input size increases

Page 19: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Searching (cont.)Searching (cont.)

Implementation of Grover’s Algorithm:

1. Choose enough qubits so that there is one state for each data entry

2. Match each data entry to a different quantum state

3. Change sign of the probability amplitude for the target state

4. Perform “inversion about average” on all probability amplitudes

5. Repeat #4 times

6. Measure quantum state

4 N2^

Page 20: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

CryptographyCryptography•Current encryption standard is RSA public key encryption

•RSA encryption relies on the computational complexity of factoring large composite numbers into the product of two primes

•No polynomial time algorithm is known for factoring on conventional computers

•The best classical algorithm runs in

O(e^(64/9)1/3(ln N)1/3(ln ln N)2/3) steps

•Quantum computers can theoretically factor large composite numbers in polynomial time

Page 21: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Cryptography (cont.)Cryptography (cont.)•In 1994 a 129 digit number was successfully factored using approximately 1600 workstations scattered around the world

•The entire factorization took eight months

•Using this as an estimate, it would take roughly 800,000 years to factor a 250 digit number with the same computer power

•A 1000 digit number would require 1025 years (significantly longer than the known age of the universe)

Page 22: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Cryptography (Shor’s Algorithm)Cryptography (Shor’s Algorithm)•Developed in 1994 by Peter Shor

•Shor’s quantum algorithm runs in O((log n)2 * log log n) steps on a quantum computer with O(log n) steps of post-processing done on a classical computer

•Could factor a 1000 digit number in only a few million steps

•Overall factoring takes polynomial time

Page 23: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Quantum CryptographyQuantum Cryptography

•New algorithms for cryptography must be created if quantum computers become viable

•Could used entangled particles over long distances to transmit messages securely

•Can detect eavesdroppers

Page 24: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

ObstaclesObstacles•Decoherence - the tendency of a particle to decay from a given quantum state into an incoherent state as it interacts, or entangles, with the state of the environment

•Decoherence can be partially prevented by shielding particles from external influences

•Error Correction – Must be able to maintain coherence of quantum systems before they will be usable

•Error correction is difficult since quantum systems can’t be measured without destroying the state of the system

•Quantum computer hardware is in its infancy

Page 25: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Current State of Quantum Current State of Quantum Computing ResearchComputing Research

•Qubits based on electron charge remain coherent for a few pico seconds at best

•Qubits using spin-states remain coherent for several nano seconds

•Scientists have entangled two particles as of 1999

•In 1999 MIT researches developed a 2-qubit quantum computer

•In 2000 IBM built a five bit quantum-computer which solved the order-finding function (determining the period of a function) in a single step

•A new method developed only a few weeks ago entangled 3 electrons using semiconductors in place of complicated lab setups

Page 26: An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003

Questions?Questions?