simulating hamiltonian dynamics on a quantum...

32
Andrew Childs MIT Center for Theoretical Physics Simulating Hamiltonian dynamics on a quantum computer 27 June 2003

Upload: others

Post on 17-Jun-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Andrew Childs

MIT Center for Theoretical Physics

SimulatingHamiltonian dynamics

on a quantum computer

27 June 2003

Page 2: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Why quantum computing?

Information is physical.

Physics is quantum mechanical.

In particular: Physical systems are describedby vectors in Hilbert space that evolve byunitary transformations and can be measuredby projection onto orthogonal subspaces.

Page 3: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

The quantum circuit model

• Start in the state j0i• Apply a sequence of unitary

transformations U1, U2, …, Uk chosen froma universal gate set, e.g. {H,T,CNOT}

• Measure in the computational basis

But time is not really discrete!

Page 4: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Hamiltonian dynamics

H=H† so that the time evolution is unitary:

H(t) is the Hamiltonian.

Quantum systems evolve according tothe Schrödinger equation:

Page 5: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Solution of Schrödinger equation

Eigenstates of H: H jfji = Ej jfji

H = Âj Ej jfjihfjj Ej 2 R since H=H†

Suppose jy(0)i = jfjiThen jy(t)i = exp(–i Ej t) jfji

Expand a general initial state: jy(0)i = Âj cj jfjijy(t)i = Âj cj exp(–i Ej t) jfji = U(t) jy(0)i

where U(t) = exp(–i H t) = Âj (–i H t)j / j!

time independent

Page 6: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Solution of Schrödinger equation

Time dependent case

jy(t)i = U(t) jy(0)i

where U(t) = T exp[–i s0t dt H(t)]

time ordering operator

Special case: Suppose H(t) changes veryslowly. Then the evolution is much simplerbecause of the Adiabatic Theorem. More onthis later.

Page 7: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Relation to the circuit model

Unitary quantum gates arise fromHamiltonian dynamics.

Simple example: Two level atom.

j1i

j0iApply a laser pulse.

But perhaps we can use many-body Hamiltoniansto perform interesting computations.

Page 8: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Why consider Hamiltonians?

Simulating physical systems

Quantum analogue of the Cook-LevinTheorem (Kitaev: “LOCAL HAMILTONIAN isQMA-complete”)

New kinds of quantum algorithms• Quantum walks• Adiabatic quantum computation

Page 9: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Efficiently realizable Hamiltonians

How do we know what Hamiltonians arelegal for use in computations?

Example:Let x = instance of a hard problemLet sx = solution of x

The Hamiltonian

seems hard to implement!

Page 10: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Efficiently realizable Hamiltonians

Two notions of efficient realizability:

1. H is the Hamiltonian of a physical systemwe can “easily” build

Spins arranged on a 2D lattice

j k

where ajk=0 for non-adjacent sites

Page 11: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Efficiently realizable Hamiltonians

Two notions of efficient realizability:

2. H is a Hamiltonian that can be efficientlysimulated in the circuit model

Def. A Hamiltonian H acting on n qubitscan be efficiently simulated if for anye>0, t>0 there is a quantum circuit Uconsisting of poly(n,t,1/e) gates suchthat kU – e–iHtk<e.

Note: This will include the “physically reasonable”Hamiltonians.

Page 12: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

Rule 1. Local Hamiltonians.

If H acts on O(1) qubits, it can beefficiently simulated.

Rule 2. Rescaling.

If H can be efficiently simulated, thenc H can be efficiently simulated for anyc=poly(n).

Page 13: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

Rule 3. Linear combination.

If Hj can be efficiently simulated, thenÂj Hj can be efficiently simulated.

Lemma. Lie product formula.

Let h=maxj kHjk. Then

Page 14: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Lie product formula

Proof.

By Taylor expansion,

Thus

Page 15: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

The story so far

Using Rules 1,2,3 we can simulate many“physical” Hamiltonians.

H = sum of terms, each acting on aconstant number of qubits

Lloyd 96

Recall example of a spin glass:

Page 16: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

Rule 4. Commutation.

If H1, H2 can be efficiently simulated,then i[H1,H2] can be efficientlysimulated.

Rule 5. Unitary conjugation.

If H can be efficiently simulated and theunitary operation U can be efficientlyimplemented, then U†HU can beefficiently simulated.

Proof.

Page 17: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

Rule 6. Computable phase shifts.

If H is diagonal and the diagonalelement d(a)=hajHjai can be efficientlycomputed for any a, then H can beefficiently simulated.

jai

j0i

Proof.

d

e–itj1ih1j

e–2itj1ih1j

e–4itj1ih1j

d

Page 18: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

1

2

3

4

501100

10010

10011

01101

00110

H =

Example:

Rule 7. Sparse Hamiltonians.

Suppose that for any a, one canefficiently compute all the values of b forwhich hajHjbi is nonzero. Then H can beefficiently simulated.

Page 19: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

Rule 7. Sparse Hamiltonians.

Suppose that for any a, one canefficiently compute all the values of b forwhich hajHjbi is nonzero. Then H can beefficiently simulated.

01100

10010

10011

01101

00110

H = 1

2

3

4

5

Example:

Page 20: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Tools for simulating Hamiltonians

Rule 7. Sparse Hamiltonians.

Suppose that for any a, one canefficiently compute all the values of b forwhich hajHjbi is nonzero. Then H can beefficiently simulated.

01100

10010

10011

01101

00110

H = 1

2

3

4

5

Example:

Page 21: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Coloring a sparse graph

Lemma.

Given an undirected graph G with Nvertices and maximum degree d,suppose one can efficiently compute theneighbors of a given vertex. Then thereis an efficiently computable functionc(a,b)=c(b,a) taking O(d2 log2 N) valuessuch that for all a, c(a,b)=c(a,b’) impliesb=b’.

Aharonov, Ta-Shma 03

Page 22: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Coloring a sparse graph

Proof.

Let index(a,b) be the index of b in the list of neighbors of a.

Let k(a,b) be the smallest k such that a≠b (mod k).Note k(a,b)=k(b,a) and k=O(log N).

For a<b, definec(a,b) := (index(a,b), index(b,a), k(a,b), b mod k(a,b))

For a>b, define c(a,b) := c(b,a).

Suppose c(a,b)=c(a,b’). Four cases:

i. a<b, a<b’. index(a,b)=index(a,b’) ) b=b’.

Page 23: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Coloring a sparse graph

Proof.

Let index(a,b) be the index of b in the list of neighbors of a.

Let k(a,b) be the smallest k such that a≠b (mod k).Note k(a,b)=k(b,a) and k=O(log N).

For a<b, definec(a,b) := (index(a,b), index(b,a), k(a,b), b mod k(a,b))

For a>b, define c(a,b) := c(b,a).

Suppose c(a,b)=c(a,b’). Four cases:

i. a<b, a<b’. index(a,b)=index(a,b’) ) b=b’.ii. a>b, a>b’. index(a,b)=index(a,b’) ) b=b’.

Page 24: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Coloring a sparse graph

Proof.

Let index(a,b) be the index of b in the list of neighbors of a.

Let k(a,b) be the smallest k such that a≠b (mod k).Note k(a,b)=k(b,a) and k=O(log N).

For a<b, definec(a,b) := (index(a,b), index(b,a), k(a,b), b mod k(a,b))

For a>b, define c(a,b) := c(b,a).

Suppose c(a,b)=c(a,b’). Four cases:

i. a<b, a<b’. index(a,b)=index(a,b’) ) b=b’.

iii. a<b, a>b’. k(a,b)=k(a,b’), a=b mod k, contradiction.ii. a>b, a>b’. index(a,b)=index(a,b’) ) b=b’.

Page 25: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Coloring a sparse graph

Proof.

Let index(a,b) be the index of b in the list of neighbors of a.

Let k(a,b) be the smallest k such that a≠b (mod k).Note k(a,b)=k(b,a) and k=O(log N).

For a<b, definec(a,b) := (index(a,b), index(b,a), k(a,b), b mod k(a,b))

For a>b, define c(a,b) := c(b,a).

Suppose c(a,b)=c(a,b’). Four cases:

i. a<b, a<b’. index(a,b)=index(a,b’) ) b=b’.

iii. a<b, a>b’. k(a,b)=k(a,b’), a=b mod k, contradiction.ii. a>b, a>b’. index(a,b)=index(a,b’) ) b=b’.

iv. a>b, a<b’. k(a,b)=k(a,b’), a=b’ mod k, contradiction.

Page 26: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Coloring a sparse graph

Proof.

Let index(a,b) be the index of b in the list of neighbors of a.

Let k(a,b) be the smallest k such that a≠b (mod k).Note k(a,b)=k(b,a) and k=O(log N).

For a<b, definec(a,b) := (index(a,b), index(b,a), k(a,b), b mod k(a,b))

For a>b, define c(a,b) := c(b,a).

Suppose c(a,b)=c(a,b’). Four cases:

i. a<b, a<b’. index(a,b)=index(a,b’) ) b=b’.

iii. a<b, a>b’. k(a,b)=k(a,b’), a=b mod k, contradiction.ii. a>b, a>b’. index(a,b)=index(a,b’) ) b=b’.

iv. a>b, a<b’. k(a,b)=k(a,b’), a=b’ mod k, contradiction.

Page 27: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Simulating a sparse Hamiltonian

Proof. (of Rule 7)

CCDFGS 02

Write H as a diagonal matrix plus a matrix with zeros on thediagonal. The diagonal part can be simulated using Rule 6and combined with the off-diagonal piece using Rule 3. Thusassume H has zeros on the diagonal WLOG.

Let vc(a) be the vertex connected to a by an edge of color c.Let xc(a) := Re hajHjvc(a)i, yc(a) := Im hajHjvc(a)i.

We can efficiently implement unitary operatorsVc ja,0,0i = ja, vc(a), xc(a)iWc ja,0,0i = ja, vc(a), yc(a)i.

Consider the state space ja,b,zi where vertices are ja,0,0i.

We can efficiently simulate the HamiltoniansS ja,b,xi = x jb,a,xiT ja,b,yi = i y jb,a,–yi

using Rules 1,5,6.

(If no such vertex,vc(a)=11…1,

xc(a)=yc(a)=0.)

Page 28: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Simulating a sparse Hamiltonian

Proof. (of Rule 7, continued)

CCDFGS 02

This has the proper action on vertices:

Using Rules 3,5 we can efficiently simulate

Page 29: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Example: Particle in a potential

Wiesner 96, Zalka 98

Lattice version (lattice spacing l):

p2 is diagonal in the Fourier basis, and theunitary operator corresponding to the Fouriertransform is efficiently implementable, so Hcan be simulated using Rules 3,5,6.

Alternatively, just note that H is sparse andcomputable, so Rule 7 applies.

Consider the Hamiltonian

Page 30: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

Summary

Quantum systems evolve according to theSchrödinger equation

Such systems can be efficiently simulated by auniversal quantum computer when H

• Is a sum of terms, each acting on at most aconstant number of qubits (Rule 1,2,3)

• Is i times the commutator of two simulableHamiltonians (Rule 4)

• Differs from a simulable Hamiltonian by anefficiently implementable unitary transformation(Rule 5)

• Is sparse and efficiently computable (Rules 6,7)

Page 31: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

References

Hamiltonian dynamics• D. J. Griffiths, Introduction to Quantum Mechanics (Prentice Hall,

1994).• R. Liboff, Introductory Quantum Mechanics (Addison Wesley, 1998).

Simulating physical systems• R. Feynman, Simulating physics with computers, Int. J. Theor.

Phys. 21, 219 (1982).• S. Lloyd, Universal quantum simulators, Science 273, 1073 (1996).• S. Wiesner, Simulations of many-body quantum systems by a

quantum computer, quant-ph/9603028.• C. Zalka, Simulating quantum systems on a quantum computer,

Proc. R. Soc. London A 454, 313 (1998).• M. A. Nielsen and I. L. Chuang, Quantum Computation and

Quantum Information (Cambridge University Press, 2000).

Time-independent Hamiltonian dynamics allow universalquantum computation• R. P. Feynman, Quantum mechanical computers, Optics News 11,

11 (1985).

Page 32: Simulating Hamiltonian dynamics on a quantum computeriqst.ca/media/pdf/events/sschool03/Lecture23-Hamiltonian-Childs.pdf · Simulating a sparse Hamiltonian Proof. (of Rule 7) CCDFGS

References

Simulating sparse Hamiltonians• A. M. Childs, R. Cleve, E. Deotto, E. Farhi, S. Gutmann, and D.

Spielman, Exponential algorithmic speedup by quantum walk,quant-ph/0209131, STOC 2003.

• D. Aharonov and A. Ta-Shma, Adiabatic quantum state generationand statistical zero knowledge, quant-ph/0301040, STOC 2003.

Hamiltonian dynamics in quantum algorithms:See next lecture

Measuring a Hermitian operator• C. Zalka, Simulating quantum systems on a quantum computer,

Proc. R. Soc. London A 454, 313 (1998).• D. S. Abrams and S. Lloyd, A quantum algorithm providing

exponential speed increase for finding eigenvalues andeigenvectors, quant-ph/9807070, Phys. Rev. Lett. 83, 5162 (1999).

• A. M. Childs, E. Deotto, E. Farhi, J. Goldstone, S. Gutmann, and A.Landahl, Quantum search by measurement, quant-ph/0204013,Phys. Rev. A 66, 032314 (2002).