### Is there a way to solve differential equation with non-commutative variables?

I want to solve differential equation involving QM operators. For eg.

$i\frac{d}{dt}\rho=H\rho-\rho H$

The solution for this equation is $\rho(t)=exp(-iHt)\rho(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.