Generalized metaplectic operators and the Schrodinger equation with a potential in the Sjostrand class