Dirac Notation as Linear Algebra
Dirac notation is compact linear algebra for complex inner-product spaces. A ket is a vector, a bra is a dual vector obtained from the inner product convention, an inner product is a scalar, an outer product is a linear map, and a matrix element is a coordinate of an operator.
The canonical convention page is Bra-Ket Notation. This page explains the underlying mathematical objects so that the symbols do not become a set of disconnected rules.
Kets Are Vectors
Section titled “Kets Are Vectors”A ket such as
denotes a vector in a complex vector space, usually a Hilbert space . In a chosen basis , it can be represented by coordinates:
The ket is the abstract vector. The coordinate column
is a representation of that vector after the basis has been chosen. Changing the basis changes the coordinates, not the vector.
Bras Are Dual Vectors
Section titled “Bras Are Dual Vectors”A bra such as
is a linear functional on kets:
With the physics convention, the inner product
is conjugate-linear in and linear in . Therefore the map from kets to corresponding bras is conjugate-linear:
In a finite orthonormal basis, if
then
This is the linear-algebra content behind the rule “take the conjugate transpose.”
Inner Products Are Scalars
Section titled “Inner Products Are Scalars”The product
is a complex number. In an orthonormal basis,
so
When both vectors are normalized, is a transition amplitude and
is the corresponding squared amplitude. The probability interpretation belongs to the Born rule; the linear-algebra fact is that the inner product pairs a dual vector with a vector.
Outer Products Are Linear Maps
Section titled “Outer Products Are Linear Maps”The expression
is not an inner product. It is a linear map from to itself. Acting on a ket , it gives
Thus the bra first extracts a scalar from , and the ket supplies the output direction.
If is normalized, then
is a rank-one projector:
The canonical projector page is Projectors.
Operators and Matrix Elements
Section titled “Operators and Matrix Elements”An operator is a linear map on the state space:
In a basis , the matrix element of is
This formula says: feed the basis vector into , then extract the component along by applying . With the convention
the same numbers form the matrix of the operator in that basis.
An expectation value is a special matrix element:
For normalized , this is the expected value of the observable represented by when is self-adjoint and the relevant domain issues are under control.
Completeness and Basis Expansions
Section titled “Completeness and Basis Expansions”For an orthonormal basis, the identity operator can be written
Applying this identity to a vector gives the familiar expansion:
The coefficient is the th coordinate of the vector in this orthonormal basis.
Continuous bases use analogous expressions such as
but is a generalized eigenket, not an ordinary normalizable Hilbert-space vector. The rigorous home of this issue is distribution theory and spectral theory; the practical translation is summarized in Representation Translation Table.
Worked Example
Section titled “Worked Example”Let
Then
and
The outer product is the matrix
It maps a vector to
This example displays the main distinction: is a scalar, while is an operator.
Common Mistakes
Section titled “Common Mistakes”- Treating as a column independent of a basis.
- Turning a ket into a bra without complex conjugating coefficients.
- Confusing with .
- Reading in the wrong order.
- Forgetting that continuous kets such as are generalized objects.
- Inserting completeness relations without checking which basis or measure is being used.
Cross-Links
Section titled “Cross-Links”- Bra-Ket Notation
- Vector Spaces and Dual Spaces
- Complex Vector Spaces
- Inner Products
- Bases and Coordinates
- Matrices as Linear Maps
- Projectors
- Operators
- Representation Translation Table
References
Section titled “References”- P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press, 1958.
- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
Exercises
Section titled “Exercises”- Let
Find .
Solution
The ket-to-bra map conjugates the coefficients:
- Show that is linear in the input ket.
Solution
For input ,
Distributing the scalar over the output vector gives
Thus the outer product is a linear map on the input ket.
- In an orthonormal basis, let . What are and ?
Solution
By definition,
The coefficient of is , and the coefficient of is . Hence