Imagine a system in which there are just two linearly independent states:
|1〉=\begin{pmatrix} 1 \\ 0\end{pmatrix} and |2〉=\begin{pmatrix} 0\\ 1 \end {pmatrix}
The most general state is a normalized linear combination:
|S〉= a|1〉+b|2〉=\begin{pmatrix} a \\ b\end{pmatrix} with \left|a\right| ^{2}+ \left |b\right|^{2}=1
The Hamiltonian can be expressed as a (hermitian) matrix (Equation 3.83 [〈e_{m}|\hat{Q}|e_{n}〉=Q_{mn}]); suppose it has the specific form
H=\begin{pmatrix} h & g \\ g & h\end{pmatrix}
where g and h are real constants. If the system starts out (at t=0 ) in state |1〉, what is its state at time t?