Calculation of particle-hole states in the 2s-1d shell