Quantum computing Qubits

A bit must choose.
A qubit can be
both at once.

Today's computers think in 0s and 1s. Quantum computers work with the space in between. This page explains what that means, one idea at a time, with things you can try yourself.

0 and 1 at the same time
Click to measure
Scroll to begin
Start here

Everything a computer does is built from one tiny choice.

A bit is the smallest piece of information. It can be a 0 or a 1. Off or on. A photo, a song, this very sentence: all of it is just billions of these tiny switches, each set one way or the other.

A classical bit
0
OFF

Click the board to flip it. A normal bit is always one value at a time, 0 or 1, off or on. Never both at once.

Superposition

A qubit doesn't have to pick.

A quantum bit, or qubit, can hold 0 and 1 at the same time. This in-between state is called superposition. It isn't an average or a guess. The qubit really is both possibilities, right up until the moment you look. Then it settles on a single answer.

A quantum coin
0
1
A coin at rest is a plain bit. Set it spinning and it becomes both faces at once.
The state of a qubit

You can point a qubit anywhere.

Here is a map of everything a single qubit can be. The top is a sure 0. The bottom is a sure 1. Every point between them is a different blend. Drag to aim the arrow. The closer it points to a pole, the more likely the qubit lands on that value when you measure it.

Drag to aim the qubit
Drag
Pointing at |0⟩
0100%
10%

A spinning coin sits exactly on the middle line, a perfect 50 / 50. Most of the power of quantum computing comes from choosing these in-between points on purpose.

Why it matters

Each qubit you add doubles what it can explore.

Add one classical bit and you get one more switch. Add one qubit and you double the number of combinations it can hold at the same time. The growth starts slow, then becomes almost impossible to picture.

Combinations held at once
4 qubits
16
sixteen combinations at once
A classical computer would line these up and check them one by one.
Entanglement

Two qubits can share one fate.

Qubits can be linked so their results always agree, even after you carry them far apart. Measure one and you know the other in the same instant. Einstein called this "spooky." A century later, no one has found a way around it. It is simply how the world works up close.

Prepared together, then carried far apart
?Qubit Ain the lab
?Qubit Bside by side
drag me anywhere
When two qubits are entangled, their answers match every single time.
A head to head

Finding a needle in a haystack.

Say you are looking for one marked box among a hundred and twenty-eight, with no clues. A classical computer has to open them one at a time. A quantum computer can nudge the odds toward the right box with each round, and reach it in far fewer tries.

128 boxes · one is marked

Classical

opens one box at a time
Boxes opened0

Quantum

tilts the odds each round
Rounds used0

What's ahead

The problems quantum computers are built for.

These are not everyday tasks. They are a handful of very hard problems where checking every possibility is hopeless for an ordinary computer.

Medicine

Designing new drugs by simulating real molecules.

TARGET MOLECULE

A medicine works by fitting against a molecule in your body, like a key in a lock. Working out that fit means modeling how electrons behave, which is a quantum problem at heart. Quantum computers could test these fits directly, helping researchers find promising medicines faster and with less guesswork.

+Read more

Materials and energy

Better batteries, cleaner fuels, new materials.

ATOMS IN A LATTICE e⁻

New materials are discovered by understanding how atoms bond and share electrons. That is slow and expensive to test in a lab. A quantum computer speaks the same language as these atoms, so it could help design longer-lasting batteries, cleaner ways to make fertilizer, and materials we have not thought of yet.

+Read more

Security

Why today's codes may need to change.

187 11 × 17 MULTIPLY · EASY FACTOR · HARD

Much of the privacy online rests on math problems that are too slow for normal computers to crack. A large quantum computer could solve some of them quickly. That sounds alarming, but it is also why researchers are already building new codes, called quantum-safe encryption, designed to hold up against these machines.

+Read more

Chemistry and climate

Modeling reactions ordinary computers can't.

O C O CARBON DIOXIDE MODELED

Some chemical reactions involve so many particles interacting at once that no classical computer can model them fully. Understanding them better could lead to cleaner industry and a clearer picture of how to pull carbon out of the air. Quantum computers are a natural tool for this kind of question.

+Read more
Where we are

Quantum computers won't replace your laptop.

They are not faster at email, video, or games. They are tools for a narrow set of very hard problems, and they are still early. Today's qubits are fragile and make mistakes, and keeping them stable is one of the hardest and most complicated parts about quantum.

But the ideas are real and the machines keep improving. The questions these computers could help answer are some of the biggest we have. The strange rules you just played with are not science fiction. They are the foundation being built on right now.