Nonvolatile memory cell using a superconducting-ferromagnetic π Josephson junction