Quantum computing uses quantum mechanics to perform some calculations much faster than traditional computers.

After reading this article you will be able to:

- Understand quantum computing
- Compare qubits with bits
- Explain the potential impact of operational quantum computers

Related Content

Receive a monthly recap of the most popular Internet insights!

Copy article link

A quantum computer uses the properties of quantum mechanics to perform calculations. Quantum computers are much faster at certain types of calculations than classical computers (meaning any computing device in wide use today, like smartphones, servers, and desktop computers). Most importantly, quantum computing may be able to solve certain extremely difficult math problems that classic computing cannot efficiently solve at all, which would put current encryption methods at risk and expose sensitive data.

Imagine finding a chapter in a book by turning page by page until arriving at the desired place. Now imagine instead consulting the table of contents first, and almost instantly turning to the correct chapter. Quantum computing is more like the experience of using a table of contents: it examines all possible solutions to a calculation quickly and simultaneously, instead of trying different solutions until arriving at the correct one.

Technically, a classical computer can do any calculation that a quantum computer can do — given enough time. But a classical computer might need centuries or millennia to solve a problem a quantum computer could *theoretically* solve in minutes.

In practice, researchers have produced just a handful of cases where a quantum computer solved a problem faster than a classical computer. Quantum computers are difficult to build and unstable once built. But if the challenges of constructing quantum computers are solved, quantum computing might permanently transform technology.

A classical computer stores information in a series of bits. A bit is the smallest possible unit of information; its value is either 0 or 1.

A quantum computer stores information in qubits rather than bits. A qubit can have a value of 0, 1, or a mix of *both* states (the technical term for such a mix is "superposition"). In fact, a qubit's value is *uncertain* — unlike a classical bit, which is always known to be either 0 or 1. A qubit's value remains indeterminate until someone observes it.

As a result, a quantum computer can hold multiple states, or versions, of information at once. This enables it to process solutions to calculations at an exponentially faster pace compared to a regular computer — just as a team of people performing multiple tasks simultaneously will complete a project faster than one person doing all the tasks on their own.

Imagine a segment of information as a globe. A bit can sit either at the globe's north pole or south pole. A qubit can sit anywhere on the surface of the globe, vastly increasing the informational possibilities it can contain.

On a mechanical level, of course, bits and qubits are not actually globes. A bit is a tiny section of a computer that either holds an electrical charge (1) or does not hold an electrical charge (0). A qubit is the uncertain, unstable position of an electron within an atom.

To this point, very few quantum computers have been constructed. Those that have been built are small, unstable, and not usable outside of laboratory conditions.

This is because quantum computing faces a few major challenges:

Qubits are fragile. Noise, vibration, temperature changes, and electromagnetic waves can all inhibit or destroy the internal state of a qubit. To operate properly, quantum computers need to be in highly controlled environments that lack these and other types of interference. Such environments are difficult to construct and maintain outside of a laboratory.

Environmental factors impact classical computers as well — for instance, high temperatures or strong magnetic forces can slow or destroy a computer. But the problem is much more severe for quantum computers, to the point that it is uncertain if they can operate in real-world conditions.

(Eventually it may be possible to counteract interferences, just as a desktop computer's fan helps it counteract high temperatures.)

Quantum computers are less stable in general than their classical counterparts. This makes them more prone to errors. All computers commit errors, which is why classical computers have built-in memory and processors dedicated to error correction. But quantum computers have to devote a lot more resources to error correction than classical computers, relative to their processing ability.

To keep qubits stable, quantum computers have to be kept extremely cold — just a few degrees above absolute zero. Again, this makes it hard to operate them outside of highly controlled laboratory environments.

The result of these and other challenges is that very few quantum computers have been constructed with more than a handful of qubits. (A 256-qubit quantum computer was announced in 2021, and one firm hopes to construct a 1,000-qubit quantum computer by 2023.)

The full impact of quantum computing is difficult to determine, as it is still unclear if large-scale quantum computers are feasible, let alone if mass production of such computers is possible. This contrasts with classical computing — in most societies, miniature computers are used in almost all aspects of life, and many people carry the equivalent of a supercomputer in their pockets (as smartphones).

Powerful, stable quantum computers could have major positive impacts on society. But it is also clear that such computers would put privacy and security at risk in new ways.

There are many possible applications of quantum computers. With more powerful computers, the financial industry may be able to help more accurately analyze and predict the stock market. Climatologists might be able to analyze and predict weather patterns more precisely. Transportation systems could become more efficient if quantum computers can better predict traffic patterns.

All these outcomes are still theoretical. And even if large-scale, highly stable quantum computers could be constructed, their processing results would still only be as accurate as the data they are fed. Even so, quantum computing could have a major positive impact on these or similar areas.

Today, sensitive information is often protected through the use of encryption. Encryption is the process of encoding a message using a key, so that no one can read the message except someone who has the key. Encryption protects personal data users enter on websites (through TLS), business data stored on hard disks and in servers, confidential government data, and other sensitive information.

Many types of encryption rely on difficult math problems, such as prime factorization, to protect data. The difficulty of these problems ensures that the encryption cannot be broken within a feasible amount of time. Although well-known algorithms for breaking encryption exist, it is always possible to use larger encryption keys, requiring exponentially more time (for classical computers) to find the key and break the encryption.

However, quantum computers can theoretically solve the hard problems used in currently deployed encryption methods. In this scenario, increasing key sizes does not strengthen the difficulty of the problem exponentially. Thus, breaking encryption could take significantly less time. This would allow quantum computers to break most current encryption methods, putting any encrypted data at risk of exposure.

Cloudflare is heavily involved with developing new quantum-resistant encryption methods that will protect sensitive information now and in the future. This is part of Cloudflare’s larger commitment to help develop better Internet protocols, encryption standards, and privacy protections.

Cloudflare will continue contributing in this area. To learn more, see the latest blog posts on quantum computing and encryption.

Getting Started

About SSL/TLS

About HTTPS

About Encryption

SSL Glossary

Learning Center Navigation