An annoying fact about my physics textbook (Griffiths' Introduction to Quantum Mechanics) is that it introduces bra-ket notation without telling us how to use it. So I have a two-part question for SE:
- In general, how do I write an operator written in functional form (say, the Hamiltonian, $-\frac{\hbar^2}{2m}\nabla^2+V$) as something in the form $\sum|a\rangle\langle b|$?
- In particular, one of the questions my professor gave me told me (without explanation) that the Hamiltonian of the finite double well could be written $|L\rangle \langle R| + |R\rangle \langle L|$ for the purposes of calculating tunneling probabilities. How can I reproduce this result?
Details for #2: The text of the question reads:
A box containing a particle is divided into a left and a right compartment by a thin partition. If the particle is known to be on the right side with certainty its state is represented by the state vector $|R\rangle$. This is basically a particle in a box but where we have chosen to neglect spatial variations in either half of the box. ... The particle can tunnel through the partition; this tunneling effect is characterized by the Hamiltonian $H=\Delta (|R\rangle\langle L| + |L\rangle\langle R|)$ where $\Delta$ is a real number with dimensions of energy.
Essentially, I don't understand where that Hamiltonian comes from. I can see that it is something tunnel-y (in the sense that it's doing something with mappings from one state from the other) but not how to rigorously generate it.