Wize Modern Physics Textbook > Quantum Physics

Dirac Notation and Matrix Mechanics

Using Bras, Kets, and Operator Matrices

Dirac notation separates an abstract quantum state from the coordinates used to calculate with it. Changing the basis changes these coordinates and matrices, but not the underlying physical state or operator.


A ket ∣ψ⟩|\psi\rangle is a state vector. Once an ordered orthonormal basis is chosen, it is represented by a column of complex coefficients.


The corresponding bra is ⟨ψ∣=(∣ψ⟩)†\langle\psi|=(|\psi\rangle)^\dagger: transpose the column and complex-conjugate every entry. Omitting the conjugation is harmless for real vectors but wrong in general.

Matrix expectation as a normalized state rotates between two basis vectors

Matrix expectation as a normalized state rotates between two basis vectors

Operators as matrices

An operator A^\hat A acts on a ket from the left. In that orthonormal basis, calculate A^∣ψ⟩\hat A|\psi\rangle by matrix-column multiplication. Matrix multiplication is ordered, so one must apply the rightmost operation first. A matrix element ⟨ϕ∣A^∣ψ⟩\langle\phi|\hat A|\psi\rangle is a scalar obtained in three stages: apply A^\hat A to ∣ψ⟩|\psi\rangle, form the conjugate row ⟨ϕ∣\langle\phi|, and take their row-column product.

The evaluation order for a matrix element: operate on the right ket, then contract with the left bra.

The evaluation order for a matrix element: operate on the right ket, then contract with the left bra.


In an orthonormal basis, the entries of an operator matrix are themselves matrix elements: Aij=⟨i∣A^∣j⟩A_{ij}=\langle i|\hat A|j\rangle. The jj-th column therefore contains the coordinates of A^∣j⟩\hat A|j\rangle. This column rule is especially useful when an operator is specified by what it does to basis kets.


Worked example. In a two-state orthonormal basis, let ∣q⟩=(3+i,1)T/11|q\rangle=(3+i,1)^T/\sqrt{11}. Its bra is ⟨q∣=(3−i,1)/11\langle q|=(3-i,1)/\sqrt{11}, and ⟨q∣q⟩=(10+1)/11=1\langle q|q\rangle=(10+1)/11=1. For B^=diag⁡(7,−5)\hat B=\operatorname{diag}(7,-5), the operated ket is B^∣q⟩=(7(3+i),−5)T/11\hat B|q\rangle=(7(3+i),-5)^T/\sqrt{11}. The matrix element is ⟨q∣B^∣q⟩=(70−5)/11=65/11\langle q|\hat B|q\rangle=(70-5)/11=65/11.


Common mistake: reading the images of basis kets as rows. They are columns. Also keep dimensional meaning attached: if A^\hat A represents energy, then ⟨ϕ∣A^∣ψ⟩\langle\phi|\hat A|\psi\rangle carries energy units even though the state coefficients are dimensionless.

In an orthonormal basis, ∣ψ⟩=(2,i)T|\psi\rangle=(2,i)^T. Which row represents ⟨ψ∣\langle\psi|?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Let A^=(2113) J\hat A=\begin{pmatrix}2&1\\1&3\end{pmatrix}\,\mathrm{J} and ∣v⟩=(1,2)T|v\rangle=(1,2)^T. Calculate the matrix element ⟨v∣A^∣v⟩\langle v|\hat A|v\rangle.

Give your answer in J.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Following the order in the figure, let ∣a⟩=(1,0)T|a\rangle=(1,0)^T, ∣b⟩=(1,1)T|b\rangle=(1,1)^T, and M=(0231)M=\begin{pmatrix}0&2\\3&1\end{pmatrix}. What is ⟨a∣M∣b⟩\langle a|M|b\rangle?

The evaluation order for a matrix element: operate on the right ket, then contract with the left bra.

The evaluation order for a matrix element: operate on the right ket, then contract with the left bra.

Matrix expectation as a normalized state rotates between two basis vectors

Matrix expectation as a normalized state rotates between two basis vectors

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors