Quantum information
We're now prepared to move on to quantum information in the setting of multiple systems. Much like in the previous lesson on single systems, the mathematical description of quantum information for multiple systems is quite similar to the probabilistic case and makes use of similar concepts and techniques.
Quantum states
Multiple systems can be viewed collectively as single, compound systems. We've already observed this in the probabilistic setting, and the quantum setting is analogous. Quantum states of multiple systems are therefore represented by column vectors having complex number entries and Euclidean norm equal to just like quantum states of single systems. In the multiple system case, the entries of these vectors are placed in correspondence with the Cartesian product of the classical state sets associated with each of the individual systems, because that's the classical state set of the compound system.
For instance, if and are qubits, then the classical state set of the pair of qubits viewed collectively as a single system, is the Cartesian product By representing pairs of binary values as binary strings of length two, we associate this Cartesian product set with the set The following vectors are therefore all examples of quantum state vectors of the pair
There are variations on how quantum state vectors of multiple systems are expressed, and we can choose whichever variation suits our preferences. Here are some examples for the first quantum state vector above.
-
We may use the fact that (for any classical states and ) to instead write
-
We may choose to write the tensor product symbol explicitly like this:
-
We may subscript the kets to indicate how they correspond to the systems being considered, like this:
Of course, we may also write quantum state vectors explicitly as column vectors:
Depending upon the context in which it appears, one of these variations may be preferred — but they are all equivalent in the sense that they describe the same vector.
Tensor products of quantum state vectors
Similar to what we have for probability vectors, tensor products of quantum state vectors are also quantum state vectors — and again they represent independence among systems.
In greater detail, and beginning with the case of two systems, suppose that is a quantum state vector of a system and is a quantum state vector of a system The tensor product which may alternatively be written as or as is then a quantum state vector of the joint system Again we refer to a state of this form as a being a product state.
Intuitively speaking, when a pair of systems is in a product state we may interpret this as meaning that is in the quantum state is in the quantum state and the states of the two systems have nothing to do with one another.
The fact that the tensor product vector is indeed a quantum state vector is consistent with the Euclidean norm being multiplicative with respect to tensor products:
Because and are quantum state vectors, we have and and therefore so is also a quantum state vector.
This generalizes to more than two systems. If are quantum state vectors of systems then is a quantum state vector representing a product state of the joint system Again, we know that this is a quantum state vector because
Entangled states
Not all quantum state vectors of multiple systems are product states. For example, the quantum state vector
of two qubits is not a product state. To reason this, we may follow exactly the same argument that we used in the previous section for a probabilistic state. That is, if were a product state, there would exist quantum state vectors and for which
But then it would necessarily be the case that
implying that or (or both). That contradicts the fact that
and
are both nonzero. Thus, the quantum state vector represents a correlation between two systems, and specifically we say that the systems are entangled.
Notice that the specific value is not important to this argument — all that is important is that this value is nonzero. Thus, for instance, the quantum state
is also not a product state, by the same argument.
Entanglement is a quintessential feature of quantum information that will be discussed in greater detail in a later lesson. Entanglement can be complicated, particularly for the sorts of noisy quantum states that can be described by density matrices (which are discussed in the General formulation of quantum information course, which is the third course in the Understanding Quantum Information and Computation series). For quantum state vectors, however, entanglement is equivalent to correlation: any quantum state vector that is not a product state represents an entangled state.
In contrast, the quantum state vector
is an example of a product state.
Hence, this state is not entangled.
Bell states
We'll now take a look as some important examples of multiple-qubit quantum states, beginning with the Bell states. These are the following four two-qubit states:
The Bell states are so-named in honor of John Stewart Bell (1928—1990) was a physicist who made important contributions to the foundations of quantum theory. Notice that the same argument that establishes that is not a product state reveals that none of the other Bell states are product states either: all four of the Bell states represent entanglement between two qubits.
The collection of all four Bell states
is known as the Bell basis. True to its name, this is a basis; any quantum state vector of two qubits, or indeed any complex vector at all having entries corresponding to the four classical states of two bits, can be expressed as a linear combination of the four Bell states. For example,
GHZ and W states
Next we will consider two interesting examples of states of three qubits. The first example is the GHZ state (so named in honor of Daniel Greenberger, Michael Horne, and Anton Zeilinger, who first studied some of its properties):
The second example is the so-called W state:
Neither of these states is a product state, meaning that they cannot be written as a tensor product of three qubit quantum state vectors. We'll examine both of these states later when we discuss partial measurements of quantum states of multiple systems.
Additional examples
The examples of quantum states of multiple systems we've seen so far are states of two or three qubits, but we can also consider quantum states of multiple systems having different classical state sets.
For example, here's a quantum state of three systems, and where the classical state set of is the binary alphabet (so is a qubit) and the classical state set of and is
And here's an example of a quantum state of three systems, and that all share the same classical state set
Systems having the classical state set are often called trits or (assuming that they can be in a quantum state) qutrits. The term qudit refers to a system having classical state set for an arbitrary choice of
Measurements of quantum states
Standard basis measurements of quantum states of single systems were discussed in the previous lesson: if a system having classical state set is in a quantum state represented by the vector and that system is measured (with respect to a standard basis measurement), then each classical state appears with probability This tells us what happens when we have a quantum state of multiple systems and choose to measure the entire compound system, which is equivalent to measuring all of the systems.
To state this precisely, let us suppose that are systems having classical state sets respectively. We may then view collectively as a single system whose classical state set is the Cartesian product If a quantum state of this system is represented by the quantum state vector and all of the systems are measured, then each possible outcome appears with probability
For example, if systems and are jointly in the quantum state
then measuring both systems with standard basis measurements yields the outcome with probability and the outcome with probability
Partial measurements
Now let us consider the situation in which we have multiple systems in some quantum state, and we measure a proper subset of the systems. As before, we will begin with two systems and having classical state sets and respectively.
In general, a quantum state vector of takes the form
where is a collection of complex numbers satisfying
which is equivalent to being a unit vector.
We already know, from the discussion above, that if both and are measured, then each possible outcome appears with probability
If we suppose instead that just the first system is measured, the probability for each outcome to appear must therefore be equal to
This is consistent with what we already saw in the probabilistic setting, as well as our current understanding of physics: the probability for each outcome to appear when is measured can't possibly depend on whether or not was also measured, as that would allow for faster-than-light communication.
Having obtained a particular outcome of a standard basis measurement of we naturally expect that the quantum state of changes so that it is equal to just like we had for single systems. But what happens to the quantum state of ?
To answer this question, we can first express the vector as
where
for each Here we're following the same methodology as in the probabilistic case, of isolating the standard basis states of the system being measured. The probability for the standard basis measurement of to give each outcome is as follows:
And, as a result of the standard basis measurement of giving the outcome the quantum state of the pair together becomes
That is, the state "collapses" like in the single-system case, but only as far as is required for the state to be consistent with the measurement of having produced the outcome
Informally speaking, represents the component of that is consistent with the a measurement of resulting in the outcome We then normalize this vector — by dividing it by its Euclidean norm, which is equal to — to obtain a valid quantum state vector having Euclidean norm equal to This normalization step is analogous to what we did in the probabilistic setting when we divided vectors by the sum of their entries to obtain a probability vector.
As an example, consider the state of two qubits from the beginning of the section:
To understand what happens when the first system is measured, we begin by writing
We now see, based on the description above, that the probability for the measurement to result in the outcome is
in which case the state of becomes
and the probability for the measurement to result in the outcome is
in which case the state of becomes
The same technique, used in a symmetric way, describes what happens if the second system is measured rather than the first. This time we rewrite the vector as
The probability that the measurement of gives the outcome is
in which case the state of becomes
and the probability that the measurement outcome is is
in which case the state of becomes
Remark on reduced quantum states
The previous example shows a limitation of the simplified description of quantum information, which is that it does not offer us a way to describe the reduced (or marginal) quantum state of just one of two systems (or of a proper subset of any number of systems) like in the probabilistic case.
Specifically, for a probabilistic state of two systems described by a probability vector
we can write the reduced or marginal probabilistic state of alone as
For quantum state vectors, there isn't an analogous way to do this. In particular, for a quantum state vector
the vector
is not a quantum state vector in general, and does not properly represent the concept of a reduced or marginal state.
What we may do instead is turn to the notion of a density matrix, which is discussed in the General formulation of quantum information course. Density matrices provide us with a meaningful way to define reduced quantum states that is analogous to the probabilistic setting.
Partial measurements for three or more systems
Partial measurements for three or more systems, where some proper subset of the systems are measured, can be reduced to the case of two systems by dividing the systems into two collections, those that are measured and those that are not. Here is a specific example that illustrates how this can be done. It demonstrates specifically how subscripting kets by the names of the systems they represent can be useful — in this case because it gives us a simple way to describe permutations of the systems.
For this example, we'll consider a quantum state of a 5-tuple of systems where all five of these systems share the same classical state set
We'll consider the situation in which the first and third systems are measured, and the remaining systems are left alone.
Conceptually speaking, there's no fundamental difference between this situation and one in which one of two systems is measured. Unfortunately, because the measured systems are interspersed with the unmeasured systems, we face a hurdle in writing down the expressions needed to perform these calculations.
One way to proceed, as suggested above, is to subscript the kets to indicate which systems they refer to. This gives us a way to keep track of the systems as we permute the ordering of the kets, which makes the mathematics simpler.
First, the quantum state vector above can alternatively be written as
Nothing has changed, except that each ket now has a subscript indicating which system it corresponds to. Here we've used the subscripts but the names of the systems themselves could also be used (in a situation where we have system names such as and for instance).
We can now re-order the kets and collect terms as follows:
The tensor products are still implicit, even when parentheses are used, as in this example.
To be clear about permuting the kets, tensor products are not commutative: if and are vectors, then, in general, is different from and likewise for tensor products of three or more vectors. For instance, is a different vector than Re-ordering the kets as we have just done should not be interpreted as suggesting otherwise.
Rather, for the sake of performing calculations, we're simply making a decision that it's more convenient to collect the systems together as rather than The subscripts on the kets serve to keep this all straight, and we're free to revert back to the original ordering later if we wish to do that.
We now see that, if the systems and are measured, the (nonzero) probabilities of the different outcomes are as follow:
- The measurement outcome occurs with probability
- The measurement outcome occurs with probability
- The measurement outcome occurs with probability
If the measurement outcome is for instance, the resulting state of our five systems becomes
Here, for the final answer, we've reverted back to our original ordering of the systems, just to illustrate that we can do this. For the other possible measurement outcomes, the state can be determined in a similar way.
Finally, here are two examples promised earlier, beginning with the GHZ state
If just the first system is measured, we obtain the outcome with probability in which case the state of the three qubits becomes and we also obtain the outcome with probability in which case the state of the three qubits becomes
For a W state, on the other hand, assuming again that just the first system is measured, we begin by writing this state like this:
The probability that a measurement of the first qubit results in the outcome 0 is therefore equal to
and conditioned upon the measurement producing this outcome, the quantum state of the three qubits becomes
The probability that the measurement outcome is 1 is in which case the state of the three qubits becomes
The W state is symmetric, in the sense that it does not change if we permute the qubits. We therefore obtain a similar description for measuring the second or third qubit rather than the first.
Unitary operations
In principle, any unitary matrix whose rows and columns correspond to the classical states of a system represents a valid quantum operation on that system. This, of course, remains true for compound systems, whose classical state sets happen to be Cartesian products of the classical state sets of the individual systems.
Focusing in on two systems, if is a system having classical state set and is a system having classical state set then the classical state set of the joint system is Therefore, quantum operations on this joint system are represented by unitary matrices whose rows and columns are placed in correspondence with the set The ordering of the rows and columns of these matrices is the same as the ordering used for quantum state vectors of the system
For example, let us suppose that and and recall that the standard convention for ordering the elements of the Cartesian product is this:
Here's an example of a unitary matrix representing an operation on
This unitary matrix isn't special, it's just an example. To check that is unitary, it suffices to compute and check that for instance. Alternatively, we can check that the rows (or the columns) are orthonormal, which is made simpler in this case given the particular form of the matrix
The action of on the standard basis vector for instance, is
which we can see by examining the second column of considering our ordering of the set
As with any matrix, it is possible to express using Dirac notation, which would require 20 terms for the 20 nonzero entries of If we did write down all of these terms, however, rather than writing a matrix, it would be messy and the patterns that are evident from the matrix expression would not likely be as clear. Simply put, Dirac notation is not always the best choice.
Unitary operations on three or more systems work in a similar way, with the unitary matrices having rows and columns corresponding to the Cartesian product of the classical state sets of the systems. We've already seen one example in this lesson: the three-qubit operation
where numbers in bras and kets mean their -bit binary encodings. In addition to being a deterministic operation, this is also a unitary operation. Operations that are both deterministic and unitary are called reversible operations. The conjugate transpose of this matrix can be written like this:
This represents the reverse, or in mathematical terms the inverse, of the original operation — which is what we expect from the conjugate transpose of a unitary matrix. We'll see other examples of unitary operations on multiple systems as the lesson continues.
Unitary operations performed independently on individual systems
When unitary operations are performed independently on a collection of individual systems, the combined action of these independent operations is described by the tensor product of the unitary matrices that represent them. That is, if are quantum systems, are unitary matrices representing operations on these systems, and the operations are performed independently on the systems, the combined action on is represented by the matrix Once again, we find that the probabilistic and quantum settings are analogous in this regard.
One would naturally expect, from reading the previous paragraph, that the tensor product of any collection of unitary matrices is unitary. Indeed this is true, and we can verify it as follows.
Notice first that the conjugate transpose operation satisfies
for any chosen matrices This can be checked by going back to the definition of the tensor product and of the conjugate transpose, and checking that each entry of the two sides of the equation are in agreement. This means that
Because the tensor product of matrices is multiplicative, we find that
Here we have written to refer to the matrices representing the identity operation on the systems which is to say that these are identity matrices whose sizes agree with the number of classical states of
Finally, the tensor product is equal to the identity matrix for which we have a number of rows and columns that agrees with the product of the number of rows and columns of the matrices This larger identity matrix represents the identity operation on the joint system
In summary, we have the following sequence of equalities:
We therefore conclude that is unitary.
An important situation that often arises is one in which a unitary operation is applied to just one system — or a proper subset of systems — within a larger joint system. For instance, suppose that and are systems that we can view together as forming a single, compound system and we perform an operation just on the system To be precise, let us suppose that is a unitary matrix representing an operation on so that its rows and columns have been placed in correspondence with the classical states of
To say that we perform the operation represented by just on the system implies that we do nothing to meaning that we independently perform on and the identity operation on That is, "doing nothing" to is equivalent to performing the identity operation on which is represented by the identity matrix (Here, by the way, the subscript tells us that refers to the identity matrix having a number of rows and columns in agreement with the classical state set of ) The operation on that is obtained when we perform on and do nothing to is therefore represented by the unitary matrix
For example, if and are qubits, performing a Hadamard operation on and doing nothing to is equivalent to performing the operation
on the joint system
Along similar lines, if an operation represented by a unitary matrix is applied to and nothing is done to the resulting operation on is represented by the unitary matrix
For example, if we again consider the situation in which both and are qubits and is a Hadamard operation, the resulting operation on is represented by the matrix
Not every unitary operation on a collection of systems can be written as a tensor product of unitary operations like this, just as not every quantum state vector of these systems is a product state. For example, neither the swap operation nor the controlled-NOT operation on two qubits, which are described below, can be expressed as a tensor product of unitary operations.
The swap operation
To conclude the lesson, let's take a look at two classes of examples of unitary operations on multiple systems, beginning with the swap operation.
Suppose that and are systems that share the same classical state set The swap operation on the pair is the operation that exchanges the contents of the two systems, but otherwise leaves the systems alone — so that remains on the left and remains on the right. We'll denote this operation as and it operates like this for every choice of classical states
One way to write the matrix associated with this operation using the Dirac notation is as follows:
It may not be immediately clear that this matrix represents but we can check it satisfies the condition for every choice of classical states As a simple example, when and are qubits, we find that
Controlled-unitary operations
Now let us suppose that is a qubit and is an arbitrary system, having whatever classical state set we wish. For every unitary operation acting on the system a controlled- operation is a unitary operation on the pair defined as follows:
For example, if is also a qubit, and we consider the Pauli operation on then a controlled- operation is given by
We already encountered this operation in the context of classical information and probabilistic operations earlier in the lesson. Replacing the Pauli operation on with a operation gives this operation:
If instead we take to be two qubits, and we take to be the swap operation between these two qubits, we obtain this operation:
This operation is also known as a Fredkin operation, or more commonly, a Fredkin gate. Its action on standard basis states can be described as follows:
Finally, a controlled-controlled-NOT operation, which we may denote as is called a Toffoli operation or Toffoli gate. Its matrix representation looks like this:
We may alternatively express it using the Dirac notation as follows: