Magnetic memory of a single-molecule quantum magnet wired to a gold surface.