The system of an atom interacting with an electromagnetic filed is very complicated.In this paper,we studied the system of a two-level atom interacting with a linear harmonic electromagnetic field,and worked out the wave function,the energy values and the center-of-mass momentum values of the atom.