This section of the lesson explains the phase estimation problem.
We'll begin with a short discussion of the spectral theorem from linear algebra, and then move on to a statement of the phase estimation problem itself.
The spectral theorem is an important fact from linear algebra that states that matrices of a certain type, called normal matrices, can be expressed in a simple and useful way.
We'll only need this theorem for unitary matrices in this lesson, but down the road in this series we'll apply it to Hermitian matrices as well.
A square matrix M with complex number entries is said to be a normal matrix if it commutes with its conjugate transpose:
MM†=M†M.
Every unitary matrix U is normal because
UU†=I=U†U.
Hermitian matrices, which are matrices that equal their own conjugate transpose, are another important class of normal matrices.
If H is a Hermitian matrix, then
HH†=H2=H†H,
so H is normal.
Not every square matrix is normal.
For instance, this matrix isn't normal:
(0010)
(This is a simple but great example of a matrix that's often very helpful to consider.)
It isn't normal because
Spectral theorem: Let M be a normal N×N complex matrix.
There exists an orthonormal basis of N-dimensional complex vectors {∣ψ1⟩,…,∣ψN⟩} along with complex numbers λ1,…,λN such that
M=λ1∣ψ1⟩⟨ψ1∣+⋯+λN∣ψN⟩⟨ψN∣.
The expression of a matrix in the form
M=k=1∑Nλk∣ψk⟩⟨ψk∣(1)
is commonly called a spectral decomposition.
Notice that if M is a normal matrix expressed in the form (1), then the equation
M∣ψj⟩=λj∣ψj⟩
must be true for every j=1,…,N.
This is a consequence of the fact that {∣ψ1⟩,…,∣ψN⟩} is orthonormal:
That is, each number λj is an eigenvalue of M and ∣ψj⟩ is an eigenvector corresponding to that eigenvalue.
Example 1.
Let
I=(1001),
which is normal.
The theorem implies that I can be written in the form (1) for some choice of λ1,λ2,∣ψ1⟩, and ∣ψ2⟩.
There are multiple choices that work, including
λ1=1,λ2=1,∣ψ1⟩=∣0⟩,∣ψ2⟩=∣1⟩.
Notice that the theorem does not say that the complex numbers λ1,…,λN are
distinct — we can have the same complex number repeated, which is necessary for this example.
These choices work because
I=∣0⟩⟨0∣+∣1⟩⟨1∣.
Indeed, we could choose {∣ψ1⟩,∣ψ2⟩} to be any orthonormal basis and the
equation will be true. For instance,
I=∣+⟩⟨+∣+∣−⟩⟨−∣.
Example 2.
Consider a Hadamard operation.
H=21(111−1)
This is a unitary matrix, so it is normal. The spectral theorem implies that H can be written in the
form (1), and in particular we have