In this paper the minimum fundamental gap of a kind of sub-elliptic operator is concerned, we deal with the existence and uniqueness of weak solution for that. We verify that the minimization fundamental gap problem can be achieved by some function, and characterize the optimal function by adopting the differential of eigenvalues.