Linear algebra knowledge review, with proofs (2)
The following exercises are from Chapter 2 of Quantum Computation and Quantum Information by Isaac Chuang & Michael Nielsen.
Cauchy–Schwarz inequality: for any two vectors .
Proof 1: Construct , where is any scalar in .
Then .
Let ,
we get
,
therefore . QED.
Proof 2 (from the book): Construct an orthonormal basis such that the first member is .
Using the completeness relation ,
we have .
Substitute with the first basis ,
we have . QED.
Exercise 2.13: If and are any two vectors, show that .
Proof: . QED.
Note: Transpose reverses order, while conjugation swaps bras and kets ().
Exercise 2.15: Show that .
Proof: .
For each element, this means .
Therefore . QED.
An operator that satisfies is known as a Hermitian or self-adjoint operator.
Projectors: Suppose is a -dimensional vector subspace of -dimensional vector space . Using the Gram-Schmidt procedure it is possible to construct an orthonormal basis for such that is an orthonormal basis for . By definition, the Hermitian operator is the projector onto the subspace .
The orthogonal complement of is the Hermitian operator , also a projector.
Exercise 2.16: Show that any projector satisfies the equation .
Proof: . QED.
An operator is said to be normal if . Clearly, an operator which is Hermitian is also normal.
Spectral decomposition: Any normal operator on a vector space is diagonal with respect to some orthonormal basis for . Conversely, any diagonalizable operator is normal.
Proof of the backward direction:
If is diagonalizable, then for some orthonormal basis .
,
,
.
Then , therefore is normal. QED.
Proof of the forward direction, by induction (from the book):
When dimension , any operator on a 1D space is just a scalar:
.
When dimension : Let be an eigenvalue of , the projector onto the -eigenspace, and the projector onto the orthogonal complement.
Then .
By definition, the first term .
For the second term :
Let be any element of , i.e., a vector in the -eigenspace. is still in the -eigenspace. projects it onto the orthogonal complement of -eigenspace, therefore . Therefore .
For the third term :
Let be any element of , then by definition .
Therefore is an eigenvector of with eigenvalue , and is an element of .
Therefore by the same logic above, .
By Hermitian conjugation of the equation, .
For the fourth term :
,
.
Note that (by normality), and (Exercise 2.16).
, therefore is normal.
Since is on a dimensional space, by the inductive hypothesis, is diagonal.
In conclusion, , where both and are diagonal.
Therefore, is diagonal on the whole -dimensional . QED.
Exercise 2.17: Show that a normal matrix is Hermitian if and only if it has real eigenvalues.
Proof: A normal matrix can be diagonalized: .
Then .
Forward: If , then .
Since are linear independent, this implies for all , therefore is real.
Backward: If all are real, then , so , therefore is Hermitian.
QED.
Simultaneous diagonalization theorem: Suppose and are Hermitian operators. Then if and only if there exists an orthonormal basis such that both and are diagonal with respect to that basis. We say that and are simultaneously diagonalizable in this case.
Proof of the backward direction:
Let be an orthonormal basis for the eigenspace of with eigenvalue .
Since are diagonal with respect to the same orthonormal basis, each is also an eigenvector of with some eigenvalue .
Then
. QED.
Proof of the forward direction (from the book):
Let be an orthonormal basis for the eigenspace of with eigenvalue .
We know that ,
therefore is an element of the eigenspace .
Let denote the projector onto the space , define .
( is projector ⇒ Hermitian; is Hermitian given in the theorem statement), therefore is Hermitian.
Therefore has a spectral decomposition in terms of an orthonormal set of eigenvectors which span the space .
Let be this orthonormal set of eigenvectors, where indices label the eigenvalues of and , and is an extra index to account for possible multiple linearly independent eigenvectors with the same eigenvalue that has.
is an element of , therefore .
Also, . Therefore .
Therefore is an eigenvector of with eigenvalue .
Therefore is an orthonormal set of eigenvectors of both and , and are diagonal with respect to that basis. QED.