How actually quantum computers work, and why all the hype

2026-12-03, by Dmitri Zdorov

A plain explanation of qubits, superposition and interference, why quantum computers won't replace ordinary ones, and why they threaten today's internet cryptography.

How actually quantum computers work, and why all the hype

The news is buzzing about the quantum threat and new encryption methods, frightening everyone with the prospect that our familiar security mechanisms won't survive the age of technological progress, machine superintelligence, and quantum computing. Let me explain what this is all about.

Conventional computers, roughly speaking, work like very, very complex arrangements of tiny electronic switches (transistors), where current either flows or doesn't, depending on the control signal at the input. This little miracle is made possible by semiconductors and intricate networks of computational circuits called processors. That's why everything there is represented by zeros and ones, and electrical signals change at enormous speeds, with processor clock frequencies nowadays measured in gigahertz. Entire batches of signals pass through these circuits simultaneously, and processors operate with what we call words of a certain bit width (64 bits, for example). Memory is also measured in bits (one bit is either a 0 or a 1). Thus, following strict logical rules, step by step, one array of zeros and ones is transformed into another.

Unlike a conventional computer, where each bit has a definite value, a quantum computer can put its basic computational elements (qubits, short for quantum bits) into a state where all possible combinations coexist within the system (superposition). With just 50 qubits, there are already more than a quadrillion such possibilities, each represented by something behaving like a mathematical wave, with its own magnitude and phase (a probability amplitude).

Next, we need a quantum program. Depending on the technology, it can be implemented as a sequence of precisely controlled laser or microwave pulses that perform operations called quantum gates. But since we don't know the correct answer in advance and cannot address each wave individually, how the program manages to "conduct" this quadrillion waves is the very essence of the whole process.

The secret is that by manipulating just one or a few qubits, the program can simultaneously transform enormous numbers of these waves. And by linking the quantum states of different qubits (quantum entanglement), it can create complex wave patterns that cannot be described by considering each qubit separately. Not every computational problem lends itself to this approach, but one of the fundamental principles behind some of the most important quantum algorithms can be described in two steps:

1. Marking the waves using the conditions of the problem (phase shifting). The program applies a mathematical rule derived from the problem to the entire system. This causes the phases of different possibilities to shift differently. For example, the wave corresponding to a correct answer might be flipped upside down (with a trough instead of a crest), or a hidden mathematical rhythm might emerge across the waves. All this happens without the computer "peeking" to see which particular waves have been flipped.

2. Massively combining and subtracting waves according to strict geometric rules (interference). A basic operation applied to just one qubit (called the Hadamard transform) automatically takes all pairs of possibilities that differ in that particular qubit and simultaneously combines their waves, producing normalized sums and differences. By combining such symmetrical operations, quantum algorithms can manipulate these enormous collections of waves without knowing the answer in advance. Two particularly interesting approaches are:

The first works somewhat like an acoustic lens or a prism (the quantum Fourier transform), bringing waves together at precisely calculated angles. Contributions that are out of sync tend to cancel each other out (destructive interference), while those that match a hidden mathematical rhythm of the problem come together in sync and grow into distinct, powerful peaks (constructive interference).

The second works like a mirror placed at the average level of the waves (Grover's amplitude amplification). It reflects all amplitudes symmetrically around their common average. As the marking and reflection operations are repeated, the amplitudes of ordinary possibilities become smaller, while those of the correct answers grow.

Even though this process is not instantaneous, the improvement can be enormous. Searching through a billion unstructured possibilities might require hundreds of millions of checks on a conventional computer, while Grover's algorithm could accomplish it in tens of thousands of iterations.

Finally, we perform a measurement, read the qubits, and the entire wave pattern "collapses" (wave function collapse) into one particular combination of zeros and ones. The greater the magnitude of the corresponding wave, the more likely we are to get that particular result. In a well-designed algorithm, the probability of getting a useful result can be close to 100%. Sometimes it's the answer itself, and sometimes it's just a newly discovered rhythm (a period or mathematical pattern), which a conventional computer can then quickly use to finish solving the problem.

This is precisely why quantum computers won't replace conventional ones. If a problem has no suitable internal structure or mathematical condition that allows us to arrange this interference without knowing the answer, we may end up with nothing more than useless noise.

But where this geometry does work — in simulating quantum systems such as molecules, potentially in certain optimization problems, or in breaking some forms of cryptography — the speed advantage can be enormous. For some problems, a sufficiently powerful quantum computer could turn calculations that would be practically impossible on conventional computers into something quite manageable. And this is what scares people.

As luck would have it, much of the security of the modern internet, particularly its public-key cryptography, is built on mathematical problems with precisely the kind of hidden structure that quantum algorithms can exploit. The encryption of the data itself is generally less vulnerable, but the mechanisms we use to establish secure connections, exchange encryption keys, and verify digital signatures are particularly at risk.

If these mechanisms were to collapse under the pressure of quantum algorithms, while powerful AI simultaneously automated the discovery of vulnerabilities and the attacks themselves, it would be like one of those movies about a city where the electricity has gone out, the police have stopped working, and the doors and vaults of every bank have suddenly sprung open. For its own protection, much of the digital economy might simply freeze and retreat into its burrow.

That's why the head of Cloudflare is sounding the alarm now, urging us to switch to new, so-called post-quantum cryptography — cryptography based on mathematical problems for which, as far as we currently know, quantum waves have nothing useful to latch onto.

Tags: technologycomputersquantum computingphysicssecurity