Squared orbital angular momentum in position and momentum operators (source code)

= Squared orbital angular momentum in position and momentum operators

Operator ordering gives
$$
L^2=X^2P^2-(X\cdot P)^2+i\hbar X\cdot P.
$$