A quadrupole magnet is a type of magnet used primarily in particle accelerators and beamlines for focusing charged particle beams. It generates a magnetic field with a specific spatial variation that can focus or defocus charged particles in two transverse directions, allowing for tighter control of the beam's shape and trajectory.
New to topics? Read the docs here!