# abdulmalek-hom/telequm architecture

> Architecture diagram of the GitHub repository abdulmalek-hom/telequm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/abdulmalek-hom/telequm
- Repository: https://github.com/abdulmalek-hom/telequm

## Overview

TELEQUM is a quantum-telecom digital-twin and post-quantum migration engineering platform. Its main workflow lets an operator use the Streamlit dashboard to configure a telecom scenario, build or ingest network state, formulate optimization problems, run classical or quantum solvers, and inspect results. Separate product branches support protocol-overhead and threat evaluation, migration readiness, education, and hardware comparison. The graph emphasizes documented dashboard routing and sampled runtime dependencies; relationships for unsampled modules are included only where the README or source index supports them.

Main entry points: [`dashboard/app.py`](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/app.py) (Dashboard Router), [`dashboard/utils/snapshot_manager.py`](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/utils/snapshot_manager.py) (Scenario Runner), [`dashboard/components/education_hub.py`](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/education_hub.py) (Education Hub), [`dashboard/components/use_case_lab.py`](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/use_case_lab.py) (Use-Case Lab)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Engineering Dashboard"]
  node_app["Dashboard Router<br/>[app.py]"]
  node_education["Education Hub<br/>[education_hub.py]"]
  node_lab["Use-Case Lab<br/>[use_case_lab.py]"]
  node_hardware["Hardware Hub<br/>[hardware_hub.py]"]
  node_twin["Digital Twin<br/>[digital_twin.py]"]
  node_credibility["Data Credibility<br/>[credibility.py]"]
  node_dashboard_utils["Dashboard Utilities"]
  node_snapshot_manager["Scenario Runner"]
end

subgraph group_network["Network Modeling"]
  node_snapshot[("Network Snapshot")]
  node_sim_engine["Simulation Engine<br/>[engine.py]"]
  node_network_env["Network Environment<br/>[network_env.py]"]
  node_sim_models["Traffic and Mobility"]
end

subgraph group_optimization["Optimization"]
  node_problems["Telecom Problems"]
  node_base_problem["Problem Interface<br/>[base_problem.py]"]
  node_solver_bridge["Solver Bridge"]
  node_qaoa["QAOA Solver<br/>[qaoa.py]"]
  node_vqe["VQE Solver<br/>[vqe.py]"]
  node_hybrid["Hybrid Solver<br/>[hybrid_solver.py]"]
end

subgraph group_security["Quantum-Safe Security"]
  node_pqc_algorithms[("PQC Algorithms<br/>[algorithms.py]")]
  node_protocols["Protocol Simulator<br/>[protocols.py]"]
  node_threat_models["Threat Models<br/>[threat_models.py]"]
  node_migration["Migration Readiness<br/>[migration.py]"]
end

subgraph group_integrations["Data Integrations"]
  node_matlab["MATLAB Bridge<br/>[matlab_bridge.py]"]
  node_ns3["ns-3 Bridge<br/>[ns3_bridge.py]"]
end

node_operator(("Operator"))
node_results["Scenario Results"]

node_operator -->|"opens"| node_app
node_app -->|"routes to"| node_education
node_app -->|"routes to"| node_lab
node_app -->|"routes to"| node_hardware
node_app -->|"routes to"| node_twin
node_app -->|"reads score"| node_credibility
node_lab -->|"simulates handshakes"| node_protocols
node_lab -->|"runs scenarios"| node_snapshot_manager
node_twin -->|"uses utilities"| node_dashboard_utils
node_education -->|"uses utilities"| node_dashboard_utils
node_education -->|"explains algorithms"| node_pqc_algorithms
node_education -->|"explores protocols"| node_protocols
node_education -->|"explores readiness"| node_migration
node_lab -.->|"compares suites"| node_pqc_algorithms
node_snapshot_manager -->|"runs simulation"| node_sim_engine
node_snapshot_manager -->|"builds problems"| node_problems
node_snapshot_manager -->|"invokes solver"| node_hybrid
node_snapshot_manager -->|"builds snapshot"| node_snapshot
node_snapshot_manager -->|"returns metrics"| node_results
node_sim_engine -->|"creates environment"| node_network_env
node_sim_engine -->|"builds models"| node_sim_models
node_base_problem -->|"consumes state"| node_snapshot
node_problems -->|"extends interface"| node_base_problem
node_base_problem -->|"delegates classical solve"| node_solver_bridge
node_solver_bridge -->|"runs QAOA"| node_qaoa
node_solver_bridge -->|"runs VQE"| node_vqe
node_hybrid -->|"solves problem"| node_base_problem
node_protocols -->|"uses specifications"| node_pqc_algorithms
node_matlab -->|"populates state"| node_snapshot
node_ns3 -->|"populates state"| node_snapshot
node_operator -.->|"imports traces"| node_matlab
node_operator -.->|"imports traces"| node_ns3

click node_app "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/app.py"
click node_education "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/education_hub.py"
click node_lab "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/use_case_lab.py"
click node_hardware "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/hardware_hub.py"
click node_twin "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/digital_twin.py"
click node_credibility "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/utils/credibility.py"
click node_dashboard_utils "https://github.com/abdulmalek-hom/telequm/tree/main/dashboard/utils"
click node_snapshot_manager "https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/utils/snapshot_manager.py"
click node_snapshot "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/core/network_snapshot.py"
click node_sim_engine "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/simulator/engine.py"
click node_network_env "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/simulator/network_env.py"
click node_sim_models "https://github.com/abdulmalek-hom/telequm/tree/main/telequm/simulator"
click node_problems "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/problems/telecom_problems.py"
click node_base_problem "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/problems/base_problem.py"
click node_solver_bridge "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/simulator/optimization_bridge.py"
click node_qaoa "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/algorithms/qaoa.py"
click node_vqe "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/algorithms/vqe.py"
click node_hybrid "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/algorithms/hybrid/hybrid_solver.py"
click node_pqc_algorithms "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/algorithms.py"
click node_protocols "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/protocols.py"
click node_threat_models "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/threat_models.py"
click node_migration "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/migration.py"
click node_matlab "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/bridges/matlab_bridge.py"
click node_ns3 "https://github.com/abdulmalek-hom/telequm/blob/main/telequm/bridges/ns3_bridge.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_education,node_lab,node_hardware,node_twin,node_credibility,node_dashboard_utils,node_snapshot_manager toneBlue
class node_snapshot,node_sim_engine,node_network_env,node_sim_models toneAmber
class node_problems,node_base_problem,node_solver_bridge,node_qaoa,node_vqe,node_hybrid toneMint
class node_pqc_algorithms,node_protocols,node_threat_models,node_migration toneRose
class node_matlab,node_ns3,node_operator,node_results toneIndigo
```

## Components

### Engineering Dashboard

- [Dashboard Router](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/app.py): `dashboard/app.py`
- [Education Hub](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/education_hub.py): `dashboard/components/education_hub.py`
- [Use-Case Lab](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/use_case_lab.py): `dashboard/components/use_case_lab.py`
- [Hardware Hub](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/hardware_hub.py): `dashboard/components/hardware_hub.py`
- [Digital Twin](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/components/digital_twin.py): `dashboard/components/digital_twin.py`
- [Data Credibility](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/utils/credibility.py): `dashboard/utils/credibility.py`
- [Dashboard Utilities](https://github.com/abdulmalek-hom/telequm/tree/main/dashboard/utils): `dashboard/utils`
- [Scenario Runner](https://github.com/abdulmalek-hom/telequm/blob/main/dashboard/utils/snapshot_manager.py): `dashboard/utils/snapshot_manager.py`

### Network Modeling

- [Network Snapshot](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/core/network_snapshot.py): `telequm/core/network_snapshot.py`
- [Simulation Engine](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/simulator/engine.py): `telequm/simulator/engine.py`
- [Network Environment](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/simulator/network_env.py): `telequm/simulator/network_env.py`
- [Traffic and Mobility](https://github.com/abdulmalek-hom/telequm/tree/main/telequm/simulator): `telequm/simulator`

### Optimization

- [Telecom Problems](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/problems/telecom_problems.py): `telequm/problems/telecom_problems.py`
- [Problem Interface](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/problems/base_problem.py): `telequm/problems/base_problem.py`
- [Solver Bridge](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/simulator/optimization_bridge.py): `telequm/simulator/optimization_bridge.py`
- [QAOA Solver](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/algorithms/qaoa.py): `telequm/algorithms/qaoa.py`
- [VQE Solver](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/algorithms/vqe.py): `telequm/algorithms/vqe.py`
- [Hybrid Solver](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/algorithms/hybrid/hybrid_solver.py): `telequm/algorithms/hybrid/hybrid_solver.py`

### Quantum-Safe Security

- [PQC Algorithms](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/algorithms.py): `telequm/pqc/algorithms.py`
- [Protocol Simulator](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/protocols.py): `telequm/pqc/protocols.py`
- [Threat Models](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/threat_models.py): `telequm/pqc/threat_models.py`
- [Migration Readiness](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/pqc/migration.py): `telequm/pqc/migration.py`

### Data Integrations

- [MATLAB Bridge](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/bridges/matlab_bridge.py): `telequm/bridges/matlab_bridge.py`
- [ns-3 Bridge](https://github.com/abdulmalek-hom/telequm/blob/main/telequm/bridges/ns3_bridge.py): `telequm/bridges/ns3_bridge.py`

### Other components

- **Operator**
- **Scenario Results**

## Connections

- Operator → Dashboard Router: opens (evidence: `README.md`)
- Dashboard Router → Education Hub: routes to (evidence: `dashboard/app.py`)
- Dashboard Router → Use-Case Lab: routes to (evidence: `dashboard/app.py`)
- Dashboard Router → Hardware Hub: routes to (evidence: `dashboard/app.py`)
- Dashboard Router → Digital Twin: routes to (evidence: `dashboard/app.py`)
- Dashboard Router → Data Credibility: reads score (evidence: `dashboard/app.py`)
- Use-Case Lab → Protocol Simulator: simulates handshakes (evidence: `dashboard/components/use_case_lab.py`)
- Use-Case Lab → Scenario Runner: runs scenarios (evidence: `dashboard/components/use_case_lab.py`)
- Digital Twin → Dashboard Utilities: uses utilities (evidence: `dashboard/components/digital_twin.py`)
- Education Hub → Dashboard Utilities: uses utilities (evidence: `dashboard/components/education_hub.py`)
- Education Hub → PQC Algorithms: explains algorithms (evidence: `dashboard/components/education_hub.py`)
- Education Hub → Protocol Simulator: explores protocols (evidence: `dashboard/components/education_hub.py`)
- Education Hub → Migration Readiness: explores readiness (evidence: `dashboard/components/education_hub.py`)
- Use-Case Lab → PQC Algorithms: compares suites (evidence: `README.md`)
- Scenario Runner → Simulation Engine: runs simulation (evidence: `dashboard/utils/snapshot_manager.py`)
- Scenario Runner → Telecom Problems: builds problems (evidence: `dashboard/utils/snapshot_manager.py`)
- Scenario Runner → Hybrid Solver: invokes solver (evidence: `dashboard/utils/snapshot_manager.py`)
- Scenario Runner → Network Snapshot: builds snapshot (evidence: `dashboard/utils/snapshot_manager.py`)
- Scenario Runner → Scenario Results: returns metrics (evidence: `dashboard/utils/snapshot_manager.py`)
- Simulation Engine → Network Environment: creates environment (evidence: `telequm/simulator/engine.py`)
- Simulation Engine → Traffic and Mobility: builds models (evidence: `telequm/simulator/engine.py`)
- Problem Interface → Network Snapshot: consumes state (evidence: `telequm/problems/base_problem.py`)
- Telecom Problems → Problem Interface: extends interface (evidence: `telequm/problems/telecom_problems.py`)
- Problem Interface → Solver Bridge: delegates classical solve (evidence: `telequm/problems/base_problem.py`)
- Solver Bridge → QAOA Solver: runs QAOA (evidence: `telequm/simulator/optimization_bridge.py`)
- Solver Bridge → VQE Solver: runs VQE (evidence: `telequm/simulator/optimization_bridge.py`)
- Hybrid Solver → Problem Interface: solves problem (evidence: `telequm/algorithms/hybrid/hybrid_solver.py`)
- Protocol Simulator → PQC Algorithms: uses specifications (evidence: `telequm/pqc/protocols.py`)
- MATLAB Bridge → Network Snapshot: populates state (evidence: `telequm/bridges/matlab_bridge.py`)
- ns-3 Bridge → Network Snapshot: populates state (evidence: `telequm/bridges/ns3_bridge.py`)
- Operator → MATLAB Bridge: imports traces (evidence: `README.md`)
- Operator → ns-3 Bridge: imports traces (evidence: `README.md`)
