Quantum-Safe: Foundations · 4 of 5
Qubits, Superposition and Entanglement
A plain guide to the three quantum ideas that make quantum computing powerful, strange, and hard to use.
Quantum computing sounds mystical because its basic building blocks do not behave like the switches and memory cells we use every day. A classical bit settles into 0 or 1. A qubit can be prepared as a blend of 0 and 1, linked with other qubits in ways ordinary objects cannot match, and then forced by measurement to give just one ordinary answer. Those three ideas, superposition, entanglement and measurement, are enough to understand why quantum computers matter for cryptography, and why building useful ones is so difficult.
Start with the qubit, not the mystery
A qubit is the quantum version of a bit. A bit is the smallest unit of ordinary digital information: it is either 0 or 1. A qubit can also be measured as 0 or 1, but before measurement it can be in a quantum state that is not simply one or the other.
The common picture is a spinning coin. While the coin is spinning, do not imagine that it is secretly heads or secretly tails and you merely have not looked yet. In the quantum case, the better picture is that both outcomes are genuinely present as possibilities, with different weights. When you measure, the spinning ends and you get one ordinary result.
That last sentence is where many bad explanations go wrong. A qubit is not a tiny classical coin hiding an answer. Experiments, especially tests of Bell inequalities, show that the world does not behave as if every quantum object carried a simple prewritten value for every future measurement.
Superposition: a real blend, not mere ignorance
Superposition is the name for a quantum system being in a blend of possible states. For a qubit, the possible measurement outcomes are 0 and 1. Before measurement, the qubit can carry a weighted blend of both.
The word weighted matters. Superposition does not mean the qubit is half 0 and half 1 in a vague way. It means the quantum state contains amplitudes, which are wave-like quantities that influence how likely each result is and how states can later reinforce or cancel each other. You do not need the mathematics here, but you do need the idea: the blend is structured, not just fuzzy.
A single qubit is interesting. Many qubits are where the scale changes. One qubit has two possible basis states. Two qubits have four: 00, 01, 10 and 11. Ten qubits have 1,024. Three hundred qubits have more possible basis states than there are atoms in the visible universe.
This is the truth inside the phrase that a quantum computer tries many things at once. The state of many qubits spans an enormous space of possibilities. But the phrase is also misleading, because you cannot simply open the machine and read out every possibility. Measurement gives one result. The hard part is arranging the quantum state so that the one result you see is useful.
Entanglement: linked outcomes without a message
Entanglement is the quantum link that makes several qubits behave as one shared system rather than as a collection of independent parts. It is the feature Albert Einstein criticized as spooky action at a distance, because it produces correlations stronger than everyday physics allows.
Imagine two specially prepared coins. You take one coin to one side of the world and send the other far away. When you measure yours and get heads, the distant one is found to be tails. If you get tails, the distant one is heads. In the entangled case, the point is not that each coin secretly carried its answer all along. The pair had one shared quantum state, and measurement reveals coordinated outcomes.
This does not allow faster-than-light communication. You cannot choose whether your local measurement gives heads or tails, so you cannot use the result to send a controlled message. Only later, when both sides compare records through an ordinary communication channel, do the correlations become visible.
Inside a quantum computer, entanglement is not a party trick. It lets qubits carry relationships that cannot be represented as separate single-qubit states. A useful quantum algorithm relies on those relationships to steer the whole system.
Measurement: why looking is part of the computation
Measurement is the act that turns a quantum state into an ordinary classical result. For a qubit, that result is 0 or 1. Once you measure, the superposition relevant to that measurement is gone for that run of the experiment.
This is not the same as reading a normal memory cell. A classical bit can be checked without changing what it is supposed to mean. A qubit measurement is more like forcing the system to answer one specific question, after which the richer quantum state is no longer available.
That is why quantum algorithms are built backwards from the final measurement. The designer asks: what sequence of operations will make the desired answer appear with high probability when the quantum state is finally measured?
If the algorithm has not shaped the state properly before measurement, the output is just a sample from a complicated distribution. Quantum speedup is not magic guessing. It is careful probability engineering.
Interference: how wrong paths can cancel
Superposition and entanglement provide the working space. Measurement gives only one final answer. The bridge between those facts is interference.
Quantum states behave in a wave-like way. Parts of the state can reinforce one another, making some outcomes more likely, or cancel one another, making other outcomes less likely. A good quantum algorithm uses interference to raise the chance of useful answers and suppress the chance of useless ones.
This is the cleaner version of the popular claim that a quantum computer explores every answer at once. It is not enough to contain many possibilities. The algorithm must make the wrong possibilities interfere destructively and the right patterns interfere constructively.
For cryptography, this is the key idea to carry forward. Algorithms such as Shor's algorithm and Grover's algorithm do not break systems by brute force in the ordinary sense. They exploit structure so that interference makes certain hidden patterns easier to find.
Reality check: today's machines are fragile
All of these effects are real, but they are delicate. A useful quantum state can be disturbed by heat, vibration, electromagnetic noise or unwanted interaction with nearby matter. When the environment leaks information about the state, the computation loses its quantum behavior. This is called decoherence.
Current devices also make errors during operations. Engineers therefore distinguish a physical qubit from a logical qubit. A physical qubit is the raw hardware element. A logical qubit is a more reliable qubit built from many physical qubits using quantum error correction.
That distinction matters for security planning. Breaking widely used public-key cryptography such as Rivest-Shamir-Adleman, usually called RSA, or elliptic curve cryptography, often shortened to ECC, would require a large fault-tolerant quantum computer. That means thousands of logical qubits, and plausibly millions of physical qubits, depending on hardware quality and error-correction overhead.
Today's machines are far short of that scale. The threat is not that an attacker can casually decrypt the internet this afternoon. The threat is that long-lived secrets may be captured now and decrypted later when the hardware matures.
- A physical qubit is the noisy hardware qubit you can build today.
- A logical qubit is a protected qubit assembled from many physical qubits.
- Decoherence is the loss of quantum behavior caused by unwanted interaction with the environment.
- Fault tolerance is the ability to keep computing correctly even while components make errors.
What leaders and practitioners should decide now
The practical lesson is not to buy into panic or dismissal. Quantum computers large enough to break major public-key systems are not here yet, but migration away from vulnerable cryptography takes years. The organizations that wait for the hardware headline will have too little time.
A sensible program starts with discovery. Find where cryptography is used, which algorithms protect which systems, how long the data must remain secret and which vendors or partners control the upgrade path. This inventory is often harder than the mathematics.
Then separate urgency by data lifetime. A short-lived session token and a medical record with a multi-decade confidentiality requirement do not carry the same quantum risk. The second is exposed to harvest now, decrypt later attacks, where encrypted data is stored today in the hope of decrypting it with future tools.
The standards path is already forming. The National Institute of Standards and Technology, the United States standards body known as NIST, has selected post-quantum cryptographic algorithms for key establishment and digital signatures. The near-term work is to build crypto-agility, meaning the ability to replace cryptographic algorithms and parameters without redesigning whole systems.
Key takeaways
- A qubit can be prepared in a superposition, a real weighted blend of 0 and 1 before measurement.
- Adding qubits expands the state space exponentially, but measurement still returns only one ordinary result.
- Entanglement links qubits into one shared system with correlations that cannot be explained as simple hidden values.
- Entanglement does not send messages faster than light because the measurement outcome cannot be controlled.
- Quantum algorithms use interference to suppress wrong outcomes and amplify useful ones before measurement.
- Useful cryptography-breaking quantum computers require large fault-tolerant machines, but long-lived secrets create planning pressure today.
Glossary
- Qubit
- A quantum unit of information that can be measured as 0 or 1 but can exist as a weighted blend before measurement.
- Superposition
- A quantum state in which multiple possible measurement outcomes are present as a structured blend.
- Entanglement
- A quantum link between systems that makes their measurement outcomes coordinated in ways ordinary independent objects cannot match.
- Measurement
- The act of forcing a quantum system to produce a classical result, such as 0 or 1.
- Interference
- The wave-like effect by which parts of a quantum state reinforce or cancel one another.
- Decoherence
- The loss of useful quantum behavior when a quantum state is disturbed by its environment.
- Physical qubit
- A raw hardware qubit that is subject to noise and operational errors.
- Logical qubit
- A more reliable qubit built from many physical qubits using quantum error correction.
- Crypto-agility
- The ability to replace cryptographic algorithms, keys or parameters without rebuilding an entire system.