Based on the problem of traditional particle swarm optimization (PSO) easily trapping into local optima, quantum theory is introduced into PSO to strengthen particles’ diversities and avoid the premature convergence effectively. Experimental results show that this method proposed by this paper has stronger optimal ability and better global searching capability than PSO.