On the connection between the inverse transform method and the exact quantum eigenstates