Concept

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

## double slit experiment - seeing why measurement, superposition, and waves are a thing

### 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.

$\notag \text{The electron is literally a wave.}$
$\notag \text{The probability of finding the electron somewhere}\\\text{depends only on the height of the wave there.}$

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.

section takeaways

### 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: section takeaways

## new experiment - polarization filters

### 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:

$\tag{1} \vec E(z,t) = a_1 \cos(kz - wt+\phi_1) \, \hat x \\ \;\;\;\;\;\;\;\;\;\;\;\;\;+ a_2 \cos(kz - wt+\phi_2) \, \hat y$

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. !

$\notag P[\text{photon passes through}] = \cos^2 \theta$

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:

\notag \begin{align*} &\text{1. align parallel.} \\ &\text{2. align perpendicular.} \end{align*}

(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}].

section takeaways

## probability

### what does the filter care about?

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

$\tag{2}\vec E(z,t)= \text{Re}\Bigg\{ \Big( a_1 e^{i \phi_1} \hat x + a_2 e^{i \phi_2}\hat y \Big)\;\;\; e^{i(kz- \omega t)} \Bigg\}$

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

$\notag \vec a = a_1 e^{i \phi_1} \,\hat x + a_2 e^{i \phi_2}\,\hat y$

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

$\notag \vec p = p_1 e^{i \gamma_1} \, \hat x + p_2 e^{i \gamma_2} \,\hat y$

### 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:

$\notag |\vec v_1^* \cdot \vec v_2|$

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$:

$\notag \vec v_1 \text{ is orthogonal to } \vec v_2 \iff \vec v_1^* \cdot \vec v_2 = 0$

### big result

Putting this all together,

$\notag P[\text{pass}] = P\Bigg[ \begin{pmatrix}a_1 e^{i\phi_1}\\ a_2 e^{i\phi_2}\end{pmatrix} \text { is measured as } \begin{pmatrix}p_1 e^{i\gamma_1}\\ p_2 e^{i\gamma_2} \end{pmatrix}\Bigg] = \Bigg|\begin{pmatrix}p_1 e^{i\gamma_1}\\ p_2 e^{i\gamma_2} \end{pmatrix}^* \cdot \begin{pmatrix}a_1 e^{i\phi_1}\\ a_2 e^{i\phi_2}\end{pmatrix} \Bigg|^2$

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:

\notag \begin{align*} P[\text{pass}] &= P[\vec a \text { is measured as } \vec p] \\& = \Bigg|\begin{pmatrix}p_1 e^{i\gamma_1}\\ p_2 e^{i\gamma_2} \end{pmatrix}^* \cdot \begin{pmatrix}a_1 e^{i\phi_1}\\ a_2 e^{i\phi_2}\end{pmatrix} \Bigg|^2 \end{align*}

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$.

section takeaways

## wavefunction

### definition

$\notag \text{The wavefunction is defined as a full description of the particle.}$

### wavefunction for photon polarization

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

$\notag a_1 e^{i \phi_1} \hat x + a_2 e^{i \phi_2}\hat y$

### wavefunction for double slit experiment

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

$\notag a(x) e^{i \phi(x)} \text{ for every position } x$

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:

$\tag{3} \sum_{i=1}^{10} a_i e^{i \phi_i} \hat x_i$

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

$\tag{4} \int_{-\infty}^{\infty} a(x)e^{i \phi(x)} \hat x(x) \; dx$

### 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:

$\notag \sum_{i=1}^{10} a_i^2 = \sum_{i=1}^{10} |\underbar{a}_i|^2 = 1$
$\notag \int_{-\infty}^{\infty} a(x)^2 \; dx = \int_{-\infty}^{\infty} \big|\underbar{a}(x)\big|^2 \; dx = 1$

### 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:

$\notag P[\vec a \text{ is measured to be in state } \hat x_i]= \big|\hat x_i^* \cdot \vec a\big|^2 = \big|\underbar a_i \big|^2$
$\notag P[\vec a \text{ is measured to be in state } \hat x(x_0)] = \big|\hat x^*(x_0) \cdot \vec a\big|^2 dx \;\;\;\; (= 0 \text{, continuous!})$

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:

$\notag P[\vec a \text{ measured between } x_i \text{ and } x_j] =\sum_{k=i}^{j} \big|\hat x_{k}^* \cdot \vec a\big|^2 = \sum_{k=i}^{j} \big|\underbar a_k\big|^2$
$\notag P[\vec a \text{ measured between } x_1 \text{ and } x_2] =\int_{x_1}^{x_2} \big|\hat x(x)^* \cdot \vec a\big|^2 \; dx = \int_{x_1}^{x_2} \big|\underbar a(x)|^2 \; dx$

### 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:

$\notag P[\vec a \text{ is measured to be } \hat b]=|\hat b^* \cdot \vec a|^2 = \big|\sum_{i=1}^{10} \underbar b_i ^* \; \underbar a_i \big|^2$
$\notag P[\vec a \text{ is measured to be } \hat b]=|\hat b^* \cdot \vec a|^2 =\big|\int_{-\infty}^{\infty} \underbar b^*(x) \underbar a(x)\; dx \big|^2$

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:

$\notag \text{bracket}" = \text{bra-ket}" = \braket{\;\;|\;\;}$
$\notag \text{bra}" = \bra{\;\;}$
$\notag \text{ket}" = \ket{\;\;}$

$\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

$\notag \braket{\psi | \psi} = 1$

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

$\notag \braket{\phi| \psi } = 0$

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

$\notag \braket{b_i | b_j} = \delta_{ij}$

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

$\notag P\Big[\ket \psi \text{ is measured to be in state } \ket \phi \Big] = \big| \braket{\phi | \psi} \big|^2$

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

$\notag \ket \psi = \sum_i \underbar a_i \ket i$

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

$\notag \braket{\psi | \psi}=1$

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

$\notag \braket{i|j}=\delta_{ij}$

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

$\notag P\Big[ \ket \psi \text{ is measured to be in state } \ket \phi \Big] = |\braket{\phi|\psi}|^2$
section takeaways

## final word

### 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.

section takeaways