Efficient Simulation of Quantum Systems
Efficient Simulation of Quantum Systems
Christof Zalka
Institut für theoretische Physik, Universität Bern, Switzerland
March 25, 1996
Abstract
We show that the time evolution of the wave function of a quantum
mechanical many particle system can be implemented very efficiently on
a quantum computer. The computational cost of such a simulation is
comparable to the cost of a conventional simulation of the corresponding
classical system. We then sketch how results of interest, like the energy
spectrum of a system, can be obtained. We also indicate that ultimately
the simulation of quantum field theory might be possible on large quantum
computers.
We want to demonstrate that in principle various interesting things
can be done. Actual applications will have to be worked out in detail also
depending on what kind of quantum computer may be available one day...
1
2 Simulating Quantum Systems
General ideas about using specially designed quantum systems to simulate other
quantum systems have been published, e.g. by Feynman [9]. I present here an
actual implementation of the simulation of quantum mechanical many particle
systems on a general purpose QC 1 . For every degree of freedom of the system
we need a l-bit quantum register. This allows to store the whole (discretized)
wave function as amplitudes of the ”classical” states in the quantum computer.
Already to store so much information would be impossible for a conventional
computer. It is then shown that the time evolution for short time steps amounts
essentially to a Fourier transformation which can be carried out very efficiently
on a quantum computer [8, 10, 11].
N −1
1 m n2 ∆x2
X nn′ ∆x2 m n′2 ∆x2
|ni → √ e−i 2 ∆t +iV (n ∆x)∆t
eim ∆t e−i 2 ∆t |n′ i . (5)
N n′ =0 | {z }
| {z } | {z }
diagonal diagonal
Fourier trafo
1 Independently and at practically the same time as me, Steven Wiesner [12] has published
2
To be able to use the fast Fourier transformation algorithm (FFT), we chose
the parameters such that:
∆x2 2π
m =A , A integer . (6)
∆t N
Provided the potential V has been made periodic (with period N), this also
makes the whole phase factor periodic in n and n′ , as is necessary for consistency.
It is rather straightforward to implement the FFT algorithm on a quantum
computer [8, 10, 11] such that it uses only about l2 /2 computational steps (local
unitary transformations). The diagonal unitary transformations of the type
|n, 0i → |n, F (n)i ; |F (n)i → eicF (n) |F (n)i ; |n, F (n)i → |n, 0i .
(8)
In the first and last step the vectors represent two quantum registers. The first
step corresponds to parallel classical calculations. It can be carried out on a
quantum computer with a somewhat higher cost than just one such calculation
on a conventional computer (P. Shor [8]). As all transformations are unitary
they can just as well be inverted, so that the last step is also possible. The
second step is really a transformation of the form
3
operators than in the previous paragraph is possible (e.g. with coupling to a
magnetic field).
Also quantum field theory could be simulated, e.g. by discretizing the field as
in lattice gauge theory (for a standard text see e.g. [15]). For a bosonic quantum
field this would be equivalent to having 1 particle at each lattice point. At any
rate, applications like lattice QCD would require large quantum computers with
thousands of quantum bits, which are not going to be realizable soon.
3 Other manipulations
3.1 Simulating a decay to obtain the ground state
Often one is interested in the ground state of a quantum system, be this the
ground state of a molecule, the vacuum of a field theory or a hadron stable under
the strong interaction. I propose here to obtain the ground state essentially in
the same way as it happens in reality, namely by letting some initial state decay.
Decays happen because the instable particle is coupled to some other quantum
system, like the electromagnetic field. It is important that this quantum system
has a lot of different energy eigenvalues such that it can absorb the energy from
various transitions in the decaying system. For the simulation of a quantum
computer we may take a collection of 2-level systems with energy gaps ∆E =
E0 2−n , n = 0 . . . l such that the whole system has practically a continuous
energy spectrum. The coupling to the quantum system of interest may be done
in various ways.
During the simulation of the decay, the auxiliary ”energy-drain” system
must periodically be reset to its ground state such that it is able to absorb more
energy. As the study of simple systems shows, this does not necessarily in every
step, but only in the average, lead to a reduction of the energy expectation
4
value of the system of interest. For actual implementations one may have to
think about an adequate ”resetting” strategy, e.g. depending on the state the
auxiliary system is found in upon observation just before each resetting. Also
one may want to reduce the coupling towards the end of the decay simulation
in order not to disturb the ground state of interest too much.
Actually it may be enough to simulate the decay until the few lowest lying
states (which are of interest) have a large amplitude. Then one can follow the
procedure of paragraph 4.2 to obtain one of the energy eigenstates.
l
2X −1
L
|0i → k ψ n l |ni , where ψ(x + L) = ψ(x) , (11)
n=0
2
Z k+1
L
2i
Ii,k = |ϕ(x)|2 dx , for k = 0 . . . 2i − 1 and i = 1 . . . l . (12)
k
L
2i
Now the first split is realized by a real O(2) rotation acting on the most signif-
icant qubit of the quantum register, thus:
p p
|0, . . .i → I1,0 |0, . . .i + I1,1 |1, . . .i . (13)
Such an O(2) rotation of a qubit can be carried out analogously to the rephasing
of an amplitude (see eq. (7)) once the rotation angle ϕ has been calculated:
2 Note that the norm of mutually orthogonal substates is a useful notion in quantum com-
5
p
sin ϕ = I1,1 . (14)
The subsequent calculations of angles and rotations are then carried out in
quantum parallelism, thus:
|bl , bl−1 , ...bl−i , 0, ...i → cos(ϕ) |bl , bl−1 , ...bl−i , 0, ...i+sin(ϕ) |bl , bl−1 , ...bl−i , 1, ...i ,
p (15)
with sin(ϕ) = Il−i+1,k and k = bl−i + 2 bl−i+1 + ... + 2i bl .
So this happens simultaneously for all values of the b’s (resp. of k).
The method given here to input a wave function to a QC is rather ambitious,
as essentially it evaluates the function at every (discretized) point x. In practice
a simpler sceme may do.
6
Û(t)|Ψa i|xi = |Ψa i|x + k · a · ti , with Â|Ψa i = a|Ψa i , (17)
where |Ψa i is the state of the system. One easily verifies, that the Hamilton
operator Ĥ = k P̂ Â leads to this time evolution. Here P̂ is the usual momentum
operator for the imaginary quantum mechanical particle, thus [X̂, P̂ ] = ih̄ .
Now we simply have to implement this time evolution on the QC. This can be
expected to work out for any reasonable observable represented by the hermitian
operator  which can be written in terms of the fundamental observables and
their conjugate momenta.
Then, after simulating this “1. stage von Neumann measuring process”, we
can observe the auxiliary quantum register and should find a number propor-
tional to an eigenvalue of Â. By repeating this, we get the spectrum of  and
the weight of the various Â-eigenstates in the original system state. Also after
each observation the system will be in an eigenstate of Â. Thus this is a way of
obtaining e.g. the energy eigenstates.
5 Conclusion
I have demonstrated that on a large enough quantum computer various quantum
theoretic quantities of interest could be calculated, which may be too hard to
compute by a conventional computer. This is in particular true for strongly
interacting field theories like QCD. However simulating quantum fields would
require large quantum computers with many thousand qubits, which we don’t
know whether they can ever be built. Furthermore, here I have assumed to have
an ideal QC which doesn’t suffer from decoherence and can carry out unitary
transformations with sufficient precision (as these are really analog operations).
References
[1] S. Lloyd, A Potentially Realizable Quantum Computer.
Science 261, 1569 (1993)
[2] I. L. Chuang et al., Quantum Computers, Factoring and Decoherence. LA-
UR-95-241, quant-ph/9503007
[3] I. L. Chuang and Y. Yamamoto, A Simple Quantum Computer. quant-
ph/9505011 (1995)
[4] I. L. Chuang et al., Effects of Loss and Decoherence on a Simple Quantum
Computer. quant-ph/9602018 (1996)
[5] A. Barenco, A Universal Two Bit Gate for Quantum Computation. quant-
ph/9505016 (1995)
7
[6] A. Barenco et. al., Elementary Gates for Quantum Computation. quant-
ph/9503016 (1995)
[7] W.G. Unruh, Maintaining Coherence in Quantum Computers. hep-
th/9406058 (1994)
[8] P. Shor, Polynominal-Time Algorithms for Prime Factorization and Dis-
crete Logarithms on a Quantum Computer. In Proc. 35th Annual Sympo-
sium on Foundations of Computer Science. IEEE Press, pp 124-134, Nov.
1994, quant-ph/9508027
[9] R. Feynman, Internat. J. Theoret. Phys., 21, pp 467-488 (1982)
[10] D. Coppersmith, IBM Research Report RC 19642 (1994)
[11] A. Ekert and R. Jozsa (1995), Rev. Mod. Phys., to appear
[12] S. Wiesner, Simulations of Many-Body Quantum Systems by a Quantum
Computer. quant-ph/9603028 (1996)
[13] J. von Neumann, Mathematical Foundations of Quantum Mechanics,
Princeton University Press, Princeton (1955)
[14] B. S. DeWitt, in Physics Today, September 1970
[15] I. Montvay, G. Münster, Quantum Fields on a Lattice,
Cambridge University Press (1994)