Please enable JavaScript to use CodeHS

Quantum Computing

What is quantum computing?

Meet the machines that compute with the rules of the very small — and find out why scientists, companies, and schools are racing to build them.

Quantum ~10 min Beginner friendly
The Big Idea

A new kind of computer

Every computer you have ever used — laptops, phones, game consoles, even your school calculator — stores information as bits: tiny switches that are either 0 or 1. All of computing, from TikTok filters to rocket launches, is built on those bits.

A quantum computer stores information differently: in qubits (say "cue-bits"). Qubits follow the rules of quantum physics — the physics of atoms, electrons, and light. Instead of being simply 0 or 1, a qubit can be in a blend of both, and groups of qubits can become linked in ways ordinary bits never can.

Here's the part people get wrong: a quantum computer is not just a faster laptop. It's a different kind of machine — the way a plane is a different kind of transportation than a boat. For most trips you'd still take the boat or a car. But for certain journeys, nothing beats flying.

Simple definition: A quantum computer is a computer that uses qubits and the rules of quantum physics to solve certain hard problems that classical computers can't crack in a reasonable time.

Classical computer

Stores bits that are 0 or 1. Amazing at everyday jobs: apps, games, video, spreadsheets, the web.

vs.

Quantum computer

Stores qubits that can blend 0 and 1 and link together. Powerful for a special set of problems: simulating molecules, searching huge spaces, optimizing messy systems.


Try It

Could a quantum computer help?

Quantum computers shine on problems where you have to search through a giant space of possibilities or simulate quantum physics itself. For everyday tasks, a classical computer is still the right tool.

Click Quantum could help if the task plays to a quantum computer's strengths. Click Classical is fine if an ordinary computer handles it better.

Quantum sorter Score: 0 / 0

Simulating a new medicine

Test how a molecule behaves before a lab ever makes it.

Streaming a movie

Play a video on your laptop in HD.

Routing 500 delivery trucks

Find the routes that save the most fuel and time.

Sending an email

Deliver a message to a friend across the country.

Designing a lighter battery

Find a material that stores more energy in less weight.

Browsing social media

Scroll posts, load photos, watch clips.


Why It Matters

Why everyone is talking about quantum

If quantum computers only sped up obscure math problems, you wouldn't be reading this. The problems they target are the ones shaping the next few decades:

  • Medicine: simulating molecules could speed up the discovery of new drugs and treatments.
  • Materials: better batteries, lighter alloys, and cleaner fertilizer production all start with understanding atoms.
  • Optimization: shipping routes, power grids, and financial systems are enormous puzzles quantum methods can chip away at.
  • Security: quantum computing threatens some of today's encryption — and enables brand-new kinds of protection.

That's why governments, universities, and companies are investing billions of dollars — and why schools are starting to teach quantum literacy: the basics of how these machines think. Events like Q-Fest exist because the field needs curious students and educators exploring early. That's you, right now.

Keep it honest: quantum computers will work alongside classical ones, not replace them. Your phone isn't going anywhere — quantum tackles the problems classical computers choke on.


Your Turn

Check your understanding

Name one problem a quantum computer might help with, and one everyday task where a classical computer will always be the right tool. What makes them different?

Your answer:

Sample answer: A quantum computer could help simulate new medicines because molecules follow quantum rules. A classical computer is better for homework, games, and messaging — those are just fast bit-handling tasks that don't need quantum tricks.


Check Yourself

Quick quiz

1. What does a quantum computer use to store information?

2. Which task is the best fit for a quantum computer?

3. True or false: quantum computers will replace laptops and phones.

Keep learning about quantum

Now you know what a quantum computer is — next, meet the qubit itself. Tune a quantum dial and see how measuring a qubit turns a blend of possibilities into a single answer.

Part of the Quantum Computing tutorial series.