↓Skip to main content
  1. Data Science Blog/

One Word, Many Meanings: Understanding Rotation in Geometry, Complex Numbers and Quantum Computing

·1889 words·9 mins· loading · ·
Mathematics Research & Academia Rotation Complex Numbers Linear Algebra Euler Formula Eigenvectors Bloch Sphere Quantum Computing Geometry

One Word, Many Meanings: Understanding Rotation in Geometry, Complex Numbers and Quantum Computing

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.

RepresentationGeneral formExample 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:

OperationAngleResult
Multiply by i90°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} \]
PropertyR on real vectorsiI on complex vectors
SpaceReal 2DComplex 2D
Real dimensions24
Planes rotatedOneTwo
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
#

ObjectReal coordinates
One real number1
One complex number2
Two real components2
Three real components3
Two complex components4
N complex components2N

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
#

RepresentationMeaning
Single angleRotation in a chosen 2D plane
Complex exponentialRotation in one complex plane
Rotation matrixLinear transformation of real vectors
Axis-angle3D rotation around a specified axis
Euler anglesOrdered sequence of three rotations
Unit quaternionCompact 3D rotation representation
Matrix exponentialTransformation from a generator
Unitary matrixComplex 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?.

QubitsComplex dimensionsReal coordinatesIndependent pure-state parameters
1242
2486
381614
4163230
10102420482046

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
#

TypeConditionMeaning
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 kEventually 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
#

ObjectOperationWhat changes?
Complex number$e^{i\theta}z$Phase
Real 2D vectorRvGeometric direction
Real 3D vectorRotation matrixDirection about an axis
Matrix columnsRAColumn directions
Complex matrix$e^{i\theta}A$Phase of entries
Coordinate systemInverse basis transformationCoordinates 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 vector3D rotationQubit 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#

Hashtags
#

#Rotation #ComplexNumbers #EulerFormula #LinearAlgebra #Eigenvectors #QuantumComputing #BlochSphere #Qubit #Geometry #GlobalPhase #UnitaryMatrix #Mathematics

Related

Information, Existence and Awareness: Is Reality Fundamentally Information?
·2562 words·13 mins· loading
Philosophy & Cognitive Science Interdisciplinary Topics Information Consciousness Philosophy of Science Quantum Mechanics Information Theory Awareness
Information, Existence and Awareness: Is Reality Fundamentally Information? # Part 32 of the …
Mathematics of Shapes and the Trefoil Knot
·2322 words·11 mins· loading
Mathematics Research & Academia Mathematics Geometry Topology Calculus Linear Algebra Computational Geometry
A closed tube, a mountain, a leaf, or a heart is still a shape. You can ask where its points are, …
How Do Transistors Multiply Numbers? From Physical Switches to Mathematical Intelligence
·1550 words·8 mins· loading
Computer Science Technology Trends & Future Transistors Digital Electronics Binary Arithmetic Computer Architecture Artificial Intelligence Emergence
How Do Transistors Multiply Numbers? From Physical Switches to Mathematical Intelligence # A …
The Invisible Prisoner: Why We Can See Trapped Water but Not Trapped Light
·1946 words·10 mins· loading
Interdisciplinary Topics Research & Academia Physics Quantum Physics Quantum Optics Quantum Mechanics Philosophy of Science Photons
The Invisible Prisoner: Why We Can See Trapped Water but Not Trapped Light # Part 29 of the …