Published
-
Dirac Notation: The Language of Quantum States
Dirac notation is compact and expressive for quantum mechanics and quantum computing.
Kets and Bras
- Ket: , a column vector.
- Bra: , the conjugate transpose row vector.
Inner product:
Outer product:
Basis States
For one qubit:
Any state is a linear combination of basis kets.
Operators and Expectation
An observable or gate is an operator acting on kets:
Expectation value in state :
Multi Qubit States
Tensor products combine systems:
Examples:
Dirac notation keeps these expressions readable as systems scale.
Projectors and Completeness
Projectors extract components along basis directions. For computational basis:
They satisfy:
This identity (completeness) is why probabilities sum to 1 in projective measurement.
Change of Basis in Bra-Ket Form
Suppose is another orthonormal basis. Any state can be expanded as:
The coefficient is exactly the amplitude in that basis. This is the compact Dirac way to express basis transforms used in many algorithms.
Tensor Product Ordering Matters
For multi qubit systems, qubit ordering is part of the definition. For example, can mean qubit 0 is and qubit 1 is (or the opposite), depending on convention.
When reading circuit outputs, always verify endianness used by the framework or paper.