The dynamic evolution of a multi-level atom in the three-dimensional photonic crystal under an applied magnetic field is investigated.By combining the Zeeman effect with the photonic band gap effect,the dynamic quantum superposition states and steady quantum coherent trapping states of the atom can be flexibly controlled.This paves the way for coherent manipulation of quantum states in the solid-state system,which has important applications in quantum information processing.