When first learning QM it is useful to write yourself a little linear algebra / quantum physics dictionary.
But first, the mathematical setup: one usually has a complex vector space* $V$ (usually a Hilbert space
$\mathcal{H}$ or some technical extension) equipped with a hermitean form $\langle{\cdot},\cdot\rangle$. The latter gives us a canonical isomorphism between $V$ and the dual space $V^*$, defined by $x \mapsto \phi_x$ where $\phi_x : y \mapsto \langle x,y \rangle$. By linear operators we mean linear maps $\mathcal{O}:V \rightarrow V$. In QM, many important operators (in particular observables) are self-adjoint. Introductory books written by physicists sometimes use hats such has $\hat{\mathcal{O}}$ to distinguish $\mathcal{O}$ from its classical counterpart. I will forgo this since here the distinction is clear from context.
The beginning of our dictionary is:
- A ket $|x\rangle$ (the kets make up the physical states) $\leftrightarrow$ The element $x \in V$
- A bra $\langle x |$ $\leftrightarrow$ The element $\phi_x \in V^*$ as defined above.
Thus $\langle x | y\rangle$ is merely the hermitean product $\phi_x(y) = \langle x , y \rangle$.
For a self adjoint operator $A$, one has $\langle x , A y \rangle = \langle Ax,y\rangle$ and so one might as well write this as an ambivalent $\langle x | A |y \rangle $ in this situation. This is Dirac notation. It only makes sense when $A$ is self-adjoint. With this in mind, we can continue the dictionary:
- Oberservables $\leftrightarrow$ Self-adjoint operators $A:V \rightarrow V$
- The expectation value of an observable $A$ given a state $|\psi\rangle$ $\leftrightarrow$ $E_A(\psi) = \langle \psi|A | \psi \rangle / \langle \psi | \psi \rangle$.
There is a slight 'unexpected' notational advantage of Dirac notation, which is helpful in physics. This is that elements of $V$ (which in applications can be some messy tensor product) can be very easily notated. For example, labelling of hydrogen atom states is really clear with Dirac notation; e.g. $|n,j,s\rangle$ is easy to read whereas traditionally mathematicians would probably notate using subscripts $v_{n,j,s}$. You can even use words and symbols in kets, which would look horrible as subscripts.
I will stop here. You should continue to expand this dictionary as you learn more. In particular, try including eigenvalues/eigenvectors. Good books to learn from include those by Sakurai and Messiah.
*For the technically minded, states are really 'rays' in a vector space, or better, elements of the projective vector space $PV$. Doing calculations over $PV$ often amounts to going back out to $V$, but conceptually you should realize that $PV$ is the space you are really working over.