Loading...
Loading...
Abstract vector spaces over , independence, span, and coordinates
This module introduces vector spaces over the complex numbers, the concepts of linear independence and span, the existence of bases and dimension, column-vector representations, change of basis, and the idea that the same vector can look different in different coordinate systems.
A vector space over a field is a set equipped with addition and scalar multiplication satisfying eight axioms: associativity and commutativity of addition, existence of a zero vector, additive inverses, and distributive and compatibility laws for scalars. For quantum mechanics the field is almost always .
Examples include , the space of n-component column vectors; the space of complex-valued functions on a set; and the space of polynomials with complex coefficients. Each example has its own notion of vector, but they all obey the same abstract rules.
A subspace of is a subset that is itself a vector space under the same operations. The set of solutions to a homogeneous linear equation and the span of any collection of vectors are subspaces. Subspaces are the building blocks for decomposing a vector space into simpler pieces.
The abstract viewpoint frees us from coordinates. A quantum state exists as an abstract vector in a Hilbert space; choosing a basis merely gives a concrete list of numbers. This separation between object and representation is one of the great advantages of linear algebra.
Vector addition
Scalar multiplication
Zero vector
A finite set of vectors is linearly independent if the only scalars satisfying are . In other words, no vector in the set can be written as a combination of the others.
The span of a set is the collection of all finite linear combinations of vectors from . It is the smallest subspace containing . If , we say is a spanning set for . A basis is both independent and spanning.
Linear independence guarantees that the representation of a vector in terms of a basis is unique. Spanning guarantees that every vector has such a representation. Together these two properties make bases powerful tools for computation and for proofs.
Geometrically, two nonzero vectors are independent unless they lie on the same line through the origin. In , three vectors are independent if they do not all lie in the same plane. This intuition carries over to higher dimensions even though visualization fails.
Linear independence
Span
Drag the yellow point to see how the matrix transforms an input vector. The blue quadrilateral shows the image of the unit square, and green dashed lines mark real eigenvector directions when they exist.
A basis of a vector space is a linearly independent spanning set. The dimension of is the number of vectors in any basis; this number is well defined because all bases of a finite-dimensional space have the same cardinality. We write .
The standard basis of consists of the vectors with a 1 in the j-th position and 0 elsewhere. Every vector can be written uniquely as . The coordinates are the components of in this basis.
An n-dimensional complex vector space is isomorphic to , but the isomorphism depends on the chosen basis. This means that abstract results can be proved once in and then transferred back to any n-dimensional space, provided the basis is specified.
In quantum mechanics, the dimension of the state space is the number of linearly independent outcomes of a measurement. A qubit lives in a two-dimensional Hilbert space, so every pure state can be described by two complex amplitudes relative to a chosen computational basis.
Standard basis
Unique expansion
Dimension
Once a basis is fixed, every vector corresponds to a column vector of its coordinates. We write this column as . Addition and scalar multiplication are performed componentwise.
The same abstract vector has different column representations in different bases. This is not a contradiction: the column vector is a coordinate artifact, while the abstract vector is basis independent. It is essential to keep track of which basis is being used.
Linear maps also become concrete as matrices once a basis is chosen. If and bases for and are fixed, the j-th column of the matrix contains the coordinates of in the basis of . Matrix multiplication then implements composition of linear maps.
In Dirac notation, a ket is an abstract vector. Choosing a basis gives a column vector of amplitudes . The abstract equation becomes the familiar column-vector equation .
Coordinate vector
Ket expansion
Amplitudes
Drag the yellow point to see how the matrix transforms an input vector. The blue quadrilateral shows the image of the unit square, and green dashed lines mark real eigenvector directions when they exist.
Let and be two bases of the same vector space . The change-of-basis matrix has columns , i.e. the coordinates of the new basis vectors expressed in the old basis. Then .
Because is invertible, the coordinate vectors in the two bases are related by . A linear operator is represented by in the old basis and by in the new basis.
The matrices and are called similar. Similarity preserves determinant, trace, eigenvalues, and rank, because these quantities are properties of the abstract operator rather than of any particular coordinate system.
In quantum mechanics, changing basis corresponds to changing which observable is diagonal. The operator itself does not change; only the numbers used to describe it change. A judicious choice of basis can turn an operator into a diagonal matrix, which simplifies spectral analysis enormously.
Change of coordinates
Change of operator
Similarity
Consider the vector space with standard basis and a rotated basis , where . Express the state in the primed basis.
Step 1 -- Invert the basis relations. We have and . These equations follow by adding and subtracting the definitions of .
Step 2 -- Substitute. Then .
Step 3 -- Identify new coordinates. Thus and . For , the state is , which has equal amplitudes in both and .
Rotated basis
Original state
New coordinates
Papers:
Sheldon Axler, Linear Algebra Done Right, 3rd ed., Chapters 1–3 (Springer, 2015).
David J. Griffiths, Introduction to Quantum Mechanics, 2nd ed., Appendix A: Linear Algebra.
1. What is the dimension of as a vector space over ?
2. Which condition defines linear independence of ?
3. If is the change-of-basis matrix from to , how are coordinate vectors related?
4. What does it mean for two matrices and to be similar?
5. In the basis , what are the coordinates of ?