Skip to new experiment - polarization filters if you already know the double slit experiment and basic quantum mechanics.

### double slit experiment

You probably already know the experiment ( * ).

The electron here can't be described using known physics ( * ). That's where quantum physics comes in.

### electron is a wave

It looks like the probability distribution of finding the electron at a location on the screen was made by a water wave going through the two slits. So we conclude that that's exactly what happened: a wave *did* go through the two slits.

Here's an example ( * ).

Here's what the evolution looks like * :

People say "the electron is at multiple positions at once", because the electron is literally a wave, and waves occupy many positions at once. Scientists say the electron is in a **"superposition"** over multiple positions.

### the screen is special

There's something very special about the screen. The screen causes the electron to occupy a specific position.
Scientists say the screen **"measures"** or **"observes"** the wave, and causes it to **"collapse"** * .

Right after the electron hits the screen, the wave looks like this * :

### all particles

In the universe, there's light and there are things with mass.

It turns out that all massive particles (like the electron) behave like waves. The electron isn't special.

It turns out that light also behaves the same way. If you know a little physics, you can reason through this * .

1. The electron is a wave, occupying multiple positions at once, in a **superposition** of multiple positions.

2. The screen **measures** or **observes** the electron, aka it decides a specific position for the electron based on the wave's height and **collapses** the wave.

### example - half screen

Say we perform the double slit experiment, but only with the right half of the screen ( * ).

What happens when the wave hits the screen? Well, obviously, the universe needs to decide whether the electron hit the screen or not! We can use similar reasoning as above * to determine what happens:

Of course, the electrons that hit the screen still make the pattern * .

If you measure the wave in a particular region, the wave either gets localized to a point in the region (based on the wave height there), or now has height of 0 in the region:

### starting point

Unfortunately, the double slit experiment is the best way to see superposition and measurement, but not the best starting point for describing these things mathematically, because it has superposition and measurement over position, which is infinite.

On the other hand, the **"light filter experiment"** (explained here) has superposition and measurement over just two things, so it's much simpler. So we'll start with this light experiment.

### Maxwell's Equations for light

We can use Maxwell's Equations to determine what light looks like * .

Light has an electric field (**"E-field"**) and a magnetic field (**"B-field"**), and both are perpendicular to each other. Here's a simple case ( * ).
Since the two fields oscillate together and are always perpendicular, if we know one field, we can fully determine know the other. So we only need to describe
one of them. Let's just consider the E field * .
In general, the E-field is given by:

This is just two perpendicular cosine waves added together! Both cosines travel together with the same speed and frequency (described by $k$, $w$, $z$, and $t$) * . We can change each cosine's individual size/"amplitude" $a_1$ and $a_2$, and its offset/"phase", $\phi_1$ and $\phi_2$.

( * )
We can get **"linearly polarized"** light by setting $\phi_1=\phi_2$.

( * )
We can get **"circularly polarized"** light by making the waves totally out of phase with the same amplitude ($\phi_1\pm \frac{\pi}{2} = \phi_2$ and $a_1 = a_2$).

Or we can get **"elliptically polarized"** light, which is anything in between linearly and circularly polarized.

Here's a picture of everything:

### basis

Your choice of coordinate systems is called a **"basis"**.
Obviously light behaves the same no matter what coordinates you pick.
So it doesn't matter what basis you use.

### polarization filter experiment

Now that we know how light works, we can do an experiment with light particles to try and figure out how quantum mechanics works.

To do the experiment, you send a linearly polarized light particle through a "polarization filter". We observe that the light particle either passes through the filter and aligns in the same direction as the filter, or it gets blocked by the filter.

It turns out there's a probability that a photon makes it through the filter. Interestingly, it only depends on the angle $\theta$ between the filter and the E-field. * !

One more important idea:
The filter only allows photons to pass through if they align with the filter.
And half a photon isn't allowed to pass through * .
So either 100% of the photon aligns with the filter and the photon passes through. Or 0% aligns and the photon gets blocked.
If 0% aligns with the filter, the E-field still needs to be *somewhere* - specifically, it must be perpendicular to the filter.

In other words, the filter causes the photon to either:

(in case 2., the photon gets blocked).

### superposition and measurement

This experiment is starting to look like the double slit experiment, where the electron became localized to a single position when it hit the screen. Here the photon is becoming localized to a single direction when it hits the filter!

We can reason that the photon's E-field is in a **superposition** over its two cosines. When the photon hits the filter, it gets **measured** and collapses either parallel ($\hat y$), or perpendicular ($\hat x$) to the filter.

### why does $\cos^2\theta$ show up?

Measurement is probabilistic. The filter needs to pick a probability for the incoming photon to align with $\hat x$, and a probability for it to align with $\hat y$.
The only reasonable thing for the filter to do is to look at how much
the incoming photon *currently* aligns with $\hat x$ and $\hat y$, and pick the probability based on that.

In other words, decompose the photon into $a_1 \hat x + a_2 \hat y$, and pick probability based on $a_1$ and $a_2$.

This forces the universe to square the amplitudes to get the probabilities * , and we can see that $P[\text{pass}]=\text{Prob}_2=\big(\frac{a_2}{a}\big)^2 = \cos^2\theta$!

### collapse picture

Here's an analogy to the double slit experiment. The photon is a "wave" that collapses when it hits the filter, based on the height of the wave at each location! Same exact thing as the double slit experiment, just over 2 things, not infinitely many!

A photon's E-field is in a superposition over its two cosines. A filter measures the incoming photon, causing its E-field to either collapse into a cosine that aligns with the filter, or a cosine that aligns perpendicular.

$P[\text{pass}] = P[\text{photon is measured to align with the filter}]$.

$P[\text{blocked}] = P[\text{photon is measured to align perpendicular}]$.

### what does the filter care about?

To get a better idea of what the filter cares about, we can rewrite (1) as:

The exponent term just shifts where the E-field is in its cycle, which the filter doesn't care about.
The only thing the filter cares about is the "shape" of the photon, given by $a_1 e^{i \phi_1} \hat x + a_2 e^{i \phi_2}\hat y$ * !
Note that the shape is usually called the **"state"** of the photon.

Let's notate the incoming photon's state as

and let's notate the state of the filter's pass-through photon as

### probability = projection$^2$

Note that when the filter decomposed the light into $\hat y$ and $\hat x$ components, it was really projecting the incoming photon onto $\hat x$ and $\hat y$.

Putting this in terms of $\vec a$ and $\vec p$, $\cos^2\theta$ is what we get when we project $\vec a$ onto $\vec p$ and square the result for linearly polarized light * .

This projection idea is how we'll extend our result from linearly polarized light to all polarized light.

### normalize

First of all, the filter doesn't care about the magnitudes of either state. So we'll have to ignore them when we get the probability. It's common to notate the magnitude of a vector as $a = |\vec a| = \sqrt{a_1^2+a_2^2}$. Typically we choose to always ignore the magnitudes by setting $a=1$ and $p=1$ * .

### projection

Now, the goal is to figure out how exactly to perform the projection of $\vec a$ onto $\vec p$.

The projection's phase is clearly irrelevant to computing probability, so we should ignore it * .

Projection is typically done with the dot product.

If we combine these two ideas, we get the initial guess of $(\text{projection of } \vec a \text{ onto } \vec p)= |\vec a \cdot \vec p|$.

This works for linearly polarized light to give $\cos \theta$, but it gives nonsensical results for arbitrary $\vec a$ and $\vec p$ * . But it's an easy fix: all we need to do is conjugate one of the vectors before taking the dot product * .

The projection of $\vec v_1$ onto $\vec v_2$ is defined as:

Defining probability as $|\vec p^* \cdot \vec a| ^2$ works for all cases of linearly polarized light and one case of circularly polarized light, and we can reason that it works in general * !

Now that we're dealing with complex vectors, we don't say "perpendicular", we say **"orthogonal"**.
Naturally, vectors $\vec v_1$ and $\vec v_2$ are orthogonal when the projection of one onto the other is $0$:

### big result

Putting this all together,

This is a picture of measurement in general, for any incoming light described by $\vec a$, and any filter that lets through light described by $\vec p$ (of course, $\vec p$ is orthogonal to $\vec p_\perp$). Note that the phase is ignored!:

### examples

example - lin going into lin filter *

(Note: * )

example - circ going into lin filter *

(Note: * )

example - circ going into circ filter *

example - lin going into circ filter *

example - anti circ going into circ filter *

The projection of a complex vector onto another one just requires conjugating one of the two vectors before we take their dot product * . This gives:

We reasoned that **"orthogonal"** for complex vectors should mean that the projection of one onto the other equals zero,
i.e. $\vec v_1 \text{ is orthogonal to } \vec v_2 \iff \vec v_1^* \cdot \vec v_2 = 0$.

### definition

### wavefunction for photon polarization

It shouldn't come as a surprise that for the light polarization experiment, the wavefunction is defined as * :

### wavefunction for double slit experiment

The relevant quantity to measurement in the double slit experiment is * :

Even though in the double slit experiment positions are not physically orthogonal to each other, we describe measurement as if they are orthogonal * , just like in the photon polarization experiment! All the math is the same!

Consider the double slit with only 3 possible positions for the electron. Then, measuring the electron's position would look like this:

Clearly, the wavefunction for the double slit experiment with only 3 possible positions is this: $a_1 e^{i \phi_1} \hat x_1 + a_2 e^{i \phi_2} \hat x_2 + a_3 e^{i \phi_3} \hat x_3$.

If we generalize this to $10$ possible positions, the double slit's wavefunction is:

In the real experiment we have infinitely many positions, and the wavefunction is:

### normalization

Each basis vector is orthogonal and normalized, as always * .

Below I notate complex numbers as a letter with an underscore, $\underbar a$, which makes things much cleaner. $\underbar a = a e^{i \phi}$.

Here's how we normalize (3) and (4), respectively:

### probability

In the discrete case, what's the proabability that we measure $\vec a$ in the third position $\hat x_3$? Well, if all the math is the same in both experiments, then it should be ($\vec a$ projected onto $\hat x_3$)$^2$.

Here's the probability for (3) and (4), respectively:

The $dx$ makes the continuous case go to $0$ as expected * .

### probability in a region

We can get the probability that the electron is in a region by just summing up all the probabilities there.

Here's the probability in a region for (3) and (4), respectively:

### general measurement

Above, the screen only measured the position of the electron, so it measured in the basis of $\hat x(x)$. But what if we have a measurement apparatus that measures, say $\hat b$?

I haven't given any other examples besides position, but I figured I'd put this in to be complete * .

Here's the probability for (3) and (4), respectively:

Here are the full details for the continuous case * .

### bra-ket notation

Rather than using vectors and writing $\vec a^* \cdot \vec p$, Paul Dirac invented bra-ket notation. It just changes our notation from vectors to matrices. When we start writing matrices and not just doing dot products, this notation becomes much easier to use than vectors and star.

It's called bra-ket notation because:

$\vec{a}=\ket{a}=\begin{pmatrix} \underbar a_1\\ \underbar a_2 \\ \underbar a_3\\.\\. \end{pmatrix}$

$\vec a^\dagger = \vec{a}^{\intercal *} =\bra{a}=\begin{pmatrix}\underbar a_1^*& \underbar a_2^* & \underbar a_3^*&.&. &.\end{pmatrix}$

$\vec{a}^* \cdot\vec{b} =\bra{a}\ket{b} =\braket{a|b} =\begin{pmatrix}\underbar a_1^*& \underbar a_2^* & \underbar a_3^*&.&. &.\end{pmatrix} \begin{pmatrix} \underbar b_1\\ \underbar b_2 \\ \underbar b_3\\.\\. \end{pmatrix}$

### everything written in bra-ket

If you're confused about a result, just look at the part that's not written in bra-ket notation and compare.

The wavefunction for light polarization was $\vec a = a_1 e^{i \phi_1} \hat x+ a_2 e^{i \phi_2}\hat y$. Now we can write it as $\ket \psi = \underbar a_1\ket \leftrightarrow + \underbar a_2 \ket \updownarrow$.

For the discrete case of the double slit experiment, the wavefunction was $\vec a = \sum_{i=1}^{10} a_i e^{i \phi_i} \hat x_i$. Now we can write it as $\ket \psi = \sum_{i=1}^{10} \underbar a_i \ket{i}$.

For the continuous case of the double slit experiment, the wavefunction was $\vec a = \int_{-\infty}^{\infty} a(x)e^{i \phi(x)} \hat x(x) \; dx$. Now we can write it as $\ket \psi = \int_{-\infty}^{\infty} \underbar a(x) \ket x dx$.

All of these states $\psi$ were normalized so that the sum of the squares of the $a_i$s was $1$. Even the basis states are normalized. Typically, we normalize everything. A state $\ket \psi$ is normalized if and only if

Two states $\ket \phi$ and $\ket \psi$ are orthogonal if and only if

Measurement always takes place in an orthogonal basis. For the 3 examples above, that means $\braket{\leftrightarrow \!| \updownarrow} = 0$, $\braket{i | j} = 0$, and $\braket{x | x'} = 0$. And a measurement basis is always normalized, i.e. $\braket{i|i}=1$.

Putting these two ideas together, a measurement basis $\ket b_1 \ket b_2 ...$ always satisfies

And of course, the probability of measuring any state $\ket \psi$ to be in the state $\phi$ is

A wavefunction is described by a sum or integral over basis vectors:

We assume every wavefunction is normalized (to be clear, this applies to basis vectors too):

We also assume all basis vectors are orthogonal, so that:

The probability of measuring $\ket \psi$ in state $\ket \phi$ is:

### global phase

$e^{i \phi} (\underbar a_1\ket \leftrightarrow + \underbar a_2 \ket \updownarrow)$ gives the same exact probability as $(\underbar a_1\ket \leftrightarrow + \underbar a_2 \ket \updownarrow)$.

$e^{i \phi}$ is called "global phase" because it adds phase globally to the state. The "global phase" doesn't matter to the probability, because we take an absolute value.

A common question is if the global phase is unknowable, or if it's just irrelevant. The answer is that it's irrelevant. The global phase for the photon was the place in the E-field cycle, which we can certainly figure out. It just isn't relevant to probability.

### more intuitions

From (2) you should easily be able to reason why $\frac{1}{\sqrt 2} (\ket \leftrightarrow + i \ket \updownarrow)$ gives circularly polarized light $\ket \circlearrowleft$. The $\hat y$ or $\ket \updownarrow$ component just lags $90 \degree$ behind the $\hat x$ or $\ket \leftrightarrow$ component!

This idea extends to all wavefunctions. In the double slit experiment, you can think of the phase of each basis state as the relative offset of the cosine wave at that position.

### next time

The next note goes over the more physics-y side of things: position, momentum, spin (Stern Gerlach experiment), and Schrodinger's equation, which tells you how the wave evolves without measurement, i.e. how it evolves until it reaches the screen. Schrodinger's equation just says that wavefunction evolves and interferes the way you'd expect - the wave has the same shape as the $\vec E$ field we saw here, and radiates spherically at all points that it occupies.

The interesting thing is that the wavefunction really is a full description of the particle. The wavefunction at one instant in time dictates how it will evolve in the future (assuming no measurement takes place).

There's also the less physics-y side of things: quantum computing. Stay tuned.

That completes the note, although we still have more to go: the Schrodinger Equations, the Stern Gerlach Experiment, entanglement, the Bloch Sphere, intuitions on quantum teleportation and quantum computing, and more.

Let me know if you liked this note, or if there were any places I should improve (just leave a comment!). If you got stuck somewhere, I urge you to leave a question/comment in that location.