The maximum likelihood estimation approach to quantum state tomography calculates the state with the highest probability of producing the observed measurements. Specifically, it is the state which maximizes the likelihood function or equivalently, minimizes the negative log of this function:
Ignoring the normalization factor, plugging in the variance, and taking the log of this function we get the following:
Ignoring the normalization factor, plugging in the variance, and taking the log of this function we get the following:
During the optimization we parameterize the density matrix as follows in order to ensure we are only considering valid density matrices:
The functions t_to_density(tvals) and density2t(rho) are used to convert t-values to and from a density matrix.
Hedged maximum likelihood is a simple modification of the maximum likelihood approach. This is available in our python code but not available on our state tomography interface. This procedure utilizes Lidstone's law, and hedges the estimate against un-seen possibilities. Instead of maximizing the likelihood, the estimate is the one that maximizes the product of the likelihood with the following hedge function:
The value of Beta can be defined in the conf settings; default is 1/2. Robin Blume-Kohout covers the hedged likelihood function in more detail in the paper titled Hedged Maximum Likelihood Estimation.
Words in bold correspond to variables defined in the source code.