“…This, and many other related questions, are answered by the general cost function approach to quantum state estimation using past and future measurement records introduced in Ref. [32]. However, the most-likely path [15,31,32] is restricted to homodyne-like unknown records, whereas in this paper we have used an example here the unknown record is comprised of discrete photon counts.…”