We now understand that Matrix multiplication is not commutative (Why?). What has this have to do anything with Quantum Mechanics ?
Behold the commutator operator:
where are operators that are acting on the wavefunction . This is equal to 0 if they commute and something else if they don’t.
One of the most important formulations in Quantum mechanics is the Heisenberg’s Uncertainty principle and it can be written as the commutation of the momentum operator (p) and the position operator (x):
If you think of p and x as some Linear transformations. (just for the sake of simplicity).
This means that measuring distance and then momentum is not the same thing as measuring momentum and then distance. Those two operators do not commute! You can sort of visualize them in the same way as in the post.
But in Quantum Mechanics, the matrices that are associated with and are infinite dimensional. ( The harmonic oscillator being the simple example to this )