Another Look at Averages in Quantum Mechanics

Learn how the Dirac bracket notation simplifies quantum averages for efficient measurement computation.

There is a nice way of writing averages of measurements in quantum mechanics using the Dirac bracket notation. This method often shows up in discussions of QC. The basic idea is that the average can be written, as we saw in the previous section, as a sum of products of probabilities and measurement outcome values. We also know that the probabilities can be written as the squares of the amplitudes associated with a particular state, and that the sum of those squares shows up when we multiply a right (column) state vector by the corresponding left (row) state vector. For example, for a two-qubit system with state amplitudes cc, dd, ee, and ff, we have

(cdef)(cdef)=c2+d2+e2+f2.\left(c \hspace{0.2cm} d \hspace{0.2cm} e \hspace{0.2cm} f \right) \begin{pmatrix} c \\ d \\ e \\ f \end{pmatrix} = c^2+d^2+e^2+f^2.

The final ingredient is the fact that every measurable property MM can be represented by an operator and that the appropriate measurement basis states are the states that satisfy

Mα=λααMβ=λββ,M |α⟩ = λ_α |α⟩ \\ M |β⟩ = λ_β |β⟩,

where λαλ_α and λβλ_β are the numerical values associated with the operator MM. States that satisfy these conditions are called eigenstates or eigenvectors associated with the operator MM. So, λαλ_α and λβλ_β are called the eigenvalues for MM.

How does this tie into average values? For a single qubit, the quantum state vector can always be written as a sum of MM’s eigenvectors:

ψ=aαα+aββ.|ψ⟩ = a_α |α⟩ + a_β |β⟩.

When the operator MM acts on this state, we get

Mψ=aαMα+aβMβ=aαλαα+aβλββ.M |ψ⟩ = a_αM |α⟩ + a_βM |β⟩ = a_αλ_α |α⟩ + a_βλ_β |β⟩.

In matrix form, the equation above becomes

(M)(aαaβ)=(aαλαaβλβ).\left( M \right) \begin{pmatrix} a_α \\ a_β \\ \end{pmatrix} = \begin{pmatrix} a_α λ_α\\ a_β λ_β\\ \end{pmatrix}.

The next step might not be obvious, but it turns out to be just what we need to calculate the average of a sequence of measurements of MM. We multiply this equationEq_14_21 on the left by the left vector associated with the state ψ|ψ⟩:

ψMψ(aαaβ)(aαλαaβλβ)=aα2λαaβ2λβ.|ψ | M | ψ⟩ \Rightarrow (a_α \hspace{0.2cm} a_β) \begin{pmatrix} a_α λ_α\\ a_β λ_β\\ \end{pmatrix} = a_α^2 λ_α a^2_β λ_β.

Surprisingly, the result is just the average of the MM measurements, a generalization of the average value expression in this equationEq_14_9. The Dirac bracket is a reminder that the left side of the equation above is indeed an average of the measurements of the property represented by the operator MM given that the qubit has been prepared in the state ψ|ψ⟩. Some authors like to call the bracket ψMψ⟨ψ| M |ψ⟩ a “sandwich”—the operator MM is sandwiched between two slices of ψψ bread.

Get hands-on with 1400+ tech skills courses.