Quantum Computing 101 — Part 1 of 5

Inside a Qubit: State Vectors, Amplitudes, and the Math Beneath Quantum Computing

A Bloch sphere showing a state vector psi at angle theta from the north pole and phi around the equator, with amplitude-to-probability formulas beside it

Most explanations of quantum computing start with a slogan: a qubit is 0 and 1 at the same time. It's a useful hook, and it's also the sentence that quietly stops people from understanding anything that follows. A qubit is not two things at once. It's a single, precise mathematical object — and everything else in this series (gates, circuits, entanglement) is just an operation performed on that object. If you get the object right, the rest stops feeling like magic.

This post is that object.

The State Vector

A classical bit is either 0 or 1 — one number, no ambiguity. A qubit's state is a vector in a two-dimensional complex vector space, written as a combination of two basis states:

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

|0⟩ and |1⟩ (read "ket 0" and "ket 1") are the computational basis states — the quantum analogues of classical 0 and 1. α (alpha) and β (beta) are probability amplitudes. Written as a column vector, the same state looks like this:

        [ α ]
|ψ⟩ =  [ β ]

That's the whole object. No mysticism yet — just two numbers describing one qubit. The interesting part is what kind of numbers α and β are, and what you're allowed to do with them.

Amplitudes Are Not Probabilities

This is the single most important distinction in the entire subject, and the one most casual explanations skip. α and β are complex numbers, not probabilities. You never observe them directly. What you observe — when you measure the qubit — is governed by the Born rule:

P(0) = |α|²
P(1) = |β|²

Because those are the only two possible outcomes, the amplitudes must satisfy a normalization constraint:

|α|² + |β|² = 1

Squaring is not a rounding step or a notational quirk — it's where the "quantumness" actually lives. Amplitudes can be negative, and more generally complex (carrying a phase, not just a sign). Two amplitudes can partially or fully cancel each other out before you ever measure anything. Probabilities can't do that. This single fact — that the underlying quantities can interfere before they turn into probabilities — is the entire resource that quantum algorithms exploit. More on that in a moment.

The Bloch Sphere: Why a Qubit Is a Point on a Ball

Here's a derivation that most 101 explanations state as a given fact without showing why it's true, and it's worth the sixty seconds because the "why" is genuinely elegant.

Start with the raw degrees of freedom: α and β are each complex, so that's 4 real numbers. Normalization (|α|² + |β|² = 1) is one constraint, so we're down to 3. Then there's a subtlety: multiplying the entire state vector by an overall phase factor e^(iγ) produces a different pair of numbers that is, in every experimentally observable way, the identical physical state. That global phase is unobservable, so it removes one more degree of freedom.

4 real numbers, minus 1 for normalization, minus 1 for unobservable global phase, leaves exactly 2. Two real numbers, bounded, is a description of a point on the surface of a sphere. That sphere is the Bloch sphere, and the two numbers are conventionally called θ (theta, the polar angle from the north pole) and φ (phi, the azimuthal angle around the equator):

|ψ⟩ = cos(θ/2)|0⟩ + e^(iφ) sin(θ/2)|1⟩

The north pole (θ=0) is |0⟩. The south pole (θ=π) is |1⟩. Every other point on the sphere's surface is some superposition of the two, with φ encoding the relative phase between them. Every single-qubit gate you'll meet in this series — X, Y, Z, and Hadamard — is nothing more than a rotation of this point around some axis of this sphere. That reframing is worth holding onto: quantum gates are rotations, not lookup tables.

A Worked Example: Equal Superposition

Let α = β = 1/√2. Check normalization first:

|α|² + |β|² = (1/√2)² + (1/√2)² = 1/2 + 1/2 = 1  ✓

Measuring this qubit gives 0 with probability 1/2 and 1 with probability 1/2 — a perfect coin flip. But it is critically not a classical coin flip. A classical coin that hasn't landed yet has a definite (if unknown) outcome; a probability distribution is our ignorance about a fact that already exists. This qubit has no definite value at all until measured — the 50/50 split is a fact about the physics, not about our information. That distinction is the entire reason quantum computers aren't just faster classical dice.

Interference: The Actual Resource

Because amplitudes are signed (and generally complex), two computational paths that arrive at the same outcome can add constructively (amplitudes reinforce, that outcome becomes more likely) or destructively (amplitudes cancel, that outcome becomes impossible). A well-designed quantum algorithm is, almost without exception, an elaborate machine for arranging destructive interference on the wrong answers and constructive interference on the right one — so that when you finally measure, the probability mass has been steered toward the answer you want.

This is the actual mechanism behind the speedups in Shor's algorithm and Grover's algorithm — not "trying every answer at once," which is a common but misleading shorthand. It's also the reason the quantum threat to public-key cryptography is a mathematical statement about interference patterns in a quantum Fourier transform, not about brute-force parallelism.

Classical vs. Quantum, Side by Side

  • Classical: A system has a definite state at all times. Probabilities describe our uncertainty about it. Outcomes never cancel each other out.
  • Quantum: A system is described by a state vector of complex amplitudes. Probabilities emerge only at measurement, via the Born rule. Amplitudes can constructively or destructively interfere beforehand.

Key Takeaways

  • A qubit's state is a vector |ψ⟩ = α|0⟩ + β|1⟩, where α and β are complex probability amplitudes.
  • Probabilities come from squaring amplitude magnitudes: P(0)=|α|², P(1)=|β|², with |α|²+|β|²=1.
  • Removing the normalization constraint and the unobservable global phase leaves exactly two real degrees of freedom — which is why every qubit state is a point on the Bloch sphere.
  • Interference between amplitudes, not brute-force parallelism, is the resource quantum algorithms actually spend.

With the object itself defined, the next question is: what operations are we allowed to perform on it? That's the Hadamard gate — the single instruction that takes a qubit off the poles of the sphere and into superposition.

← Back to all posts