Firstly,Author simply showed the knowledge of the permutation group operating complete basis vectors,and introduced the approach that the Hamiltonian operator of the XY model function complete basis vectors to construct the energy matrix,then observed the changes of energy spectrum along with the parameter in a certain situation.