I am working on open quantum systems and have been wondering whether there is a way to extract the dynamical map using mathematica. Say we have a density matrix
$\rho(t) = \begin{bmatrix} p_{00} + (1 - |A(t)|^2) p_{11} & A(t)^* p_{01} \\ A(t) p_{01}^* & |A(t)|^2 p_{11} \end{bmatrix}$
Which can be rewritten as:
$\rho(t) = \phi(t)\rho(0)=\begin{bmatrix} 1 & 0 & 0& 1-|A(t)|^2\\ 0 & A(t)^* & 0 & 0\\ 0 & 0 & A(t) & 0\\ 0 & 0 & 0 & |A(t)|^2 \end{bmatrix} \begin{bmatrix}\rho_{00}\\\rho_{01}\\\rho_{10}\\\rho_{11}\end{bmatrix}$
where $\phi(t)$ is the dynamical map. Here we write the density matrix at time t but as a vector which can be deconstructed into a matrix applied to a vector of the elements of the density matrix at the initial state. For simple systems it is doable by hand, however for higher level systems it becomes extremely tedious.
For non-physicists, density matrices always have trace 1, are hermitian and are positive semi-definite. I wish to extract the dynamical map symbolically. I think this would be similar to extracting a coefficient matrix as in How to read off coefficients of tensor-like expression in a speedy way? and Extract coefficient matrix $A$ from expression $f(x)$.
The dynamical map itself does not depend on the initial state. It is a function which temporally evolves the input state:
$\rho(t) = \begin{bmatrix} p_{00} & p_{01} \\ p_{01}^* & p_{11} \end{bmatrix}$