Foundations: What It Is, and What It Is Not
Complex numbers as rotation and phase
Magnitude, angle, and that multiplying rotates
The math track on this site never covered complex numbers, for a simple reason: nothing there needed them. Quantum computing does, but only as geometry. A quantum gate turns out to be a rotation, and rotating arrows on a plane is exactly what complex numbers are built to do. You need just three facts, and this lesson is the only place they are taught.
Nothing imaginary about it
A complex number is a point
Write a complex number as and read it as the point : go to the right along the real axis and up along the imaginary axis. Two numbers describe that point just as well, and they are the two that matter for us. Its is its distance from the origin, and its (or phase) is the angle it makes with the rightward axis. Distance and direction - that is the whole description:
There is a famous shorthand for the part in parentheses, and we will just state it - packs the whole "point at angle on the unit circle" into one symbol:
You do not need to derive Euler's formula or even fully trust it yet. Read as a name for "the point on the unit circle at angle ." Because it sits on the unit circle, its magnitude is always exactly one: .
The one rule that matters: multiplying rotates
Here is the single fact everything downstream rests on. When you multiply two complex numbers, their magnitudes multiply and their angles add:
Drag the two points below and watch it happen. The product always lands at the summed angle, with the multiplied length. Then turn on phase only, which pins both points to the unit circle so every magnitude is one.
z1 · z2 magnitude = 1.00 × 1.00 = 1.00
z1 · z2 angle = 30° + 60° = 90°
With both magnitudes equal to one, the lengths multiply to and nothing about the size changes - multiplying only turns the arrow. That is the punchline: multiplying by is a pure rotation by , never a stretch. Physicists call that angle the phase, and turning it is all a phase does.
Why a qubit cares
import numpy as np
z1 = 1.0 * np.exp(1j * np.deg2rad(30)) # length 1, angle 30 deg
z2 = 1.0 * np.exp(1j * np.deg2rad(60)) # length 1, angle 60 deg
prod = z1 * z2
print(round(abs(prod), 3)) # 1.0 -> lengths multiplied: 1 * 1
print(round(np.rad2deg(np.angle(prod)))) # 90 -> angles added: 30 + 60
# multiplying by a unit-length e^{i theta} only rotates, never rescalesLock it in
- A complex number is just a point on a plane: its magnitude is the distance from the origin, its argument (phase) is the angle. Nothing is imaginary about a point.
- Polar form writes it as , where is the unit-circle point at angle theta and has magnitude 1.
- Multiplying two complex numbers multiplies their magnitudes and adds their angles.
- Multiplying by is a pure rotation by theta, which is exactly why quantum gates are rotations and phases drive interference.
Check yourself
What does multiplying a complex number by e^{i theta} do to it, geometrically?
You multiply z1 (angle 40 degrees) by z2 (angle 25 degrees). What is the angle of the product?
Recall: the polar multiplication rule, and what e^{i theta} does geometrically.
One rule for products, one picture for phase. Try to state it, then check.
Match each symbol to what it means on the plane.
the distance from the origin to the point
the angle the point makes with the real axis
a pure rotation: the unit-circle point at angle theta
magnitudes multiply and angles add
Primary source
3Blue1Brown - Complex numbersFor the visual intuition behind every claim here - points on a plane, multiplication as rotation, and where Euler's formula comes from - watch Grant Sanderson build it from the ground up. It is the fastest way to make feel obvious rather than mystical.
Sources