Laser switch for stroboscopic read-out of magnetic flux