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. PACS numbers: 67.85.-d, 03.75.Mn, 75.10.Pq * rafael.barfknecht@ufrgs.br † angela@if.ufrgs.br ‡ zinner@phys.au.dk
II. HAMILTONIAN AND MAPPING TO AN EFFECTIVE SPIN CHAINWe consider a trapped 1D Bose gas with contact interactions and two different bosonic species (↑, ↓). The total number of particles is N = N ↑ +N ↓ where N ↑ and N ↓ are arXiv:1612.01570v4 [cond-mat.quant-gas]