Before revision:  We formulate the master equation as a quantum many-body variational problem and employ a Hartree ansatz to obtain a system of coupled nonlinear difference equations .
After revision:  We map the system onto a quantum spin system whose dynamics is generated by a non-Hermitian Hamiltonian. Making an ansatz for the solution as a tensor product state leads to nonlinear partial differential equations that describe the dynamics of the system .