Magnetism In Quantum Materials Probed By X-Ray And Neutron Scattering