该文研究量子线路模型仿真量子密钥分配协议.基于QCircuit软件运用量子线路模型设计不同攻击模型下的BB84量子密钥分配协议仿真模型,并引入rsec和(α,ε)两个指标,设计指标分析线路模型,仿真分析了不同噪声信道模型下BB84密钥分配协议在P/P、B/P和B/B三种不同截取/重发策略下的有效性及安全性.仿真结果表明,在噪声环境下,基本的BB84协议无法满足量子密钥的有效性和安全性,即使采用协商纠错也不能保证密钥的安全性;为此需要进一步采用保密增强等后处理措施.
The security of quantum key distribution protocol in the non-ideal circumstances is analyzed.The quantum circuit model is adopted to design the BB84 quantum key distribution protocol simulation models with different attacks using the QCircuit software.Two indicators of rsec and I^(α,ε) are introduced,and then their circuit models are designed to simulate and analyze the effectiveness and security of BB84 key distribution protocol with three different interception/resend attacks,i.e.P/P,B/P and B/B,under different noise channel models.The experimental results show that the basic BB84 key distribution protocol can not guarantee security and effectiveness of quantum key even though key agreement and correction measures are used in noise environment;therefore,to guarantee the security of quantum key,the additional after-processing methods such as privacy amplification should be adopted.