umesh v. vazirani u. c. berkeley quantum algorithms: a survey

30
Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Upload: deirdre-marsh

Post on 18-Dec-2015

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Umesh V. VaziraniU. C. Berkeley

Quantum Algorithms: a survey

Page 2: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Exponential Superposition

Superposition of all 2n classical states:

Measurement:

See |xi with probability |x|2

+-

+

-

+

-

+-

Quantum Algorithms: tension between these two phenomena

x

x x 1|| 2x

x

all n-bit

strings

Page 3: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Why limit computers to electronics implemented on

silicon?

• Extended Church-Turing thesis - Any “reasonable” model of computation can be efficiently simulated by a probabilistic Turing Machine. - Circuits, Random access machines, cellular

automata. - “Reasonable” = physically realizable in principle

• Quantum computers only model that violate this thesis

Page 4: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

• Shor’s quantum factoring algorithm. Breaks modern cryptography.

• Simulating quantum mechanics.

• Symmetry - Discrete logarithm - Pell’s equation - Shifted Legendre Symbol - Gauss sums - Elliptic curve cryptography

Quantum Algorithms – Exponential Speedups

Page 5: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Young’s Double slit experiment

P1(x) = |1(x)|2

P2(x) = |2(x)|2

1,2 = 1(x) + 2(x)

P1,2(x) = |1,2(x)|2

Page 6: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

n-slits• Etch n slits in a pattern based on the input.

• Send photon through and measure.

• Location at which photon detected gives provides information about solution to input.

Input-based slit pattern

photon

screen

Page 7: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Quantum Circuits

- Each Wire Carries a qubit of information

- Controlled Not:

a a

b a © b

- Single Bit Gates (Rotations)

|1i

|0i

|1’i

|0’i

|0i ! cos |0i + sin |1i

|1i ! sin |0i - cos |1i

..\..\clipart\atomphoton\index1.html

U

Page 8: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Quantum Fourier Transform

Quantum: Input: |i = j=0

m j |ji O(logm) qubits

Fourier transform: F|i = j=0m-1 j |ji O(log2m) gates

Limited Access:

Measure: see |ji with probability |j|2

1

1

0

)1)(1()1(21

12

1

1

0

.

.

.1

.....

.....

.1

1.111

.

.

mmmmm

m

m

Classical: FFT O(m logm)

Page 9: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Quantum Fourier TransformOne Qubit or Z2

|1i

|0i

|1’i

|0’i

|0i ! |0i + |1i

|1i ! |0i - |1i

Two Qubits or Z22

|00i ! (|0i + |1i) (|0i + |1i) = 1/2(|00i + |01i + |10i + |11i)

2

1

2

1

2

1

2

1

|01i ! (|0i + |1i) (|0i - |1i) = 1/2(|00i - |01i + |10i - |11i) 2

1

2

1

|10i ! (|0i - |1i) (|0i + |1i) = 1/2(|00i + |01i - |10i - |11i) 2

1

2

1

|11i ! (|0i - |1i) (|0i - |1i) = 1/2(|00i - |01i - |10i + |11i) 2

1

2

1

2

1

2

1

Page 10: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

n Qubits or Z2n

|ui

x1

xn

xunx

n

xu

|2

)1(|

}1,0{2/

Page 11: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Outline of Shor’s Factoring Algorithm

• N ! exponential superposition x x |xi

• Factors of N encoded in global property of superposition – its period.

• quantum fourier transform and measure to extract period.

• Reconstruct factors of N from the period.

0 q 0 q

Page 12: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Outline of Shor’s Factoring Algorithm (Example)

0 q 0 q

• N = 15 = p¢ q• Randomly choose a = 7 (mod 15)• Consider sequence ax (mod 15) for x =0,1,2,… 1, 7, 4, 13, 1, 7, 4, 13, 1, 7, 4, 13, …• Period r = 4. • N | (ar-1)=(ar/2+1)(ar/2 -1) = (72 +1)(72 -1) = 50¢ 48• p = gcd(15, 50), q = gcd(15, 48).• Create superposition x |xi |axi

Page 13: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Outline of Shor’s Factoring Algorithm (Example)

• N = 15 = p¢ q• Randomly choose a = 7 (mod 15)• Consider sequence ax (mod 15) for x =0,1,2,… 1, 7, 4, 13, 1, 7, 4, 13, 1, 7, 4, 13, …• Period r = 4. N | (r+1)(r-1) = (4+1)(4-1) = 5¢ 3• p = gcd(15, 5), q = gcd(15, 3).

• Create superposition x |xi |axi

0 q 0 q

Page 14: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

The Hidden Subgroup ProblemGiven f : G ! S, constant and distinct on cosets of subgroup H. Find H.

Examples• Factoring N: G = • Discrete log: G =

G:

Page 15: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

1. State Preparation

G:

Given f : G ! S, constant and distinct on cosets of subgroup H. Find H.

FG

f

Measure

1. Create Random Coset state h2 H |g + hi:

Page 16: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

2. Fourier Sampling

G:

F.T.

G:

Measure a random element of H?.

3) (Classically) reconstruct H from polynomialy many samples.

Page 17: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Example: Factoring

To factorize N = P¢Q, sufficient to compute order of randomly chosen x mod N. i.e. smallest positive r: xr = 1 mod N.

Let f: a ! xa mod N. Underlying group = ZM, where M = (N) = (P-1)¢(Q-

1)Hidden subgroup = H = h r i = {0,r, 2r, …, M/r}

H? = h M/ri = {0,M/r, 2M/r, …, M}Fourier sampling gives kM/r for random k: 0 · k · r-1

gcd(M, kM/r) = M/r if k,r relatively prime.

Page 18: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

• Given a positive non-square integer d, find integer solutions x,y of x2 – d¢ y2 = 1.

Pell’s Equation

• [Hallgren 2002]: 1) Quantum algorithm for Pell’s Equation

2) Breaks Buchman-Williams cyptosystem

• One of the oldest studied problem in algorithmic number theory.• Appears harder than factoring • [1989] Buchman-Williams cryptosystem

Abelian Hidden subgroup problem – but the group is not finitely generated

Page 19: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Two Challenges

• Basis v1, …, vn vectors in Rn.

• The lattice is a1 v1 + … + an vn for all integers a1, … an.

• Find shortest vector in lattice.

Short vector in Lattice:

Page 20: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Two Challenges

Finding short vector not easy!

1. Short vector in Lattice:

Regev: DN Dihedral group

2. Graph Isomorphism

SN Symmetric group

Page 21: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Ajtai-Dwork Cryptosystem.

Page 22: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey
Page 23: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

[GSVV] For random choice of basis, for sufficiently non-abelian groups (e.g. S_n), exponentially many samples necessary to distinguish |H|=2 from |H| =1.

Page 24: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Dihedral HSP

• Dihedral Group DN : Group of

symmetries of a regular N-gon. • Generated by x, y: xN = 1, y2=1, xyxy = 1.• Assume N = 2n.

• DN has 4 1-d irreps and (N-1)/2 2-d irreps.

jl

jll

j x

0

0)(

0

0)(

jl

jll

j yx

[Kuperberg ’03] )(2 nO algorithm for dihedral HSP.

Page 25: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Dihedral HSP algorithm• Assume wlog H = {1, xhy}• Set up random coset state, fourier transform and

sample irrep to get random j,

• Can sample column superposition and do phase estimation to get coin flip of bias

• O(log N) samples sufficient to determine h, but reconstruction problem hard.

• Would like to sample particular irreps j.

jhkhj

khjjh

)(

)(

N

jh2cos

Page 26: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Dihedral HSP algorithmClaim: i j = i+j © i-j

Algorithm: • Start with registers in random coset states, FT, sample irreps.• Sort irrep names, pair up successive registers• Apply above transformation, and retain iff i,j ! i-j• Number of bits reduced by per iteration. iterations

• Number of irreps reduced by 4 per iteration.

n22

n2

2

n

Page 27: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Non-abelian Hidden Subgroup Problem

• Abelian quantum algorithm doesn’t generalize - Prepare random coset state - Measure in Fourier basis

• Ettinger, Hoyer, Knill ’98:

- Prepare several registers with random coset states - Perform appropriate joint measurement

• Ip ’03:

- Fourier transform & Measure irrep (character) for each register - Perform appropriate joint measurement on residual state.

Page 28: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Adiabatic Quantum State Generation

Aharonov, Ta-Shma ‘02

AharonovvanDamKempeLandauLloydRegev’03AharonovvanDamKempeLandauLloydRegev’03

Adiabatic Computation ≈ Quantum ComputationAdiabatic Computation ≈ Quantum Computation

Page 29: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Classical Simulation of Quantum Systems

Vidal ’03 Polynomial time simulation of one dimensional spin chains with O(log n) entanglement length.

A B C

AC = A C

ABC = AB1 B2C

1 2

Page 30: Umesh V. Vazirani U. C. Berkeley Quantum Algorithms: a survey

Summary

• Quantum computation only model that violates extended Church-Turing thesis.

• Exponential superposition vs limited access.

• Exponential speedups appear to require symmetry.

• Fast quantum algorithm for abelian hidden subgroup problem

• Non-abelian case open.