Maximum-likelihood estimation of the density matrix | Synapse