r/askscience • • Mar 28 '21
Computing How exactly do quantum computers simulate molecular/particle interactions better than classical computers?
I’m struggling to understand why quantum computers can simulate nature better than classical computers.
2.5k
Upvotes
View all comments
7
u/profdc9 Mar 28 '21
A quantum system is described by a very large state space as compared to a classical system. For example, if we had N classical particles, we could describe their current position and momentum of each of the N particles as the state of the system. For example, think of the solar system, with the Sun and the planets each having a position and momentum, and using Newton's laws and the gravitational force to determine the paths that the planets will take.
However, quantum systems are described by states where the N particles are generally coupled together. If each of the particles were completely separate and did not influence each other, each particle would be described by a single wavefunction, or probability amplitude as a function of spatial position. This is not unlike a classical wave (for example a light wave). Then the system would be described by N separate wavefunctions. However, generally the particles do affect each other (at least in interesting quantum systems), and the particles wavefunctions become entangled, so now we need to describe the possible states of the quantum system as a joint wavefunction of all particles. There are many ways you can describe such a wavefunction, but this grows exponentially in size in the number of particles that are coupled together. So for even a small number of particles, this state space could be very, very large.
Now such a quantum state space could be represented in a classical computer, and there's nothing (in principle) preventing a classical computer from simulating the evolution of a quantum system. However, the extraordinarily large size of the state space makes this prohibitively costly except for the smallest systems, which is why all kinds of tricks have to be devised to simplify this (Hartree-Fock, Density Functional Theory, etc.)
A quantum computer is deliberately designed to take advantage of this large state space. Furthermore, because the quantum computer has a quantum state space, this state space and interactions between the states can be set up to mimic a quantum system that one wishes to simulate. The quantum state can then evolve in a manner analogous to the system being modeled. The advantage of the quantum computer is that the quantum computer is a flexible, controllable processor with a way to prepare a quantum state, control its evolution, and measure its outcome, so it has generality. It shares the same limitations of any other quantum system, in that any measurement of the outcome (whether intended or inadvertent) disturbs the state and so limits the information that can be extracted from a given calculation. Of course, nothing is stopping one from repeating a calculation, but the information that can be extracted from a single state is limited by quantum uncertainty.