Numerical modeling and simulation of quantum key distribution systems under non-ideal conditions | IEEE Conference Publication | IEEE Xplore