A nonvolatile memory element for integration with superconducting electronics