Quantum technology is rapidly transforming cybersecurity, presenting both an existential threat and an opportunity.