Quantum key distribution with a heralded single photon source and a photon number resolving detector | IEEE Conference Publication | IEEE Xplore