Tomography of a displacement photon counter for discrimination of single-rail optical qubits. (4th April 2018)