Quantum information
Now we're ready to move on to quantum information, where we make a different choice for the type of vector that represents a state — in this case a quantum state — of the system being considered. Like in the previous discussion of classical information, we'll be concerned with systems having finite and nonempty sets of classical states, and we'll make use of much of the same notation.
Quantum state vectors
A quantum state of a system is represented by a column vector, similar to a probabilistic state. As before, the indices of the vector label the classical states of the system. Vectors representing quantum states are characterized by these two properties:
- The entries of a quantum state vector are complex numbers.
- The sum of the absolute values squared of the entries of a quantum state vector is
Thus, in contrast to probabilistic states, vectors representing quantum states need not have nonnegative real number entries, and it is the sum of the absolute values squared of the entries (as opposed to the sum of the entries) that must equal Simple as these changes are, they give rise to the differences between quantum and classical information; any speedup from a quantum computer, or improvement from a quantum communication protocol, is ultimately derived from these simple mathematical changes.
The Euclidean norm of a column vector
is denoted and defined as follows:
The condition that the sum of the absolute values squared of a quantum state vector equals is therefore equivalent to that vector having Euclidean norm equal to That is, quantum state vectors are unit vectors with respect to the Euclidean norm.
Examples of qubit states
The term qubit refers to a quantum system whose classical state set is That is, a qubit is really just a bit — but by using this name we explicitly recognize that this bit can be in a quantum state.
These are examples of quantum states of a qubit:
and
The first two examples, and illustrate that standard basis elements are valid quantum state vectors: their entries are complex numbers, where the imaginary part of these numbers all happen to be and computing the sum of the absolute values squared of the entries yields
as required. Similar to the classical setting, we associate the quantum state vectors and with a qubit being in the classical state and respectively.
For the other two examples, we again have complex number entries, and computing the sum of the absolute value squared of the entries yields
and
These are therefore valid quantum state vectors. Note that they are linear combinations of the standard basis states and and for this reason we often say that they're superpositions of the states and Within the context of quantum states, superposition and linear combination are essentially synonymous.
The example of a qubit state vector above is very commonly encountered — it is called the plus state and is denoted as follows:
We also use the notation
to refer to a related quantum state vector where the second entry is negative rather than positive, and we call this state the minus state.
This sort of notation, where some symbol other than one referring to a classical state appears inside of a ket, is common — we can use whatever name we wish inside of a ket to name a vector. It is quite common to use the notation or a different name in place of to refer to an arbitrary vector that may not necessarily be a standard basis vector.
Notice that, if we have a vector whose indices correspond to some classical state set and if is an element of this classical state set, then the matrix product is equal to the entry of the vector whose index corresponds to As we did when was a standard basis vector, we write rather than for the sake of readability.
For example, if and
then
In general, when using the Dirac notation for arbitrary vectors, the notation refers to the row vector obtained by taking the conjugate-transpose of the column vector where the vector is transposed from a column vector to a row vector and each entry is replaced by its complex conjugate. For example, if is the vector defined in then
The reason we take the complex conjugate, in addition to the transpose, will be made more clear later on we discuss inner products.
Quantum states of other systems
We can consider quantum states of systems having arbitrary classical state sets. For example, here is a quantum state vector for an electrical fan switch:
The assumption in place here is that the classical states are ordered as high, medium, low, off. There may be no particular reason why one would want to consider a quantum state of an electrical fan switch, but it is possible in principle.
Here's another example, this time of a quantum decimal digit whose classical states are
This example illustrates the convenience of writing state vectors using the Dirac notation. For this particular example, the column vector representation is merely cumbersome — but if there were significantly more classical states it would become unusable. The Dirac notation, in contrast, supports precise descriptions of large and complicated vectors in a compact form.
The Dirac notation also allows for the expression of vectors where different aspects of the vectors are indeterminate, meaning that they are unknown or not yet established. For example, for an arbitrary classical state set we can consider the quantum state vector
where the notation refers to the Euclidean norm of and in this case is simply the number of elements in In words, this is a uniform superposition over the classical states in
We'll encounter much more complicated expressions of quantum state vectors in later lessons, where the use of column vectors would be impractical or impossible. In fact, we'll mostly abandon the column vector representation of state vectors, except for vectors having a small number of entries (often in the context of examples), where it may be helpful to display and examine the entries explicitly.
Here's one more reason why expressing state vectors using the Dirac notation is convenient: it alleviates the need to explicitly specify an ordering of the classical states (or, equivalently, the correspondence between classical states and vector indices).
For example, a quantum state vector for a system having classical state set