Quantum Mechanics Crash Course (Part 1): Concepts and Statistics
Author: Julie Butler
Date Created: July 6, 2024
Last Modified: August 19, 2024
What Makes Up Matter?
All matter is made up of atoms and molecules (and all molecules are made up of atoms). Atoms are not indivisible; they can be broken up into smaller components. An atom is made up of a dense, positively charged nucleus surrounded by small, negatively charged electrons. Most of the mass of the atom is contained in the nucleus but most of the volume an atom occupies is empty space; the electrons “orbit” the nucleus at very fast speeds. A force called the Coulomb force holds the electrons to the nucleus because of their charges (opposite charges attract, same charges repel).
Electrons, as far as we know, can not be further divided (they are said to be elementary particles in the standard model of physics). The nucleus, however, can be divided into particles called protons and neutrons. A proton and a neutron have a similar mass, but the protons are positively charged and the neutrons are negatively charged. The magnitude of charge for a proton and an electron are the same (i.e. the number is the same) but the sign of the charge is different. The positively charged protons are why the nucleus is positively charged and attracts the electrons needed to form an atom. However, the positively charged protons want to repel each other (same charges repel) but there is another force, which only exist in the nucleus, which resists this repulsion and holds the protons and neutrons together. This is called the strong force. Note that neutrons and protons can be further divided into even smaller particles called quarks, but we will not study quarks in this course (if interested, quarks are covered in particle physics courses).
The number of protons in the nucleus defines the type of atom, i.e., what element it belongs to. For example, every atom which has six protons in its nucleus is carbon. An atom will typically have no net charge (the net charge is calculated by adding up the individual charges of every particle), meaning that the number of electrons in the atom is the same as the number of protons. Note this is not always true: electrons can be added or removed from a atom, creating ions (though this veers into the field of chemistry instead of quantum mechanics). The number of neutrons in the nucleus does not define the type of element, and is (typically) not the same as the number of protons. Two atoms which contain the same number of protons (and thus are the same element) but have different numbers of neutrons are called isotopes. The isotope of an element determines how stable it is (nuclei that do not have specific amounts of protons and neutrons are unstable and will eventually decay into smaller nuclei).
Molecules, atoms, nuclei, electrons, protons, neutrons, and other small particles do not obey the same rules of physics that macroscopic objects obey (this type of physics is called classical physics). Instead, quantum mechanics describes the behavior of things so small we cannot see them. It implements a new set of rules that these systems obey instead of classical physics. Quantum mechanical systems (a system is an object or objects we are studying) are not deterministic, meaning we can not know the exact result of measuring the position, speed, energy, etc. of a system. Quantum mechanical systems are instead probabilistic; the results of experiments are statistically random, but still describable!
Light and Photons
In classical physics, we think of light as being a wave, specifically electromagnetic radiation. In fact, in many experiments such as the double-slit experiment, light does behave as a wave. However, there are some experiments which can be performed using light that produce results that cannot be explained if light is only a wave. For example, there is an experiment called the photoelectric effect where light is directed onto an exposed wire. If the correct wavelengths of light (higher in energy) are used then the light can give the electrons in the metal enough energy to break free and produce a current. However, if lower energy wavelengths are used then no matter how bright the light is (how intense the light is) no electrons will break free and produce a current. The results of this experiment and its interpretation, gave Einstein his Nobel Prize. The only way to explain the photoelectric effect is if we consider light to not be a light but to be made up of tiny, massless particles called photons. In fact, light has both particle and wave properties, resulting in something called a wave-particle duality.
Wave-Particle Duality
We say that light has a wave-particle duality because it displays properties of both waves and particles, depending on the experiment being performed. However, this duality is not limited to light. Particles so small that they require quantum mechanics to describe their motion (electrons, protons, neutrons, etc.) also exhibit wave light qualities under certain experiments. For example, compare the images from a neutron scattering experiment to those from a double-slit experiment. Thus, small particles also have a wave-particle duality and we utilize this feature a lot in quantum mechanics. We describe particles with a wavefunction, we can talk about the average position of a particle but not its exact position (what is the location of a wave?), and many other features that we will discuss in the coming weeks.
Interlude: Probability and Statistics
Since quantum mechanics is a probabilistic system, we need to have a good background in probability and statistics before we can begin developing the relevant mathematics. First, we need to discuss the difference between discrete and continuous variables. Discrete variables describe data that can only be certain values. Flipping a coin can only result in “heads” or “tails”. The odometer on a car only reads whole miles. The money in a bank account increases or decreases in increments of one cent. Continuous variables, on the other hand, can be any number in a given range. The temperature of a room can be any number, a car can go down the road at any speed.
We call the outcome of a measurement an event. In the case of flipping a coin, the possible events are “heads” or “tails”. We can represent a heads as a 0 and a tails as a 1. Then, the number of times flipping a coin and getting heads is
where j are the possible events that come from taking a measurement of a system and N(j) is the number of times event j occurred.
Discrete Variables Example
Consider a room containing 14 people who have the following ages:
- one person aged 14
- one person aged 15
- three people aged 16
- two people aged 22
- two people aged 24
- five people aged 25
The way we typically use age, it is a discrete variable, only taking whole numbers.
We can then define the number of people of a certain age as:
- N(14) = 1
- N(15) = 1
- N(16) = 3
- N(22) = 2
- N(24) = 2
- N(25) = 5
Probability
Discrete Variables
With discrete variables, the probability of event j happening,
Note that the total probability of any possible event occurring must be 1 (there is a 100% chance that measuring the outcome results in one of the possible events) so
Continuous Variables
For continuous variables, since there is an infinite number of possible events, we need to consider a different formulation. Instead of the probability of a certain event occurring, we will instead discuss the probability of the result of a measuring being between a and b:
where we have defined
Discrete Variables Examples
Let’s remember our data set from the previous example:
- N(14) = 1
- N(15) = 1
- N(16) = 3
- N(22) = 2
- N(24) = 2
- N(25) = 5
We can calculate to probabilities of each of these events occurring using
- P(14) = 1/14
0.071 - P(15) = 1/14
0.071 - P(16) = 3/14
0.214 - P(22) = 2/14
0.142 - P(24) = 2/14
0.142 - P(25) = 2/14
0.357
Note that
Average (Mean) or Expectation Value
Since quantum mechanics is a probabilistic system, we will typically refer to the average measurement instead of an exact measurement. Note that both average and mean have the same definition: the most likely outcome of a measurement. In the context of quantum mechanics, we will typically use the phrase expectation value instead of average but they have the same meaning.
We will denote the expectation value for a quantity j as
and for continuous variables as:
Discrete Variables Example
What is the expectation value (average) for the age of all people in the room?
The interpretation of this result is that if you randomly select a single person from this room over and over, eventually the average age of all of your picks will be 21. Note that 21 is not a possible measurement, however. There is a difference between expectation value and measurement.
Other Expectation Values
We can also calculate the expectation value of other quantities which depend on your data. Simply replace j or x in the previous equations with a function of j or x. So, for discrete data we have:
and for continuous variables we have:
Discrete Variables Example
Let’s assume that there is a simple formula that relates a person’s age, a, to the costs of their health insurance, I:
For the room of people we have, the expectation value for their health insurance cost is:
Standard Deviation
The final statistical calculation we need to look at is the standard deviation, which measures the spread of the data. A large standard deviation indicates that the data is very spread out while a small standard deviation indicates that the data is clustered around the average value. We will denote the standard deviation is
Discrete Variables Example
The standard deviation of our ages data set can be calculated as follows. We found earlier that
Now we can calculate the standard deviation:
This tells us that 67% of people in the room are within 4.30 years of our average age. This also tells us that there is a wide variety of ages in the room as 4.30 years is quite large considering that there is only 9 years between the oldest and youngest people in the room.
Events and Likelihoods
Now that we have the statistics defined, let’s work on some new notation. Let’s consider the results of flipping a quarter, Q. There is a 50% chance of getting heads (H) and a 50% chance of getting tails (T). We will represent the event of flipping a quarter as
Note that the coefficients on
Also note that if we sum the modulus squared values of the coefficients (if we sum the probabilities) we get 1:
Wavefunction
In the last section we created a representation for the events that occur when flipping a quarter. We use this same idea when writing an equation to represent a quantum mechanical state, called a wavefunction, typically represented as
Spin
All particles have certain properties that define what type of particle they are. For example, all particles have mass, which determines how a particle interacts with the gravitational force, and all particles have charge, which determines how a particle ineteracts with the electric force. A proton and neutron have very similar masses, but a protons has a positive charge and a neutron has no charge. An electron has a negative charge and a proton has a positive charge. However, even particles of the same type, such as electrons, which have the same mass and the same charge, can interact with the magnetic force differently because they have different values of spin.
Spin is a property that in intrinsic to all particles, but it is not related to the particle “spinning” in space. Rather, like mass and charge, it is a property that can be determined by observing how a particle interacts with various fields (graviational for mass, electric for charge, and magentic for spin). Spin occurs in three directions, known as x, y, and z (Cartesian space). Spin can have two values in each direction: $$1. In this class we will primarily be focusing on spin in the z-direction, where a value of +1 is referred to as spin up and a spin value of -1 is referred to as spin down. We can think of this spin as an arrow on the Bloch sphere.
This sphere should look familiar as we used to on Monday to discuss a qubit. In fact, we will be considering the z-direction spin of a particle quite often in this course as it is one of the most common ways to define the two states of a qubit: spin up represents the 0 state of the qubit and spin down represents the 1 state. Note that this is not the only way to define the two states of a qubit with a physical system, and we will learn about other models later in this course.
Note: properties of a particle that can have different values are referred to as degrees of freedom.
Spin Up and Spin Down
In this course we will see several different ways to represent the spin of a particle, but we will start by using an intuitive symbolism: spin-up is represented as
Superposition
If a quantum state can be in two or more different states at the same time, then we say that the quantum state is in a superposition of different states. A qubit is typically referred to as being in a superposition of the spin-up,
Measurement
A problem occurs in quantum mechanics when we wish to study a system and measure its properties. Any interaction strong enough to measure a quantum mechanical system is strong enough to change it. This means that if we have a sustem which is in a superposition of states, when we measure the system we force it to collapse to only one state (it will no longer in in a superposition). We say that the first measurement a system receives prepares it for additional measurements.
Let’s consider an electron which can be either spin up or spin down. Before its first measurement, it is in the following superposition:
When the above state is measured, it is forced to collapse to either
Operators and Observables
When we measure a quantum mechanical state, we say we are applying an operator to the state and the result of this is the measurement of an observable. For example, the momentum operator is applied to a quantum state and the returned observable is the momentum of the state. Only certain states and observables are possible for a given operator, but we will go into more detail on this Monday.
Example: Superposition, Measurement, and State Preparation
An operator
- Observable A is measured, and the value
is obtained. What is the state of the system immediately after this measurement?- If
is obtained on the measurement of the observable A, then this means that the state has collapsed into the wavefunction which will give . Thus, immediately after this measurement the system is in state . This is the only way in which could have been measured.
- If
- If B is now measured, what are the possible results, and what are their probabilities?
- Since we are in the state
, we need to look at the wavfunction to determine the possible outcomes of measuring the observable B and the probabilities of each outcome. can be written as a superposition of the two possible outcomes of measuring observable B, and . Thus both outcomes are possible and we can determine the probabilities by looking at the coefficients. Since the coefficient on is the probability of obtaining on the measurement of B when the state is already in is . Likewise, since the coefficient on is the probability of obtaining on the measurement of B when the state is already in is . If the state collapses into then the resulting measurement is (with a probability of ) and if the state collapses into then the resulting measurement is (with a probability of ). Note that .
- Since we are in the state
Entanglement
In the previous example, the states of
Most of the quantum mechanical states we will be dealing with in this class are entangled. In a quantum computer which has more than one qubit, all of the qubits represented quantum mechanical states which are entangled with each other.
Uncertainty
Uncertainty is a big problem in quantum mechanics because it controls what properties of a system we can measure at the same time. Certain pairs of properties can be measured simultaneously on a single quantum mechanical system, but only within a set uncertainty. For example, you can measure the position and momentum of a system simultaneously, but the product of the uncertainties on the measurements (
Energy
The energy of a system is an important quantity in quantum mechanics because it allows us to determine a system’s potential to do … something. We measure the energy of macroscopic objects as well, and we consider the energy we measure of these large object to be a continuous variable. However, this is not necessarily true for quantum mechanical systems. For these systems energy is quantized, meaning it can only have certain set values.
Spin is another example of a quantized observable, where the only possible results of measuring the spin of a particle are spin up (+1) or spin down (-1). No other result is possible.
References and Resources
- Quantum Mechanics: The Theoretical Minimum. Leonard Susskind.
- Introduction to Quantum Mechanics. David J. Griffiths and Darrell F. Schroeter. 3rd. ed.
- If You Don’t Understand Quantum Physics, Try This! (Video)