  We study a one-dimensional chain of nuclear $1/2-$spins in an external
time-dependent magnetic field. This model is considered as a possible candidate
for experimental realization of quantum computation. According to the general
theory of interacting particles, one of the most dangerous effects is quantum
chaos which can destroy the stability of quantum operations. According to the
standard viewpoint, the threshold for the onset of quantum chaos due to an
interaction between spins (qubits) strongly decreases with an increase of the
number of qubits. Contrary to this opinion, we show that the presence of a
magnetic field gradient helps to avoid quantum chaos which turns out to
disappear with an increase of the number of qubits. We give analytical
estimates which explain this effect, together with numerical data supporting
