Site Tools


dirac-notation

Table of Contents

Dirac notation

Dirac notation (or bra-ket notation) is a convenient way to name vectors in a Hilbert space (via “kets”) and its dual space (via “bras”). Kets are written as and bras are written as . The text inside a bra or ket has no intrinsic meaning — it is simply a label, much like naming a variable in programming.

Kets

A ket represents a column vector in a Hilbert space. For qubits, the Hilbert space is , so kets are column vectors of two complex numbers .

Any label can be placed inside a ket: , , , , , or even . The conventional labels and for the computational basis states are just names for the following column vectors.

Bras

A bra is the conjugate transpose (Hermitian adjoint) of the corresponding ket . If is a column vector, then is the corresponding row vector with complex-conjugated entries.

Inner product

The bra-ket (bracket) is the inner product of with . For qubits it is the standard complex dot product.

The inner product of a state with itself gives the squared norm. Normalized qubit states satisfy .

Outer product

The ket-bra is the outer product, which is a matrix. It is used to define projection operators and density matrices.

dirac-notation.md · Last modified: