Theoretical framework for constructing quantum mechanical models of systems classically represented by an infinite number of degrees of freedom