Lecture 26
Lecture 26
d −i
| ψ(t)i = H | ψ(t)i .
dt ~
Here, H is the Hamiltonian, which gives the energy of the system. In the rest of this
lecture, we will choose are units so that ~ = 1, so we don’t have all these ~s floating
around.
d
Let’s look at the equation more closely. The left side, dt | ψ(t)i, has units of sec−1 ,
or Hertz. The right side, H | ψ(t)i has units of energy. We thus need a constant to relate
them. This contant turns out to be ~ ≈ 1.05 × 10−34 Joule-sec. The reason that we do
not generally observe macroscopic quantum effects is that this constant is so small.
How can we derive the Schrödinger equation? We know quantum mechanics is
linear, so let’s assume that the dynamics is given by a linear first-order differential
equation. We then get
d
| ψ(t)i = A | ψ(t)i . (1)
dt
Now, let’s differentiate hψ(t)|ψ(t)i. We then have
d d d
hψ(t)|ψ(t)i = hψ(t) | | ψ(t)i + hψ(t) | | ψ(t)i
dt dt dt
= hψ(t) | A† | ψ(t)i + hψ(t) | A | ψ(t)i = hψ(t) | (A† + A) | ψti ,
where the first equality comes from the product formula for differentiation, and the
second from plugging in Eq. 1.
However, we know that hψ(t)|ψ(t)i = 1, and thus its derivative must be 0, so the
expression above must be 0, no matter what | ψ(t)i is. The only way this could happen
is for A† + A = 0. Thus, A† = −A. If we let H = iA, this makes H real and gives
the differential equation
d
| ψ(t)i = −iH | ψ(t)i ,
dt
1
which is the Schrödinger equation with ~ = 1. Solving this equation gives
To simulate quantum dynamics, we have to simulate the real world, which behaves
quite differently than our gate model, because we have continuous time and because
everything evolves simultaneously. There are some other differences. (For example
the real world evolves according to quantum field theory, where there is no non-local
action. Two electrons repel each other not because there is action at a distance, but
because they are coninually exchanging photons.) However, in this course we will
stick with quantum mechanics, which is much less complicated.
Let’s now discuss the Schrödinger equation some more, and give some examples.
The equation (setting ~ = 1) was
d
| ψ(t)i = −iH | ψ(t)i .
dt
Recall that H is a Hermitian operator that gives the energy of the system | ψi. The
solution of the Schrödinger equation is
We can expand this equation in a Taylor series which is reasonably accurate for small
t:
1
e−iHt = I − iHt − H 2 t2 + . . .
2
There is another way of looking at the solutions of the Schrödinger equation.
For our first example, let’s look at a qubit. Any 2 × 2 complex matrix can be
expressed as
vx σ x + vy σ y + vz σ z + vI σ I
However, we can disregard the last term. Consider what happens if we have a Hamil-
tonian of vI. The energy of a state | ψi is hψ | vI | ψi = v, and the evolution is
| ψ(t)i = e−vt | ψ0 i .
Because a global phase doesn’t affect the state, this state is essentially | φ0 i. I won’t
work out the details here, but similarly adding a term proportional to I just adds a global
phase, which can be ignored. So the absolute energy of a system is not important for
quantum evolution; the only thing that mastters is the relative energy of the states of the
system. Thus, we can assume that this Hamiltonian is ~v · ~σ , where ~σ = {σx , σy , σz }
Now, let’s look at how we might simulate the dynamics of a qubit evolving under a
Hamiltonian. Consider two times, t and t + ∆t. We have that
2
This equation is quite easy to simulate, and for small t, it should work fairly well.
Another thing we can do is write | ψ0 i in the basis of eigenstates of H. Let | vE i
be the eigenstate of energy E, and let
X
| ψ0 i = cE | vE i .
E
Then X
| ψt i = cE e−iEt | vE i
E
Exercise: using these ideas, show that when we have the Hamiltonian ~v ·~σ , the state
| ψi rotates around the vector ~v .
Now, let’s look at another Hamiltonian; specifically, one called the transverse Ising
model. This is a Hamiltonian on a spin chain — we have qubits at sites 0, 1, . . . , N ,
and the Hamiltonian is
NX −1 N
X
j j+1
σz σz − g σxj ,
j=0 j=0
3
For small t, this is small.
What we will do is compute the evolution
t t
L t
L
e−iA L e−iB L ≈ e−i(A+B) L
Intuitively, each of the L terms of this product differs from the correct evolution by
2
order Lt . When we multiply all L terms together, this increases the difference by
2
a factor of L, so the approximation is good to O tL . To make this rigorous, we first
need to decide hwo we will measure the difference, and then show that our intuition
above holds.
What we use to measure the difference is the operator norm. This norm is
kRk = max{|R | ψi | : | | ψi | = 1}
| ψi
kR + Sk ≤ kRk + kSk;
For U unitary,
kU Rk = kARk = kAk;
and
M
X
kR1 R2 . . . Rm − S1 S2 . . . Sm k ≤ kRj − Sj k
j=1
Thus, if we divide the time t into L subintervals of length Lt , we can make the error
2
of order tL . By making L large enough, we can make the approximation as accurate
2
as desired. We thus have that to get the error down to , we need to set = O tL , or
2
L = O t .
There are also better Trotter-Suzuki formulas which work with higher order. I
am only going to give the second-order one in this lecture (they get quite a bit more
complicated as the orders get higher. Here, instead of repeating the evolution eiAt eiBt ,
we repeat the evolution
1 1
e− 2 iAt e−iBt e− 2 iAt
Expanding the exponentials in Taylor series, we have
1 1 1 1 1 1 1
e− 2 iAt e−iBt e− 2 iAt = (I − iA − A2 . . .)(I − iB − B 2 . . .)(I − iA − A2 . . .)
2 8 2 2 8
4
Expanding and collecting terms, we find that
1 1 1 1
e 2 iAt eiBt e 2 iAt = I − i(A + B) − (A2 + AB + BA + B 2 )t2 + O(t3 ),
2 2
which agrees with e−i(A+B) up to an error of O(t3 ).
t
Now, if we divide the time up into L intervals of size L, we see that
1 t t 1 t
e− 2 iA L e−iB L e− 2 iA L
t 3 t3
is accurate to order L L . So to get accuracy of , we need to set = O L2 , i.e.,
t3/2
make L of order 1/2
.