Diagonal element inference by direct detection

In this work we demonstrate a possibility to find diagonal elements of the single-mode density matrix using the direct detection scheme for the set of detectors with different efficiencies. The problem is solved analytically, and the technique of maximal likelihood estimation is implemented to provide an adequate treatment of measurement noise.