Schrödinger equation with imaginary potential