Chapter 1: Quantum States
Chapter 1 Quantum States
-
•
Preskill, John. "Quantum computing and the entanglement frontier." arXiv preprint arXiv:1203.5813 (2012).
-
•
Ballentine, Leslie E. Quantum mechanics: a modern development. 1998.
-
•
Preskill, John. "Lecture notes for Physics 219: Quantum computation." California Institute of Technology 3 (2004): 70. (Chapter 4 on entanglement)
1.1 Introduction
The field of quantum information science has its roots in the careful reasoning and deep thought that went into understanding the foundational concepts of quantum theory. Quantum mechanics is a theory which was invented initially to do a number of “useful” things – to describe the radiation emitted from thermal bodies, the structure of atoms, their spectra, scattering probabilities for subatomic particles, and the properties of matter and radiation. However, already in the 1920s, it raised significant philosphical questions about the nature of reality and required a reworking of basic conceptual frameworks that had been used for centuries to understand the world around us. Thought experiments such like Schrödinger’s cat, the work of Einstein, Podolsky, and Rosen on entanglement in 1935, Bohr’s complementarity principle, and Heisenberg’s microscope thought experiment were developed initially to either create a philosophical scaffolding, or to form a basis for criticizing the nascent theory. These concepts now form the basis of fields in quantum computing, sensing, and communications. It was only in the 1960s and 1970s that some of the questions raised by these early pioneers began to be addressed in a rigorous manner, soon giving rise to the field of quantum communication, information, and computing. The field has come full circle. Today we try to use these philosophical advances in our understanding of nature, to again do useful things – to build quantum sensors to detect fields with unprecedented precision and develop enormously capable computers. Before diving into these new advances however, it is useful and important to remind ourselves of some of the the truly weird properties of quantum theory. We will also review a few practical things are important for describing real phenomena.
1.2 What is a quantum state?
Classical probability theory provides a framework to talk about and make calculations of the likelihood or relative frequency of events. It help us predict outcomes based on what we know about a system. At the heart of this framework is the probability distribution function, which gives us the probabilities of different outcomes of measurements on a given system. For instance, consider the probability distribution function:
(1.1) |
This function encodes the likelihood that, upon measurement, the random variables yield the results . We can use this to predict potential outcomes of measurements. However, it’s essential to remember that while the probability distribution offers probabilities for various outcomes, it doesn’t usually precisely predict a specific outcome — for instance, it doesn’t indicate if will measure as or – it only offers the likelihood for either result.
Example 1.2.1.
Heads or tails (Bernoulli trials)
We define an experiment as such: we have an unbiased coin that we toss into the air, it lands, and we check whether it is heads (H) or tails (. We do this experiment times, insuring that the trials are independent, resulting in a vector where each is either H or T. The probability distribution
fully characterizes the result of any measurement. Convince yourself that .
In quantum mechanics, the theory’s mathematical formulation enables us to calculate the probability distribution functions for any measurement.
The first element of this mathematical formulation is the Hilbert space (), a complex vector space. The main objects we use in the theory are either vectors in this Hilbert space or operators acting on the Hilbert space. The observables () which are operators acting on the Hilbert space, can correspond to variables in classical physics (energy, momentum, position) or represent the question we are asking of the system (e.g., “what is your spin?”, “where are you?”, “Is the voltage 1.5 V?”, etc.). The state () is another operator which encodes all of our knowledge of the state of the system. Pure states, a category among them, are also indicated by a state vector with the corresponding state or density matrix being . All states, including pure states, can be represented via the density matrix. Remarkably, even given as complete knowledge as possible in quantum mechanics, the exact result of a specific measurement may still elude prediction.
This is already a significant departure from the classical, mechanistic understanding of the world. For example, while knowing a coin’s probability for heads doesn’t predict a specific flip’s result, theoretically, with sufficient understanding and modeling of the coin’s physics within a classical theory, one could predict the outcome of a single coin toss. This is perhaps best captured in Laplace’s famous claim “Give me the positions and velocities of all the particles in the universe, and I will predict the future”. Randomness in classical theories only arises from our limited knowledge or incomplete information of initial conditions and interactions. In contrast, quantum mechanics introduces a different kind of randomness that persists despite complete knowledge of the state and dynamics.
1.2.1 Combining states and observables
We combine states and observables to make predictions in quantum theory. These predictions are in the form of probabilities or probability distribution functions. The way the two operators, observable and state, are combined is through the trace operation.
First we introduce the trace operation:
Definition 1.2.2 (Trace).
The trace of a matrix is the sum of its diagonal elements. Mathematically, for an matrix , the trace is given by:
In the context of quantum mechanics, the trace of an operator in a Hilbert space with an orthonormal basis is given by:
where the sum runs over all basis vectors in the Hilbert space.
For operators with continuous spectrum,
Theorem 1.2.3 (Cyclic property of trace).
For any two operators and :
This property implies that the trace remains invariant under cyclic permutations of the matrices inside the trace.
Proof 1.2.4.
Using the orthonormal basis , we can express the trace of the product of two operators as:
Expanding the identity operator the same basis orthonormal basis, we have:
Inserting this into our expression for the trace, we get:
Since and are just numbers, we rearrange them to prove the cyclic property of the trace:
Quantum mechanics provides a framework for calculating the probabilities of different measurement outcomes and expected values of observables. Let’s consider an observable . All observables are represented by Hermitian operators. By the spectral theorem, we can express any Hermitian operator as a sum of projectors:
where are real eigenvalues (possible measurement outcomes) and are the corresponding eigenstates forming an orthonormal basis.
For each eigenvalue , the corresponding projection operator
allows us to calculate the probability of a particular measurement outcome when the system is in state :
The expected value of the observable is then given by the weighted average of all possible outcomes:
This last expression provides a general formula for calculating the expected value of any observable when the system is in state .
Example 1.2.5.
The position operator
Given a particle in one dimension, we consider the operator representing its position. Since the outcome of measuring the position of the particle is a real number , we associate with each of these possible positions a distinct and orthogonal eigenvector , so
Exercise 1.2.6 (Projection Operators as Observables).
Consider a projection operator , where is a normalized state vector.
-
1.
Show that is Hermitian.
-
2.
Find the eigenvalues and eigenvectors of .
-
3.
If we consider as an observable, what are the possible measurement outcomes and their corresponding probabilities when measuring a system in state ?
-
4.
Given an arbitrary state , where is orthogonal to and , calculate the expectation value .
-
5.
Express the variance of this observable, , in terms of .
We can summarize these properties of the density matrix and their physical interpretation:
-
1.
Unit trace:
-
•
This is a statement about probabilities. If we have an orthonormal basis then is the probability of being in state . The sum , is exactly the trace. (probabilities add up to 1)
-
•
-
2.
The density matrix is Hermitian and positive.
-
•
. (probabilities are real)
-
•
for all vectors . (probabilities are positive)
-
•
Some (but not all) density matrices can be expressed as . The vector is called a state vector and is a pure state. A state that is not pure is called a mixed state. For example, we may not know whether a system is in a pure state or , but can assign probabilities and for these two different possibilities. The state of system would then be the linear combination .
-
1.
Conservation of trace over unitary evolution: , then using cyclic property of trace we have that . (probabilities add up to 1 for all time)
-
2.
Purity: We define the purity if and only if is a pure state (). proof:
-
•
implies trivially.
-
•
Assume . Since and all eigenvalues of are greater than and less than 1 (property 1 and 2), for both and , we require that for some and zero otherwise, so is a pure state.
-
•
-
3.
Convex combinations of density matrices are also density matrices.
-
•
If are density matrices, then is also a valid density matrix if and .
-
•
Exercise 1.2.7 (States prepared using different procedures).
-
1.
You’re handed two boxes (1) and (2), (1) emits photons with polarization or randomly and with equal probability. (2) emits photons with polarization or (where) randomly and with equal probability.
-
(a)
What are the density matrices and representing the state of the photon in the basis with vector representation and .
-
(b)
Can you think of an experiment to distinguish between the two boxes?
-
(a)
-
2.
(Tricky) Someone has made a box that emits photons with polarization with and with . Design a box that emits photons in state or randomly and with equal probability, and that is indistinguishable from the original box. What are and , expressed in the original basis?
1.2.2 Measurements
We will study measurements in quantum mechanics in significantly greater detail in later chapters. For now we will just consider projective measurements and how this formalism allows us to use the state and an observable to find the probability distribution for measurement result.
Definition 1.2.8 (Projective Measurements).
Projective Measurements
A measuring apparatus gives us a measurement result , and changes the state of the system. In a projective measurement, we characterize the measurement with set of projection operators , with the following properties: (1) , (2) , (3) .
Measurement is the processes by which a state vector is transformed:
with the probability of obtaining measurement result leading to a final state given by Extending this definition to density matrices, we have:
with probability
Example 1.2.9.
Measuring position
Consider the harmonic oscillator with Hamiltonian
The position operator has a real continuous spectrum of eigenvalues . We assume we have a detector that tells us whether the particle is inside a bin for , for every integer . The associated measurement operator is . Verify that the set of operators form a valid set of operators defining a projective measurement. Experimentally, such a system would be realized were we have a detector that takes a state, and gives us a number , corresponding to the position of the operator. The probability of measuring signifying that the particle has a position of is given by
1.3 Composite Systems and Entanglement
Let’s say we have two systems, system and system . We have a way of describing these two systems, including their Hilbert spaces, operators, and other relevant quantum mechanical properties. We should also have a way of describing both systems at once as a single larger composite or bipartite system.
For example, if the first system is in state and the second one is in state , then the joint state of the composite system is , which we usually write more compactly as just . This new vector is obtained by performing the tensor product operation. It’s a vector that lives in a larger tensor product Hilbert space, which combines the Hilbert spaces of the individual systems. If the states and form orthonormal bases for the - and -dimensional Hilbert spaces of system and , then forms an orthonormal basis for the the new tensor product space , which consequently is of dimension .
Since in quantum mechanics, any linear combination of these joint states is also a valid state, pure states of the bipartite will in general take the form:
where are complex coefficients.
1.3.1 Density Matrix as the Partial Trace of a Pure State
Consider a composite system, composed of two subsystems and , with a state
(1.2) |
Here, and represent orthonormal bases for systems and respectively. Generally, observables or operators in this joint system influence both subsystems. However, suppose we only have experimental access to observables that act on system . This situation might arise when system is physically distant from , or in scenarios where one system’s properties are manipulated using another. For example we may be using an optical field described by system to make measurements on or modify the mechanical position or spin described by . In such cases, we deal with operators of the form – operators that solely influence system and whose expectation values are independent of system ’s state. The expected value of these observables can be written as:
(1.3) | |||||
Assuming no knowledge about system , let’s say we aim to determine the expected value of a local operator , given the state of system . We represent the system’s state through a density matrix, . The observable’s expectation can be calculated as:
(1.4) |
On comparing equations (1.3) and (1.4), we observe that as long as we restrict ourselves to observables acting only on system , the measurement outcome is adequately represented if we assume system is in state .
The composite system’s state is given by
We find that the operation provides us with . This operation, , is known as a partial trace and is denoted as . Thus, the state of the subsystem can be represented as
(1.5) |
Let’s make things more concrete with a specific quantum system: a two-qubit system.
Exercise 1.3.1 (Two-Qubit System and Joint Measurement).
Consider a two-qubit system, and , which is prepared in the Bell state given by
(1.6) |
Here, and are basis states representing both qubits being in state 0 and both qubits being in state 1, respectively.
1. Compute the density matrix for the first qubit .
2. Suppose we want to measure the -component of the spin (also known as the Pauli- operator) of the first qubit, represented by the observable . The Pauli- operator can be represented in the computational basis as:
(1.7) |
Calculate the expected value of this measurement.
3. Now, consider a joint measurement on both qubits using the Pauli- operator, defined as the tensor product of the Pauli- operators acting on the two subsystems.
Calculate the expected value of this joint measurement.
1.3.2 Entanglement
Entanglement is one of the most radical notions in quantum mechanics.
Definition 1.3.2 (Entangled States).
An entangled pure state is a state of a system that cannot be written as a product state:
Similarly, an entangled mixed state is a state that cannot be expressed as a statistical (convex) mixture of product states
Entangled states have counter-intuitive properties. Why is entanglement such a radical notion? For an entangled state, even if the state of the joint system is known perfectly, the reduced density matrix describing a subsystem will be mixed. Loosely speaking, even if we know perfectly the state of the two systems taken together, we may still know very little about the state of each subsystem taken separately.
1.3.3 Bell’s Theorem
Background
Quantum mechanics is a statistical theory and has an irreducible randomness. Repeated measurements on identical quantum states can give different outcomes. Quantum theory only gives us the relevant probability distributions. This raises the question: does quantum mechanics emerge from some deeper theory with additional "hidden variables" that determine the outcomes of experiments? Is there some more fundamental theory from which quantum mechanics emerges, in analogy to how statistical physics emerges from an underlying deterministic set of classical theories? Theories postulating an underlying theory (with “hidden variables”) have been proposed to provide a more fundamental explanation.
Exercise 1.3.3 (EPR State).
In this exercise we go over some states and their properties which are useful for understanding EPR’s argument and Bell’s inequality.
-
1.
Consider two entangled particles 1 and 2 in the EPR state where their relative position and total momentum are precisely correlated:
and
-
(a)
Show that , confirming that this is a valid quantum state.
-
(b)
If particle 1’s position is measured to be , what can you conclude about particle 2’s position? What about their momenta if particle 1’s momentum is measured instead?
-
(a)
-
2.
Write the (unnormalized) wavefunction for the EPR state. (Hint: A state with the particle 1 at position and particle 2 at position is given by .)
An influential argument challenging the completeness of quantum mechanics was presented by Einstein, Podolsky, and Rosen (EPR) in 1935. EPR argued that quantum mechanics faces a dilemma: either it is “incomplete” or it violates locality (the principle that distant objects cannot influence each other instantaneously). Here, “incomplete” means that quantum mechanics fails to account for all “elements of physical reality”. The argument considers two particles in an entangled state where their relative position and total momentum are precisely correlated, such that and . This is a state that’s allowed by quantum physics since the operators and commute and therefore their simultaneous eigenstate with eigenvalues for both is a valid state. It is now known as an EPR state. After the particles separate, the observer at one end has the choice of measuring either , or of particle 1. Let’s assume that they decide to measure . Whatever the result of the measurement of , we immediate know precisely what value of a measurement would be if the second observer were to measure it. Assuming there are nonlocal effects allowed between the two particles, i.e., no so-called “Spooky Action at a Distance”, this means that position of the second particle, , is fully determined and is thus an “element of physical reality.”11 1 EPR state that if we can predict with certainty (i.e., with probability equal to unity) the value of a physical quantity, then there exists an element of physical reality corresponding to this physical quantity. On the other hand, the observer at position 1 could just as well have decided to measure momentum instead, and so we can apply the same argument to : it to has a certain value and is an element of reality. But this calls into question one of the fundamental precepts of quantum mechanics which states that noncommuting observable can not be assigned values simultaneously with certainty. It also contradicts the view that the quantum state provides a complete description of a physical system, as it cannot simultaneously represent definite values for both position and momentum.
In the wake of the EPR argument, physicists continued to grapple with the completeness of quantum mechanics. Some physcists, inspired by Einstein’s critique, tried to develop hidden variable theories that could provide a “complete,” deterministic description of quantum phenomena. These theories proposed that underlying the quantum world were hidden variables that, if known, would allow precise predictions of particle behavior. In 1932, John von Neumann claimed to prove that hidden variable theories were generally mathematically impossible, ostensibly closing the door on this line of inquiry. But then in 1952, David Bohm proposed a hidden variable theory that appeared to work, reproducing all the predictions of quantum mechanics, clearly showing that von Neumann’s proof was incorrect.22 2 John von Neumann’s proof was “foolish” according to Bell’s later analysis. Bohm’s theory, while deterministic, was nonlocal, and allowed for instantaneous influences between distant particles. The natural question then became: is there “complete” and “local” hidden variable theory?
This is where John Bell’s work came in – he proved that if quantum mechanics is correct, then there can be no hidden variable theory that is both deterministic and local. Importantly, Bell’s work showed that the issue was not merely philosophical but experimentally testable. His theorem demonstrated that any hidden variable theory satisfying certain reasonable locality conditions must satisfy inequalities, now known as Bell inequalities, in its predictions for the outcomes of certain experiments. Quantum mechanics, on the other hand predicts violations of these inequalities. This insight transformed the landscape of quantum foundations. It shifted the debate from purely theoretical and philosophical grounds to the realm of experiment. Over the subsequent decades, a series of increasingly sophisticated experiments were conducted to test these predictions. While these experiments consistently confirmed the quantum mechanical predictions, by violating the Bell inequalities, they were subject to certain loopholes that could allow for alternative explanations. The two most significant were the "locality" loophole (the possibility that the detector settings could be communicated between the locations of the two particles) and the "detection" loophole (given inefficient measurements, there is always the possibility that the detected values were not a fair sample of all the values). It wasn’t until 2015 that experiments were finally conducted that closed both of these loopholes simultaneously, providing the most conclusive evidence to date against local hidden variable theories. Nearly sixty years after the original publication of Bell’s paper, the 2022 Nobel Prize in Physics was awarded to Alain Aspect, John Clauser, and Anton Zeilinger for their pioneering experiments in this field.
Proving Bell’s Theorem: CHSH Inequality

We consider two separated systems with local observers, Alice () and Bob (). At location , we have local observables and , while at location , we have and . Each of these observables yield a value of .
Let’s assume these observables have pre-assigned values , , , and . We collect the results and calculate . Note that or will be 0, and the other will be . Consequently, . If we repeat this measurement multiple times and average the result, we get , or . It’s important to recognize that there’s an assumption of hidden variable theory present in this reasoning, since we assumed that that all of the variables have some definite values.
Now, let’s calculate the expected value of for a specific quantum mechanical setting. We assume that the observables are the spin along certain axes where , and . Thus, and . We also assume that the two spins at locations and are in an entangled state .
Exercise 1.3.4.
Show that . Use this to demonstrate that .
We choose the vectors for the observables , , , as follows (see Figure 1.1): is along the x-axis, is rotated by 45 degrees, by 90 degrees, and by 135 degrees about the z-axis. Evaluating , we find:
This result violates the inequality derived under the hidden variable assumption, demonstrating Bell’s theorem.
1.3.4 Schmidt Decomposition
An entangled state can’t be expressed as . The closest we can come to this form is called the Schmidt decomposition. We can express
with , and with forming orthonormal sets of vectors in their respective Hilbert spaces. This decomposition is pretty remarkable. Remember that in general, the vector is expressed as and so coefficients are required in an arbitrary basis. The Schmidt decomposition tells us that there is a basis within which only need coefficients. In fact the actual number of coefficients we need depends on how much entanglement there is. For separable states, the best basis is the one where is obviously a product state and so only single coefficient, , is needed. The Schmidt decomposition effectively cuts through the chase and gives us a representation of the system that is commensurate to how much entanglement there really is in a state. This aspect of the Schmidt decomposition makes it the key component of numerical methods (like DMRG) and representation techniques (such as tensor networks) that have been developed to understand quantum correlated many-body states.
Theorem 1.3.5 (Schmidt Decomposition).
Schmidt Decomposition
Any state can be expressed as
with , and with forming orthonormal sets of vectors in their respective Hilbert spaces.
Proof 1.3.6.
We start with the density matrix for the full system . We take a partial trace over subsystem , so Since this is a valid density matrix for the subsystem , it is also Hermitian, and so can be diagonalized. We call this basis where the density matrix is diagonal , and so
In this basis, we can express the original vector as for some basis for system . Here we play with the order of summation a little:
We label these vectors, , choosing so that the are normalized:
We’ll show now that these vectors, are also orthonormal, so that choosing the express the original wavefunction in this basis of the eigenvectors of has also in sense “diagonalized” it in the basis for system . Notice that we can express the partial trace operation also as:
Comparing this expression to the initial , and taking inner products with different on both sides, it is clear that , and that . Since , we’ve proven the proposition.
Exercise 1.3.7 (Entanglement of two qubits).
-
1.
Is the 2-qubit state separable? If yes express as a product.
-
2.
Is the 2-qubit state separable? If yes, express as a product.
-
3.
Is the -qubit state
separable?
-
4.
We start with a pure state that is separable, i.e. can be written as Show that:
-
(a)
The density matrix is pure.
-
(b)
The system now evolves according to a Hamiltonian that doesn’t have any interaction between and , i.e., , where and generate the evolution of system and separately. Show that under this evolution, the state remains separable.
-
(a)
-
5.
Starting with a 2-qubit state (qubit A and B) , we perform a cPHASE gate, which results in a state .
-
(a)
Calculate the reduced density matrix in terms of .
-
(b)
Calculate the purity of the reduced density matrix, .
-
(c)
We can quantify entanglement using the purity of the partial trace. Let . What is the entanglement in as a function of ?
-
(a)