Attic › Computer science › Quantum computing

Environmental noise causes errors in qubits before they can finish a calculation

About Quantum decoherence

To run a quantum algorithm, qubits must remain in their delicate superposition and entangled states until the calculation is complete. However, any interaction with the outside environment destroys these states, with decoherence times typically between nanoseconds and seconds. This loss of quantum behavior is the main engineering challenge in building large quantum computers, and it limits them to specific tasks rather than everyday computing.

When heat, stray electromagnetic fields, or vibrations from the surrounding world hit a qubit, the environment effectively measures it. This causes quantum decoherence: the qubit's superposition breaks down, its probability amplitudes shift randomly, and its quantum information is lost as noise.

To slow decoherence down, engineers must keep qubits in an almost completely isolated system. Many quantum processors operate inside specialized refrigerators at temperatures near absolute zero (some require 20 millikelvin), and inside vacuum chambers shielded from magnetic fields.

Even with extreme isolation, quantum gates and qubits are not perfect. In current machines, about 1 in every 1,000 gate operations causes an error. To run long algorithms, engineers use quantum error correction. This method spreads one piece of quantum information across many physical qubits to form a single, stable "logical qubit" that can detect and fix errors without measuring the quantum state directly. Depending on the hardware, one error-corrected logical qubit can require hundreds or thousands of physical qubits.

Because quantum computers are difficult to build and rely on wave interference, they will not replace classical computers for daily tasks like browsing the web or running video games. Instead, they are built to solve specific problems whose mathematical structure matches quantum behavior:

1. Simulating molecules and materials: Because atoms and electrons obey quantum mechanics, a quantum computer can naturally model chemical reactions to help design new medicines, fertilizers, or battery materials.

2. Breaking and upgrading encryption: In 1994, mathematician Peter Shor showed that a quantum computer running Shor's algorithm could quickly find the prime factors of huge numbers. A large enough quantum computer could break the RSA cryptosystem and other security methods that protect internet traffic today, which has led computer scientists to develop post-quantum cryptography.

3. Searching and optimization: Algorithms such as Grover's algorithm can speed up the search through massive, unstructured lists of data or find better solutions to complex scheduling and logistics problems.

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