Statistics for Random State Production for Quantum Key Distribution using Weak Coherent Pulse Source