I want to solve differential equation involving QM operators. For eg.
iddtρ=Hρ−ρH
The solution for this equation is ρ(t)=exp(−iHt)ρ(0)exp(iHt), if H is independent of t. Is there a way to solve the given differential equation using sage when the variables do not commute.