Essential mathematics — complex numbers
Two real numbers, one amplitude, and a useful way to describe phase.
- Add and multiply simple complex numbers.
- Calculate squared magnitude and distinguish it from an amplitude.
Meet the imaginary unit
Section titled “Meet the imaginary unit”The number satisfies . A complex number has a real part and an imaginary part . You can picture it as the point on a plane.
Addition works component by component:
Multiplication uses ordinary expansion and :
Squared magnitude becomes probability
Section titled “Squared magnitude becomes probability”The conjugate of is . The squared magnitude is
If an amplitude is , then . It is the squared magnitude, not the real part and not the amplitude itself, that becomes a basis-measurement probability.
Phase is direction
Section titled “Phase is direction”A unit-magnitude complex number can be written
Multiplication by this number rotates an amplitude in the complex plane. For example, multiplying by rotates by radians, or 90 degrees. Its magnitude stays one.
In a quantum state, relative phase between amplitudes affects interference. Multiplying the whole state by the same unit phase does not change physical predictions.
Work it through
Section titled “Work it through”For , the probabilities are and . They sum to one. Replacing with keeps those Z probabilities but changes the relative phase.
Try it: calculate , then divide by 5. The results are 25 and a unit-magnitude complex number, respectively.
Reference: IBM Quantum — Single systems.
Ready for the next step?
Your progress stays in this browser.