← Exercise library← All exercises for this theme
Theme 2 — Hilbert Spaces and Dirac Notation

Change of orthonormal basis

Keywords: change of basis · unitary matrix · change-of-basis matrix · representation of an operator · Hadamard · invariants

Exercise 1 : Change of orthonormal basis

In , consider the canonical orthonormal basis and the basis

The change-of-basis matrix is defined as the matrix whose columns are the components of the new basis vectors in the old basis, that is, if is the old basis and the new one.

Question 1
Verify that is an orthonormal basis. Write down the change-of-basis matrix and show that it is unitary.

Solution
We have , and : the basis is orthonormal. The columns of are the components of and :

This matrix, called the Hadamard matrix, is real and symmetric, so , and direct calculation gives . It is unitary.

Question 2
Show that, in general, the change-of-basis matrix between two orthonormal bases is unitary.

Solution
Let us calculate the elements of using the closure relation in the old basis:

Thus . In other words, the columns of are orthonormal, which simply expresses the fact that the new basis is orthonormal. In finite dimension, this also implies .

Question 3
A vector has components in the basis . What are its components in the basis ? Express the result using .

Solution
The new components are the projections and :

In general, : the column vector of the new components is obtained by applying to the column vector of the old components. Take care with the direction: it is , not , that transforms the components.

Question 4
Show that the matrix of an operator in the new basis is . Calculate the matrices of and in the basis . Comment on the results.

Solution
The matrix elements in the new basis are . Inserting two closure relations in the old basis,

For , we find

In the new basis, has the matrix of : its diagonal elements are zero, since are not eigenstates of . For , note that and , so that

The basis is an eigenbasis of : diagonalising a matrix consists precisely in finding a basis in which its matrix is diagonal. We verify that the trace () and determinant () are the same in both bases: they are invariants, which depend only on the operator and not on the basis.