|q⟩ Bad Qubits

intermediate · Physics · Hilbert Spaces & Dirac Formalism

Vector Spaces over ℂ

The mathematical home of every quantum state is a complex vector space. Before we can talk about Hilbert spaces, inner products, or Dirac notation, we need to be precise about what a vector space over the complex numbers C\mathbb{C} actually is. This lesson lays that foundation.

The two ingredients: vectors and scalars

A vector space is built from two sets working together. The first is a set VV whose elements we call vectors (in quantum mechanics, kets ψ|\psi\rangle). The second is the set of scalars, which for our purposes is always the field of complex numbers C\mathbb{C}. The phrase "vector space over C\mathbb{C}" simply means the scalars are complex numbers rather than, say, real numbers.

Two operations connect them:

Crucially, both operations must keep you inside VV — this is the closure requirement.

The axioms

A set VV with these two operations is a complex vector space if it satisfies the following axioms for all u,v,wV|u\rangle, |v\rangle, |w\rangle \in V and all α,βC\alpha, \beta \in \mathbb{C}.

Addition behaves like ordinary addition:

u+v=v+u(commutativity),|u\rangle + |v\rangle = |v\rangle + |u\rangle \quad\text{(commutativity)}, (u+v)+w=u+(v+w)(associativity).(|u\rangle + |v\rangle) + |w\rangle = |u\rangle + (|v\rangle + |w\rangle) \quad\text{(associativity)}.

There is a unique zero vector 0|0\rangle (the additive identity, not to be confused with the qubit state 0|0\rangle — context always makes the meaning clear) with v+0=v|v\rangle + |0\rangle = |v\rangle, and every v|v\rangle has an additive inverse v-|v\rangle with v+(v)=0|v\rangle + (-|v\rangle) = |0\rangle.

Scalar multiplication is compatible with the field operations:

α(βv)=(αβ)v,1v=v,\alpha(\beta|v\rangle) = (\alpha\beta)|v\rangle, \qquad 1\,|v\rangle = |v\rangle,

and it distributes over both kinds of addition:

α(u+v)=αu+αv,(α+β)v=αv+βv.\alpha(|u\rangle + |v\rangle) = \alpha|u\rangle + \alpha|v\rangle, \qquad (\alpha + \beta)|v\rangle = \alpha|v\rangle + \beta|v\rangle.

The canonical example: Cn\mathbb{C}^n

The prototype is Cn\mathbb{C}^n, the set of all column vectors with nn complex entries:

v=(v1v2vn),vkC.|v\rangle = \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix}, \qquad v_k \in \mathbb{C}.

Addition is component-wise and scalar multiplication multiplies every component by the same scalar. A single qubit lives in C2\mathbb{C}^2; an nn-qubit register lives in C2n\mathbb{C}^{2^n}. All the axioms above are inherited directly from complex arithmetic on the components.

Linear independence, span, and dimension

A set of vectors {v1,,vk}\{|v_1\rangle, \ldots, |v_k\rangle\} is linearly independent if the only way to make the zero vector as a combination

α1v1+α2v2++αkvk=0\alpha_1|v_1\rangle + \alpha_2|v_2\rangle + \cdots + \alpha_k|v_k\rangle = |0\rangle

is to take all coefficients αi=0\alpha_i = 0. The span of a set is the collection of all such linear combinations. A basis is a linearly independent set that spans the whole space, and the number of vectors in any basis is the dimension. For Cn\mathbb{C}^n the dimension is nn, with the standard basis {e1,,en}\{|e_1\rangle, \ldots, |e_n\rangle\} where ek|e_k\rangle has a 1 in slot kk and 0 elsewhere.

Why "over ℂ" matters

It is tempting to think a complex vector space is "just" a real vector space with extra structure. The distinction is real and physical. Allowing complex scalars is what permits relative phases between amplitudes, and phases are responsible for interference — the defining feature of quantum mechanics. A state α0+β1\alpha|0\rangle + \beta|1\rangle with α,βC\alpha, \beta \in \mathbb{C} carries information not just in the magnitudes α,β|\alpha|, |\beta| but in the complex phase relationship between them. Restricting to real scalars would throw that information away.

The takeaway

A complex vector space is a set closed under addition and complex-scalar multiplication, satisfying the eight axioms above. Quantum states are vectors in such a space — almost always Cn\mathbb{C}^n for a finite-dimensional system. Everything that follows (inner products, completeness, operators) is extra structure layered on top of this foundation.

Sign in on the full site to ask questions and join the discussion.