Lesson 2 of 5

What is a qubit?

A qubit is the bit inside a quantum computer. It does not store a 0 or a 1. It stores two numbers, and those numbers decide what you are likely to see when you look.

  • About 30 minutes
  • Ages 9 to 13

A qubit is 0 and 1 at the same time.

You may have heard this. It is not true, so we crossed it out in red pen.

The big idea

Qubit is short for quantum bit. A qubit can be made from one atom, one tiny packet of light called a photon, or a tiny electric circuit kept colder than outer space.

A qubit holds two numbers. One goes with the answer 0 and one goes with the answer 1. Scientists call them amplitudes. An amplitude is a number that says how strongly the qubit leans towards an answer.

When you measure a qubit, which means asking it "0 or 1?", you get one answer. To find the chance of each answer, multiply its number by itself. That is called squaring.

A qubit's two numbers become chances. The number 0.6 for answer 0 squares to 0.36, a short bar. The number 0.8 for answer 1 squares to 0.64, a longer bar. Number Chance 0 0.6 0.36 1 0.8 0.64
0.6 × 0.6 is 0.36 and 0.8 × 0.8 is 0.64. Together the chances make 1.

So set up 100 qubits with the numbers 0.6 and 0.8 and measure each one. About 36 will read 0 and about 64 will read 1. The chances always add up to 1, because you always get some answer.

Here is the twist. The numbers can be negative. A qubit with 0.6 and −0.8 gives exactly the same chances, because −0.8 × −0.8 is also 0.64. Why care? Because a negative number can cancel a positive one. Lesson 4 shows how.

Is it like a spinning coin?

A spinning coin is a handy picture for one part of the story. While it spins you cannot call heads or tails, and when it stops you get one answer.

But the picture breaks in two places. A spinning coin always faces some way, and a fast camera could work out how it will land. A qubit is not secretly 0 or secretly 1 while nobody looks. It is not flicking fast between them either. Lesson 4 shows a test that proves it. Also, a coin has nothing like a negative number, so two coins can never cancel. So the coin is good for one thing only. You get one answer at the end.

Try this at home

Make a qubit spinner

You need Paper, a pencil, a paper clip and a protractor if you have one.

  1. Draw a circle about as wide as your hand, and mark the middle.
  2. Square the qubit's numbers. For 0.6 and 0.8 you get 0.36 and 0.64.
  3. Split the circle into two slices. The 0 slice is 0.36 of the circle, which is about 130 degrees. Label it 0. The rest is the 1 slice.
  4. Put the paper clip on the middle, hold it there with the pencil point, and flick it. Where it stops is your answer.
  5. Spin 20 times and keep a tally. Expect roughly 7 zeros and 13 ones.

Now make a spinner for 0.6 and −0.8. It is exactly the same spinner! A spinner copies the chances, but it is not a qubit. It has nowhere to keep the minus sign, and a real qubit does keep it.

Try it on the site

On the qubit page, a qubit is drawn as an arrow inside a globe. Press Reset and then H, so the arrow points straight up. Now it reads 0 every time. Press H again and watch the arrow tip over to the middle line, where the chances are half and half.

For grown-ups. In full quantum physics the amplitudes can be complex numbers, and the chance is the squared size of each one. This section sticks to positive and negative.

Three quick questions

  1. A qubit has the number 0.6 for 0 and 0.8 for 1. What is the chance of reading 1?

    Show the answer

    0.64, or 64 times in 100. Multiply 0.8 by itself.

  2. A qubit has the number 1 for 0 and the number 0 for 1. What will you read?

    Show the answer

    0, every time. 1 × 1 is 1, which means certain, and 0 × 0 is 0.

  3. True or false? A qubit is 0 and 1 at the same time.

    Show the answer

    False. It holds two numbers that set the chances, and you get one answer when you look.