• No results found

Quantum Computing Architectures

N/A
N/A
Protected

Academic year: 2021

Share "Quantum Computing Architectures"

Copied!
41
0
0

Loading.... (view fulltext now)

Full text

(1)

Quantum Computing Architectures

1:00-2:00 Fred Chong (UCD) - Intro, quantum algorithms, and error correction 2:00-2:30 Break and discussion

2:30-3:30 Ike Chuang (MIT) - Device technology and implementation issues 3:30-4:00 Break and official refreshments

4:00-5:00 Mark Oskin (UW) - Quantum architectures 5:00- Discussion

• Plenty of time for questions and discussion • All materials available at:

(2)

Quantum Computing

for Architects

Fred Chong

University of California at Davis

(3)

Science Fiction?

• 5 and 7-bit machines have been built

[Vandersypen01, Laflamme99]

• 100-bit machines are planned • Better technologies are coming

[Kane98,Vrijen99,Nakamura99,Mooij99]

• Why architectural study?

(4)

Outline

• Quantum bits and operations • Algorithms

– Quantum search – Factorization

• Error correction • Teleportation

(5)

Quantum Bits (qubit)

• 1 qubit probabilistically represents 2 states |a> = C0|0> + C1|1>

• Every additional qubit doubles # states |ab> = C00|00> + C01|01> +

C10|10> +C11|11>

Quantum parallelism on an exponential number of states

• But measurement collapses qubits to single classical values

(6)

( Vandersypen, Steffen, Breyta, Yannoni, Sherwood, and Chuang, 2001 )

7

7

qubit

qubit

Quantum Computer

Quantum Computer

• • pentafluorobutadienyl pentafluorobutadienyl cyclopentadienyldicarbonyliron cyclopentadienyldicarbonyliron complex complex

• Bulk spin NMR: nuclear spin qubits

• Decoherence in 1 sec; operations at 1 KHz • Failure probability = 10-3 per operation

(7)

Silicon Technology

(8)

Quantum Operations

• Manipulate probability amplitudes • Must conserve energy

(9)

Bit Flip

• Flips probabilities for |0> and |1> • Conservation of energy

• Reversibility => unitary matrix

1 0 X Gate Bit-flip, Not X αβ = β +α 1 1 0 0 1 2 2 2 = + =

C α β i i I X X T =            = 0 1 1 0 0 1 1 0 ) ( *
(10)

Bloch Sphere

• Visualize a qubit as a vector on a sphere • Operations composed of a rotation primitive Y 1 0 x z f q y
(11)

Controlled Not

• Control bit determines whether X operates • Control bit is affected by operation

01 00 + + 10 + 11 Controlled Not Controlled X C Not = X b a d c 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 a b c d

(12)

Quantum subsumes Classical

• Toffoli gate, or “controlled-controlled-not” • NAND does not conserve energy

– Number of inputs must equal number of outputs

• Toffoli gate simulates NAND

– Inputs = a,b; c set to 1 – Output = c A B C A B AB C ⊕

(13)

Universal Quantum Operations

T Gate Z Gate Phase-flip Controlled Not Controlled X C Not H Gate Hadamard T Z H X 2 1 | β) (α 0 | β) (α β α 1 1 1 1 2 1 = + > + − >             − > − > =             1 | β 0 | α β α 1 -0 0 1 > + > + > + > =                         11 | e 10 | d 01 | b 00 | a d c b a 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 > + > =               1 | βe 0 | αe β α e 0 0 e 8 iπ 8 iπ -8 iπ 8 iπ
(14)

-Quantum Algorithms

• Search (function evaluation)

• Factorization (FFT, discrete log) • Key distribution

• Digital signatures

(15)

Quantum Parallelism

x x y |0> y ⊕f(x)

{0,1}

{0,1}

:

f(x)

2 1 | 0 | > + > > ψ | 2 f(1) 1, | f(0) 0, | > + >

>

ψ

|

= f U
(16)

Deutch’s Algorithm(1)

[Deutch 85] H x x y |0> |1> H H y f(x) f U     > − >     > + > >= 2 1 | 0 | 2 1 | 0 | |ψ1 > 1 |ψ
(17)

Deutch’s Algorithm(2)

H x x y |0> |1> H H yf(x) f U 2 1 | 0 | | ) 1 ( 2 1 | 0 | |  = − ( ) > > − >      > − > > x x Uf f x

Note that the xor just flips the probabilities for |0> and |1> :

(18)

Deutch’s Algorithm(3)

H x x y |0> |1> H H yf(x) f U > 2 |ψ     >− >     >+ > ± 2 1 | 0 | 2 1 | 0 |     >− >     >− > ± 2 1 | 0 | 2 1 | 0 | if ) 1 ( ) 0 ( f f = ) 1 ( ) 0 ( f f ≠ if

=

>

2

|

ψ

(19)

Deutch’s Algorithm(4)

H x x y |0> |1> H H yf(x) f U > 3 |ψ

= > 3 |ψ if ) 1 ( ) 0 ( f f = ) 1 ( ) 0 ( f f ≠ if     >− > > ± 2 1 | 0 | 0 |     >− > > ± 2 1 | 0 | 1 |   > − > > ⊕ ± | f (0) f (1) | 0 |1 =
(20)

Quantum Factorization

• For N = pq, where p,q are large primes, find p,q given N

• Let r = Order(x,N), which is min value > 0 such that xr mod N = 1, x coprime N • Then (xr/2 +/-1) mod N = p,q

• eg Order(2, 15) = 4

(21)

Shor’s Algorithm

[Shor94] m qubits H r r 0 xr mod N |0> n qubits |0> FT j s/r j=1: |r> = |0> + |4> + |8> + |12> + … j=2: |r> = |1> + |5> + |9> + |13> + … j=4: |r> = |2> + |6> + |10> + |14> + … j=8: |r> = |3> + |7> + |11> + |15> + …
(22)

Quantum Fourier Transform

• r is in the period, but how to measure r? • QFT takes period r => period s/r

• Measurement yields I*s/r for some I • Reduce fraction I*s/r =>

r is the denominator with high probability! • Repeat algorithm if pq not equal N

(23)

• Iteratively concentrates probability towards desired measurement [Grover96]

• Can search N unordered items in time

Quantum Search (function evaluation)

n qubits H G G G |0> Oracle workspace measure

N N
(24)

Error Correction is Crucial

• Need continuous error correction

– can operate on encoded data

[Shor96, Steane96, Gottesman99]

• Threshold Theorem [Ahanorov 97]

– failure rate of 10-4 per op can be tolerated • Practical error rates are 10-6 to 10-9

(25)

Quantum Error Correction

Z12 Z23 Error Type Action

+1 +1 no error no action

+1 -1 bit 3 flipped flip bit 3

-1 +1 bit 1 flipped flip bit 1

-1 -1 bit 2 flipped flip bit 2

(26)

Syndrome Measurment

0 1 Ψ Ψ 2 Ψ Ψ Z X 1 ' 2 ' 12 X
(27)

3-bit Error Correction

X X X Ψ Ψ Ψ 1 A 0 A 2 Ψ 1 Ψ 0 Ψ 12 Z 01 Z X 2' 1 ' 0' X X X
(28)

Concatenated Codes

Logical qubit . . . . of encoding First level . . . Second level of encoding
(29)

Error Correction Overhead

Recursion Storage Operations Min. time (k) (7k) ( 153k ) ( 5k ) 0 1 1 1 1 7 153 5 2 49 23,409 25 3 343 3,581,577 125 4 2,401 547,981,281 625

(30)

Recursion Requirements

(31)

Clustering

• Recursive scheme is overkill

(32)

Space Savings

Shor’s

Grover’s

(33)

Time Savings

Shor’s

Grover’s

(34)

Teleportation

• Destroy source qubit and recreates at target • Pre-communicate half of a CAT state

Sender |a>

Sender

|a> Receiver|a>

Receiver |a>

1 qubit

(35)

CAT State

• Two bits are in “lockstep”

– both 0 or both 1

• Named for Shrodinger’s cat

• Also “EPR pair” for Einstein, Podolsky, Rosen H 2 11 | 00 | > + > >       > + > 0 | 2 1 | 0 | > 0 | > 0 |

(36)

Teleportation Circuit

• Source generates |bc> EPR pair

• Pre-communicate |c> to target with retry

• Classical communication to set value • Can be used to convert between codes!

|a> |c> H source target |a> |b> Z X EPR Pair (CAT) CNOT

(37)

Memory Hierarchy

[[245,1,15]]

qubits

operations

Less complex More compl code More physical Greater de [[343,1,15]] teleport qubits Cache Memory lines pages Processor teleport [[392,3,15

(38)

Quantum Fourier Transform

H 4 9 H R R2 8 6 R R3 7 R R R4 H 7 6 H R H 5 R 2 R R 4 R 3 R 5 3 H R R 2 2 R R H 4 R 3 R 2 R H 6 R 8 4 R R 5 7 R R H 5 R 3 R 3 4 R 2 R R 3 R 6 R 2 2 R 5 R R R
(39)

Blocked QFT

H 8 5 R9 H R R R H 5 2 R 7 6 R H R 8 R 4 H R 6 6 R R R 5 5 3 R R 7 4 R R R 6 H 2 R 3 R3 2 H R R4 H R 2 R5 R 2 2 R 2 R 3 R R 3 4 R R R 4 3 H 4 R 3 R 2 R R7 R
(40)

Summary

• Quantum computers can be built • Error correction allows scalability

(41)

Rest of the afternoon

• Isaac Chuang - Quantum devices

– How things really work

• Mark Oskin – Quantum architectures

References

Related documents

Social support, self-esteem, and self-efficacy will have indirect relationships with the academic performance of double orphans in Shan State, Myanmar such that

When I questioned Maria, she stated she knew that the Avatar figure was from a film, but had never seen the film. This same figure had also been used by the boys on different

I agree to be an attentive and engaged Water Guardian. I agree to be solely responsible for monitoring my child at all times and especially when my child is in or near the water.

Manning is constantly in a hurry. He rushes off to the next meeting at the team's Dove Valley headquarters. He wants to drive his team into the end zone ASAP. At age 37, Manning

The laser scan- ner measurements and the planes of the 3D city model are combined by implicit measurement equations and nonlinear equality constraints within the IEKF. To

12:00 THE TRUTH BEHIND THE DECLARATION OF INDEPENDENCE 1:30 LOVE WORTH FINDING - “Leadership Crisis in America” 2:00 INSPIRATION TIME.. 2:30 HIStory - “Hanged on a Twisted

[r]