A comprehensive quantum computing platform
built with modern technologies for quantum network simulation, cryptography, security monitoring, and AI-powered anomaly detection.
For development setup, clone this repository and follow the installation instructions below.
The platform supports both production deployment and development environments with comprehensive quantum computing simulation.
Important
Default Configuration: The platform runs with secure defaults and simulation mode enabled.
Quantum Security: This application features quantum key distribution, eavesdropping detection, and post-quantum cryptography for next-generation security.
Quantum Computing Integration
: Full TensorFlow Quantum and Cirq support with quantum circuit simulationQuantum Key Distribution
: Secure key exchange using BB84, E91, and SARG04 protocolsAdvanced Security Monitoring
: Real-time eavesdropping detection and quantum security validationAI-Powered Anomaly Detection
: Machine learning algorithms for network behavior analysisDynamic Quantum Routing
: Intelligent routing algorithms optimized for quantum networksReal-time Visualization
: Interactive dashboard for network topology and performance monitoringRESTful API Interface
: Comprehensive API for network management and integrationScalable Architecture
: Production-ready platform for enterprise quantum network deploymentMulti-Protocol Support
: Support for various quantum cryptographic protocolsPerformance Analytics
: Real-time metrics and historical performance analysisSecurity Event Management
: Automated threat detection and response systemContainerized Deployment
: Docker support for easy deployment and scaling
- Install dependencies and set up the environment
- Configure the platform using YAML configuration files
- Start the API server for REST interface access
- Launch the dashboard for real-time monitoring
- Run quantum simulations to test network scenarios
- Start Platform: Use
python run_platform.py
for interactive launcher - API Server: Direct access via
python src/main.py start --port 8080
- Dashboard: Launch monitoring interface with dashboard option
- Quantum Simulation: Run network simulations with custom parameters
- Demo Mode: Experience all features with
live_demo.py
GET /api/network/status
- Get network topology and statusGET /api/security/threats
- List detected security threatsPOST /api/qkd/session
- Start quantum key distribution sessionGET /api/quantum/circuits
- List available quantum circuitsGET /api/metrics/performance
- Get real-time performance metricsWS /api/events
- Real-time event stream
- Python 3.8+ (Python 3.13 supported with minimal requirements)
- Git for repository cloning
- Docker (optional, for containerized deployment)
-
Clone the repository
git clone https://github.com/Max-Eee/Quantum-Network-Security-Platform.git cd Quantum
-
Create virtual environment
python -m venv quantum_env # Windows quantum_env\\Scripts\\activate # Linux/Mac source quantum_env/bin/activate
-
Install dependencies
# Full installation with TensorFlow Quantum (Python 3.8-3.11) pip install -r requirements.txt # Minimal installation for Python 3.13 pip install -r requirements-minimal.txt
-
Run the platform
# Interactive launcher python run_platform.py # Direct API server python src/main.py start --port 8080 # Full demo python live_demo.py
-
Build container
docker build -t quantum-platform .
-
Run with Docker Compose
docker-compose up -d
- Quantum Computing: TensorFlow Quantum, Cirq, Qiskit compatibility
- Backend: Python 3.8+, FastAPI, AsyncIO
- Machine Learning: TensorFlow, Scikit-learn, XGBoost, LightGBM
- Cryptography: Cryptography, PyCryptodome, PyNaCl
- Network Simulation: NetworkX, SimPy, Igraph
- Web Framework: FastAPI, Uvicorn
- Real-time Communication: WebSockets
- Documentation: Automatic OpenAPI/Swagger generation
- Authentication: JWT, bcrypt (when enabled)
- Data Processing: Pandas, Polars, Dask
- Visualization: Plotly, Bokeh, Matplotlib
- Monitoring: Prometheus, Loguru, Structlog
- Database: SQLAlchemy, Redis (optional), MongoDB (optional)
Quantum/
βββ src/
β βββ core/
β β βββ config.py # Configuration management
β β βββ quantum_engine.py # Main quantum engine
β βββ quantum/
β β βββ quantum_algorithms.py # Quantum algorithms (VQE, QAOA)
β β βββ quantum_circuits.py # Circuit management
β β βββ quantum_engine.py # Quantum simulation engine
β β βββ quantum_ml.py # Quantum machine learning
β βββ security/
β β βββ eavesdrop_detector.py # Security monitoring
β βββ kdc/
β β βββ key_distribution.py # Quantum key distribution
β βββ routing/
β β βββ quantum_router.py # Network routing algorithms
β βββ ai/
β β βββ anomaly_detector.py # AI-powered anomaly detection
β βββ api/
β β βββ server.py # FastAPI REST interface
β βββ visualization/
β β βββ dashboard.py # Real-time dashboard
β βββ utils/
β β βββ monitoring.py # System monitoring utilities
β βββ main.py # Main application entry point
βββ config/
β βββ default.yaml # Default configuration
βββ docs/
β βββ index.html # Documentation homepage
βββ scripts/
β βββ quantum_demo.py # Demo scripts
βββ requirements.txt # Python dependencies
βββ requirements-minimal.txt # Minimal dependencies (Python 3.13)
βββ run_platform.py # Interactive platform launcher
βββ live_demo.py # Comprehensive feature demonstration
βββ docker-compose.yml # Docker deployment
βββ Dockerfile # Container configuration
βββ setup.py # Package installation
- Quantum Circuit Simulation: Full support for quantum gates and measurements
- Quantum Algorithms: Implementation of VQE, QAOA, and other quantum algorithms
- Quantum Machine Learning: Hybrid quantum-classical ML models
- Quantum Entanglement: Bell states, GHZ states, and custom entangled systems
- Quantum Key Distribution: BB84, E91, SARG04 protocols
- Eavesdropping Detection: Real-time security monitoring and threat detection
- Post-Quantum Cryptography: Future-proof cryptographic implementations
- Security Analytics: Advanced threat analysis and response systems
- Dynamic Topology: Automatic network discovery and topology management
- Intelligent Routing: Quantum-optimized routing algorithms
- Load Balancing: Traffic distribution across quantum channels
- Performance Optimization: Real-time network performance tuning
- Real-time Metrics: Live performance and security monitoring
- Historical Analytics: Long-term trend analysis and reporting
- Event Management: Automated alert and response systems
- Dashboard Interface: Interactive web-based monitoring console
When the server is running, comprehensive API documentation is available at:
- Swagger UI:
http://localhost:8080/docs
- ReDoc:
http://localhost:8080/redoc
- OpenAPI Spec:
http://localhost:8080/openapi.json
- Quantum Simulation: Handles complex multi-qubit systems efficiently
- Real-time Processing: Low-latency event processing and response
- Scalable Architecture: Supports network scaling from small to enterprise-size
- Memory Optimization: Efficient memory usage for large quantum systems
- Concurrent Processing: Asynchronous operations for maximum throughput
- Quantum Security: Implements quantum-safe cryptographic protocols
- Data Protection: Encrypted storage and secure communication channels
- Access Control: Authentication and authorization systems (configurable)
- Audit Logging: Comprehensive security event logging and monitoring
- Threat Detection: AI-powered anomaly detection and response
This project is licensed under the MIT License - see the LICENSE file for details.