In high energy heavy-ion collisions, the high speed valence charges will produce intense electromagnetic fields within the resulting quark-gluon plasma. Utilizing the AMPT model, this paper presents a comprehensive analysis of the magnetic field distribution generated from non-central collisions between $$\mathrm{Au+Au}$$
Au
+
Au
nuclei at $$\sqrt{s_{\text{NN}}}={200}\;{\text{GeV}}$$
s
NN
=
200
GeV
. The initial geometric parameters of the collision and the electric conductivity of the quark-gluon plasma have a dominant influence on the evolution of the magnetic field, while the plasma diffusion and the CME effect have a lesser impact and only slightly involve the original magnetic field by inducing new magnetic fields. This finding suggests that the dynamics of the quark-gluon plasma can be roughly decoupled from the effect of the electromagnetic field.