We study the interior and boundary regularity of the solution to a Schrodin
ger problem relative to the subelliptic p-Laplacian. In particular we prove
an Harnack inequality on ball, which are small enough and a Wiener type cr
iterion for the regularity of boundary points.