matlab用代码输出plot-QKD-Simulation:具有诱饵状态的BB84和MDI-QKD的仿真MATLAB代码

上传者: 38507208 | 上传时间: 2021-07-08 23:16:04 | 文件大小: 1.85MB | 文件类型: ZIP
matlab用代码输出plot 诱骗态量子密钥分发协议的数据处理方法 这是毕业设计论文《诱骗态量子密钥分发协议的数据处理方法》中所使用的的代码部分。代码分为用于BB84的仿真代码和用于MDI-QKD的仿真代码两部分,分别存放在/BB84和/MDIQKD文件夹下,而部分仿真结果则放在/Results文件夹下。 BB84 要执行BB84仿真,请运行/BB84/Decoy_Simulate_BB84.m文件,其中包含有系统参数的设置,请按照注释进行修改。默认情况下代码将遍历$10km-140km$的传输距离并给出相应的安全码率曲线,如下图所示 如果不进行仿真而直接输入实验测试数据计算相应的安全码率,请运行/BB84/evaluate_R.m文件,相关的参数设置和实验数据的输入请参考文件内注释。 MDI-QKD 要执行MDI-QKD的仿真,请运行/MDIQKD/MDI_Decoy_Simulate.m文件,其中包含有系统参数的设置,请按照注释进行修改。注意,为了加快MDI-QKD仿真进程的运行,代码中使用了多线程的方式,如果要修改线程数,请修改变量core_num,如果将其设置为1则不使用多线

文件下载

资源详情

[{"title":"( 38 个子文件 1.85MB ) matlab用代码输出plot-QKD-Simulation:具有诱饵状态的BB84和MDI-QKD的仿真MATLAB代码","children":[{"title":"QKD-Simulation-master","children":[{"title":"Results","children":[{"title":"mdisim_5km.mat <span style='color:#111;'> 149.99KB </span>","children":null,"spread":false},{"title":"mdisim_30km.mat <span style='color:#111;'> 118.05KB </span>","children":null,"spread":false},{"title":"mdisim_50km.mat <span style='color:#111;'> 228.32KB </span>","children":null,"spread":false},{"title":"mdisim_75km.mat <span style='color:#111;'> 192.11KB </span>","children":null,"spread":false},{"title":"mdisim_20km.mat <span style='color:#111;'> 132.07KB </span>","children":null,"spread":false},{"title":"mdisim_10km.mat <span style='color:#111;'> 143.44KB </span>","children":null,"spread":false},{"title":"mdisim_0km.mat <span style='color:#111;'> 154.48KB </span>","children":null,"spread":false},{"title":"mdisim_70km.mat <span style='color:#111;'> 198.64KB </span>","children":null,"spread":false},{"title":"mdisim_40km.mat <span style='color:#111;'> 110.87KB </span>","children":null,"spread":false},{"title":"mdisim_55km.mat <span style='color:#111;'> 220.73KB </span>","children":null,"spread":false},{"title":"BB84_Simulation.png <span style='color:#111;'> 14.56KB </span>","children":null,"spread":false},{"title":"mdiqkd_sim.png <span style='color:#111;'> 16.35KB </span>","children":null,"spread":false},{"title":"mdisim_60km.mat <span style='color:#111;'> 212.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"BB84","children":[{"title":"Decoy_Photon_Generator.m <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Correction_Efficiency.m <span style='color:#111;'> 111B </span>","children":null,"spread":false},{"title":"Decoy_Simulate_BB84.m <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"Binary_Shannon_Entropy.m <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"evaluate_R.m <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"BB84_Detector.m <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"BB84_PNS_Attacker.m <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"Photon_Generator.m <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"MDIQKD","children":[{"title":"Multi_Photon_Destructive_Interference.m <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"Decoy_MDI_Photon_Generator.m <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"Multi_Photon_HOM.m <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"MDI_Decoy_Simulate.m <span style='color:#111;'> 7.97KB </span>","children":null,"spread":false},{"title":"evaluate_Y11_and_e11_simp.m <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Multi_Photon_BSM.m <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"MDI_Photon_Generator.m <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Correction_Efficiency.m <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"Path_Loss.m <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"evaluate_Y11_and_e11.m <span style='color:#111;'> 5.08KB </span>","children":null,"spread":false},{"title":"Binary_Shannon_Entropy.m <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"mdiqkd_plot.m <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"evaluate_R.m <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"Multi_Photon_Interference.m <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"MDI_Detector.m <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"getchar.m <span style='color:#111;'> 47B </span>","children":null,"spread":false}],"spread":false},{"title":"readme.md <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明