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

asked 2013-11-03 17:25:11 +0100

Shashank gravatar image

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.

edit retag flag offensive close merge delete