The commutator is a value indicating how two elements related by a binary operation fail to satisfy the commutative property. In the case of multiplication, given two elements and , their commutator is defined as
which equals zero if and only if the commutative property holds between and (and thus ).
The anticommutator is the same operation with the opposite sign:
Not to be confused with the identically denoted and often compared to Poisson brackets.
Properties#
The commutator has several properties:
- , meaning an element always commutes with itself.
- , known as anticommutativity.
- , known as the Jacobi identity.
- , where denotes the adjoint.
- where is an operator and is a Scalar constant.
- , meaning an operator always commutes with functions of itself.
- If two operators and commute up to a constant , , then the Baker-Campbell-Hausdorff formula holds: . Note the additional scaling factor compared to the usual case.
In the case of two operator exponentials and acting on another operator , one can use nested commutators:
This also holds for $e^{A} f(B) e^{-A}$ since $e^{A} f(B) e^{-A} = f(e^{A} B e^{-A})$. Just replace $B$ with $f(B)$ in the above formula. ### In quantum mechanics The commutator is of fundamental importance in quantum mechanics, as it allows expressing numerous concepts related to the [[Disuguaglianza di Heisenberg|uncertainty principle]]. The most important commutation relation is the so-called **canonical commutation relation**, which shows that the position operator and the momentum operator do not commute[^1][\hat{q}, \hat{p}] = i\hbar,
where $\hbar$ is the [[Planck constant|reduced Planck constant]]. > [!example] Proof > Consider the [[Spazi Lp|L^2]] [[Spazio di Hilbert|Hilbert space]] over $\mathbb{R}$. The commutator in this space is defined as $[\hat{q}, \hat{p}]: L^{2}(\mathbb{R}) = \mathcal{H} \to \mathcal{H}$. For a generic [[Funzione d'onda|wave function]] $\psi(x)$ (operators must act on *something*), we have > $$([\hat{q}, \hat{p}]\psi)(x) = (\hat{q}\hat{p}\psi)(x) - (\hat{p}\hat{q}\psi)(x) = x(\hat{p}\psi)(x) + i\hbar \partial_{x}(\hat{q}\psi)(x) = \ldots> thus > $$([\hat{q}, \hat{p}]\psi(x)) = i\hbar \psi(x)remembering that operators always act on what is to their right. Continuing,
In three dimensions, for the position vector $\mathbf{r}$ and the [[Linear momentum|momentum]] $\mathbf{p}$, we havewhich, being true for all , allows us to conclude
[r_{i}, p_{j}] = -[p_{i}, r_{j}] = i\hbar\delta_{ij}, \quad [r_{i}, r_{j}] = [p_{i}, p_{j}] = 0
with indices referring to the three spatial dimensions and $\delta_{ij}$ being the [[Kronecker delta]]. In other words, position always commutes with position; momentum always commutes with momentum; they commute between each other only in different coordinates, otherwise yielding $i\hbar$. For the [[Momento angolare quantistico|quantum angular momentum]] along the $z$-axis $L_{z}$, the following hold:[L_{z}, x] = i\hbar y, \quad [L_{z}, y] = -i\hbar x, \quad [L_{z}, z] = 0
[L_{z}, p_{x}] = i\hbar p_{y}, \quad [L_{z}, p_{y}] = -i\hbar p_{x}, \quad [L_{z}, p_{z}] = 0
[^1]: Note that the commutator of two operators is itself an operator. To be precise, the equation is $[\hat{q},\hat{p}]=i\hbar \hat{\mathbf{1}}$, where $\hat{\mathbf{1}}$ is the [[Identity operator]].