Physics, Quantum Physics, Quantum Mechanics, Quantum, Mathematics.
discrete one. These different forms for the identity matrix/operator become quite useful in certain situations when we want to change from one basis to another. For example, if we are in the position basis but want to convert to the momentum basis, we could slip in the identity matrix in terms of