Shreeram BhattaraiShreeram Bhattarai
HomeResearchBlogPublicationLearningNewsMy Journey
shree

Day 1 · Complex numbers

Why quantum amplitudes are complex: history, conjugate and modulus, Euler's formula derived, multiplication as rotation, and five worked exercises.

November 21, 2026

Every prediction quantum mechanics makes ends as a probability. One step before that, it is a complex number — an amplitude. Day 1 of 30 builds them from scratch: where they came from, how to compute with them, why Euler's formula turns them into rotations, and why nature seems to insist on them.

1. A number nobody wanted

Complex numbers were not invented to describe anything. They were forced on mathematicians solving equations.

  • 1545 — Cardano publishes the cubic formula. For some cubics with three perfectly real roots, the formula passes through square roots of negative numbers.
  • 1572 — Bombelli simply computes with these "impossible" quantities and watches them cancel.
  • 1748 — Euler finds eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\thetaeiθ=cosθ+isinθ (and later gives us the symbol iii).
  • c. 1800 — Wessel, Argand, Gauss draw complex numbers as points in a plane.
  • 1926 — Schrödinger writes iℏ ∂tψ=H^ψi\hbar\,\partial_t\psi = \hat H\psiiℏ∂t​ψ=H^ψ: the iii is part of the law of motion.

Bombelli's trick, redone

Take x3=15x+4x^3 = 15x + 4x3=15x+4. Clearly x=4x = 4x=4 works: 64=60+464 = 60 + 464=60+4. Cardano's formula gives

x=2+−1213+2−−1213.x = \sqrt[3]{2+\sqrt{-121}} + \sqrt[3]{2-\sqrt{-121}}.x=32+−121​​+32−−121​​.

Write −121=11i\sqrt{-121} = 11i−121​=11i and notice (2+i)3=8+12i−6−i=2+11i(2+i)^3 = 8 + 12i - 6 - i = 2 + 11i(2+i)3=8+12i−6−i=2+11i. So the cube roots are 2±i2 \pm i2±i and

x=(2+i)+(2−i)=4.x = (2+i) + (2-i) = 4.x=(2+i)+(2−i)=4.

A real answer, reached only by walking through the imaginary — imaginary parts that cancel. Keep this picture: it is exactly what quantum interference does.

2. Definition and the complex plane

A complex number is a pair of real numbers with one extra rule:

z=a+ib,a,b∈R,i2=−1.z = a + ib,\qquad a,b\in\mathbb R,\qquad i^2 = -1.z=a+ib,a,b∈R,i2=−1.

a=Re⁡za = \operatorname{Re} za=Rez is the real part and b=Im⁡zb = \operatorname{Im} zb=Imz the imaginary part (itself a real number). Plot aaa horizontally and bbb vertically and every complex number is a point — or an arrow — in the complex plane.

Addition is arrow addition: (3+i)+(1+2i)=4+3i(3+i) + (1+2i) = 4 + 3i(3+i)+(1+2i)=4+3i. Multiplication is the distributive law plus i2=−1i^2=-1i2=−1:

(1+2i)(3−i)=3−i+6i−2i2=5+5i.(1+2i)(3-i) = 3 - i + 6i - 2i^2 = 5 + 5i.(1+2i)(3−i)=3−i+6i−2i2=5+5i.

3. Conjugate and modulus

zˉ=a−ib(mirror in the real axis),∣z∣=a2+b2(length).\bar z = a - ib \quad(\text{mirror in the real axis}),\qquad |z| = \sqrt{a^2+b^2}\quad(\text{length}).zˉ=a−ib(mirror in the real axis),∣z∣=a2+b2​(length).

The identity used every day this month:

zzˉ=(a+ib)(a−ib)=a2−iab+iab−i2b2=a2+b2=∣z∣2 ≥0.z\bar z = (a+ib)(a-ib) = a^2 - iab + iab - i^2 b^2 = a^2 + b^2 = |z|^2 \ \ge 0.zzˉ=(a+ib)(a−ib)=a2−iab+iab−i2b2=a2+b2=∣z∣2 ≥0.

In quantum mechanics this is exactly how amplitudes become probabilities — the Born rule (Day 8): P=∣ψ∣2=ψ ψ∗P = |\psi|^2 = \psi\,\psi^*P=∣ψ∣2=ψψ∗.

4. Polar form and Euler's formula

Describe zzz by its length r=∣z∣r = |z|r=∣z∣ and its angle θ\thetaθ (the phase or argument): a=rcos⁡θa = r\cos\thetaa=rcosθ, b=rsin⁡θb = r\sin\thetab=rsinθ, so

z=r(cos⁡θ+isin⁡θ),r=a2+b2,θ=atan2⁡(b,a).z = r(\cos\theta + i\sin\theta),\qquad r = \sqrt{a^2+b^2},\quad \theta = \operatorname{atan2}(b,a).z=r(cosθ+isinθ),r=a2+b2​,θ=atan2(b,a).

Derivation of Euler's formula

Put x=iθx = i\thetax=iθ into the power series ex=∑n≥0xn/n!e^x = \sum_{n\ge 0} x^n/n!ex=∑n≥0​xn/n!. The powers of iii cycle 1,i,−1,−i,1,…1, i, -1, -i, 1, \dots1,i,−1,−i,1,…, so the series splits into real and imaginary parts:

eiθ=(1−θ22!+θ44!−⋯)+i(θ−θ33!+θ55!−⋯)=cos⁡θ+isin⁡θ.e^{i\theta} = \Big(1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \cdots\Big) + i\Big(\theta - \frac{\theta^3}{3!} + \frac{\theta^5}{5!} - \cdots\Big) = \cos\theta + i\sin\theta.eiθ=(1−2!θ2​+4!θ4​−⋯)+i(θ−3!θ3​+5!θ5​−⋯)=cosθ+isinθ.

Those are exactly the Taylor series of cosine and sine. Setting θ=π\theta=\piθ=π gives Euler's identity eiπ+1=0e^{i\pi} + 1 = 0eiπ+1=0. Every complex number is therefore z=r eiθz = r\,e^{i\theta}z=reiθ: a length and a phase.

5. Multiplication is rotation

z1z2=r1eiθ1 r2eiθ2=r1r2 ei(θ1+θ2).z_1 z_2 = r_1 e^{i\theta_1}\, r_2 e^{i\theta_2} = r_1 r_2\, e^{i(\theta_1+\theta_2)}.z1​z2​=r1​eiθ1​r2​eiθ2​=r1​r2​ei(θ1​+θ2​).

Lengths multiply, angles add. Multiplying by i=eiπ/2i = e^{i\pi/2}i=eiπ/2 rotates by 90∘90^\circ90∘; doing it twice turns 180∘180^\circ180∘ — that is the geometric meaning of i2=−1i^2 = -1i2=−1. Multiplying by a pure phase eiφe^{i\varphi}eiφ rotates without stretching: ∣eiφz∣=∣z∣|e^{i\varphi}z| = |z|∣eiφz∣=∣z∣.

6. Why quantum mechanics needs complex numbers

Interference. When a particle can reach a point along two paths with amplitudes aaa and bbb, amplitudes add before squaring:

∣a+b∣2=∣a∣2+∣b∣2+2∣a∣∣b∣cos⁡(φa−φb).|a+b|^2 = |a|^2 + |b|^2 + 2|a||b|\cos(\varphi_a - \varphi_b).∣a+b∣2=∣a∣2+∣b∣2+2∣a∣∣b∣cos(φa​−φb​).

The last term — set by the relative phase — lets possibilities reinforce or cancel. Probabilities alone can only add.

Evolution is rotation. ∣ψ(t)⟩=e−iHt/ℏ∣ψ(0)⟩|\psi(t)\rangle = e^{-iHt/\hbar}|\psi(0)\rangle∣ψ(t)⟩=e−iHt/ℏ∣ψ(0)⟩ — the iii makes time evolution unitary, so total probability stays 1.

Three directions need iii. A spin-½ can point along xxx, yyy or zzz. With ∣+x⟩=(∣0⟩+∣1⟩)/2|{+x}\rangle = (|0\rangle+|1\rangle)/\sqrt2∣+x⟩=(∣0⟩+∣1⟩)/2​, the yyy-direction needs ∣+y⟩=(∣0⟩+i∣1⟩)/2|{+y}\rangle = (|0\rangle + i|1\rangle)/\sqrt2∣+y⟩=(∣0⟩+i∣1⟩)/2​. Real amplitudes give only a circle of states, not a sphere.

It's experimental. Renou et al. (Nature 600, 625, 2021) showed that real-number quantum theory predicts different statistics than complex quantum theory in a network Bell scenario (assuming independent sources and the standard tensor-product rule); photonic and superconducting experiments in 2022 (Li et al.; Chen et al., PRL 128) sided with the complex theory.

7. Exercises — worked

  1. Conjugate of 3+4i3+4i3+4i: 3+4i‾=3−4i\overline{3+4i} = 3-4i3+4i​=3−4i (reflection across the real axis).
  2. Modulus and phase: ∣3+4i∣=9+16=5|3+4i| = \sqrt{9+16} = 5∣3+4i∣=9+16​=5; θ=arctan⁡43≈0.927 rad≈53.1∘\theta = \arctan\frac43 \approx 0.927\ \text{rad} \approx 53.1^\circθ=arctan34​≈0.927 rad≈53.1∘ (first quadrant, no correction). So 3+4i=5e0.927i3+4i = 5e^{0.927i}3+4i=5e0.927i.
  3. (1+2i)(3−i)(1+2i)(3-i)(1+2i)(3−i) two ways: Cartesian gives 5+5i5+5i5+5i. Polar: ∣1+2i∣=5|1+2i| = \sqrt5∣1+2i∣=5​ at 63.43∘63.43^\circ63.43∘, ∣3−i∣=10|3-i| = \sqrt{10}∣3−i∣=10​ at −18.43∘-18.43^\circ−18.43∘; product 525\sqrt252​ at 45∘45^\circ45∘, i.e. 52 (12+i2)=5+5i5\sqrt2\,(\tfrac{1}{\sqrt2} + \tfrac{i}{\sqrt2}) = 5+5i52​(2​1​+2​i​)=5+5i. ✓
  4. z=1+iz = 1+iz=1+i, iziziz, zˉ\bar zzˉ: iz=i+i2=−1+iiz = i + i^2 = -1 + iiz=i+i2=−1+i — the same arrow rotated 90∘90^\circ90∘; zˉ=1−i\bar z = 1-izˉ=1−i is its mirror image.
  5. ∣eiθ∣=1|e^{i\theta}| = 1∣eiθ∣=1: ∣eiθ∣2=eiθe−iθ=e0=1|e^{i\theta}|^2 = e^{i\theta}e^{-i\theta} = e^0 = 1∣eiθ∣2=eiθe−iθ=e0=1, or directly cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1cos2θ+sin2θ=1.

How to attack these: pick the form (Cartesian to add, polar to multiply), draw the picture, and check one answer two ways.

8. My notes

What I understood today: …

Where I got stuck: …

Why quantum mechanics needs complex numbers, in my own words: …

Code check

import numpy as np
z = 3 + 4j
print(z.conjugate(), abs(z), np.angle(z))            # (3-4j) 5.0 0.927…
t = np.random.uniform(-10, 10, 100)
assert np.allclose(np.exp(1j*t), np.cos(t) + 1j*np.sin(t))   # Euler's formula

Reading: Nielsen & Chuang §2.1 (notation). Tomorrow — Day 2: vectors and vector spaces.