A comprehensive theory + simulationβbased implementation repository exploring Quantum Cryptography, from fundamental quantum mechanics concepts to advanced secure key distribution protocols and attack modeling.
This project bridges quantum information theory and practical cryptographic engineering, with clean simulations, security analysis, and visualization dashboards.
- Overview
- Core Concepts Covered
- Protocols & Simulations
- Security & Attack Models
- Advanced Cryptographic Mechanisms
- Security Metrics Dashboard
- Tech Stack
- Project Structure
Quantum Cryptography leverages the laws of quantum mechanics to achieve information-theoretic security, unattainable by classical cryptographic systems.
This repository focuses on:
- Simulation-based proof of security
- Attack detection using quantum principles
- Clean-channel vs noisy-channel analysis
- Multi-party and adaptive cryptographic models
All implementations are designed to be educational, modular, and extensible.
- Qubit and Measurement 2οΈ. Superposition and Shannon Entropy
- Quantum State as a Cryptographic Symbol
- No-Cloning Theorem (Simulation Proof)
- BB84 Protocol (Clean Channel)
- BB84 with Intercept-Resend Attack
- BB84 Under Noise
- Entanglement for Cryptography
- E91-Style Entangled Key Distribution
- Bell Inequality & Eavesdropper Detection
- Quantum Authentication Encoding
- Multi-Party Quantum Key Agreement
- Adaptive Basis Selection
- Side-Channel Simulation
- Security Matrices Dashboard
π Designed for research insight and teaching demonstrations
- Python
- NumPy
- Matplotlib
- Jupyter Notebook
- Custom Quantum State Simulator
- Qiskit 2.2.3
quantum-cryptography/
β
βββ Day01_Qubit_and_Measurement/
β βββ day01_qubit_And_Measurement.ipynb
β βββ README.md
β βββ Day01_notes
β
β
β
βββ Day02_Superposition_and_Entropy/
β βββ day02_Superposition_And_Shannon_entropy.ipynb
β βββ README.md
β βββ Day02_notes.md
β
β
β
βββ Day03_Quantum_State_as_Crypto_Symbol/
β βββ day03_Qubit_As_Cryptographic_Symbol.ipynb
β βββ README.md
β βββ Day03_notes.md
β
β
βββ Day04_No_Cloning_Theorem/
β βββ day04_No_Cloning_Theorem_(Simulation_Proof).ipynb
β βββ README.md
β βββ Day04_notes.md
β
β
βββ Day05_BB84_Clean_Channel/
β βββ day05_BB84_Protocol_Clean_Channel.ipynb
β βββ README.md
β βββ Day05_notes.md
β
β
βββ Day06_BB84_Intercept_Resend_Attack/
β βββ day06_BB84_With_Intercept_Resend_Attack.ipynb
β βββ README.md
β βββ Day06_notes.md
β
β
βββ Day07_BB84_Under_Noise/
β βββ day07_BB84_Under_noise.ipynb
β βββ README.md
β βββ Day07_notes.md
β
β
βββ Day08_Entanglement_for_Cryptography/
β βββ day08_Entanglement_For_Cryptography.ipynb
β βββ README.md
β βββ Day08_notes.md
β
β
βββ Day09_E91_Entangled_QKD/
β βββ day09_E91_Style_Entangled_Key_Distribution.ipynb
β βββ README.md
β βββ Day09_notes.md
β
β
βββ Day10_Bell_Inequality_Eavesdropper_Detection/
β βββ day10_Bell_Inequality_And_EvesDropper_Detection.ipynb
β βββ README.md
β βββ Day10_notes.md
β
β
βββ Day11_Quantum_Authentication/
β βββ day11_Quantum_Authentication_Encoding.ipynb
β βββ README.md
β βββ Day11_notes.md
β
β
βββ Day12_Multi_Party_QKA/
β βββday12 _Multi_Party_Quantum_key_Agreement.ipynb
β βββ README.md
β βββ Day12_notes.md
β
β
βββ Day13_Adaptive_Basis_Selection/
β βββ day13_Adaptive_Basis_Selection.ipynb
β βββ README.md
β βββ Day13_notes.md
β
β
βββ Day14_Side_Channel_Simulation/
β βββ day14_Side_Channel_Simulation.ipynb
β βββ README.md
β βββ Day14_notes.md
β
β
βββ Day15_Security_Metrics_Dashboard/
β βββ day15_Security_Matrics_Dashboard.ipynb
β βββ README.md
β βββ Day15_notes.md
β
β
βββ requirements.txt
βββ README.md
Author : Shreya Palase(codeQubit)
Field : Quantum Cryptography |Quantum Information Security
Affiliation: Independent Research / Study
π GitHub : https://github.com/shreyapalase
You are welcome to reach out for:
- Questions about this repository
- Collaboration opportunities
- Suggestions for new content
- Feedback and contributions
This repository is created strictly for educational, academic, and research purposes.
β Unauthorized use, reproduction, or modification is prohibited
β Do NOT deploy these implementations in real-world security systems
β Do NOT use without explicit permission from the author
The simulations do not guarantee production-grade security and are not audited for real cryptographic deployment.
Any misuse of the concepts, code, or simulations is solely the responsibility of the user.
π© For collaboration, reuse, or publication-related requests, contact the author directly.
Contributions are highly welcome! You can contribute by:
- Adding new quantum algorithms or examples
- Improving code structure or style
- Writing Jupyter notebooks for tutorials
- Fixing bugs or typos
- Improving documentation
- Adding diagrams or visualizations
Please see CONTRIBUTION.md for detailed guidelines.
If you need help:
- GitHub Issues β Report bugs or ask questions
- GitHub Discussions β Ask conceptual or practical questions
- Contact Maintainer β via GitHub profile
If this repository helps you:
-
Give it a Star β on GitHub
-
Share it with friends, classmates, or communities
-
Collaborate and submit pull requests
-
Your support helps grow the repository and the quantum learning community!
See SUPPORT.md for complete instructions.
This project is released under the MIT License, allowing free use, modification, and distribution with proper attribution.
Your interest, contributions, and support help make quantum learning accessible to everyone. Together, we can learn, code, and explore the world of quantum computingβ one qubit at a time!
Thank you for visiting Quantum Cryptography!
If you find this work valuable:
β Star the repository
π€ Follow for future quantum security projects
π’ Share with students and researchers in quantum cryptography
βQuantum mechanics doesnβt just encrypt data β it exposes the act of spying itself.β