Quantum self-supervised learning