The coordinates y and z are cyclic, so py and pz are conserved. The momentumpx is generally not conserved: its equation is p˙x=−2axz˙. In particular, conserved canonical pz is not the same as conserved mechanical mz˙, which changes as the particle moves across the magnetic-field gradient.