- Mathematics
- Also: Dirac notation
Bra-Ket Notation
Bra-ket notation (Dirac notation) is a standard mathematical notation for quantum states where ket |psi> represents a column vector state, bra <psi| its conjugate transpose, and their product <phi|psi> the inner product.
Bra-ket notation was introduced by Paul Dirac in 1939 as a compact and coordinate-independent way to express quantum mechanical operations. It is the universal language of quantum computing and quantum information theory.
Kets: State Vectors
A ket represents a quantum state as a vector in a complex Hilbert space. For a single qubit, the computational basis states are:
- corresponds to the column vector
- corresponds to the column vector
A general qubit state is a superposition: , where and are complex amplitudes satisfying .
For an -qubit system, the ket lives in a -dimensional Hilbert space. The computational basis consists of all -bit strings: .
Bras: Dual Vectors
A bra is the conjugate transpose of the corresponding ket. If , then as a row vector. The operation of taking a ket to a bra is called the Hermitian conjugate or dagger operation: .
Inner Products and Probabilities
The inner product of two states is written . It is a complex number computed as the matrix product of the bra row vector with the ket column vector.
For orthonormal basis states: and .
The Born rule connects inner products to measurement probabilities. If you measure in the computational basis:
Outer Products and Operators
The outer product is a matrix (operator). It maps any state to the state .
The projector onto state is . Any observable can be written in terms of its eigenvalues and projectors using the spectral decomposition: .
Tensor Products for Multi-Qubit Systems
For multi-qubit systems, states are combined with the tensor product: is written or . The two-qubit computational basis is , corresponding to the four basis vectors of the 4-dimensional tensor product space.
Common Conventions
In quantum computing, qubits are numbered from right to left in ket notation: in , qubit 0 is on the right and holds value 1, while qubit 1 is on the left and holds value 0. This convention matches the binary representation of integers but can be a source of confusion when comparing to circuit diagrams, where qubit 0 is typically drawn at the top.