We prove Hardy's inequality for the fractional powers of the generalized
sublaplacian and the fractional powers of the Grushin operator. We also find an
integral representation and a ground state representation for the fractional
powers of generalized sublaplacian