Development of a quadrupole magnet for a mechanical-part-free rotational magnetic field