Dirac notation — kets and bras
A compact language for state vectors, inner products and projections.
- Translate between column vectors and ket notation.
- Compute a bra-ket inner product with complex conjugation.
A ket is a column
Section titled “A ket is a column”means a state vector. For one qubit,
Its corresponding bra is the conjugate-transposed row:
Complex conjugation matters. If , its conjugate is .
Inner products
Section titled “Inner products”The expression is a complex number. It describes overlap between vectors. The basis states are orthonormal: and .
For ,
The probability of a Z-basis outcome 1 is .
Outer products are operators
Section titled “Outer products are operators”is a matrix, not a scalar:
It projects onto the direction. The distinction is visual: a bra followed by a ket gives an inner product; a ket followed by a bra gives an operator.
Check yourself: calculate . The two terms cancel, giving zero, even though their Z-basis probabilities are identical.
Reference: IBM Quantum — Single systems.
Ready for the next step?
Your progress stays in this browser.