A method of magnetic recording by employing a memory cell, comprising a bottom electrode coupled to a substrate, an antiferromagnetic layer coupled to said bottom electrode, a pinned layer that comprises a first ferromagnetic material in contact with said antiferromagnetic layer to configure a fixed magnetization direction of said pinned layer, a tunnel junction coupled to said pinned layer, a spacer that comprises a thickness configured based on Ruderman-Kittel-Kasuya-Yosida (RKKY) interaction, a free layer that comprises a second ferromagnetic material configured to be magnetized in a first magnetized direction or a second magnetized direction based on said RKKY interaction, and a top electrode coupled to said free layer, said method comprising:
- generating a tunable terahertz writing signal via a terahertz magnon laser;
- and
- modifying said first magnetized direction or said second magnetized direction associated with said RKKY interaction of said memory cell based on said tunable terahertz writing signal.