
Choosing a representation means choosing an orthonormal basis in the state space E. Assume the set {|ui>} is a discretely labeled basis and the set {|wa>} is a continuously labeled basis for E.
<ui|ui>=dij , <wa|wa>=d(a-a).
Any ket |y> may be written as
.
.
is the projector into the subspace
spanned by {|ui>}. If {|ui>} is a basis then
=I is the identity operator.
This is called
the closure relation.
Similarly, any ket |y> may be written as
.
.
is the
projector into the subspace spanned by {|wa>}.
If {|wa>} is a basis then
=
I is the identity operator.
This is called
the closure relation for a continuously
labeled basis.
In the basis {|ui>} the ket |y> is completely specified by its components ci=<ui|y>. The corresponding bra is completely specified by its components ci*=<y|ui> in the basis {<ui|}.
By convention, we represent a ket as a one column matrix of its components in a given basis.

We represent a bra as one row matrix of its components in a given basis.
.
![]()
Let W be a linear operator and let {|ui>} be a basis. Let W|y>=|f>.
Then ![]()
We find
![]()
We can write W|y>=|f> as a matrix equation.
.
The column matrices are representations of the kets |f> and |y> and the square matrix is a representation of the operator W in the {|ui>} basis. The Wij=<ui|W| uj> are the matrix elements of the operator W. The matrix elements are scalars.
By knowing the components of |y> in the basis {|ui>} and the actions of the operator W on the basis vectors, we can calculate the components of |f>=W|y> in the same basis.
The matrix elements of W are Wij=<ui|W|uj>.
The matrix elements of WT are WTij=<ui|WT|uj>=<uj|W|ui>*=Wji*.
If W is Hermitian, W=WT, then Wij=Wji*. In particular, Wii=Wii*. The diagonal matrix elements of a matrix representing a Hermitian operator are real.
| The set |
The vector A may be written as
,
with
and
.

In the {|xi>} basis |A> is represented by the matrix
Let W be the projector onto the x axis. We know the action of W on the basis vectors. W|x1>=|x1>, W|x2>=0. We therefore know what W doe to |A>.
W
|A>=|B>. W|A>=A1W|x1>+A2W|x2>=A1|x1>=B1|x1>+B2|x2>. B1=A1, B2=0.
.
is the matrix of W in the {|xi>} basis.
W
11=<x1|W|x1>, W12=<x1|W|x2>, W21=<x2|W|x1>, W22=<x2|W|x2>.
W
is a Hermitian operator, Wij = Wji*.