Measuring the nuclear magnetic quadrupole moment of opticall