We describe the dynamical preparation of magnetic states in a strongly interacting two-component Bose gas in a harmonic trap. By mapping this system to an effective spin-chain model, we obtain the dynamical spin densities and the fidelities for a few-body system. We show that the spatial profiles transit between ferromagnetic and antiferromagnetic states as the intraspecies interaction parameter is slowly increased.
Physical review. A, Atomic, molecular, and optical physics. New York. Vol. 95, no. 2 (Feb. 2017), 023612, 7 p.