Quantum

Qubit basics

By CourseTron Team ·  7 min read ·  Updated Oct 2026 💬 𝕏 in f
Table of Contents
    🖨  Download / Print this guide (PDF)

    In short: A qubit is the basic unit of quantum information. Unlike a classical bit that is pinned to 0 or 1, a qubit can hold a controlled blend of both at once through superposition, is drawn as a point on the Bloch sphere, and collapses to a single 0 or 1 only when you measure it.

    What is a qubit?

    A qubit (short for "quantum bit") is the smallest carrier of information in a quantum computer, the quantum counterpart of the classical bit. A classical bit is a switch: it is either 0 or 1, and nothing in between. A qubit is governed by quantum mechanics, so before you look at it, it can occupy a weighted combination of 0 and 1 simultaneously. That combination is called a superposition, and it is the single property that gives quantum machines their distinctive computational reach.

    Physically a qubit is any two-level quantum system you can isolate and control: the spin of an electron, the polarization of a photon, two energy levels of a trapped ion, or the quantized states of a superconducting circuit. Whatever the hardware, the mathematics is identical, which is why it is useful to reason about the abstract qubit rather than the device underneath.

    Key fact: One qubit stores a superposition of 2 states. Add qubits and the states multiply: n entangled qubits span 2n amplitudes at once. Just 50 qubits already describe over a quadrillion complex numbers no classical register can hold.

    Superposition and the state of a qubit

    We write a qubit's state in Dirac notation as a combination of the two basis states, written |0⟩ and |1⟩:

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

    Here α and β are complex amplitudes, not simple probabilities. Their squared magnitudes must sum to one: |α|² + |β|² = 1. When you measure, |α|² is the probability of reading 0 and |β|² the probability of reading 1. The amplitudes also carry a phase (an angle), and that phase, invisible to a single measurement, is what quantum algorithms manipulate through interference to steer probability toward the right answer.

    A few canonical states make this concrete:

    • |0⟩ and |1⟩ are the two "poles" — definite classical values.
    • (|0⟩+|1⟩)/√2, often called |+⟩, is an equal superposition: a coin that is 50/50 until observed.
    • (|0⟩−|1⟩)/√2, called |−⟩, has the same 50/50 odds but the opposite phase — proof that two qubits with identical measurement odds can still be physically different.
    Canonical states and their measurement odds|0⟩α=1, β=0P(0) = 100%|1⟩α=0, β=1P(1) = 100%|+⟩α=+1/√2, β=+1/√2P(0) = 50%P(1) = 50%|−⟩α=+1/√2, β=−1/√2P(0) = 50%P(1) = 50%P(0) = |α|²P(1) = |β|²CourseTron · coursetron.com
    Measurement odds for the canonical states. |+⟩ and |−⟩ give identical 50/50 odds and differ only in the sign (phase) of β.

    The Bloch sphere: picturing a qubit

    Because a single qubit has two real degrees of freedom after normalization and global phase are removed, its state can be drawn as a point on the surface of a unit sphere — the Bloch sphere. The north pole is |0⟩, the south pole is |1⟩, and every other point is a valid superposition. The polar angle θ sets the measurement odds; the azimuthal angle φ sets the phase.

    The Bloch sphere |0⟩ (north) |1⟩ (south) |+⟩ |−⟩ |ψ⟩ θ φ θ sets themeasurement odds φ sets thephaseCourseTron · coursetron.com
    The Bloch sphere. |0⟩ and |1⟩ sit at the poles; the state vector |ψ⟩ points anywhere on the surface, with θ fixing measurement odds and φ fixing phase.

    Quantum gates are rotations of this vector. An X gate flips the vector between poles (the quantum NOT); a Hadamard gate moves a pole to the equator, creating an equal superposition; a Z gate spins the vector around the vertical axis, changing only phase. Chaining such rotations is how a quantum program is built.

    Measurement: where the superposition ends

    A qubit only shows its quantum richness while it is left alone. The instant you measure it in the computational basis, the superposition collapses to a single classical outcome — 0 or 1 — with probabilities |α|² and |β|². The delicate amplitudes and phase are gone; repeat the preparation and measure again and you may get the other result. This is why quantum algorithms run many times and build statistics, and why you cannot simply "read out" all the parallel information a superposition seems to contain.

    Measurement collapses the qubit qubit |ψ⟩ α|0⟩ + β|1⟩ MEASURE collapse 0 or 1 P(0) = |α|² P(1) = |β|²CourseTron · coursetron.com
    Measurement in action: a qubit carrying both amplitudes enters the detector and leaves as one definite classical bit. The phase and the unchosen amplitude are lost in the collapse.

    Qubit vs classical bit

    The contrast is sharpest in a short comparison:

    • States: a bit is 0 or 1; a qubit is any superposition α|0⟩+β|1⟩ until measured.
    • Copying: a bit is freely copyable; an unknown qubit cannot be cloned (the no-cloning theorem).
    • Scaling: n bits represent one of 2n values; n qubits hold amplitudes for all 2n at once.
    • Reading: a bit is read non-destructively; measuring a qubit destroys its superposition.
    • Correlations: qubits can be entangled, sharing correlations with no classical equivalent.

    A caution worth keeping: a quantum computer is not simply a parallel classical machine that "tries all answers." You only ever read one measurement outcome. The craft of quantum algorithm design is arranging interference so that wrong answers cancel and the right one is overwhelmingly likely to appear when you finally measure.

    Learn this hands-on

    Real projects and industry tool flows, with certification.

    Explore CourseTron Courses →

    qubit — FAQ

    Is a qubit just a bit that is sometimes 0 and sometimes 1?

    No. A qubit holds both amplitudes at the same time with a definite phase relationship between them. A random bit that is "sometimes 0, sometimes 1" has no phase and cannot produce interference, which is exactly what makes quantum algorithms work.

    How many classical bits does one qubit equal?

    You cannot read more than one bit out of one qubit, so for pure storage they are comparable. The advantage is in scaling and entanglement: the description of n qubits needs 2n complex numbers, which is why simulating even a few dozen qubits overwhelms classical computers.

    Why does measuring a qubit change it?

    Measurement forces the quantum system to "choose" a basis outcome and projects the state onto that outcome. The amplitude for the value you did not get drops to zero, so the superposition is irreversibly lost — this is the collapse shown in the diagram above.

    What physical things can be a qubit?

    Any controllable two-level quantum system: superconducting circuits, trapped ions, neutral atoms, photon polarization, electron or nuclear spins, and more. The abstract qubit model applies to all of them regardless of hardware.

    Related: Quantum gates · Glossary · all courses.

    Advertisement