Quantum Computing From Scratch: Qubits, Superposition and a Threat Worth Taking Seriously
A quantum computer will not replace your laptop, but it could threaten today's cryptography. An honest tour of the core ideas, the limits, and how to prepare.
Key takeaways
- Quantum computers are faster only for particular classes of problems, not for everything.
- Noise is the great obstacle, and error correction demands vast numbers of physical qubits.
- Even before a capable machine exists, harvest-now-decrypt-later puts long-lived data at risk.
Quantum computing is often introduced with two inaccurate sentences: it tries every possibility at once, and it solves any problem instantly. Neither is true. The technology is real, advancing and fascinating, but it plays by its own rules. Here we explain the core ideas simply and then turn to what they mean for security.
Qubits and superposition
An ordinary bit is either 0 or 1. A qubit is a quantum system whose state is a blend of 0 and 1 with weights called amplitudes, a property known as superposition. When you measure it, though, you get just one of the two outcomes, with probabilities set by the amplitudes. A qubit is not an infinite storage tank. Its value lies in the fact that the state of n qubits is described by 2 to the power n amplitudes, and an algorithm can manipulate that structure.
Entanglement and interference
Entanglement means the state of several qubits cannot be described independently, and their measurement results show correlations with no classical counterpart. It does not allow faster-than-light messaging. Interference is the real workhorse of quantum algorithms: they arrange amplitudes so that wrong paths cancel out and right ones reinforce. Without interference, superposition alone buys nothing.
What they are good for, and what they are not
A quantum computer is not a faster classical one. It is expected to help with simulating quantum systems (chemistry and materials), certain optimization problems, and, notably, factoring large numbers. For web browsing, gaming, databases or training language models, it generally offers no advantage. Grover's search gives only a quadratic speedup, not an exponential one.
Noise and error correction
Qubits are fragile. Heat, radiation and the slightest interaction with the environment corrupt their state. Today's machines are noisy and intermediate-scale: errors pile up after a limited number of operations. The remedy is quantum error correction, which combines many physical qubits into one stable logical qubit. It is expensive, and serious estimates for cryptographically relevant algorithms run to millions of physical qubits. Nobody can say exactly when that will be achieved.
The threat to cryptography
Shor's algorithm shows that a sufficiently large quantum computer could break RSA and elliptic-curve cryptography, the foundation of most key exchange and digital signatures today. Symmetric ciphers such as AES fare better: Grover roughly halves the effective security, so AES-256 remains a sound choice. For more on how traffic is protected in transit, see our piece on VPN protocols.
Harvest now, decrypt later
An attacker can record encrypted traffic today and keep it until a quantum computer can open it. This is called harvest now, decrypt later. The danger is therefore not limited to the day such a machine is built: data that must stay secret for decades, such as medical records or state and industrial secrets, is exposed already.
Post-quantum cryptography and what to do
The answer is post-quantum cryptography (PQC): algorithms that run on ordinary computers yet resist quantum attack. In August 2024, NIST published its first standards: ML-KEM for key establishment, and ML-DSA and SLH-DSA for signatures. Practical steps for organizations:
- Inventory where public-key cryptography is used.
- Prioritize data with a long confidentiality lifetime.
- Design for crypto-agility so algorithms can be swapped.
- Ask suppliers for their PQC migration roadmap.
- Trial hybrid modes that combine classical and post-quantum algorithms.
This article is sample educational content; verify against official sources before making important decisions.