Internal control of the Schr\"odinger equation