We demonstrate that nonlinear magnetic solitary excitations (solitons) traveling through a Heisenberg spin chain may be used as a robust tool capable of coherent control of the qubit's state. The physical problem is described by a Hamiltonian involving the interaction between the soliton and the qubit. We show that under certain conditions the generic Hamiltonian may be mapped on that of a qubit two-level system with matrix elements depending on the soliton parameters. We considered the action of a bright and a dark soliton depending on the driving nonlinear wave function. We considered a local interaction restricted the closest to the qubit spin in the chain. We computed the expressions of the physical quantities of interest for all cases and analyzed their behavior in some special limits.