A comprehensive Python library for simulating the BB84 quantum key distribution protocol.
Project description
BB84 Simulation Library
A comprehensive Python library for simulating the BB84 quantum key distribution protocol, now enhanced with AI-based eavesdropping detection, advanced noise models, Qiskit integration, and improved visualization tools.
Features
🔑 Complete BB84 Protocol
- Qubit preparation, transmission, and measurement.
- Key sifting, error correction, and privacy amplification.
🔍 Advanced Eavesdropping & Security Features
- Configurable noise models: depolarizing, amplitude damping, phase damping, and readout errors.
- NEW: AI-based eavesdropper detection using Isolation Forest.
- NEW: Simulated lossy channel effects on key transmission.
📊 Visualization Tools
- Protocol workflow visualization.
- Noise impact visualization.
- Key sifting visualization.
- NEW: Real-time QBER visualization for intrusion detection.
💻 Quantum Execution
- NEW: IBM Qiskit Integration for running BB84 on real quantum hardware.
🛠 Extensible & Modular Design
- Modular architecture for easy integration of additional features.
- NEW: Caching for quantum noise models to optimize performance.
Installation
Prerequisites
- Python 3.8+
- pip package manager
- Install dependencies:
pip install -r requirements.txt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantum_bb84simulator-1.1.0.tar.gz.
File metadata
- Download URL: quantum_bb84simulator-1.1.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a26a799a2f95b373de058051ee59ccdd0e1c03cf66884bfe434e8b7a0cf8d439
|
|
| MD5 |
4a5858d7157fb19d959d3ba44cffcceb
|
|
| BLAKE2b-256 |
ec93d548f3973b159f552f9c3ee33b6ecd8950fdd1e1b9944fda91610db6e647
|
File details
Details for the file quantum_bb84simulator-1.1.0-py3-none-any.whl.
File metadata
- Download URL: quantum_bb84simulator-1.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
888c3687e7cc10bdeb3a510c2587bc11c8430be4925734393328c2b582864026
|
|
| MD5 |
fc90c9c0cf8b3fbf0729426e0347673c
|
|
| BLAKE2b-256 |
283c315148fa7d5a702aa0e0a65e3d8754e8d84a1ee4ae860598e906fde9ec59
|