  A Lagrangian formalism is used to derive the Hamiltonian for a $\lambda$/4
resonator shunted by a current-biased Josephson junction. The eigenstates and
the quantum dynamics of the system are analyzed numerically, and we show that
the system can function as an efficient detector of weak incident microwave
fields.
