Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2025
Data sources: ZENODO
ZENODO
Software . 2025
Data sources: Datacite
ZENODO
Software . 2025
Data sources: Datacite
versions View all 2 versions
addClaim

qkd_bb84_simulator.py — Professional BB84 Quantum Key Distribution Simulator

Authors: B, Britt;

qkd_bb84_simulator.py — Professional BB84 Quantum Key Distribution Simulator

Abstract

qkd_bb84_simulator.py v1.3 — Professional BB84 Quantum Key Distribution Simulator Features • Zero extra setup — single file (only NumPy) • Complete BB84 protocol with basis sifting and error checking • Realistic depolarizing channel + photon loss (standard 0.2 dB/km fiber model) • Intercept-Resend eavesdropping with rigorous information-theoretic bound • Asymptotic secure key rate via binary entropy (Shor-Preskill style: 1 - 2h(QBER) - I_Eve) • Privacy amplification via XOR folding (toy universal hashing) • Generates final provably secure key • High-resolution plot: secure key rate vs. fiber distance (independent simulations per point) • Exports detailed statistics + secure key to JSON/CSV Dependencies • Requires numpy (>=1.21.0) — standard in scientific Python • matplotlib (>=3.5.0) optional for --plot Intended for cryptographers, quantum network engineers, and financial security teams designing provably secure quantum communication systems — provides accurate modeling of key rates, eavesdropping detection, and distance limitations that motivate quantum repeater development. Real usage: python qkd_bb84_simulator.py --bits 200000 --error_rate 0.015 --eve_present --verbose --plot python qkd_bb84_simulator.py --bits 100000 --loss_prob 0.3 --output qkd_results.json Made by Britt (2025) — MIT License

Keywords

post-quantum security, information reconciliation, secure key rate, quantum key distribution, QKD, secure communication, eavesdropping simulation, privacy amplification, quantum finance, cli tool, python, binary entropy, shor-preskill proof, quantum repeater, BB84, intercept-resend attack, quantum cryptography, quantum network

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average