Die Seide is noch nich ibersetzt worn. Se guggen de englsche Originalversion.
To better prepare ourselves to explore the capabilities and limitations of quantum circuits, we now introduce some additional mathematical concepts — namely the inner product between vectors (and its connection to the Euclidean norm), the notions of orthogonality and orthonormality for sets of vectors, and projection matrices, which will allow us to introduce a handy generalization of standard basis measurements.
Recall that when we use the Dirac notation to refer to an arbitrary column vector as a ket, such as
∣ψ⟩=α1α2⋮αn,
the corresponding bra vector is the conjugate transpose of this vector:
⟨ψ∣=(∣ψ⟩)†=(α1α2⋯αn).(1)
Alternatively, if we have some classical state set Σ in mind, and we express a column vector as a ket,
such as
∣ψ⟩=a∈Σ∑αa∣a⟩,
then the corresponding row (or bra) vector is the conjugate transpose
⟨ψ∣=a∈Σ∑αa⟨a∣.(2)
We also have that the product of a bra vector and a ket vector, viewed as matrices either having a single row or a single column, results in a scalar.
Specifically, if we have two column vectors
∣ψ⟩=α1α2⋮αnand∣ϕ⟩=β1β2⋮βn,
so that the row vector ⟨ψ∣ is as in equation (1), then
where the last equality follows from the observation that ⟨a∣a⟩=1 and ⟨a∣b⟩=0 for classical states a and b satisfying a=b.
The value ⟨ψ∣ϕ⟩ is called the inner product between the vectors ∣ψ⟩ and ∣ϕ⟩.
Inner products are critically important in quantum information and computation;
we would not get far in understanding quantum information at a mathematical level without them.
Let us now collect together some basic facts about inner products of vectors.
Relationship to the Euclidean norm. The inner product of any vector
∣ψ⟩=a∈Σ∑αa∣a⟩
with itself is
⟨ψ∣ψ⟩=a∈Σ∑αaαa=a∈Σ∑∣αa∣2=∣ψ⟩2.
Thus, the Euclidean norm of a vector may alternatively be expressed as
∣ψ⟩=⟨ψ∣ψ⟩.
Notice that the Euclidean norm of a vector must always be a nonnegative real number.
Moreover, the only way the Euclidean norm of a vector can be equal to zero is if every one of the entries is equal to zero, which is to say that the vector is the zero vector.
We can summarize these observations like this: for every vector ∣ψ⟩ we have
⟨ψ∣ψ⟩≥0,
with ⟨ψ∣ψ⟩=0 if and only if ∣ψ⟩=0.
This property of the inner product is sometimes referred to as positive definiteness.
Conjugate symmetry. For any two vectors
∣ψ⟩=a∈Σ∑αa∣a⟩and∣ϕ⟩=b∈Σ∑βb∣b⟩,
we have
⟨ψ∣ϕ⟩=a∈Σ∑αaβaand⟨ϕ∣ψ⟩=a∈Σ∑βaαa,
and therefore
⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩.
Linearity in the second argument (and conjugate linearity in the first).
Let us suppose that ∣ψ⟩,∣ϕ1⟩, and ∣ϕ2⟩ are vectors and α1 and α2 are complex numbers. If we define a new vector
That is to say, the inner product is linear in the second argument.
This can be verified either through the formulas above or simply by noting that matrix multiplication is linear in each argument (and specifically in the second argument).
Combining this fact with conjugate symmetry reveals that the inner product is conjugate linear in the first argument. That is, if ∣ψ1⟩,∣ψ2⟩, and ∣ϕ⟩ are vectors and α1 and α2 are complex numbers, and we define
Two vectors ∣ϕ⟩ and ∣ψ⟩ are said to be orthogonal if their inner product is zero:
⟨ψ∣ϕ⟩=0.
Geometrically, we can think about orthogonal vectors as vectors at right angles to each other.
A set of vectors {∣ψ1⟩,…,∣ψm⟩} is called an orthogonal set if every vector in the set is orthogonal to every other vector in the set.
That is, this set is orthogonal if
⟨ψj∣ψk⟩=0
for all choices of j,k∈{1,…,m} for which j=k.
A set of vectors {∣ψ1⟩,…,∣ψm⟩} is called an orthonormal set if it is an orthogonal set and, in addition, every vector in the set is a unit vector.
Alternatively, this set is an orthonormal set if we have
⟨ψj∣ψk⟩={10j=kj=k(3)
for all choices of j,k∈{1,…,m}.
Finally, a set {∣ψ1⟩,…,∣ψm⟩} is an orthonormal basis if, in addition to being an orthonormal set, it forms a basis.
This is equivalent to {∣ψ1⟩,…,∣ψm⟩} being an orthonormal set and m being equal to the dimension of the space from which ∣ψ1⟩,…,∣ψm⟩ are drawn.
For example, for any classical state set Σ, the set of all standard basis vectors
{∣a⟩:a∈Σ}
is an orthonormal basis.
The set {∣+⟩,∣−⟩} is an orthonormal basis for the 2-dimensional space corresponding to a single qubit, and the Bell basis {∣ϕ+⟩,∣ϕ−⟩,∣ψ+⟩,∣ψ−⟩} is an orthonormal basis for the 4-dimensional space corresponding to two qubits.
Suppose that ∣ψ1⟩,…,∣ψm⟩ are vectors that live in an n-dimensional space, and assume moreover that {∣ψ1⟩,…,∣ψm⟩} is an orthonormal set.
Orthonormal sets are always linearly independent sets, so these vectors necessarily span a subspace of dimension m.
From this we conclude that m≤n because the dimension of the subspace spanned by these vectors cannot be larger than the dimension of the entire space from which they're drawn.
If it is the case that m<n, then it is always possible to choose an additional n−m vectors
∣ψm+1⟩,…,∣ψn⟩ so that
{∣ψ1⟩,…,∣ψn⟩} forms an orthonormal basis.
A procedure known as the Gram–Schmidt orthogonalization process can be used to construct these vectors.
Orthonormal sets of vectors are closely connected with unitary matrices.
One way to express this connection is to say that the following three statements are logically equivalent (meaning that they are all true or all false) for any choice of a square matrix U:
The matrix U is unitary (that is, U†U=I=UU†).
The rows of U form an orthonormal set.
The columns of U form an orthonormal set.
This equivalence is actually pretty straightforward when we think about how matrix multiplication and the conjugate transpose work.
Suppose, for instance, that we have a 3×3 matrix like this:
Referring to the equation (3), we now see that the condition that this matrix is equal to the identity matrix is equivalent to the orthonormality of the set {∣ψ1⟩,∣ψ2⟩,∣ψ3⟩}.
This argument generalizes to unitary matrices of any size.
The fact that the rows of a matrix form an orthonormal basis if and only if the matrix is unitary then follows from the fact that a matrix is unitary if and only if its transpose is unitary.
Given the equivalence described above, together with the fact that every orthonormal set can be extended to form an orthonormal basis, we conclude the following useful fact:
Given any orthonormal set of vectors {∣ψ1⟩,…,∣ψm⟩} drawn from an n-dimensional space, there exists a unitary matrix U whose first m columns are the vectors ∣ψ1⟩,…,∣ψm⟩.
Pictorially, we can always find a unitary matrix having this form:
U=∣ψ1⟩∣ψ2⟩⋯∣ψm⟩∣ψm+1⟩⋯∣ψn⟩.
Here, the last n−m columns are filled in with any choice of vectors ∣ψm+1⟩,…,∣ψn⟩ that make
{∣ψ1⟩,…,∣ψn⟩} an orthonormal basis.
A square matrix Π is called a projection if it satisfies two properties:
Π=Π†.
Π2=Π.
Matrices that satisfy the first condition — that they are equal to their own conjugate transpose — are called Hermitian matrices, and matrices that satisfy the second condition — that squaring them leaves them unchanged — are called idempotent matrices.
As a word of caution, the word projection is sometimes used to refer to any matrix that satisfies just the second condition but not necessarily the first, and when this is done the term orthogonal projection is typically used to refer to matrices satisfying both properties.
In the context of quantum information and computation, however, the terms projection and projection matrix more typically refer to matrices satisfying both conditions.
An example of a projection is the matrix
Π=∣ψ⟩⟨ψ∣(4)
for any unit vector ∣ψ⟩.
We can see that this matrix is Hermitian as follows:
Π†=(∣ψ⟩⟨ψ∣)†=(⟨ψ∣)†(∣ψ⟩)†=∣ψ⟩⟨ψ∣=Π.
Here, to obtain the second equality, we have used the formula
(AB)†=B†A†,
which is always true, for any two matrices A and B for which the product AB makes sense.
To see that the matrix Π in (4) is idempotent, we can use the assumption that ∣ψ⟩ is a unit vector, so that it satisfies ⟨ψ∣ψ⟩=1.
Thus, we have
Π2=(∣ψ⟩⟨ψ∣)2=∣ψ⟩⟨ψ∣ψ⟩⟨ψ∣=∣ψ⟩⟨ψ∣=Π.
More generally, if {∣ψ1⟩,…,∣ψm⟩} is any orthonormal set of vectors, then the matrix
where the orthonormality of {∣ψ1⟩,…,∣ψm⟩} implies the second-to-last equality.
In fact, this exhausts all of the possibilities: every projection Π can be written in the form (5) for some choice of an orthonormal set {∣ψ1⟩,…,∣ψm⟩}.
(Technically speaking, the zero matrix Π=0, which is a projection, is a special case.
To fit it into the general form (5) we must allow the possibility that the sum is empty, resulting in the zero matrix.)
The notion of a measurement of a quantum system is more general than just standard basis measurements.
Projective measurements are measurements that are described by a collection of projections whose sum is equal to the identity matrix.
In symbols, a collection {Π0,…,Πm−1} of projection matrices describes a projective measurement if
Π0+⋯+Πm−1=I.
When such a measurement is performed on a system X while it is in some state ∣ψ⟩, two things happen:
For each k∈{0,…,m−1}, the outcome of the measurement is k with probability equal to
Pr(outcome is k)=Πk∣ψ⟩2.
For whichever outcome k the measurement produces, the state of X becomes
Πk∣ψ⟩Πk∣ψ⟩.
We can also choose outcomes other than {0,…,m−1} for projective measurements if we wish.
More generally, for any finite and nonempty set Σ, if we have a collection of projection matrices
{Πa:a∈Σ}
that satisfies the condition
a∈Σ∑Πa=I,
then this collection describes a projective measurement whose possible outcomes coincide with the set Σ, where the rules are the same as before:
For each a∈Σ, the outcome of the measurement is a with probability equal to
Pr(outcome is a)=Πa∣ψ⟩2.
For whichever outcome a the measurement produces, the state of X becomes
Πa∣ψ⟩Πa∣ψ⟩.
For example, standard basis measurements are equivalent to projective measurements, where Σ is the set of classical states of whatever system X we're talking about and our set of projection matrices is
{∣a⟩⟨a∣:a∈Σ}.
Another example of a projective measurement, this time on two qubits (X,Y), is given by the set
{Π0,Π1}, where
Π0=∣ϕ+⟩⟨ϕ+∣+∣ϕ−⟩⟨ϕ−∣+∣ψ+⟩⟨ψ+∣andΠ1=∣ψ−⟩⟨ψ−∣.
If we have multiple systems that are jointly in some quantum state and a projective measurement is performed on just one of the systems, the action is similar to what we had for standard basis measurements — and in fact we can now describe this action in much simpler terms than we could before.
To be precise, let us suppose that we have two systems (X,Y) in a quantum state ∣ψ⟩, and a projective measurement described by a collection {Πa:a∈Σ} is performed on the system X, while nothing is done to Y.
Doing this is then equivalent to performing the projective measurement described by the collection
{Πa⊗I:a∈Σ}
on the joint system (X,Y).
Each measurement outcome a results with probability
(Πa⊗I)∣ψ⟩2,
and conditioned on the result a appearing, the state of the joint system (X,Y) becomes
Arbitrary projective measurements can be implemented using unitary operations, standard basis measurements, and an extra workspace system, as will now be explained.
Let us suppose that X is a system and {Π0,…,Πm−1} is a projective measurement on X. We can easily generalize this discussion to projective measurements having different sets of outcomes, but in the interest of convenience and simplicity we will assume the set of possible outcomes for our measurement is {0,…,m−1}.
Let us note explicitly that m is not necessarily equal to the number of classical states of X — we'll let n be the number of classical states of X, which means that each matrix Πk is an n×n projection matrix.
Because we assume that {Π0…,Πm−1} represents a projective measurement, it is necessarily the case that
k=0∑m−1Πk=In.
Our goal is to perform a process that has the same effect as performing this projective measurement on X, but to do this using only unitary operations and standard basis measurements.
We will make use of an extra workspace system Y to do this, and specifically we'll take the classical state set of Y to be {0,…,m−1}, which is the same as the set of outcomes of the projective measurement.
The idea is that we will perform a standard basis measurement on Y, and interpret the outcome of this measurement as being equivalent to the outcome of the projective measurement on X.
We'll need to assume that Y is initialized to some fixed state, which we'll choose to be ∣0⟩.
(Any other choice of fixed quantum state vector could be made to work, but choosing ∣0⟩ makes the explanation to follow much simpler.)
Of course, in order for a standard basis measurement of Y to tell us anything about X, we will need to allow X and Y to interact somehow before measuring Y, by performing a unitary operation on the system (Y,X).
First consider this matrix:
M=k=0∑m−1∣k⟩⟨0∣⊗Πk.
Expressed explicitly as a so-called block matrix, which is essentially a matrix of matrices that we interpret as a single, larger matrix, M looks like this:
M=Π0Π1⋮Πm−100⋮0⋯⋯⋱⋯00⋮0.
Here, each 0 represents an n×n matrix filled entirely with zeros, so that the entire matrix M is an nm×nm matrix.
Now, M is certainly not a unitary matrix (unless m=1, in which case Π0=I, giving M=I in this trivial case) because unitary matrices cannot have any columns (or rows) that are entirely 0; unitary matrices have columns that form orthonormal bases, and the all-zero vector is not a unit vector.
However, it is the case that the first n columns of M are orthonormal, and we get this from the assumption that {Π0,…,Πm−1} is a measurement.
To verify this claim, notice that for each j∈{0,…,n−1}, the vector formed by column number j of M is as follows:
∣ψj⟩=M∣0,j⟩=k=0∑m−1∣k⟩⊗Πk∣j⟩.
Note that here we're numbering the columns starting from column 0. Taking the inner product of column i with column j when i,j∈{0,…,n−1} gives
Thus, because the first n columns of the matrix M are orthonormal, we can replace all of the remaining zero entries by some different choice of complex number entries so that the entire matrix is unitary.
U=Π0Π1⋮Πm−1??⋮?⋯⋯⋱⋯??⋮?
If we're given the matrices Π0,…,Πm−1, we can compute suitable matrices to fill in for the blocks marked ? in the equation — using the Gram–Schmidt process — but it does not matter specifically what these matrices are for the sake of this discussion.
Finally we can describe the measurement process: we first perform U on the joint system (Y,X) and then measure Y with respect to a standard basis measurement.
For an arbitrary state ∣ϕ⟩ of X, we obtain the state
U(∣0⟩∣ϕ⟩)=M(∣0⟩∣ϕ⟩)=k=0∑m−1∣k⟩⊗Πk∣ϕ⟩,
where the first equality follows from the fact that U and M agree on their first n columns.
When we perform a projective measurement on Y, we obtain each outcome k with probability
Πk∣ϕ⟩2,
in which case the state of (Y,X) becomes
∣k⟩⊗Πk∣ϕ⟩Πk∣ϕ⟩.
Thus, Y stores a copy of the measurement outcome and X changes precisely as it would had the projective measurement described by {Π0,…,Πm−1} been performed directly on X.