Every Qubit Gate Is a Rotation
Quantum computing is taught as alien linear algebra. On the Bloch sphere it collapses to one homely fact: a qubit is an arrow on a ball, and every operation you can do to it is a rotation of that arrow.
Quantum computing arrives wrapped in intimidating vocabulary: complex amplitudes, unitary matrices, Hilbert spaces, superposition, entanglement. The textbook hands you a matrix of complex numbers, tells you it is a "gate", and asks you to multiply. It feels like a different kind of mathematics — one that doesn't connect to anything you already know.
It isn't. For a single qubit, the whole machine collapses to one homely fact: a qubit state is an arrow pointing out from the center of a ball, and every operation you can perform on it is a rotation of that arrow. A gate is an axis and an angle. Decoherence is the arrow slowly sinking off the surface toward the center. "Measurement collapse" is the arrow snapping to a pole. None of this needs new intuition — your hands already know how to turn a ball.
The arrow on the ball
A single qubit's state is a unit vector with complex amplitudes satisfying . That is four real numbers ( and each have a real and imaginary part) tied down by one constraint, leaving three. Strip one more — and we are about to see why you can — and you have two. Two real numbers parametrize a sphere, so the qubit's state is a point on a sphere, and we draw the arrow from the center to that point.
The standard parametrization writes the two leftover numbers as a polar angle and an azimuthal angle :
The half-angle is the tell that something geometric is going on, and we will pay it off at the very end. For now read it directly: gives (the north pole), gives (the south pole), and puts you on the equator in an equal superposition whose phase sets which point on the equator. The arrow's tip in ordinary 3D space — the Bloch vector — has Cartesian coordinates you can read straight off:
That is the green-and-red labelled ball in the lab. North pole , south pole , the equator full of equal superpositions, and the arrow's latitude telling you how much versus is in the mix.
Why two real numbers capture a complex 2-vector
Four real degrees of freedom, minus one for normalization, leaves three — but the sphere only has two. Where did the third go?
It went to global phase. Multiply the whole state by and nothing measurable changes — every probability and every experimental outcome is identical for and . The overall phase is unobservable, so you are free to spend it rotating to be real and non-negative. That is exactly what equation (1) does: is real, and the only surviving phase sits on the amplitude, where it is a relative phase you actually can measure.
Global phase is the room you can't see
The third degree of freedom isn't missing — it's invisible. A qubit state is not a point in ; it's a point in with the global phase quotiented out (the mathematician's name is "complex projective line", ). Quotient out the unobservable phase and the four real numbers collapse to two, and two real numbers is precisely a sphere.
This is why "a qubit holds infinite information" is a myth worth killing early: the continuum of points on the surface looks like a lot, but you can only ever extract one bit by measuring, and the no-cloning theorem stops you copying the state to measure it twice.
So the sphere is not an approximation or a cartoon. It is the exact space of distinct single-qubit states, with the redundant phase already divided out. Every honest question about one qubit is a question about an arrow on this ball.
States are points, gates are rotations
Here is the payoff. A quantum gate is a unitary operator — a complex matrix with that preserves the length of the state vector. "Preserves length" is the same constraint a rotation obeys: it keeps the arrow on the surface of the ball. Every single-qubit unitary, stripped of its irrelevant global phase, is literally a rotation of the Bloch vector — no exceptions.
The cleanest way to write it uses the Pauli matrices , three matrices that generate rotation about the , , axes. Bundle them into a vector . Then any single-qubit gate is:
Read it as a sentence: rotates the Bloch vector by angle about the unit axis . The axis is a direction in ordinary 3D space; the angle is how far you turn. A gate is an axis and an angle. That is the entire content of single-qubit quantum computing.
A gate is an axis and an angle. The full machinery of qubit manipulation is rigid-body rotation, which your hands already understand.
The named gates are named rotations
Once you see gates as (axis, angle) pairs, the famous gates lose their mystery. They are just particularly tidy rotations.
- Pauli-X (, the quantum NOT) is a rotation about the -axis. It sends (north pole) to (south pole) and back — a flip through the equator.
- Pauli-Z () is a rotation about the -axis. It leaves the poles fixed and shoves the equator halfway around, which is why does nothing to or but flips the relative phase of a superposition. Every phase gate (, , and the general ) is a smaller rotation about this same -axis.
- Hadamard () is a rotation about the diagonal axis — the line bisecting the and directions. That single tilt is why turns a pole into an equator point: rotating by about the diagonal lands it on the point of the equator, the equal superposition .
Plugging into equation (3) makes the matrix concrete. With and :
The leftover is a global phase — invisible, the room you can't see — so and the textbook are the same physical gate. The matrix you were told to memorize and the geometric rotation are one object viewed from two sides.
Why circuits are short sequences of rotations
Any single-qubit gate, however exotic its matrix, decomposes into three rotations about two fixed axes — the Z-Y-Z decomposition: . The same fact in robotics is Euler angles; the same fact for an aircraft is yaw-pitch-roll. A quantum compiler turning your algorithm into hardware pulses is solving the identical problem an animation rig solves to orient a camera: find three turns that compose to the orientation you want.
Measurement: snapping to a pole
So far the arrow glides smoothly. Measurement is where it jumps. When you measure a qubit in the computational basis, you are asking "north pole or south pole?" — and the arrow must answer with one or the other. It snaps to a pole. The latitude it had right before the measurement sets the odds: an arrow near the north pole almost always reports ; an arrow on the equator is a coin flip.
The exact rule falls straight out of equation (1). The amplitude on is , and the probability is its square:
where is the height of the arrow above the equatorial plane. The probability of measuring is a linear function of how high the arrow points: at the north pole () it's certain, on the equator () it's , at the south pole it's . The lab prints exactly this — the P(|0⟩) readout in the corner is evaluated on the live arrow.
The half-angle is not a typo
Beginners constantly write and get wrong probabilities. The factor of is the whole game: a state at the equator (, an honest 50/50 superposition) has , not . The Bloch sphere lives in 3D space, but the state vector lives in a space where a trip around the sphere is only a trip for the state. Every angle in the state is half the angle in the picture — which is the next, and deepest, idea.
Decoherence: the arrow sinks off the surface
The Bloch sphere has an inside, and real qubits use it. A perfect, isolated qubit keeps its arrow on the surface — a pure state. A qubit coupled to a noisy environment loses information into that environment, and its arrow shrinks inward: the tip leaves the surface and drifts toward the center. A Bloch vector of length is a mixed state, a classical-probability blur over pure states; length zero (the dead center) is maximal ignorance, a 50/50 coin you've lost all phase information about.
Two timescales govern the sinking. (relaxation) is the arrow falling toward the north pole as the qubit dumps energy and relaxes to — the -component decaying. (dephasing) is the arrow's shadow on the equatorial plane shrinking as the relative phase randomizes — the and components decaying, usually faster. Build a quantum computer and these two numbers are the enemy: every gate is a race against the arrow leaving the surface.
- Pure state
- |r| = 1
- arrow on the surface, full quantum information
- Mixed state
- |r| < 1
- arrow sunk inward, information leaking to the environment
- Maximally mixed
- |r| = 0
- dead center, a classical 50/50 coin
In the lab the arrow stays pinned to the surface because the simulation is a closed, lossless precession. Picture decoherence as that same trail spiraling slowly inward instead of tracing a clean circle — the rotation continuing while the radius bleeds away.
The same rotation, in three other places
The reason all of this feels familiar is that it is genuinely the same mathematics as a spinning top, and not by analogy. A classical magnetic moment in a field — a compass needle, a gyroscope, a proton in a magnetic resonance imaging (MRI) scanner — precesses around the field axis at the Larmor frequency. The qubit's Hamiltonian in a field is:
and that is the exact generator from equation (3). Evolving under for a time applies — a rotation by angle about . The precession in the lab is Larmor precession; the coupling slider is . Nuclear magnetic resonance (NMR) spectroscopists were rotating Bloch vectors with radio pulses for decades before anyone called it a gate. An MRI machine drives an ensemble of nuclear spins — spin- systems, the same object as a qubit — with and pulses in the rotating frame.
The belt trick: why 360° gives a minus sign
Here is the half-angle's secret. Rotations of the qubit state live in the group ; rotations of the visible Bloch arrow live in . The map between them is two-to-one — is the double cover of . Turn the Bloch arrow a full and it returns to where it started, but the state vector has only gone halfway: it picks up a factor of . You must rotate the picture by to bring the state home.
This isn't quantum mysticism. Hold a belt by both ends, twist one end a full , and you cannot flatten the twist out without rotating again to — at which point it slides free. A coffee mug carried through two full turns of your wrist comes back untwisted; one full turn leaves your arm wrapped. The qubit's at and your tangled elbow are the same topological fact: wraps twice. The half-angle in is the bookkeeping that tracks it.
That double cover is why every angle in the state is half the angle in the picture — equation (1)'s , equation (3)'s , and the of measurement are all the same fact wearing different clothes. Learn it once on the ball and it pays out across the whole subject.
The arrow, the axis, the angle. A gate is a turn, decoherence is a slow sinking, measurement is a snap to a pole, and a trip is the trip that brings you home. The linear algebra is still there when you need to multiply matrices on hardware — but the meaning lives on the ball, and the ball is something you can hold.
Reading further
- Nielsen & Chuang, Quantum Computation and Quantum Information — chapters 1–2 build the Bloch sphere and single-qubit gates from scratch; the canonical anchor for everything above and the exercise on the Z-Y-Z decomposition is the best way to internalize "gates are rotations".
- Feynman, The Feynman Lectures on Physics, Vol. III — the two-state-system chapters derive precession from the Hamiltonian first, physics before formalism, which is exactly the order this post argues for.
- Slichter, Principles of Magnetic Resonance — the NMR text that treats Bloch-vector rotation as the everyday tool it is; read it to see that quantum gates are decades-old radio engineering.
- The orientation entanglement / belt trick, on the SU(2)→SO(3) double cover — a clear visual teaching case for why gives a minus sign and returns you home.
Try it in the lab
All effects →Bloch Sphere
physicsQubit state precessing on the Bloch sphere under a magnetic Hamiltonian.
quantumqmQuantum Tunneling
physicsGaussian wave packet tunnelling through a rectangular barrier.
quantumtunnelingBand Structure
physicsNearly-free electron E-k diagram with Brillouin zone gaps.
condensed mattersolid state
More from the blog
Band Gaps Are Just Bragg Reflection
The forbidden energy gap that makes a semiconductor a semiconductor is not a quantum mystery. It is the exact same wave interference that makes an X-ray diffract off a crystal or a soap film show colour.
The Lorenz Attractor and the Limits of Prediction
Determinism does not imply predictability. Lorenz's three-equation toy weather model is fully deterministic yet unknowable past a horizon you can compute — a geometric fact, not an engineering failure.
Normal Modes: Why Coupled Things Beat, and When They Become Chaos
Two pendulums linked by a spring look hopelessly complicated. But there is a change of coordinates in which the same system is just two independent pendulums that never talk to each other. The mess is an illusion of the basis you chose.