# Quantum Mechanics/Operators and Commutators

## Why Operators?

When we work with the Schrödinger Equation, or in any other formulation of Quantum Mechanics, exact values of properties can not be found. Instead we use operators.

The simplest way of expressing Schrödinger's Equation is

${\displaystyle {\hat {\epsilon }}\Psi ={\frac {{\hat {p}}^{2}}{2m}}\Psi +V(x)\Psi }$

Showing that energy = kinetic + potential.

Now this could look deceptively simple if we didn't use operators for energy and momentum. We could simply divide by the wave function Ψ. But like most things, it's never simple. The energy operator acts on the wave function, as does the momentum operator. So we need to find the wave function in order to make any sense of this equation.

## A Look at a Few Common Operators

Although we could theoretically come up with an infinite number of operators, in practice there are a few which are much more important than any others.

### Momentum

The Momentum operator is

${\displaystyle {\hat {p}}=-i\hbar {\frac {\partial }{\partial x}}}$

So the relative part of the Schrödinger Equation will become

${\displaystyle -{\frac {\hbar ^{2}}{2m}}{\frac {{\partial }^{2}}{{\partial x}^{2}}}\Psi }$

### Energy

Energy Operator

${\displaystyle {\hat {\epsilon }}=i\hbar {\frac {\partial }{\partial t}}}$

So Schrödinger's now looks like

${\displaystyle i\hbar {\frac {\partial }{\partial t}}\Psi =-{\frac {\hbar ^{2}}{2m}}{\frac {\partial ^{2}}{\partial x^{2}}}\Psi +V(x)\Psi }$

As you can see this is now a differential equation, which may or may not be easily solved depending on the potential ${\displaystyle V(x)}$.

Note that this is the one dimensional form of Schrödinger's Equation, it does become more complex for higher dimensions.

### Hamiltonian

We often call the Right Hand Side of this equation the Hamiltonian Operator.

${\displaystyle {\hat {H}}=-{\frac {\hbar ^{2}}{2m}}{\frac {{\partial }^{2}}{{\partial x}^{2}}}+V(x)}$

and it represents the total energy of the particle of mass m in the Potential Field V.

## Expectation Values

In Quantum Mechanics, everything is probabilistic (e.g., the probability of finding a particle is the square of the amplitude of the wave function). So we often want to know the expected value of position, momentum, or anything else, and there is quite a nice method of doing this.

${\displaystyle \langle {\hat {K}}\rangle =\int _{-\infty }^{\infty }\Psi ^{*}{\hat {K}}\Psi dx}$

So, for instance, if you knew the wave function and wanted to find the expectation value of momentum you'd use the equation

${\displaystyle \langle {\hat {p}}\rangle =\int _{-\infty }^{\infty }\Psi ^{*}{\Bigg (}-i\hbar {\frac {\partial }{\partial x}}{\Bigg )}\Psi dx}$

## Dirac Notation (Bra-Ket Notation)

To simplify notation Paul Dirac came up with a new way of writing states:

${\displaystyle |n\rangle \equiv \Psi _{n}}$

i.e a ket

${\displaystyle \langle n|\equiv \Psi _{n}^{*}}$

i.e. a bra

So the expression for the expectation value of momentum can now be written as

${\displaystyle \langle {\hat {p}}\rangle =\langle n|{\hat {p}}|n\rangle }$

This notation is very widely used. It is extremely useful in finite dimensional problems, represented by matrices and state vectors. In 2D, qubits are used (most used in Quantum Information Theory), where:

${\displaystyle |0\rangle }$

and

${\displaystyle |1\rangle }$

are the state vectors.

For more on Dirac Notation see Wikipedia:Bra-ket_notation

## Commutators

"And you know why four minus one plus ten is fourteen minus one? 'Cause addition is commutative, right." --Tom Lehrer

Commutators are very important in Quantum Mechanics. As well as being how Heisenberg discovered the Uncertainty Principle, they are often used in particle physics. It is known that you cannot know the value of two physical values at the same time if they do not commute.

### Mathematical Definition of Commutator

${\displaystyle [{\hat {A}},{\hat {B}}]={\hat {A}}{\hat {B}}-{\hat {B}}{\hat {A}}}$

This is equal to 0 if they commute and something else if they don't.

As you can probably see all natural numbers will commute. For instance

${\displaystyle [6,7]=6*7-7*6=42-42=0}$

But, if we look at Momentum and Position, things start to get interesting

${\displaystyle {\begin{matrix}[{\hat {p}},{\hat {x}}]\Psi &=&({\hat {p}}{\hat {x}}-{\hat {x}}{\hat {p}})\Psi \\&=&-i\hbar {\frac {\partial }{\partial x}}(x\Psi )+ix\hbar {\frac {\partial }{\partial x}}(\Psi )\\&=&-i\hbar \Psi -ix\hbar {\frac {\partial \Psi }{\partial x}}+ix\hbar {\frac {\partial \Psi }{\partial x}}\\&=&-(i\hbar )\Psi \end{matrix}}}$
${\displaystyle [{\hat {p}},{\hat {x}}]=-i\hbar }$

This tells us a few things, one of the most important being that you can't know position and momentum precisely at the same time.

However, if we look at the commutator between momentum and energy,

${\displaystyle {\begin{matrix}[{\hat {p}},{\hat {\epsilon }}]\Psi &=&{\hat {p}}{\hat {\epsilon }}\Psi -{\hat {\epsilon }}{\hat {p}}\Psi \\&=&-i\hbar {\frac {\partial }{\partial x}}(i\hbar {\frac {\partial }{\partial t}}\Psi )-i\hbar {\frac {\partial }{\partial t}}(-i\hbar {\frac {\partial }{\partial x}}\Psi )\\&=&\hbar ^{2}{\frac {\partial }{\partial x}}({\frac {\partial }{\partial t}}\Psi )-\hbar ^{2}{\frac {\partial }{\partial t}}({\frac {\partial }{\partial x}}\Psi )\\&=&0\end{matrix}}}$

From this, we know that momentum and energy commute. Thus, we can find simultaneous eigenfunctions of energy and momentum with definite values of the two observables.