Maria Nicolae's Website

RSS Feed (What is RSS?)


Back to Blog.

A Self-Contained Lay Introduction to Quantum Mechanics

Quantum mechanics explained with as little maths as necessary, but no less.

Maria Nicolae,

Out of all of the subfields of physics, quantum mechanics is among the most philosophically exciting. It contradicts a lot of what we take for granted about our universe from everyday experience, and even from classical physics, in ways that can seem downright mystical. Quantum mechanics would seem to suggest, for example, that objects can be in multiple states at once (superposition), that these states can be linked at a distance and might affect each other instantaneously (entanglement), that the universe might have fundamental randomness (indeterminacy), or that every "random" outcome happens in its own separate universe (the Many Worlds interpretation).

For a non-physicist who is excited about all this and eager to learn about it, there are two main options. The first is to, effectively, become a physicist through self-learning; work through textbooks and lecture recordings. This takes a long time, is difficult when you don't have a teacher to help you through it, and the material itself usually doesn't prioritise philosophy. The second option, the one most go for in practice, is to consume pop-science articles, documentaries, and web videos. This approach often leaves much to be desired in terms of accuracy, however; it's prone to creating misconceptions even when the content is authored by quantum experts making their best efforts.

The core tension here is that, like for all of physics, the language of quantum mechanics is maths, not a natural language like English. Quantum mechanics simply cannot be described accurately with words alone, the way that pop-science tries to do. This doesn't mean, however, that you either have to become a physicist or resign yourself to not understanding what quantum mechanics says about our universe. Rather, it turns out that the maths you need to accurately and competently philosophise about quantum mechanics is only a small subset of what you need to be a practising quantum physicist. Much of the content of textbooks and lectures for physics students isn't needed for the former, only the latter.

In this article, I aim to bridge that gap by providing an introduction to quantum mechanics and its core mathematical structure, with the focus being more on how to interpret this structure philosophically than on how to do computations. This article will assume prior knowledge only of maths that is typically taught in primary and secondary education (up to and including algebra). Building on top of that background, I'll introduce and explain the maths beyond that that you need to understand quantum mechanics, namely complex numbers and vectors. I'll then introduce quantum mechanics in terms of postulates that define its mathematical foundations, and from there I'll derive the consequences of quantum mechanics, like entanglement, apparent indeterminacy and nonlocality, and the measurement problem.

This is, of course, a lot of material to get through. Not only is this article long, as you can readily see, but it's also dense. As you read through this, I recommend having some pen and paper next to you, and frequently switching to it to play with the concepts, reproduce results that I show you, etc., rather than just reading it straight through like a novel. Concepts build on top of each other, so you'll need a good understanding of each topic before moving on to the next. This could take long enough that you might want to split this over multiple sessions.

Complex Numbers

Normally, we can't take the square root of a negative number; both positive and negative numbers become positive when squared, so there's nothing that you can square to get a negative number. Complex numbers are an extension of our usual number system which includes numbers whose squares are negative. Specifically, we start by asserting that there's a number i for which i2=−1, and complex numbers are what emerge when you follow this through to its logical conclusions. The first consequence of the existence of a square root of −1 is that any negative number has a square root, since we can multiply i by some other number:

(yi)2=y2i2=−y2.
(1)

Thus, for any negative number −a, its square root is −a=ia. What we have here is basically a whole other number line. We call these numbers "imaginary" numbers (i being the "imaginary unit"), in contrast to the "real numbers" that we already knew about, whose squares are never negative. The system of complex numbers includes both real and imaginary numbers.

Complex Arithmetic and the Complex Plane

For complex numbers to be useful as a number system, we need to be able to do arithmetic operations like addition and multiplication with any two complex numbers. For two imaginary numbers, this is straightforward enough, but what if we wanted to, say, add a real and an imaginary number? What's 3+2i, for example? Well, there really isn't a way to simplify this, so we just treat this sum as an object in its own right, another complex number. The most general form of a complex number, then, is x+yi where x and y are real numbers. What we have here is a two-dimensional plane of complex numbers, not just a number line:

A visualisation of the complex number plane, with real numbers on the horizontal axis and imaginary numbers on the vertical axis. A given point on the plane represents the complex number which is the real number on its horizontal coordinate plus the imaginary number on its vertical coordinate.

When we add two complex numbers

(x+yi)+(a+bi)=x+yi+a+bi=(x+a)+(y+b)i,
(2)

the effect is that the real and imaginary parts are summed respectively. On the complex plane, this is visualised by "tip-to-tail" addition, taking the line segments from the origin (zero) to each number and connecting them together:

Addition in the complex plane. Drawing an arrow from 0 to each of two complex numbers, the sum of these complex numbers is found by connecting the tail of one of them to the tip of the other one.

Subtraction, of course, is just addition by the negation of a complex number:

(x+yi)−(a+bi)=(x+yi)+(−a−bi)=(x−a)+(y−b)i.
(3)

Multiplication is a bit more involved. It's easy enough to derive the multiplication rule algebraically, using the distributivity of multiplication:

(x+yi)(a+bi)=xa+xbi+yai+ybi2=(xa−yb)+(xb+ya)i.
(4)

This result, however, doesn't give us much intuition for what complex multiplication really is. When we visualise multiplication in the complex plane, we see that it looks like rotating and scaling the complex plane, so that 1 goes to the first multiplicand and the second multiplicand goes to the product:

Multiplication in the complex plane. The plane is rotated and scaled about the origin (0) so that 1 moves to the first multiplicand, which results in the second multiplicand moving to the product.

This rotating and scaling suggests an alternative way for us to think of the two-dimensionality of complex numbers, in terms of a magnitude and an angle (or, in the language of complex numbers, a phase). The magnitude of a complex number is its distance from 0 in the complex plane, as per Pythagoras' theorem

|x+yi|=x2+y2,
(5)

and its phase is the angle anticlockwise from the positive real axis. Thus, the complex number z with magnitude r and phase θ is

z=rcos⁡θ+risin⁡θ.
(6)

There's a nice way to simplify this. It turns out that, when you figure out how to extend the notion of exponentiation to complex numbers, you find that imaginary powers correspond to rotations:

eiθ=cos⁡θ+isin⁡θ.
(7)

This is called Euler's formula (which Euler's identity eiπ=−1 is a special case of). Using this, we can simplify Equation 6 into

z=reiθ.
(8)

This is called the polar form of a complex number, in contrast to the Cartesian form x+yi we've seen so far. Multiplying two polar-form complex numbers

(reiθ)(seiϕ)=rsei(θ+ϕ)
(9)

is straightforward (as long as you recall your power laws), and the "rotate and scale" interpretation falls right out of the algebra, in contrast to the Cartesian representation.

Finally, there's complex division to think about. In the polar form, this is as straightforward as multiplication

reiθseiϕ=rsei(θ−ϕ),
(10)

and we can immediately tell that division in the complex plane means "rotate in the opposite direction and scale inversely", i.e. the multiplicative inverse of a complex number has reciprocal magnitude and opposite (negated) phase. For completeness, let's derive the formula for division in the Cartesian representation:

x+yia+bi=x+yia+bia−bia−bi⏟1=(xa+yb)+(ya−xb)ia2+b2=xa+yba2+b2+ya−xba2+b2i.
(11)

Complex Conjugates

The complex conjugate of a complex number x+yi is x−yi, its reflection about the real axis in the complex plane. In polar form, of course, the complex conjugate of reiθ is re−iθ. For a complex number z not written in terms of components, the complex conjugate is usually notated either with an overline (z‾) or with a superscript asterisk (z∗), with the former being favoured in pure mathematics and the latter being favoured in physics.

The main use of the complex conjugate is to cancel out phases, letting us represent the (square) magnitude of a complex number purely in terms of multiplications:

zz∗=|z|2.
(12)

We saw this earlier in Equation 11. To make this connection explicit, I'll rewrite that equation for two complex numbers z and w without explicitly showing their components:

zw=zww∗w∗=zw∗|w|2.
(13)

Vectors and Linear Algebra

One way to think about what "vectors" are is that they're ordered lists of numbers, typically represented in a column. Given a list of numbers (v1,v2,…,vn), the vector that they make is

𝐯=[v1v2⋮vn].
(14)

Here, I'm writing vector variables as bold letters, to distinguish them from mere numbers (or, in the language of vector maths, scalars). This is one of two common conventions, the other being to represent vector variables with an arrow diacritic (e.g. v→). This latter convention is especially common when handwriting, since it's hard to handwrite a bold letter.

In general, the scalar components of a vector are complex numbers. One could formulate a theory of vectors purely in terms of real numbers, and this would be simpler, but for quantum mechanics specifically, we need vectors of complex numbers.

Like with scalars, you can do arithmetic with vectors. First of all, given two vectors 𝐯 and 𝐰 which are both n elements long (they are both of dimension n), you can add them to get a new vector

𝐯+𝐰=[v1+w1⋮vn+wn].
(15)

Another operation you can do is scaling. Given a vector 𝐯 of dimension n, and a scalar a, we can multiply these together to get a new vector

a𝐯=[av1⋮avn].
(16)

You might notice that these look quite similar to arithmetic with complex numbers, e.g. Equation 2. Indeed, there is a sense in which a complex number is like a two-dimensional vector of real numbers, one for the real component and one for the imaginary component. However, complex numbers have additional structure owing to how you can multiply them, whereas you can't multiply two vectors together, so you can't take this analogy too literally.

Abstract Vectors and Basis Representation

Another more abstract way to describe vectors is as anything you can add and scale. Namely, a set is a vector space, and its elements are vectors, if you can define addition and scaling operations such that

  1. for any two elements of the set 𝐯 and 𝐰, 𝐯+𝐰 is another element of the set,
  2. for any element of the set 𝐯 and any scalar a, the product a𝐯 is another element of the set,

and such that these operations have certain properties you'd expect of addition and multiplication respectively. For an exact breakdown of what these properties are, see Appendix: Vector Space Axioms.

To see how this is equivalent to the "ordered lists of scalars" picture, there are two concepts I need to introduce: linear independence and span. A (sub)set of n vectors from a given vector space {𝐯1,𝐯2,…,𝐯n} is linearly independent if no one of the vectors can be obtained by adding and scaling the others, and linearly dependent otherwise. Equivalently, these vectors are linearly dependent if and only if it's possible to find scalars (a1,a2,…,an) that are not all zero such that

a1𝐯1+a2𝐯2+⋯+an𝐯n=𝟎,
(17)

where 𝟎 is the zero vector that you get when you multiply any vector by zero. The span of a set of vectors is the set of all vectors that can be obtained by adding and scaling them as above, which is a vector space that is a subset of the original vector space the vectors came from. A linearly dependent set of vectors is one where you could remove one or more of the vectors and still have them have the same span, while a linearly independent set of vectors is the smallest it could possibly be while having the span that it does.

Knowing the above, what happens if we have a linearly independent set of vectors {𝐞1,𝐞2,…,𝐞n} that spans the entire vector space? Well, in that case, we can represent any vector in the space 𝐯 by a list of n scalars (v1,v2,…,vn), by scaling and adding these linearly independent vectors:

v1𝐞1+v2𝐞2+⋯+vn𝐞n=𝐯.
(18)

If we simply arrange these scalars in a column like in Equation 14, we get exactly the representation we saw in the first picture! We refer to such a linearly-independent full-spanning set as a basis of the vector space. We can also use this basis representation to derive the addition and scaling rules in Equations 15 and 16:

a𝐯+b𝐰=a(v1𝐞1+⋯+vn𝐞n)+b(w1𝐞1+⋯+wn𝐞n)=(av1+bw1)𝐞1+⋯+(avn+bwn)𝐞n.
(19)

All bases of a given vector space will have the same size n; this is known as the dimension of the vector space. Strictly speaking, it's possible for a vector space to be infinite-dimensional, in which case any basis of that vector space must be infinitely large. However, I'll be sticking to finite-dimensional vector spaces for this article, to keep things simple.

Intermission: Sigma Notation for Summations

In the above, I've been representing sums of many terms by showing a few terms so you can see the pattern, and putting an ellipsis (⋯) in between to represent the extra terms that aren't shown. This is somewhat verbose and unwieldy, indeed Equation 19 is already awkward. To deal with this, we'll use sigma notation, where we represent repeated addition using the ∑ symbol (the uppercase Greek letter sigma) followed by a "template" of the term that gets repeated. For example,

∑j=310j2=9+16+⋯+81+100=380.
(20)

The equation below the sigma tells us which variable in the template changes for each repetition (j) as well as what value it starts counting from (3), and the expression above the sigma tells us what value of j to stop counting at (10). In this notation, Equation 19 becomes

a𝐯+b𝐰=a∑j=1nvj𝐞j+b∑j=1nwj𝐞j=∑j=1n(avj+bwj)𝐞j.
(21)

Note the order of operations in the above: a sigma-summation takes precedence over explicit addition using the + symbol, but not over multiplication or brackets.

Linear Operators and Matrices

Just as we can create arbitrary functions that map scalars to other scalars, we can create arbitrary functions, or operators, that map vectors to vectors. A particularly important type of vector operator, however, is those that preserve addition and scaling, which we refer to as linear operators. An operator A^ is linear if, for two vectors 𝐯 and 𝐰, and two scalars a and b,

A^(a𝐯+b𝐰)=a(A^𝐯)+b(A^𝐰).
(22)

Here, A^𝐯 is the vector that results from applying operator A^ to vector 𝐯. Representing linear operators as uppercase letters, and their application to vectors as juxtaposition, is a widespread convention, and hat diacritics ⋅^ on linear operators are furthermore a convention in quantum mechanics, though not in pure maths.

If we express the effect of a linear operator on a vector A^𝐯 in terms of the basis representation from before

A^∑j=1nvj𝐞j=∑j=1nvjA^𝐞j,
(23)

we can see that a linear operator is characterised entirely by how it transforms the basis. A linear operator that applies to n-dimensional vectors can therefore be represented entirely by n2 scalars, which are the n components of each of the n transformed basis vectors. The typical way we represent these scalars is to arrange them into a matrix

A^=[A11A12⋯A1nA21A22⋯A2n⋮⋮⋱⋮An1An2⋯Ann].
(24)

Here, each column contains the components of one of the transformed basis vectors. Given the components of a vector (v1,…,vn), the components (w1,…,wn) of 𝐰=A^𝐯 are

wj=∑k=1nAjkvk.
(25)

For each element of 𝐰, this looks like taking the corresponding row of A^, multiplying it element-wise with 𝐯, and summing.

Given two linear operators A^ and B^, there's a linear operator C^ that has the same effect as applying first B^ then A^. Finding the matrix representation of C^ is just a matter of applying Equation 25 to each column of B^, to find how C^ transforms the basis vectors:

Cjk=∑ℓ=1nAjℓBℓk.
(26)

This operation is referred to as matrix multiplication, and is written in short as multiplication by juxtaposition: C^=A^B^. (However, unlike multiplication of scalars, order matters; A^B^ doesn't necessarily equal B^A^.) To obtain each element of C^, we take the corresponding row of A^ and column of B^, and multiply them element-wise and sum.

Non-Square Matrices and Differing Input and Output Spaces

In the above, I've talked about linear operators that keep the dimensionality of vectors the same, but we can also consider operators that change the dimensionality of vectors, i.e. those whose input and output are in different vector spaces. An operator that maps n-dimensional vectors to m-dimensional vectors can be represented with a matrix with m rows and n columns (an m×n matrix).

Matrix multiplication can be extended to non-square matrices as long as the column count of one matrix equals the row count of the other matrix, i.e. we can multiply an m×n matrix A^ with an n×p matrix B^ to compute A^B^, which is an m×p matrix. However, B^A^ isn't valid unless m=p, in which case B^A^ is an n×n matrix.

If we think of a vector in the column representation in Equation 14 as a matrix with only one column, we can see that Equation 25 is a special case of Equation 26, so we tend to also refer to the former as matrix multiplication.

Adjoints and Inner and Outer Products

The adjoint1 of a matrix is the matrix you get when you reflect its elements about the diagonal and take their complex conjugates. For an m×n matrix A^, its adjoint A^† is an n×m matrix whose elements are

(A^†)jk=Akj∗.
(27)

The adjoint of a matrix product is obtained by taking the adjoint of each matrix and reversing their order:

(A^B^)†=B^†A^†.
(28)

To see one way we can use this operator, consider what happens when we treat a column vector as a matrix and take its adjoint

𝐯†=[v1⋮vn]†=[v1∗⋯vn∗];
(29)

we get a single-row matrix that we can think of as a "row vector". This is an operator that maps a vector to a one-dimensional vector, which is really just a scalar. What scalar do we get if we multiply a vector's adjoint by that vector itself? We get

𝐯†𝐯=[v1∗⋯vn∗][v1⋮vn]=∑j=1n|vj|2,
(30)

which closely resembles Pythagoras' theorem. What this does for us is essentially give the vector space a geometry: Equation 30 is like the squared "length" of 𝐯. In general, we can find this "adjoint-product" for two different vectors 𝐯 and 𝐰, which gives us an operation which we call the inner product:

𝐯†𝐰=∑j=1nvj∗wj.
(31)

In geometric terms, the inner product is a measure of how well-aligned two vectors are. The inner product of two vectors is largest when they're parallel and zero when they're perpendicular (orthogonal):

|𝐯†𝐰|=𝐯†𝐯𝐰†𝐰cos⁡θ
(32)

where θ can loosely be thought of as the "angle" between 𝐯 and 𝐰2.

Given a set of vectors (𝐠1,…,𝐠n), which are orthogonal to each other and are all normal vectors, meaning that they have a "square length" of 𝐠j†𝐠j=1, you can express the components of a vector 𝐯 in this basis as

vj=𝐠j†𝐯.
(33)

Such a basis is known as an orthonormal basis. Since the elements of a matrix are the components of its columns, which are the vectors you get when you multiply it by the basis vectors, you can express the elements of a matrix in orthonormal bases using inner products. Namely, for an n×n matrix A^, its elements in an orthonormal basis (𝐠1,…,𝐠n) are

Ajk=𝐠j†A^𝐠k.
(34)

What happens if you multiply by an adjoint on the right instead of the left? In this case, you get the outer product

𝐯𝐰†=[v1v2⋮vm][w1∗w2∗⋯wn∗]=[v1w1∗v1w2∗⋯v1wn∗v2w1∗v2w2∗⋯v2wn∗⋮⋮⋱⋮vmw1∗vmw2∗⋯vmwn∗],
(35)

which is a matrix. To understand what kind of operator this represents, let's multiply a vector 𝐮 by it:

(𝐯𝐰†)𝐮=𝐯𝐰†𝐮=𝐯(𝐰†𝐮).
(36)

Recognising the bracketed expression on the right as an inner product, we can see that 𝐯𝐰† maps all vectors to the line spanned by 𝐯, with the magnitude of the resulting vector (the position on this line) being determined by how aligned the input vector is to 𝐰. If we have a vector 𝐯 for which 𝐯†𝐯=1 (a normal vector), then its self-outer-product 𝐯𝐯† is the operator that projects a given vector onto the span of 𝐯.

For an orthonormal basis (𝐠1,…,𝐠n), the outer product

A^=𝐠j𝐠k†
(37)

is a matrix for which Ajk=1 is its only nonzero element. This means that any matrix can be represented as a sum of outer products

A^=∑j=1n(∑k=1nAjk𝐠j𝐠k†).
(38)

By manipulating this expression, we can see other ways of representing matrices as sums of outer products. First, we can factor 𝐠j out of the inner sum to obtain

A^=∑j=1n𝐠j(∑k=1nAjk𝐠k†)⏟row j of A^,
(39)

where we represent a matrix in terms of its rows. If we instead swap the order of the two summations before factoring, we get

A^=∑k=1n(∑j=1nAjk𝐠j)⏟column k of A^𝐠k†,
(40)

which expresses the matrix in terms of its columns. The identity matrix I^, which maps all vectors to themselves, can be expressed in an orthonormal basis (𝐞1,…,𝐞n) as

I^=∑j=1n𝐞j𝐞j†.
(41)

This means that the elements of the identity matrix are 1 along the diagonals and 0 for all other elements

Ijk={1j=k0j≠k.
(42)

Indeed, these are the components of the identity matrix in all bases, not just orthonormal bases, but the outer product representation in Equation 41 only works in an orthonormal basis.

Unitary Operators

An operator A^ is referred to as unitary if applying it to vectors preserves their inner product

(A^𝐯)†A^𝐰=𝐯†𝐰,
(43)

and therefore keeps the geometry of the vector space intact. Intuitively, unitary operators can be thought of as rotations and reflections of the vector space. Expanding the brackets in Equation 43, we obtain

𝐯†A^†A^𝐰=𝐯†𝐰,
(44)

which, in order to be true for all vectors 𝐯 and 𝐰, implies that

A^†A^=I^;
(45)

unitary operators are those whose adjoints are their inverses.

In an orthonormal basis, the matrix representation of a unitary operator has orthonormal columns. This is because the columns are the results of applying the operator to the basis vectors, which must be orthonormal since the basis vectors themselves are, and applying a unitary operator keeps them orthonormal. Furthermore, a unitary matrix has orthonormal rows, since the adjoint of a unitary operator is also unitary, and an adjoint swaps columns and rows (and also applies a complex conjugate).

Change of Basis

So far, we've seen matrices used to represent operators. Indeed, I've essentially been using the words "matrix" and "operator" interchangeably. However, matrices have another use, which is to convert vectors between bases. Namely, if you have a vector represented in a given basis

𝐯=∑j=1nvj𝐞j,
(46)

and want to represent it in a different basis

𝐯=∑j=1nv′j𝐠j,
(47)

you can compute the components in the latter from the components of the former using a matrix multiplication

[v′1v′2⋮v′n]=[T11T12⋯T1nT21T22⋯T2n⋮⋮⋱⋮Tn1Tn2⋯Tnn][v1v2⋮vn]
(48)

where T^ is the transition matrix between the two bases. Each column of T^ is the corresponding 𝐞k basis vector represented in the (𝐠1,…,𝐠n) basis. We can think of this as a representation of the identity operator with different input and output bases. If both bases produce the same inner product, i.e. each basis is orthonormal with respect to the other, then T^ is a unitary matrix whose elements are

Tjk=𝐠j†𝐞k.
(49)

Tensor Products

Given two vector spaces of dimension m and n, we can construct a "joint" vector space from them of dimension mn where, given bases (𝐞1,…,𝐞m) and (𝐠1,…,𝐠n) of the original two vector spaces, the set of all pairs of basis vectors (𝐞1⊗𝐠1,…,𝐞m⊗𝐠n) is a basis of the joint vector space. In order for this construction to represent something "objective" about the two vector spaces, it ought to be independent of our choice of bases, so let's consider what happens when we try to change the basis of the first vector space to (𝐡1,…,𝐡m). In this case, we get an alternative joint basis (𝐡1⊗𝐠1,⋯𝐡m⊗𝐠n), which is of course related to the original joint basis by

𝐞j⊗𝐠k=(∑ℓ=1mTjℓ𝐡ℓ)⊗𝐠k.
(50)

In the (𝐡1,…,𝐡m) basis, the 𝐞j basis just looks like a bunch of arbitrary vectors, so we need to be able to put arbitrary vectors on either side of the ⊗. That is to say, ⊗ has to be an operation that takes two vectors, one from each original space, and produces a vector from the joint space, not just a symbol for pairing basis vectors. A property that this operation should have is that it shouldn't matter whether we change basis before or after the operation: alongside Equation 50, it should also be the case that

𝐞j⊗𝐠k=∑ℓ=1mTjℓ(𝐡ℓ⊗𝐠k).
(51)

This means that ⊗ is linear (preserves addition and scaling) in each of its two operands. Ultimately, then, for two arbitrary vectors 𝐯 and 𝐰,

𝐯⊗𝐰=[v1v2⋮vm]⊗[w1w2⋮wn]=[v1w1v1w2⋮v1wnv2w1⋮vmwn].
(52)

This is a pairwise product of elements, so we refer to it as a sort of product of vectors. Namely, we call it the tensor product, and similarly refer to the "joint" vector space as the tensor product space.

An important thing to note is that most vectors in the product space can't be represented as a tensor product of vectors from the original spaces. One way to see this is to notice that any tensor product of vectors can be represented with m+n scalars, but it takes mn scalars to represent any vector in the product space, and in general mn is much larger than m+n.

We can define an analogous product for operators, called the Kronecker product, where for two operators A^ and B^ from the original vector spaces, their Kronecker product A^⊗B^ is the operator that applies analogously to each operand of a tensor product:

(A^⊗B^)(𝐯⊗𝐰)=(A^𝐯)⊗(B^𝐰).
(53)

In matrix form, this is a pairwise product of elements similar to what we saw in Equation 52 (and indeed the two are equivalent when we consider vectors as single-column matrices):

[A11A12⋯A1mA21A22⋯A2m⋮⋮⋱⋮Am1Am2⋯Amm]⊗[B11B12⋯B1nB21B22⋯B2n⋮⋮⋱⋮Bn1Bn2⋯Bnn]=[A11B11⋯A11B1nA12B11⋯A1mB1n⋮⋱⋮⋮⋱⋮A11Bn1⋯A11BnnA12Bn1⋯A1mBnnA21B11⋯A21B1nA22B11⋯A2mB1n⋮⋱⋮⋮⋱⋮Am1Bn1⋯Am1BnnAm2Bn1⋯AmmBnn].
(54)

Taking a Kronecker product of a matrix with the identity matrix lets us extend it from the original vector space to the product space:

(A^⊗I^)(𝐯⊗𝐰)=(A^𝐯)⊗𝐰.
(55)

Postulates of Quantum Mechanics

Quantum mechanics can be expressed in terms of two postulates, from which all of its strange phenomena emerge. The first is that

the state of a system is a normal vector with complex components, in a vector space for which each classically observable state of the system is an orthonormal basis vector.

To distinguish them from other uses of vectors, we notate quantum state vectors with |⋅⟩ brackets rather than with bold letters or arrow diacritics, e.g. |ψ⟩ instead of 𝛙. We notate adjoints of state vectors with brackets facing in the opposite direction:

|ψ⟩†=⟨ψ|.
(56)

The inner product of |ψ⟩ and |ϕ⟩ is therefore notated as ⟨ψ|ϕ⟩, and so the normality condition can be written as

⟨ψ|ψ⟩=1.
(57)

This is called Dirac notation, or sometimes bra-ket notation (⟨ψ| is a bra, |ψ⟩ is a ket, and the inner product ⟨ψ|ψ⟩ is a full bra-ket).

The second postulate describes how these state vectors evolve in time, namely that

the time-evolution of a state vector is linear: given the state at one time |ψ(t)⟩, the state at some other time |ψ(t′)⟩ is given by a linear operator

|ψ(t′)⟩=U^t′←t|ψ(t)⟩.
(58)

Because state vectors are normal, and must remain normal under time evolution, these evolution operators are also unitary. What specific unitary operator this is for a given system can be found by solving the Schrödinger equation, but the specifics of this are beyond the scope of this article, and require more advanced maths like calculus. Nevertheless, I name-dropped this so that you have a starting point if you'd like to learn more elsewhere. For our purposes, it suffices to assume that if we have some simple, controlled quantum system we're doing experiments on, we can engineer this evolution operator to be any unitary operator we want.

Discrete Quantum Systems, Qubits, and Superposition

For a "simple" system consisting of a body freely moving in three-dimensional space, the basis of the state space would consist of each three-dimensional position |x,y,z⟩ that the particle could classically be located in3. This is an infinite-dimensional vector space, so we'd need infinitely many numbers to represent the state, one for each position in space. Typically, we wrap these numbers up into a function ψ(x,y,z,t) which, when we solve the Schrödinger equation for this system, turns out to behave somewhat like a wave (this is the so-called wave-particle duality of matter). Since quantum state vectors for a common type of system, a body moving in three-dimensional space, look like waves, a common alternative word for a quantum state vector is a wavefunction.

I promised I'd keep things simple and avoid dealing with infinite-dimensional vector spaces in this article, so I won't dwell on this point much further. Instead, we'll consider "constrained" systems that are stable in a finite set of classical states. In classical physics, such constrained systems are more complicated than free systems, but in quantum mechanics the opposite is true. The simplest type of such a constrained system is one that has two states. We build many types of these in our (classical) computers, where the states are encoded as voltages in transistors, magnetisations on a hard drive platter, etc. We refer to such a system in the abstract as a "bit", and refer to its two states as 0 and 1. If we engineer such a system delicately enough to see quantum effects (more on that later), what we get is a qubit, the simplest type of quantum system.

In a qubit, the two classical states 0 and 1 are basis vectors |0⟩ and |1⟩ of the state space. (Note that here, |0⟩ isn't the zero vector; the thing inside the ket is just a label.) A qubit can be in one of these two states, but it can also be in any state expressible as

|ψ⟩=c0|0⟩+c1|1⟩,
(59)

where c0 and c1 are complex numbers satisfying |c0|2+|c1|2=1. Given some arbitrary state vector |ψ⟩, we can find these coefficients as

ck=⟨k|ψ⟩.
(60)

What happens if you measure the qubit while it's in one of these sum states? In that case, you see only one of |0⟩ or |1⟩, with a probability of seeing |k⟩ given by the Born rule

P(k)=|⟨k|ψ⟩|2.
(61)

This is what we call superposition in quantum mechanics. We never see both |0⟩ and |1⟩ at the same time, so you'd think they're mutually exclusive, but in fact it seems like the qubit can be in both states at once, as long as you're not looking at it. Then, when you do look at it, it seems like it chooses randomly what to be doing. We call this the collapse of the wavefunction, since it seems to turn a superposition into a basis state, or alternatively the observer effect, since it seems like a quantum system behaves differently depending on whether or not you're looking at it.

Given that I just gave you two postulates and told you that all of quantum mechanics derives from them, you might be wondering why I'm now asserting this extra fact of what happens during measurement. Indeed, the usual textbook approach to quantum mechanics is to treat collapse and the Born rule as an additional postulate. The answer is that you certainly can analyse the measurement process in terms of the two postulates, and I'll do just that towards the end of this article, once we've built up the prerequisite concepts. When we do take a careful look at the measurement process, we'll also examine whether apparent randomness and the observer effect are real or illusory, which is why I was hedging earlier with words like "apparent" and "seems". For the sake of brevity, I'll drop the hedging from here on out, but just remember to mentally insert an asterisk any time I mention wavefunction collapse or measurements.

For now, though, it suffices to say that the observer effect does need some kind of explanation. One potential explanation you might think of is that the qubit was actually always just in |0⟩ and |1⟩, and that the state vector just represents our limited knowledge of it, which is the way that probability usually works. That is to say, that the randomness happens when you first put the qubit into the superposition, not when you measure it.

Here's why this can't be the case: if I give you two qubits that were prepared in the same superposition (same c0 and c1), and measure one of them before giving them to you, you can tell which is which. (Or at least, you can tell after collecting statistics over multiple repetitions of the experiment.) As a concrete example, I'll prepare each qubit in the state

|ψ⟩=22(|0⟩+|1⟩).
(62)

If I measure this qubit, there's an even chance of seeing either |0⟩ or |1⟩:

P(1)=|22|2=12.
(63)

Now, if you were to then subsequently measure it, you would of course see the same half-half probability regardless of whether or not I'd measured it beforehand. In order for you to be able to tell the difference, what you need to do is first apply a particular operator to the qubit and then measure it, namely the operator

U^=22[(|1⟩−|0⟩)⟨1|+(|1⟩+|0⟩)⟨0|].
(64)

If you were to apply this operator to the qubit after I had already measured it, your probability of measuring |1⟩ would be

P(ends in 1)=P(0 then 1)+P(1 then 1)=12|⟨1|U^|0⟩|2+12|⟨1|U^|1⟩|2.
(65)

The effect of U^ on |0⟩ and |1⟩ is

U^|0⟩=22(|1⟩+|0⟩)U^|1⟩=22(|1⟩−|0⟩),
(66)

and so Equation 65 becomes

P(ends in 1)=12⋅12+12⋅12=12;
(67)

you'd have the same even chance of measuring either state as we saw before. However, if you instead apply this operator to the state in Equation 62 that hasn't been measured yet, you get

U^|ψ⟩=22[(|1⟩−|0⟩)⟨1|+(|1⟩+|0⟩)⟨0|]22(|0⟩+|1⟩)=12(|1⟩−|0⟩+|1⟩+|0⟩)=|1⟩,
(68)

which you will of course always measure as |1⟩. This is a markedly different result than the even-chance you'd see if the qubit had already been measured, so clearly something changes when you measure a qubit; we aren't just revealing something about it that we previously didn't know.

Namely, looking closely at Equation 68, we can see that the |0⟩ we'd get after starting from |0⟩ has the opposite sign as the |0⟩ we'd get after starting from |1⟩, and so they interfere with each other and cancel out, whereas in Equation 65, that sign information is missing and so there's no such interference. If you're familiar with the double slit experiment, this is a direct analogue; the intermediate |0⟩ and |1⟩ states are like the two slits, which can produce an interference pattern only if we don't measure which slit a particle is coming from.

States With Complex Components

The result of Equation 68 gives us an indication that the phases/signs of the vector components do indeed carry important information about the state, not just the magnitudes which give us Born rule probabilities. Let's explore that point explicitly, by comparing the results we'd get for the above experiment if we used

|ψ−⟩=22(|0⟩−|1⟩)
(69)

or

|ψi⟩=22(|0⟩+i|1⟩)
(70)

instead of the state |ψ⟩ from Equation 62. First, applying the operator U^ from Equation 64 to |ψ−⟩ gives us

U^|ψ−⟩=22[(|1⟩−|0⟩)⟨1|+(|1⟩+|0⟩)⟨0|]22(|0⟩−|1⟩)=12(|0⟩−|1⟩+|0⟩+|1⟩)=|0⟩,
(71)

which is indeed distinct from |1⟩ result that the state in Equation 62 gave us. Applying it to |ψi⟩ gives us

U^|ψi⟩=1−i2|0⟩+1+i2|1⟩,
(72)

which has an equal chance of measuring either |0⟩ or |1⟩, which is the same result we got earlier for a random mixture that isn't a superposition. In order to distinguish this from a random mixture, we'd need to apply a different unitary operator,

U^i=22[(|0⟩+|1⟩)⟨0|+i(|0⟩−|1⟩)⟨1|],
(73)

which gives us U^i|ψi⟩=|1⟩. Thus, we can see that the phase of a state vector's components really does make a difference, and we really do need complex numbers to describe quantum mechanics, not just real numbers.

Measurement in Alternative Bases

The process described above, of applying a unitary operator U^ to a quantum system before measuring it, can equivalently be thought of as measuring the system in a different basis. We can see this by rearranging the expression for the Born rule probability of measuring a state |k⟩ after applying the operator

P(k)=|⟨k|U^|ψ⟩|2=|(U^†|k⟩)†|ψ⟩|2;
(74)

this process is equivalent to measuring the system in the U^†|k⟩ basis. Indeed, we can generally measure a quantum system in any basis of our choosing, as long as we have precise control of it. This gives us a simpler way to think about why superpositions must really exist rather than just being incomplete knowledge of basis states: whether a given state is a "basis" state or a "superposition" is not an inherent feature of the state, but depends on what basis we choose to measure it in. Any quantum state can exhibit the observer effect we saw earlier, as long as the basis we measure it in does not contain that particular state. As we saw earlier, measuring a system in different bases is an important tool for probing the nature of quantum mechanics.

Multi-Body Systems and Entanglement

Let's now think about what the state vector space of a system with multiple qubits looks like. The set of classically observable outcomes for the system, and therefore by the first postulate the basis of the quantum state vector space, consists of all possible bit strings. For two qubits, this is all two-bit strings (|00⟩,|01⟩,|10⟩,|11⟩), and for n qubits in general, this is all n-bit strings (|00⋯0⟩,…,|11⋯1⟩). What we have here is a vector space whose basis is made up of all pairs (or triplets, etc.) of basis vectors of the single-qubit vector space, which is to say, a tensor product. Namely, if we have two qubits, which I'll label with a and b, whose individual states are

|ψa⟩=a0|0⟩+a1|1⟩|ψb⟩=b0|0⟩+b1|1⟩,
(75)

the combined state vector for the two-qubit system is

|ψ⟩=|ψa⟩⊗|ψb⟩=a0b0|00⟩+a0b1|01⟩+a1b0|10⟩+a1b1|11⟩.
(76)

A quick aside on notation: in quantum mechanics, it's common to represent tensor products as juxtapositions of bras or kets, so this could also be represented as

|ψ⟩=|ψa⟩|ψb⟩=(a0|0⟩+a1|1⟩)(b0|0⟩+b1|1⟩).
(77)

This expression, however, doesn't capture all of the possible states of a pair of qubits, since a tensor-product vector space contains many vectors that can't be represented as tensor products of vectors from the individual spaces. One example of a two-qubit state that can't be represented in the form of Equation 76 is

|ψ⟩=22(|00⟩+|11⟩).
(78)

If we measure qubits in this state, we'll see one of |00⟩ or |11⟩, but never |01⟩ or |10⟩; the two qubits will produce the same measurement outcomes as each other. We refer to this as quantum entanglement, because it's like the two qubits are somehow linked to each other in order to correlate their measurement outcomes. Quantum entanglement still works this way even if the two qubits are very far away from each other when the measurement happens, and it even works this way if the measurements are close enough together in time that a light-speed signal from one qubit wouldn't have had time to reach the other qubit before its measurement. This means that, if quantum entanglement was the result of some causal influence between the qubits, it would have to be one that travels faster than light.

Bell's Theorem: No Local Hidden Variables

Before we leap to the conclusion that we've discovered faster-than-light communication, it's worth asking ourselves if we have any reason to assume there's any causal influence between entangled qubits in the first place. After all, we can construct a scenario where mundane classical objects show correlations across distances similar to entanglement. Put a blue piece of paper in one sealed envelope and a red piece of paper in another sealed envelope, randomly give one envelope to each of two people, and then have them travel a great distance away from each other. When one person opens their envelope to see which colour they got, they instantly know the other person has the other colour, even though no causal influence has travelled between them.

A theory of quantum mechanics like the above is called a local hidden variable theory. Such a theory says that a quantum system has hidden information that is local to it, and does not travel between it and other quantum systems, that determines what the outcome of a given measurement would be. This information would have to be above and beyond the wavefunction, since the wavefunction of an entangled composite quantum system can't be separated into wavefunctions of the individual systems, i.e. it's not local.

Could quantum mechanics work like this? The answer turns out to be no; it's impossible for local hidden variables to produce the same results as wavefunctions in all cases. I'll walk you through an example of a setup where this is the case. Prepare two qubits, a and b, in the entangled state

|ψ⟩=22(|0a1b⟩−|1a0b⟩),
(79)

move them some distance apart, and then measure them simultaneously, randomly choosing one of two measurement bases for each. Namely, for qubit a, choose between the basis

|+a1⟩=|0a⟩|−a1⟩=|1a⟩
(80)

and

|+a2⟩=22(|1a⟩+|0a⟩)|−a2⟩=22(|1a⟩−|0a⟩),
(81)

and for qubit b, choose between the basis

|+b1⟩=−2−22|0b⟩+2+22|1b⟩|−b1⟩=−2+22|0b⟩−2−22|1b⟩
(82)

and

|+b2⟩=2−22|0b⟩+2+22|1b⟩|−b2⟩=−2+22|0b⟩+2−22|1b⟩.
(83)

Then, after completing the measurements, calculate

S={1−ab2if we chose basis 2 for both qubits1+ab2otherwise,
(84)

where a=1 if we measured qubit a as either |+a1⟩ or |+a2⟩ and a=−1 if we measured |−a1⟩ or |−a2⟩, and vice versa for b. In any given trial, S is either 0 or 1, and the result we're interested in is its expected value

⟨S⟩=0⋅P(S=0)+1⋅P(S=1),
(85)

and how it compares between quantum mechanics and local hidden variable theories. An intuitive way to think about this is as a "game" where the qubits are the "contestants": each contestant is taken aside and randomly asked one of two yes-or-no questions, and they "win" (S=1) if they give different answers when both are asked question #2 or give the same answer otherwise, and are trying to coordinate their actions so as to maximise the chances that they win. It'll turn out that the qubits can win the game more often than any possible system of local hidden variables.

We can represent the hypothesised local hidden information in these qubits in terms of which measurement each qubit "plans" to produce in each basis: a1, a2, b1, and b2, which have values of either +1 or −1. These values will, of course, differ between each trial since the measurement outcomes are random. In terms of these variables, ⟨S⟩ is the mean of all four possible choices of bases

⟨S⟩=12+a1b1+a1b2+a2b1−a2b28.
(86)

This factorises as

⟨S⟩=12+(a1+a2)b1+(a1−a2)b28;
(87)

at least one of these terms must be zero, since a1=±a2, while the other term is ±2, and so

⟨S⟩≤12+0+28⟨S⟩≤34.
(88)

This means that any system of local hidden variables can only win the game 75% of the time at best. This is an example of a Bell's inequality, a bound on the statistics of a local hidden variable system.

Now let's calculate ⟨S⟩ as given by quantum mechanics, for our qubits. To do this, it will help to have a compact way to represent the expected value of a quantum measurement. Let's say that we're measuring an n-state system in a basis |k⟩ where 1≤k≤n, where measurement outcome k gives us a value λk. Then, the expected value of λ when measuring a state |ψ⟩ is

⟨λ⟩=∑k=1nλkP(k)=∑k=1nλk|⟨k|ψ⟩|2=∑k=1nλk⟨ψ|k⟩⟨k|ψ⟩=⟨ψ|(∑k=1nλk|k⟩⟨k|)|ψ⟩.
(89)

Thus, we can neatly represent a measured quantity as a matrix

O^=∑k=1nλk|k⟩⟨k|
(90)

such that its expected value is

⟨λ⟩=⟨ψ|O^|ψ⟩.
(91)

We call such a matrix an observable. The observable for the a1 variable is

A^1=|+a1⟩⟨+a1|−|−a1⟩⟨−a1|=|0a⟩⟨0a|−|1a⟩⟨1a|,
(92)

or, in matrix form,

A^1=[100−1].
(93)

The observable for a2 is

A^2=[2222][2222]−[−2222][−2222]=[12121212]−[12−12−1212]=[0110].
(94)

Omitting the derivations for brevity, the remaining observables are

B^1=[−22−22−2222]B^2=[−22222222].
(95)

Equation 86 contains products of these measured values across the two qubits, for example a1b1. The observables corresponding to these are Kronecker products like A^1⊗B^1. The quantum-mechanical expected value of a1b1 is

⟨a1b1⟩=⟨ψ|A^1⊗B^1|ψ⟩=[022−220]([100−1]⊗[−22−22−2222])[022−220]=[022−220][−22−2200−2222000022220022−22][022−220]=[022−220][−1212−12−12]=22.
(96)

By the same process (but omitting the derivations for brevity), the expected values of the other terms in Equation 86 are

⟨a1b2⟩=⟨ψ|A^1⊗B^2|ψ⟩=22⟨a2b1⟩=⟨ψ|A^2⊗B^1|ψ⟩=22⟨a2b2⟩=⟨ψ|A^2⊗B^2|ψ⟩=−22,
(97)

and so

⟨S⟩=12+⟨a1b1⟩+⟨a1b2⟩+⟨a2b1⟩−⟨a2b2⟩8=12+2+2+2+216=2+24≈0.85.
(98)

The qubits can win the game about 85% of the time, as compared to the mere 75% that can be achieved with local hidden variables alone.

This result is an example of Bell's theorem; quantum mechanics violates Bell's inequalities and therefore cannot be explained using local hidden variables. Indeed, when we do experiments with setups like these, whose statistics show a discrepancy between the predictions of local hidden variables and state vectors, we get results that are consistent with the latter but not the former. This tells us that we can't simply dismiss quantum entanglement as the mundane sort of correlation I mentioned in my coloured-paper-in-envelopes thought experiment. There's something fundamentally different, and fundamentally weirder, going on here. For now, though, this still doesn't mean there's definitely a faster-than-light effect here; to make a decision on that, we'll need to scrutinise the measurement process in more detail, as I mentioned we'll do later in the article.

The No-Communication Theorem

Given that quantum entanglement seems like it might involve faster-than-light causality, at least insofar as we've failed to rule it out with a local hidden variable theory, you might be wondering if we can use entanglement to communicate faster than light. To answer this question, let's try to devise a scheme for doing this, and see if we succeed. To give this the best chance of working, we'll allow our entangled quantum systems to have more than two basis states, rather than limiting ourselves to working with qubits. Let's say two people, Alice and Bob, are trying to communicate using the quantum entanglement between two controlled quantum systems in their possessions. Let m and n be the state dimensionality of Alice's and Bob's systems respectively, and let |ψ⟩ be the combined state vector that the two systems were prepared in prior to the communication attempt, which is in general an entangled state that can't be expressed as a tensor product.

After travelling far apart from each other while bringing their quantum systems with them, Alice tries to send information to Bob by doing something to her system before Bob measures his system, so that she can affect his measurement outcomes. Alice's "doing something" could involve one of two things: measuring her system in different bases, or applying different unitary operators to it. As we discussed earlier in Measurement in Alternative Bases, however, measuring in different bases is equivalent to applying different operators before measuring in the same basis, so without loss of generality, we can consider a scheme where Alice applies some unitary operator to her system before the two of them measure their systems in some fixed bases. Let Alice's basis be |jA⟩ with j ranging from 1 to m, and let Bob's basis be |kB⟩ with k ranging from 1 to n. Let the unitary transformation Alice applies to her system before the measurements be U^A. Then, Bob's probability of measuring a given state is

P(kB)=∑j=1mP(jAkB)=∑j=1m|⟨jAkB|U^A|ψ⟩|2,
(99)

where here U^A is used as shorthand for its Kronecker product with the identity operator U^A⊗I^B, as is common notation in quantum mechanics. To determine if and how Alice can affect Bob's measurement outcomes, we want to see how these probabilities depend on U^A. The first thing I'll do is expand U^A in terms of its matrix elements

U^A=∑ℓ=1m∑p=1m⟨ℓA|U^A|pA⟩|ℓA⟩⟨pA|.
(100)

Substituting this into Equation 99, we obtain

P(kB)=∑j=1m|∑ℓ=1m∑p=1m⟨ℓA|U^A|pA⟩⟨jA|ℓA⟩⟨pAkB|ψ⟩|2.
(101)

The inner product in the middle is one if j=ℓ and zero otherwise, so we can remove the summation over ℓ:

P(kB)=∑j=1m|∑p=1m⟨jA|U^A|pA⟩⟨pAkB|ψ⟩|2.
(102)

Expanding the absolute value using |z|2=zz∗, we get

P(kB)=∑j=1m(∑p=1m⟨jA|U^A|pA⟩⟨pAkB|ψ⟩)(∑q=1m⟨jA|U^A|qA⟩∗⟨ψ|qAkB⟩).
(103)

Using the conjugate-transpose property of the unitary operator U^A, and doing some expanding and factoring, we get

P(kB)=∑j=1m(∑p=1m⟨jA|U^A|pA⟩⟨pAkB|ψ⟩)(∑q=1m⟨qA|U^A†|jA⟩⟨ψ|qAkB⟩)=∑j=1m∑p=1m∑q=1m⟨qA|U^A†|jA⟩⟨jA|U^A|pA⟩⟨pAkB|ψ⟩⟨ψ|qAkB⟩=∑p=1m∑q=1m⟨qA|U^A†(∑j=1m|jA⟩⟨jA|)U^A|pA⟩⟨pAkB|ψ⟩⟨ψ|qAkB⟩.
(104)

Recognising the sum over j in the middle as the definition of the identity operator, we get

P(kB)=∑p=1m∑q=1m⟨qA|U^A†U^A|pA⟩⟨pAkB|ψ⟩⟨ψ|qAkB⟩.
(105)

Finally, using the fact that a unitary operator's adjoint is its inverse, we get

P(kB)=∑p=1m∑q=1m⟨qA|pA⟩⟨pAkB|ψ⟩⟨ψ|qAkB⟩=∑p=1m⟨pAkB|ψ⟩⟨ψ|pAkB⟩=∑p=1m|⟨pAkB|ψ⟩|2.
(106)

This expression doesn't contain U^A at all, so we finally can see that nothing Alice does to her system will affect the probabilities of Bob's measurement outcomes, so quantum entanglement doesn't give us a means of communication. This is the no-communication theorem of quantum mechanics. If quantum entanglement does involve faster-than-light effects, then, these effects just so happen to work in a way that doesn't let us take advantage of them. Indeed, in a Bell experiment, the strange correlations that can't be explained by local hidden variables only show up when you look at both qubits' results together; any one qubit on its own doesn't show anything strange.

Many-Body Systems, the Entanglement Arrow of Time, and Decoherence

Soon we'll take a look at the measurement process in terms of the postulates of quantum mechanics. This will involve thinking about the quantum behaviour of large, complex systems made of many parts, like experimental apparatus and humans, so first let's think about how such many-body systems behave in general. As always, our toy model for this is qubits, so let's consider a system with N qubits (where N is some large number) which are initially in the state

|ψ⟩=(a|01⟩+b|11⟩)|0203⋯0N⟩,
(107)

where the first qubit is in some superposition and all other qubits are |0⟩. Let's now imagine that these qubits are interacting with each other; specifically, let's say that they interact pairwise with the operator

U^CN,jk=|0j0k⟩⟨0j0k|+|0j1k⟩⟨0j1k|+|1j1k⟩⟨1j0k|+|1j0k⟩⟨1j1k|.
(108)

This operator has the effect of flipping qubit k if and only if qubit j is |1⟩, and so it correlates these two qubits. The name that's commonly given to this operator, especially in quantum computing, is the controlled NOT gate (CNOT). If we apply this operator to two qubits that are |0⟩, it does nothing, but if we apply it to qubits 1 and 2, we get the state

U^CN,12|ψ⟩=(a|0102⟩+b|1112⟩)|03⋯0N⟩,
(109)

where the superposition now consists of two qubits which are entangled with each other. If we then apply the operator to either the pairs 1 and 3 or 2 and 3, we get

U^CN,23U^CN,12|ψ⟩=U^CN,13U^CN,12|ψ⟩=(a|010203⟩+b|111213⟩)|04⋯0N⟩.
(110)

We can imagine this process continuing until the superposition encompasses all of our qubits4:

|ψall⟩=U^CN,(N−1)N⋯U^CN,23U^CN,12|ψ⟩=a|0102⋯0N⟩+b|1112⋯1N⟩.
(111)

From this, we can see that when we have many quantum systems interacting with each other in ways that correlate them with each other (which, keep in mind, is the general case; interactions that don't create correlations are the special case), and one of them starts out in a superposition, that superposition will spread to encompass all of the interacting systems, entangling them with each other. Thus, the nature of superpositions is to grow, and the nature of entanglement is to spread.

We can think of this as an "arrow of time" towards greater entanglement, which resembles the entropic arrow of time that pushes the universe towards greater dissipation of energy and greater disorder. There's even a mathematical analogy you can draw between these. The entropic arrow of time exists because, out of all the ways you could arrange the matter in a system, a much larger number of them are "disordered" than "ordered", so the former are much more likely. Similarly, the entanglement arrow of time exists because separable states are a tiny subset of all possible states of the composite system. For our N-qubit system, separable states are described by 2N complex numbers, but describing all possible states needs 2N complex numbers.

Let's now say that we try to detect one of these large superpositions. In Equation 68 we experimentally distinguished a single-qubit superposition from a random mixture of states, so let's try to do the same thing for the many-qubit superposition in Equation 111. As before, we'll consider the specific case of a=2/2=b, and use a single-qubit operator

U^DS,1=22[(|11⟩−|01⟩)⟨11|+(|11⟩+|01⟩)⟨01|]
(112)

of the same form as Equation 64. Applying this operator gives us

U^DS,1|ψall⟩=22[(|11⟩−|01⟩)⟨11|+(|11⟩+|01⟩)⟨01|]22(|01⋯0N⟩+|11⋯1N⟩)=12[(|11⟩−|01⟩)|12⋯1N⟩+(|11⟩+|01⟩)|02⋯0N⟩]=12(|1112⋯1N⟩−|0112⋯1N⟩+|1102⋯0N⟩+|0102⋯0N⟩).
(113)

The expression on the bottom can't be factored any further, so each of the four terms represents a distinct outcome that happens with 1/4 probability each. This means we have an even chance of measuring either |01⟩ or |11⟩ for the first qubit, which is exactly the same result as for a random mixture that isn't a superposition. The difference between this and Equation 68 is that, in the latter, the other qubits weren't there, so the second and fourth terms containing |01⟩ referred to the same vector, and so they cancelled out to give us a certain outcome of |11⟩, which let us detect that this is a superposition. Here, on the other hand, the second and fourth terms are not like terms, so they don't interfere with each other.

In order to detect a superposition, you need to interfere the states that make it up, and to do that, you need to apply a unitary operator that turns them into exactly the same state. If two states are even slightly different (in this example, if they differ by even one qubit out of N), they correspond to orthogonal directions in the state vector space, and so they don't interfere with each other; they're not like terms. In order to detect the superposition in |ψall⟩, you'd need to apply an operator like

U^DS,all=22[(|11⋯1N⟩−|01⋯0N⟩)⟨11⋯1N|+(|11⋯1N⟩+|01⋯0N⟩)⟨01⋯0N|]+…,
(114)

which manipulates every qubit simultaneously. Applying this to the state in Equation 111, we get

U^DS,all|ψall⟩=12(|1112⋯1N⟩−|0102⋯0N⟩+|1112⋯1N⟩+|0102⋯0N⟩)=|1112⋯1N⟩.
(115)

What we see here is that, in order to be able to distinguish a superposition from a random mixture, we need to be able to precisely manipulate every component of the system. Once entanglement "leaks" out of a system, into the broader environment that we don't have precise control over, our system looks like it loses its quantum nature.

This phenomenon is known as decoherence. A quantum system is coherent as long as it's not entangled with its environment, and decoherent otherwise. This is why doing quantum mechanics experiments requires such precise apparatus and pristine environments, and why it's so hard to build useful qubits for quantum computers: you need to make sure your system doesn't leak information to the environment, even a very small part of it. You need to cool things way down, put them in ultra-high vacuum chambers, etc.

Earlier in this article, I handwaved the fact that not just any two-state system, like a light switch or a bit in a (classical) computer, can be used as a qubit, even though the postulates of quantum mechanics seem to imply that they should. Decoherence tells us why this is the case: the postulates of quantum mechanics really work, these systems technically are qubits, but their coherences are extremely short-lived, so you can never see them behave like qubits in practice.

Decoherence is a Spectrum

It's worth clarifying that whether or not a quantum system is coherent isn't a hard binary; a system can be more or less coherent. One simple way that this is the case is that decoherence happens when entanglement spreads beyond the boundaries of what we as the experimenters control, but "what we control" is a fuzzy notion. There's no hard line where it becomes truly impossible to coherently manipulate a set of quantum systems, it just becomes harder and harder as the superposition grows.

Additionally, and perhaps more importantly, even if entanglement does spread outside the bounds of your control, this doesn't necessarily completely destroy coherence. To illustrate what I mean, let's say that, instead of the CNOT operator from before, our interaction operator is

U^CR,jk=|0j0k⟩⟨0j0k|+|0j1k⟩⟨0j1k|+(0.96|1j0k⟩+0.28|1j1k⟩)⟨1j0k|+(0.28|1j0k⟩−0.96|1j1k⟩)⟨1j1k|.
(116)

Unlike the CNOT operator, which conditionally flips the second qubit, this operator only changes the second qubit by a small amount. If we apply this operator to the two-qubit state

|ψ⟩=22(|01⟩+|11⟩)|02⟩,
(117)

we get

U^CR,12|ψ⟩=22(|0102⟩+0.96|1102⟩+0.28|1112⟩).
(118)

If we then apply the single-qubit superposition testing operator from Equation 112 to the first qubit, we get

U^DS,1U^CR,12|ψ⟩=12(|0102⟩+|1102⟩−0.96|0102⟩+0.96|1102⟩−0.28|0112⟩+0.28|1112⟩)=0.02|0102⟩+0.98|1102⟩−0.14|0112⟩+0.14|1112⟩,
(119)

which gives us a 0.982+0.142=98% chance of measuring the first qubit as |1⟩. Compared to the case of full coherence which gives us a 100% chance of |1⟩ and full decoherence which gives us a 50% chance, this represents a situation where this first qubit has only decohered a little bit, and is therefore still mostly usable as a qubit despite being entangled with its environment (in this case, a second qubit outside of our control). From what I had said previously about coherence, you might have gotten the impression that a single stray atom interacting with our qubit would totally destroy its coherence, but the outlook for building useful qubits isn't quite so hopeless. As long as each interaction only creates weak correlations, as we see here, there can still be some useful coherence left.

The No-Cloning Theorem

As we've seen, a quantum system that is part of an entangled pair (or triplet, etc.) behaves fundamentally differently from one that isn't entangled with anything. If we have two qubits in the entangled state

|ψe⟩=a|0102⟩+b|1112⟩,
(120)

the individual qubits in this pair behave differently from a single qubit with a state

|ψs⟩=a|0⟩+b|1⟩.
(121)

In order to have a pair of qubits that each individually behave like the above, we'd need the joint state to be

|ψc⟩=|ψs,1⟩|ψs,2⟩=(a|01⟩+b|11⟩)(a|02⟩+b|12⟩)=a2|0102⟩+ab|0112⟩+ab|1102⟩+b2|1112⟩,
(122)

which is a separable, non-entangled state. This raises the following question: if we have qubit 1 in some arbitrary, unknown state, as represented by Equation 121, can we make an independent copy of this state in qubit 2, giving us the state in Equation 122? Let's try to look for an operator U^c over the two qubits that can do this. Namely, if we let the initial separable state of the second qubit be |ϕ⟩, we're looking for an operator for which

U^c|ψs,1⟩|ϕ2⟩=|ψs,1⟩|ψs,2⟩.
(123)

In the special case of a=1 and b=0, U^c would have to have the effect

U^c|01⟩|ϕ2⟩=|0102⟩,
(124)

and for a=0 and b=1, we'd need

U^c|11⟩|ϕ2⟩=|1112⟩.
(125)

Using the above two identities and the fact that U^c is linear, we can solve for the general case

U^c|ψs,1⟩|ϕ2⟩=U^c(a|01⟩+b|11⟩)|ϕ2⟩=U^c(a|01⟩|ϕ2⟩+b|11⟩|ϕ2⟩)=a|0102⟩+b|1112⟩=|ψe⟩≠|ψc⟩,
(126)

showing that U^c gives us an entangled state rather than copying the first qubit to the second. An argument of the same form also applies to quantum systems with more than two states. This is the no-cloning theorem: we can't coherently copy quantum information from one system to another.

While we can't copy quantum information, we can easily move it. For two qubits, the operator

U^m=|0102⟩⟨0102|+|1102⟩⟨0112|+|0112⟩⟨1102|+|1112⟩⟨1112|
(127)

swaps their states, turning the initial state in Equation 123 into

U^m|ψs,1⟩|ϕ2⟩=|ϕ1⟩|ψs,2⟩.
(128)

Here we've successfully transferred the information from qubit 1 to qubit 2, at the expense of erasing it from qubit 1. A similar but distinct protocol for moving information from one qubit to another, that can more easily be applied across distances, is known as quantum teleportation. This term is a bit of a misnomer, however, since only the information in the qubits is "teleported", not the matter that makes up the qubits themselves. Pop-science articles sometimes make this out to be like teleportation from science fiction, but that's not what's going on here; this doesn't give us a path to making Star Trek real.

The Measurement Problem, Wavefunction Collapse, and Many Worlds

Now that we understand decoherence and large-scale entanglement, we're finally ready to tackle the so-called measurement problem, the question of how and why we go from quantum states, which can contain superpositions, to measurements which can only have one outcome. The handwavy narrative we've been working under up until now is that, when you measure a quantum system, the wavefunction "collapses", turning a superposition into a basis state, choosing randomly among the basis states according to the probabilities given by the Born rule. In order to try to elucidate this collapse process, let's think through what would happen during measurement if wavefunction collapse didn't exist, by applying the postulates of quantum mechanics. Comparing this to what we actually observe will hopefully give us some insight.

Let's consider the scenario where a human experimenter measures a qubit that's in some arbitrary superposition state, in terms of the wavefunction of the overall system. We can conceive of the system's vector space as a tensor product of the vector spaces of the qubit, detector, and human. Initially, the system is in the state

|ψ⟩=(a|0q⟩+b|1q⟩)|xd⟩|xh⟩,
(129)

where the q, d, and h subscripts stand for "qubit", "detector", and "human" respectively. |xd⟩ and |xh⟩ are just arbitrary labels I've assigned to the initial states of the detector and experimenter, before the detector has made its measurement or the experimenter has looked at the detector.

The first thing that happens in this process is that the detector makes its measurement of the qubit. We can represent this as an operator U^dq in the qubit and detector spaces. If the qubit is in the |0q⟩ state, this operator will put the detector in a "has read 0" state, which I'll label |0d⟩:

U^dq|0q⟩|xd⟩=|0q⟩|0d⟩.
(130)

Similarly, with |1d⟩ as a "has read 1" detector state,

U^dq|1q⟩|xd⟩=|1q⟩|1d⟩.
(131)

Applying U^dq to the superposition in Equation 129, we therefore get

U^dq|ψ⟩=U^dq(a|0q⟩+b|1q⟩)|xd⟩|xh⟩=(aU^dq|0q⟩|xd⟩+bU^dq|1q⟩|xd⟩)|xh⟩=(a|0q⟩|0d⟩+b|1q⟩|1d⟩)|xh⟩.
(132)

As discussed in the previous section, the superposition has grown to encompass both the qubit and the detector.

The next thing that happens is that the experimenter looks at the detector to see its reading, which I'll represent with the operator U^hd. For each pure state, the effect of this operator is

U^hd|0d⟩|xh⟩=|0d⟩|0h⟩U^hd|1d⟩|xh⟩=|1d⟩|1h⟩,
(133)

where |0h⟩ and |1h⟩ are the labels I've assigned to the "experimenter sees 0" and "experimenter sees 1" states respectively. Applying this to Equation 132, we get the final state after this whole process,

U^hdU^dq|ψ⟩=a|0q⟩|0d⟩|0h⟩+b|1q⟩|1d⟩|1h⟩.
(134)

Thus, if an experimenter measures a qubit, and the wavefunction doesn't collapse, we end up with the experimenter's brain/body in a superposition of "sees 0" and "sees 1", entangled with the qubit. You may be thinking at this point that we've found the contradiction we're looking for: we never see humans in superpositions, so clearly the wavefunction does collapse at some point in this process. But keep in mind that a superposition as large as a human is basically completely decoherent; in order for the two states to interfere, you'd need to precisely manipulate nearly every atom that makes up the experimenter (and the lab equipment and the qubit). So in fact, each state of the superposition behaves as if the other state didn't exist, and it looks identical to there not being a superposition at all. In this scenario, decoherence creates an illusion of wavefunction collapse.

Once the superposition grows large enough to encompass the experimenter, it just keeps growing from there, since humans live in a messy, high-energy environment where atoms are bumping into each other constantly. Eventually, the superposition will extend out to the rest of the (observable) universe. Letting the subscript u denote the state vector space of the rest of the universe, this means we ultimately get a state

U^uhU^hdU^dq|ψ⟩=a|0q⟩|0d⟩|0h⟩|0u⟩+b|1q⟩|1d⟩|1h⟩|1u⟩.
(135)

Starting from the state in Equation 129, the measurement process has effectively split the universe into two copies, represented by each of the two terms in the above equation, which can never interact with each other again because of decoherence. This notion, that the wavefunction never collapses and thus the universe is effectively duplicated every time a quantum superposition is measured (or otherwise grows and spreads), is called the Many Worlds interpretation of quantum mechanics, or alternatively the Everettian interpretation, named after its inventor Hugh Everett III.

The alternative to Everettianism would be the notion that wavefunction collapse is a real physical phenomenon that happens once a superposition gets large enough; this notion is referred to as objective collapse. In principle, the way to distinguish between these experimentally would be to try to create and then measure progressively larger and larger superpositions, to try to find a threshold above which coherence is impossible, which would indicate that that's the point where collapse happens. As per the earlier discussion about decoherence, this becomes impossible in practice for sufficiently large or complex systems; we'll almost certainly never be able to experimentally test putting a human in a superposition, for example.

(Here I'm presenting a dichotomy between Everettianism and objective collapse, but as you may have heard, there are many more so-called interpretations of quantum mechanics than just two. Most of these interpretations, however, are instrumentalist interpretations that treat quantum theory as merely a tool for predicting experimental outcomes, rather than attempting to describe reality. In terms of ways that the world could work, the dichotomy between "wavefunction collapse exists" and "wavefunction collapse doesn't exist" is basically complete.)

Without experimental evidence one way or the other, there's no consensus in physics for one interpretation versus another. Instead, we're left to decide between these ideas based on more subjective criteria, like which one seems more elegant or sensible. One such criterion is Occam's razor, the idea that when you have multiple hypotheses that are equally consistent with evidence, you should favour the one that's simpler, that makes fewer assumptions. Naively, it might seem like this criterion would favour the objective collapse interpretation, since that only assumes one extra physical phenomenon, wavefunction collapse, whereas the Everettian interpretation assumes the existence of a very large (possibly infinite) number of extra universes. However, it's not really that clear-cut; which interpretation is "simpler" is a harder question than it seems at first glance.

The first problem with the naive comparison is that Everettianism doesn't assume the existence of many other universes, but instead derives their existence, as we saw above. The many worlds of Many Worlds are not what define the interpretation, but instead are a consequence of it. (For this reason, many quantum physicists, including myself, prefer the name "Everettianism" for this interpretation instead of "Many Worlds".) The only assumptions Everettianism makes are the postulates of quantum mechanics, while the objective collapse interpretation assumes those same postulates plus an extra postulate for the wavefunction collapse mechanism, so arguably it's the Everettian interpretation that makes fewer assumptions.

Similarly, it might naively seem like the Everettian picture of reality involves way more information than the objective collapse interpretation, many universes as opposed to just one. There's clearly a sense in which this is true, but there's another sense in which it's false, namely that the state vector space of the universe has the same dimensionality in both interpretations. This state vector space is extremely large since it's the tensor product of the state spaces of every object in the universe, and most of the states in it are large-scale superpositions corresponding to a split universe. In the objective-collapse interpretation, the collapse mechanism works to confine the wavefunction to a tiny subset of this vector space, but in the Everettian interpretation the whole space is accessible.

Another reason to favour Everettianism is that it upholds important principles that apply to the rest of physics, namely that all interactions and causal influences are local, and that these influences can't travel faster than light. If wavefunction collapse existed, on the other hand, Bell's theorem implies that it would be the only phenomenon in all of physics that involved action at a distance, and worked faster than light, but in a way that just so happens not to let us communicate faster than light. Everettianism subverts Bell's theorem, and thereby preserves locality in quantum mechanics, by negating one of its underlying assumptions: that measurements only have one outcome.

A genuine problem with Everettianism, however, is the question of why we see the probabilities given by the Born rule. Objective collapse doesn't have this problem, because it treats the Born rule as a postulate, but Everettianism has to somehow derive it from a smaller set of postulates. Going from Equation 129 to Equation 135 as the qubit's superposition spreads, the coefficients a and b don't really seem to be doing anything, they just stay attached to their respective terms, so it's not clear why they'd affect the probability of ending up in one universe versus the other.

To be clear, the question here isn't why the probabilities are given by the Born rule and not some other rule; the Born rule is the only way to get probabilities from the components of a unit vector that satisfies basic requirements like "adds up to one" and "is independent of choice of basis". The question is about how to apply the concept of probability to Everettianism in the first place. Probability is usually about uncertainty or lack of knowledge, but in Everettian quantum mechanics you already know exactly what will happen when you measure a qubit: you'll be made into two copies and each one will see one of the two outcomes. The probability of one outcome versus another essentially means the probability of being one of your copies versus another, which doesn't seem like it makes much sense.

Conclusion

In conclusion, quantum-mechanical phenomena like superposition and entanglement are ultimately consequences of a small set of mathematical premises, namely the postulates of quantum mechanics. These in turn are based on the mathematical concepts of complex numbers and vector spaces, which I've explained in this article in order to bridge a conceptual gap between lay mathematics and quantum mechanics.

By reasoning forward from these concepts, we've discovered the philosophical implications of quantum mechanics, on their own terms rather than through metaphors and appeals to intuition alone. Through this, we've seen that quantum mechanics isn't magical or inscrutable, though neither is it intuitive or directly analogous to our everyday experiences. This latter point is best exemplified by Bell's theorem, which tells us that quantum entanglement can't readily be explained in terms of hidden information that is local to a given system.

After all of this, we examined the measurement process using the postulates of quantum mechanics, which showed us two possible ways to make sense of quantum mechanics, both of which subvert deeply-held assumptions about our world. First, that there really is a nonlocal, faster-than-light wavefunction collapse process, albeit one that can't be taken advantage of for communication. Second, that measurements have multiple outcomes that each happen in what amounts to their own separate universes. I discussed some reasons for and against each of these ideas for your consideration, but ultimately did not make a definite conclusion one way or the other, as indeed there is no expert consensus on this matter.

Appendix: Vector Space Axioms

A set, together with addition and scalar multiplication operations, is a vector space if and only if it satisfies the ten following criteria, which are the vector space axioms:

  1. Closure of addition: for any two elements 𝐯 and 𝐰, 𝐯+𝐰 is also an element.
  2. Commutativity of addition: for any two elements 𝐯 and 𝐰, 𝐯+𝐰=𝐰+𝐯.
  3. Associativity of addition: for any three elements 𝐯, 𝐰, 𝐮, (𝐯+𝐰)+𝐮=𝐯+(𝐰+𝐮).
  4. Additive identity: there exists an element, typically labelled 𝟎, such that for any element 𝐯, 𝟎+𝐯=𝐯.
  5. Additive inverses: for any element 𝐯, there exists an element −𝐯 such that 𝐯+(−𝐯)=𝐯−𝐯=𝟎.
  6. Closure of scaling: for any element 𝐯 and any scalar a, a𝐯 is also an element.
  7. Distributivity of scalars in scaling: for any element 𝐯, and any two scalars a and b, (a+b)𝐯=a𝐯+b𝐯.
  8. Distributivity of vectors in scaling: for any two elements 𝐯 and 𝐰 and any scalar a, a(𝐯+𝐰)=a𝐯+a𝐰.
  9. Associativity of scaling: for any element 𝐯 and any two scalars a and b, a(b𝐯)=(ab)𝐯.
  10. Scaling identity: for any element 𝐯, 1𝐯=𝐯.

Some useful direct consequences of these are that scaling by zero and negative one have the properties you might expect, namely that zero times any vector is the zero vector (0𝐯=𝟎), and negative one times any vector is its additive inverse (−1𝐯=−𝐯).