Tiny quantum storage device fits on a chip