
One Word, Many Meanings: Understanding Rotation in Geometry, Complex Numbers and Quantum Computing#
Part 31 of the Learning Quantum Physics series.
The word rotation names several operations. A turn of a real arrow, multiplication by a complex number, and a quantum gate can share a matrix and still move different objects.
Seeing Three Dimensions draws the axes and the sphere. How Many Numbers Does a Qubit Need? counts the real numbers in one qubit. This article asks which space each rotation lives in.
1. What exactly are we rotating?#
We rotate wheels, vectors, coordinate systems, complex numbers, matrices and quantum states. Are these fundamentally the same operation?
Consider two matrices:
\[ A=iI=\begin{pmatrix}i&0\\0&i\end{pmatrix},\qquad R=\begin{pmatrix}0&-1\\1&0\end{pmatrix} \]Both satisfy $A^4=R^4=I$. Both are associated with 90-degree rotations. Yet they produce different results when applied to the same vector. Why? To answer this, we must distinguish mathematical objects, their representations and the spaces they inhabit.
2. Different ways of representing numbers and geometry#
Consider the point (4,3). Its distance from the origin is 5 and its angle from the positive X-axis is approximately 36.87 degrees.
| Representation | General form | Example or purpose |
|---|---|---|
| Cartesian | $(x,y)$ | (4,3): two signed coordinates |
| Polar | $(r,\theta)$ | (5,36.87°): distance and direction |
| Complex rectangular | $x+iy$ | $4+3i$ |
| Complex trigonometric | $r(\cos\theta+i\sin\theta)$ | Magnitude and phase |
| Complex exponential | $re^{i\theta}$ | $5e^{0.643501i}$ approximately |
| Cylindrical | $(r,\theta,z)$ | Radial distance, azimuth, height |
| Spherical | $(r,\theta,\phi)$ | Radius and two angles |
| Homogeneous | $(x,y,w)$ | Projective geometry; for nonzero w, point (x/w,y/w) |
| Quaternion | $a+bi+cj+dk$ | Four real components; unit quaternions encode 3D rotations |
These are not all coordinate systems: some encode points, others are algebraic objects or transformation representations. Identifying a real plane with the complex numbers gives that plane an additional multiplication operation.
3. Cartesian, polar, complex and Euler forms#
\[ r=\sqrt{x^2+y^2},\qquad \theta=\operatorname{atan2}(y,x) \]The two-argument atan2 function selects the correct quadrant; at the origin the angle is undefined.
\[ x=r\cos\theta,\qquad y=r\sin\theta \]Euler’s formula is:
\[ e^{i\theta}=\cos\theta+i\sin\theta \]Therefore,
\[ x+iy=r(\cos\theta+i\sin\theta)=re^{i\theta} \]Angles in complex exponentials are conventionally expressed in radians. A nonzero number has infinitely many equivalent angles differing by multiples of 2π.
4. Rotating a complex number#
Multiplication by i rotates a complex number counterclockwise through 90 degrees in the complex plane. Starting from 1:
| Operation | Angle | Result |
|---|---|---|
| Multiply by i | 90° | i |
| Multiply by i² | 180° | −1 |
| Multiply by i³ | 270° | −i |
| Multiply by i⁴ | 360° | 1 |
For an arbitrary angle α, multiplication by $e^{i\alpha}$ adds α to the phase without changing magnitude:
\[ e^{i\alpha}re^{i\theta}=re^{i(\theta+\alpha)} \]Euler’s form turns rotation into multiplication. A general nonzero complex multiplier also scales magnitude by its modulus.
5. Rotating a real vector#
For an active counterclockwise rotation with fixed axes:
\[ R(\theta)=\begin{pmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{pmatrix} \]At 90 degrees:
\[ R=\begin{pmatrix}0&-1\\1&0\end{pmatrix} \]For our original vector:
\[ R\begin{pmatrix}-1\\1\end{pmatrix}=\begin{pmatrix}-1\\-1\end{pmatrix} \]The entire real vector rotates within one plane. A passive rotation of the coordinate axes instead changes the coordinates by the inverse rotation.
6. Rotating a matrix: three different meanings#
The columns of the identity matrix are the standard basis vectors. Left multiplication by R rotates both columns: RI=R. More generally, RA rotates each column of A when its columns are real 2D vectors. Right multiplication AR mixes columns according to R. A change of orthonormal basis for the same operator uses $R^TAR$, not simply RA.
Scalar multiplication by i is yet another operation:
\[ iI=\begin{pmatrix}i&0\\0&i\end{pmatrix} \]Each entry is multiplied by i; this does not rotate the columns within the original real XY plane.
7. Why iI and R are different#
\[ Rv=\begin{pmatrix}-1\\-1\end{pmatrix},\qquad iIv=\begin{pmatrix}-i\\i\end{pmatrix} \]| Property | R on real vectors | iI on complex vectors |
|---|---|---|
| Space | Real 2D | Complex 2D |
| Real dimensions | 2 | 4 |
| Planes rotated | One | Two |
| Output for (−1,1) | (−1,−1) | (−i,i) |
R can also act on complex vectors: in that case it mixes complex components and is a unitary operator on a four-real-dimensional space. The distinction is not just the size of the matrix; it is the domain and the operation.
8. When complex multiplication and real rotation are equivalent#
For one complex number $z=x+iy$, we have $iz=-y+ix$. Under the identification of z with (x,y), this is exactly the transformation performed by R.
More generally:
\[ M(a+ib)=\begin{pmatrix}a&-b\\b&a\end{pmatrix} \]This representation preserves addition and multiplication. In particular, M(i)=R. Its determinant is $a^2+b^2$. When the modulus is one, it is a proper rotation.
9. Dimensions and real representations#
| Object | Real coordinates |
|---|---|
| One real number | 1 |
| One complex number | 2 |
| Two real components | 2 |
| Three real components | 3 |
| Two complex components | 4 |
| N complex components | 2N |
For a complex vector with components a+ib and c+id, use the real coordinate order (a,b,c,d). The real representation of iI is then:
\[ \begin{pmatrix}0&-1&0&0\\1&0&0&0\\0&0&0&-1\\0&0&1&0\end{pmatrix} \]A complex N×N matrix can be represented by a structured real 2N×2N matrix, replacing each entry by its two-by-two real block M(z). Not every real 2N×2N matrix has this structure.
10. Geometry in three dimensions#
Cartesian coordinates describe a point using x,y,z. Cylindrical coordinates use radius from the Z-axis, azimuth and height: $x=r\cos\phi$, $y=r\sin\phi$, with z unchanged.
Spherical coordinates use radius from the origin, polar angle θ measured from positive Z and azimuth φ measured from positive X in the XY plane:
\[ x=r\sin\theta\cos\phi \]\[ y=r\sin\theta\sin\phi \]\[ z=r\cos\theta \]Angle conventions vary across disciplines. At certain points, such as the poles, azimuth is undefined. The same axes and sphere are drawn in Seeing Three Dimensions: Colors, Planes, a Sphere and the Meaning of Rotation.
11. Different ways of representing rotations#
| Representation | Meaning |
|---|---|
| Single angle | Rotation in a chosen 2D plane |
| Complex exponential | Rotation in one complex plane |
| Rotation matrix | Linear transformation of real vectors |
| Axis-angle | 3D rotation around a specified axis |
| Euler angles | Ordered sequence of three rotations |
| Unit quaternion | Compact 3D rotation representation |
| Matrix exponential | Transformation from a generator |
| Unitary matrix | Complex norm-preserving transformation |
Euler angles are not Euler’s formula. They require an axis order and an intrinsic/extrinsic convention. For example, applying fixed-axis X, then Y, then Z rotations to column vectors gives $R_zR_yR_x$. Rotations around different axes generally do not commute.
A unit quaternion for a rotation of angle θ about a unit axis n has scalar part cos(θ/2) and vector part n sin(θ/2). It rotates a pure-vector quaternion v as $qvq^{-1}$. Both q and −q encode the same spatial rotation. Quaternion multiplication is not commutative.
12. Eigenvectors and rotation#
An eigenvector is a nonzero solution of $Av=\lambda v$, or $(A-\lambda I)v=0$. A longer walk from eigenvalues to singular values is in From Eigenvalues to Singular Value Decomposition. The condition $\det(A-\lambda I)=0$ makes a nonzero solution possible.
The real 90-degree rotation R has no real eigenvectors: every nonzero real vector turns away from its original line. Over the complex numbers, however, its characteristic equation is:
\[ \lambda^2+1=0 \]Its eigenvalues are i and −i, with corresponding eigenvectors:
\[ v_+=\begin{pmatrix}1\\-i\end{pmatrix},\qquad v_-=\begin{pmatrix}1\\i\end{pmatrix} \]Indeed, $Rv_+=iv_+$. What appears as a real geometric rotation becomes scalar multiplication on a complex eigendirection. A complex eigenvalue can change both magnitude and phase.
13. Entering the quantum world#
A qubit is represented by a normalized two-component complex vector:
\[ |\psi\rangle=\alpha|0\rangle+\beta|1\rangle \]There are four real coordinates, subject to normalization and physical equivalence under global phase. A pure qubit therefore has two independent real parameters. How those four real numbers shrink to two is counted in How Many Numbers Does a Qubit Need?.
| Qubits | Complex dimensions | Real coordinates | Independent pure-state parameters |
|---|---|---|---|
| 1 | 2 | 4 | 2 |
| 2 | 4 | 8 | 6 |
| 3 | 8 | 16 | 14 |
| 4 | 16 | 32 | 30 |
| 10 | 1024 | 2048 | 2046 |
The pure-qubit Bloch sphere representation is:
\[ |\psi\rangle=\cos(\theta/2)|0\rangle+e^{i\phi}\sin(\theta/2)|1\rangle \]The Bloch vector is $(\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta)$. This is state geometry, not the physical trajectory of a photon or electron. Mixed states occupy the interior of the Bloch ball.
14. Global phase versus relative phase#
Consider three normalized states:
\[ |\psi_1\rangle=\frac{1}{\sqrt2}\begin{pmatrix}1\\1\end{pmatrix} \]\[ |\psi_2\rangle=\frac{1}{\sqrt2}\begin{pmatrix}i\\i\end{pmatrix} \]\[ |\psi_3\rangle=\frac{1}{\sqrt2}\begin{pmatrix}1\\i\end{pmatrix} \]The first two are physically equivalent because they differ only by global phase. The third has a different relative phase. All three have equal computational-basis outcome probabilities, but the third can be distinguished through interference or a different measurement basis.
15. Quantum gates as rotations#
Single-qubit rotations are generated by the Pauli matrices:
\[ R_x(\theta)=e^{-i\theta X/2} \]\[ R_y(\theta)=e^{-i\theta Y/2} \]\[ R_z(\theta)=e^{-i\theta Z/2} \]In particular:
\[ R_y(\pi)=-iY=\begin{pmatrix}0&-1\\1&0\end{pmatrix} \]This is the very matrix that rotates real XY vectors through 90 degrees. Yet on the Bloch sphere it generates a 180-degree rotation about Y. A 360-degree Bloch rotation produces −I on the state vector, which is physically equivalent to I; a 720-degree rotation returns the vector itself. The half-angle arises from the spinor representation of rotations. The matrices for the standard gates, and the glass that implements them, are in Quantum Gates: Matrices, Mirrors, and Beam Splitters.
16. Matrix types and transformations#
| Type | Condition | Meaning |
|---|---|---|
| Identity | $A=I$ | No change |
| Orthogonal | $A^TA=I$ | Real norm preservation; may reflect |
| Unitary | $A^\dagger A=I$ | Complex norm preservation |
| Hermitian | $A^\dagger=A$ | Real eigenvalues, orthonormal eigenbasis |
| Anti-Hermitian | $A^\dagger=-A$ | Generates unitary transformations |
| Involutory | $A^2=I$ | Two applications restore input |
| Idempotent | $A^2=A$ | Projection onto its range, possibly oblique |
| Nilpotent | $A^k=0$ for some positive integer k | Eventually annihilates every vector |
For example, the nonzero nilpotent matrix with rows (0,1) and (0,0) squares to zero. Its eigenvalues are zero, and it cannot be Hermitian. For an n×n nilpotent matrix the index is at most n.
For Hermitian H and real t, $e^{-itH}$ is unitary. For a time-independent physical Hamiltonian, quantum evolution is:
\[ U(t)=e^{-iHt/\hbar} \]This is a matrix generalization of the complex exponential.
17. Quick reference: one word, many meanings#
| Object | Operation | What changes? |
|---|---|---|
| Complex number | $e^{i\theta}z$ | Phase |
| Real 2D vector | Rv | Geometric direction |
| Real 3D vector | Rotation matrix | Direction about an axis |
| Matrix columns | RA | Column directions |
| Complex matrix | $e^{i\theta}A$ | Phase of entries |
| Coordinate system | Inverse basis transformation | Coordinates of the same object |
| Quaternion-encoded vector | $qvq^{-1}$ | Spatial direction |
| Eigenvector | $\lambda v$ | Scale and possibly phase |
| Quantum state | $U\lvert\psi\rangle$ | State in Hilbert space, possibly only phase |
| Global quantum phase | $e^{i\theta}\lvert\psi\rangle$ | Representation only |
| Bloch vector | 3D rotation | Qubit state, unless fixed by rotation |
18. Conclusion: always ask which space#
Whenever we encounter rotation, dimension, direction or phase, ask what object is being described, which space it inhabits, whether its coordinates are real or complex, whether the object or its reference frame moves, and whether physical reality or merely its representation changes.
Many apparent contradictions disappear once we identify the space, object and representation correctly.
Further reading#
- Gilbert Strang, Introduction to Linear Algebra.
- Michael A. Nielsen and Isaac L. Chuang, Quantum Computation and Quantum Information.
- OpenStax, Precalculus: Polar Coordinates and Complex Numbers.
Related reading#
- One Word, Many Meanings: Understanding Every Kind of Product in Linear Algebra and Quantum Computing
- Seeing Three Dimensions: Colors, Planes, a Sphere and the Meaning of Rotation
- How Many Numbers Does a Qubit Need?
- From Geometry to Quantum Mechanics
- From Eigenvalues to Singular Value Decomposition
- Matrices: A Complete Revision Guide
- Operators in Quantum Mechanics
- Quantum Gates: Matrices, Mirrors, and Beam Splitters
Hashtags#
#Rotation #ComplexNumbers #EulerFormula #LinearAlgebra #Eigenvectors #QuantumComputing #BlochSphere #Qubit #Geometry #GlobalPhase #UnitaryMatrix #Mathematics

Comments: