-
Notifications
You must be signed in to change notification settings - Fork 0
Quantum Mechanics 101
Quantum mechanics is hard! Developing a quantum simulator is even harder! It requires knowledge of advanced math and physics. Fortunately, you don't need a major in quantum physics if you want to use the engine. You need the basics. In this page we will guide you through the world of quantum mechanics. Remember: only the basics.
Classical physics is based on the idea of continuity. This means that you can always subdivide an object. For example the derivative. Here is the definition of the derivative:
Lets say that we choose
Back in the days this paradox wasn't a big deal. Science managed to make pretty accurate predictions. Until the late 19th century when the science community faced a catastrophe: the ultraviolet catastrophe to be precise. Science failed to predict the spectral radiance of black bodies. This seemed weird at the time.
The catastrophe was resolved by Max Plank. With his solution he predicted the color of the sun. How did he do that? He quantized light. To quantized something means to subdivide it to finite subparts called quanta. A quantum is an object that you cannot subdivide. For example the pixels on your screen are quanta. This little trick saved centuries of science work. We have to thank him.
In the beginning of the 20th century Albert Einstein found out that the quantum of light is the photon: the particle of light. This shocked the world. It was well known that light is an electromagnetic wave. This is a contradiction. Particles are not waves and waves are not particles. How could this be possible?
Firstly, how do we know that light is a wave? Because of Thomas Young's double slit experiment. Here it is: we have a wall with two slits. Behind the wall we have a screen that records everything that reaches it. If we shoot a beam of light trough the slits we will get an interference pattern on the screen. This pattern could only be generated by a wave source. So light is a wave? But Max Planck and Albert Einstein proved that light is made of particles. So what is light? But here is something strange. If we shoot electrons through the slits we will still generate the interference pattern. So electrons are also waves? That on earth is going on?
Physicists developed quantum mechanics to explain the wave-particle duality. And here is their answer: probability. Quantum mechanics is based on probability. To see what's going on under the hood let's study the simplest quantum system: a single bit. A single bit has two possible states: on and off, or 1 or 0. How could we express this mathematically? Let's try this:
Don't fear the Greek letters and the odd brackets. Here is the explanation. We will use these triangular brackets (called "kets") to denote "state". For example
Now let's get quantum. It was mentioned that "Quantum mechanics is based on probability.". So let's study a bit that has unknown value. This is also called a qubit (quantum bit). We don't know whether it is 0 or 1. Mathematically we will do this by allowing
Here is a fact: the sum of the probability of "being 0" and the probability of "being 1" must be 1. This is true because the qubit has only two states: 0 or 1. Only two. So if we sum up the probabilities we will get 1.
Let's look again at the qubit equation:
The left psi is called a "bra", so the whole expression is a "bra-ket". This explains the weird naming. The whole "bra-ket" notation is also called "Dirac notation". It is very useful and we will use it from now on. Let's now define the "bra-ket product" as the "inner product". It will be similar to the dot product:
Now we are setting the product to the total probability of 1:
This looks like the sum of probabilities. So we can say that the state's coefficient is the square root of the state's probability.
Before we end this section, we will explore what does the bra mean. Let's define that the bra is:
If we multiply it by its ket we get:
To get the dot product equation we must set:
One last thing. If
The star is the complex conjugate of the coefficient. When the coefficients are complex they are called "probability amplitudes". In the complex realm the relation between probability:
This concludes our quantum state journey. But how does these probabilities explain the double slit experiment?
In the last chapter we saw that the quantum state encapsulates all possible events and their probability amplitudes. Let's consider the general case. We have a quantum state with