We introduce a scheme for controlling the state of a quantum system by manipulating its boundary conditions. This contrasts with the usual approach based on direct interactions with the system, that is, by adding interaction terms to the Hamiltonian of the system. We address this infinite-dimensional control problem, providing conditions to the existence of dynamics and approximate controllability for a family of quantum one-dimensional systems.