<p>Are you using <a href="http://en.wikipedia.org/wiki/BB84" rel="nofollow">BB84</a> to encode your information? If so, look through the stuff that Shor and Preskill <a href="http://arxiv.org/pdf/quant-ph/0003004v2.pdf" rel="nofollow">to prove the security of the algorithm</a>. If you're interested in simulating this, the <a href="http://www.libquantum.de" rel="nofollow">libquantum</a> project has some good libraries put together for defining qubit registers and making measurements on them.</p>
Quantum Key:Logic behind this?
<p>I have a project i.e. third party authentication using Quantum Key. But we are facing lot of problems related to hardware so now we are focusing on simulation.</p>

<p>So can anyone guide me what type of simulation we should use?</p>