Attic › Computer science › Quantum computing
Quantum computers use the laws of subatomic physics to process many possibilities at the same time
A quantum computer is a machine that uses the properties of quantum mechanics—the physics of atoms and subatomic particles—to do calculations. Unlike standard computers, which test one possible solution after another, a quantum computer can operate on many possibilities at the same time. This makes it possible to solve specific math and science problems that would take a conventional computer an estimated 10,000 years, as Google claimed in 2019.
A standard computer stores and processes information as bits. A bit is like a tiny switch that is always in one of two states: 0 or 1. Every calculation is a sequence of changes to these 0s and 1s.
A quantum computer uses a qubit (quantum bit) as its basic unit of information. Engineers make qubits from very small physical systems, such as a trapped ion or a tiny superconducting circuit. At this scale, matter behaves differently than it does in everyday life.
Instead of being only 0 or 1, a qubit can exist in a quantum superposition. Superposition is a linear combination of both the 0 state and the 1 state at the same time. You can represent the state of a qubit with this formula:
ψ = α|0⟩ + β|1⟩
Here, |0⟩ and |1⟩ are the two basic states, and α (alpha) and β (beta) are numbers that describe the probability of each state.
While a qubit is in superposition, the computer can do math on both the 0 and 1 parts in a single step. However, when the computer measures the qubit at the end of a calculation, the superposition stops. The qubit always gives a definite result of either 0 or 1, based on the probabilities α and β.
Fact-checked against Quantum computing on Wikipedia
Part of the Computer science syllabus: Artificial Intelligence and Modern Computing
See it on the timeline of Computer science