Laser-induced erasure and reversal of the permanent magnetization in a ferromagnet-dilute magnetic semiconductor hybrid structure