Skip to content

Nairobi · East Africa

Quantum Computing

What Is Quantum Computing? A Clear Guide Without the Hype

An accurate, accessible guide to qubits, superposition, entanglement, interference, decoherence and error correction, and what quantum computers can really do.

TechBytes EA Engineering Team· · 10 min read

Glowing quantum processor on a dark background

Quantum computing attracts more confident nonsense than almost any other field in technology. Phrases like "it tries every answer at once" or "a million times faster than a supercomputer" make headlines but leave engineers and decision-makers unable to judge what is real. This guide explains how quantum computers actually work, using accurate physics at a level any technical reader can follow, and sets out what the machines can and cannot do today. By the end you should be able to read a quantum computing announcement and ask the right questions about it.

Key takeaways

  • A qubit is not "0 and 1 at the same time" in any useful classical sense. It is described by complex amplitudes, and measurement returns a single classical bit with probabilities set by those amplitudes.
  • Quantum speed-ups come from interference: algorithms arrange for amplitudes of wrong answers to cancel and right answers to reinforce. Only certain problems have that structure.
  • Decoherence and gate errors are the central engineering problem. Today's devices are noisy.
  • Error correction combines many physical qubits into one more reliable logical qubit. Useful, large-scale quantum computing depends on doing this at scale.
  • For most organisations in East Africa, the immediate action is not buying quantum hardware but preparing for post-quantum cryptography and building some internal literacy.

Bits, qubits and amplitudes

A classical bit is either 0 or 1. A qubit's state is written as a combination of two basis states, |0⟩ and |1⟩:

|ψ⟩ = α|0⟩ + β|1⟩      where |α|² + |β|² = 1

Here α and β are amplitudes, which are complex numbers. When you measure the qubit, you get 0 with probability |α|² and 1 with probability |β|². After measurement, the qubit is in the state you observed; the amplitudes are gone.

Two consequences matter:

  1. You cannot read out α and β directly. A single measurement gives one bit.
  2. Because amplitudes are complex numbers, they can be positive, negative or have a phase. That is what makes interference possible, and interference is where the computational power comes from.

A common visual aid for a single qubit is the Bloch sphere: every pure state of one qubit corresponds to a point on the surface of a sphere, with |0⟩ at the north pole and |1⟩ at the south pole. Single-qubit gates are rotations of that sphere.

Gold-plated dilution refrigerator of a quantum computerQuantum processors operate near absolute zero inside cryostats like this one.

Superposition

A qubit in a state with both α and β non-zero is in superposition. The Hadamard gate (H) takes |0⟩ to an equal superposition:

H|0⟩ = (|0⟩ + |1⟩) / √2

Measure it and you get 0 or 1 with 50% probability each. On its own that is just a fancy coin toss. The popular claim that a quantum computer "explores all answers in parallel" misleads because, although n qubits can be in a superposition over 2ⁿ basis states, measurement returns only one of them. If the algorithm does nothing clever, you just get a random answer.

Entanglement

When two or more qubits are entangled, their joint state cannot be described as separate states for each qubit. The standard example is a Bell state, created with a Hadamard gate followed by a controlled-NOT (CNOT):

(|00⟩ + |11⟩) / √2

Measure either qubit and you get 0 or 1 at random, but the two results always agree. This correlation is stronger than any classical scheme can reproduce in all measurement settings, which is what experiments on Bell inequalities demonstrate.

Two clarifications prevent common errors:

  • Entanglement does not allow faster-than-light communication. Each party's individual results look random; the correlation only appears when results are compared over a classical channel.
  • Entanglement is a resource algorithms use, not a speed-up in itself.

You can verify the Bell state yourself in Python with Qiskit, IBM's open-source SDK (pip install qiskit):

from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector

qc = QuantumCircuit(2)
qc.h(0)        # put qubit 0 in superposition
qc.cx(0, 1)    # entangle qubit 1 with qubit 0

state = Statevector.from_instruction(qc)
print(state.probabilities_dict())
# {'00': 0.5, '11': 0.5}

The outcomes 01 and 10 never appear. This simulation runs on your laptop; simulating quantum circuits classically is efficient for small numbers of qubits but becomes intractable as the qubit count and entanglement grow, which is precisely why quantum hardware is interesting.

Interference: where speed-ups come from

Interference is the heart of quantum algorithms. Because amplitudes have signs and phases, two computational paths leading to the same outcome can add up (constructive interference) or cancel out (destructive interference).

A good quantum algorithm choreographs the computation so that:

  • paths to wrong answers cancel each other out, and
  • paths to the right answer reinforce each other,

so that when you measure at the end, you obtain a useful answer with high probability.

This only works when the problem has exploitable mathematical structure. Shor's algorithm uses the quantum Fourier transform to find the period of a function, which reveals the factors of a number. Grover's algorithm repeatedly amplifies the amplitude of a marked item in an unstructured search, giving a quadratic (not exponential) speed-up. For many everyday workloads, no such structure is known, and quantum computers offer no advantage.

Decoherence: why this is hard

Qubits are fragile. Any unwanted interaction with the environment (heat, stray electromagnetic fields, vibration, material defects) leaks information about the qubit's state and destroys its delicate amplitudes. This is decoherence.

Engineers describe qubit quality with a few measures:

  • T1 (relaxation time): how long before an excited qubit decays to its ground state.
  • T2 (dephasing time): how long the phase relationship between amplitudes survives.
  • Gate fidelity: how close each operation is to the ideal one. Two-qubit gates are usually the weakest link.
  • Readout fidelity: how reliably measurement reports the correct result.

A quantum computation must finish, or be protected by error correction, before errors accumulate. That is why the number of qubits on its own is a poor measure of a machine's capability. Fifty excellent qubits can outperform a thousand poor ones.

Physical approaches

Several hardware approaches are being pursued, each with different trade-offs:

ApproachBasic ideaNotable strengthsNotable challenges
Superconducting circuitsMicrowave-controlled circuits cooled to millikelvin in dilution refrigeratorsFast gates, mature fabricationWiring and cooling at scale, limited connectivity
Trapped ionsIndividual ions held by electromagnetic fields, controlled by lasersHigh fidelity, all-to-all connectivity within a trapSlower gates, scaling traps
Neutral atomsAtoms held in optical tweezersLarge arrays, flexible layoutsGate fidelity and speed still maturing
PhotonicQubits encoded in lightRoom-temperature components, networkingProbabilistic interactions, photon loss
Spin qubits in siliconElectron spins in semiconductor devicesPotential reuse of chip manufacturingUniformity and control at scale

Quantum annealers, such as those from D-Wave, are a different model again, designed for certain optimisation problems rather than general gate-based algorithms.

Error correction, physical and logical qubits

You cannot simply copy a qubit to make backups; the no-cloning theorem forbids it. Quantum error correction gets around this by spreading the information of one logical qubit across many physical qubits in an entangled code, then repeatedly measuring syndromes: checks that reveal whether an error occurred, and roughly where, without revealing the encoded data.

The best-known scheme is the surface code, which arranges qubits in a 2D grid. Its key property is a threshold: if physical error rates are below a certain level, making the code larger suppresses logical errors further. Above the threshold, adding more qubits makes things worse.

Important terms:

  • Physical qubit: the actual hardware element, with its own error rate.
  • Logical qubit: an error-corrected qubit built from many physical qubits. Depending on the code and the target error rate, one logical qubit may need from dozens to a thousand or more physical qubits.
  • Fault tolerance: the ability to run long computations reliably because errors are corrected faster than they accumulate.

In late 2024, Google reported results from its Willow chip showing logical error rates falling as the surface code grew, a demonstration of operating below threshold. Other groups, including those working with trapped ions and neutral atoms, have reported their own logical qubit demonstrations. These are significant milestones, but they are steps towards fault tolerance, not the finished article.

Running algorithms like Shor's against real-world key sizes is expected to require large numbers of high-quality logical qubits and very long circuits. That is why serious estimates for breaking RSA-2048 involve hundreds of thousands to millions of physical qubits, far beyond the machines available at the time of writing.

Close-up of a computer motherboard and chipsSecurity and performance both depend on what happens at the hardware level.

NISQ and the current state of play

The term NISQ (noisy intermediate-scale quantum) describes today's machines: tens to a few hundred or more physical qubits, without full error correction. Researchers have used them to demonstrate computations that are very hard to simulate classically, but these demonstrations have mostly been on tasks designed for the purpose, rather than commercially useful problems. Claims of practical "quantum advantage" in business applications should be read carefully, with attention to what classical method was used as the comparison.

Areas with the most credible long-term promise include:

  • Simulating molecules and materials, which are themselves quantum systems: catalysts, batteries, fertilisers and drug candidates.
  • Certain optimisation and sampling problems, though classical heuristics are strong competitors and advantage is unproven for most real cases.
  • Cryptanalysis of RSA and elliptic-curve cryptography, once large fault-tolerant machines exist. This is why post-quantum cryptography matters now.

How to read a quantum computing announcement

Use this checklist when a vendor or headline claims a breakthrough:

  • Are the qubit counts physical or logical?
  • What are the two-qubit gate fidelities and readout fidelities?
  • Was error correction used, and did logical error rates improve as the code grew?
  • Was the task useful, or designed to be hard to simulate?
  • What classical method was used for comparison, and was it state of the art?
  • Has the work been peer reviewed or independently reproduced?
  • Is a timeline a firm plan, a roadmap target or marketing?

Getting hands-on from East Africa

You do not need a lab to learn. Quantum cloud services such as the IBM Quantum Platform, Amazon Braket and Azure Quantum provide simulators and, subject to their current access terms and pricing, time on real hardware. Latency to these services is irrelevant for batch-style quantum jobs, so working from Nairobi or Kampala is no disadvantage. Open-source SDKs including Qiskit, Cirq and PennyLane run on ordinary laptops for small simulations. Free online learning material from the SDK maintainers is a solid starting point, and local university departments and developer communities are worth watching for workshops and study groups.

For a CTO, the most valuable investment today is modest: a few engineers who understand the fundamentals, a clear view of where cryptography is used in your systems, and a migration plan for post-quantum algorithms.

Common misconceptions

  • "Quantum computers try all answers at once." Superposition alone gives a random result. Interference is what makes algorithms work, and only for suitable problems.
  • "More qubits means more powerful." Quality, connectivity and error rates matter as much as count.
  • "Quantum computers will replace classical computers." They are specialised accelerators that will work alongside classical systems, which will continue to run almost all software.
  • "Entanglement enables instant communication." It does not.
  • "RSA is broken today." It is not, but data encrypted today could be decrypted later, which is why migration should begin now.

FAQ

What is a qubit in simple terms?

A qubit is a two-level quantum system whose state is described by two complex amplitudes. Measuring it gives 0 or 1 with probabilities determined by those amplitudes. Algorithms manipulate amplitudes so the desired result becomes likely.

Why do quantum computers need to be so cold?

Superconducting qubits need temperatures close to absolute zero so that thermal energy does not disturb them. Other approaches, such as trapped ions and neutral atoms, avoid dilution refrigerators but use vacuum systems and precise lasers instead.

What is the difference between a physical and a logical qubit?

A physical qubit is one hardware element. A logical qubit is an error-corrected qubit encoded across many physical qubits, and it is what large-scale algorithms ultimately require.

When will quantum computers be useful?

Some specialised scientific uses may arrive before general-purpose fault-tolerant machines. Major vendors publish roadmaps targeting fault-tolerant systems around the end of this decade, but timelines in this field have slipped before, so treat them as targets, not commitments.

How TechBytes can help

Most organisations do not need quantum hardware, but they do need a clear strategy for the cryptographic risk and a realistic view of where the technology fits. Our consultancy team runs briefing sessions for leadership and engineering teams and helps you inventory cryptography ahead of post-quantum migration. For a closer look at the security implications, read how quantum computing could change cybersecurity, and for a side-by-side comparison see quantum computers vs traditional computers.

WhatsApp