The calculation scheme for solving the elliptic boundary problem by Kantorovich method for impurity states in models of quantum dots, wires and wells in the effective mass approximation with parabolic confinement potential of harmonic oscillator and infinitely-high walls is presented.