Indonesiarasidi3112/Q-Edge
Research testbed for federated learning with hybrid quantum-classical models and post-quantum protection (ML-KEM, ML-DSA, secure aggregation). Reproducible results: a 4-qubit VQC head vs a matched classical head, robust aggregation vs poisoning, PQC cost per round. PennyLane, PyTorch, Flower, FastAPI.
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
⚛️ Q-Edge: Quantum-Enhanced Federated Learning Testbed
A reproducible sandbox for comparing quantum vs classical heads under noise, attacks, and post-quantum cryptography.
Q-Edge is a research testbed that simulates federated learning with hybrid quantum-classical models, built on PennyLane, PyTorch, and Flower. It evaluates whether a small variational quantum circuit head can match a classical head on non‑IID data, with and without noise and zero‑noise extrapolation. The platform also measures the cost of post‑quantum protection (ML‑KEM, ML‑DSA, secure aggregation) per round and tests robust aggregation rules against malicious clients.
✨ Highlights
- Federated simulator: runs FedAvg, FedProx, FedAdam, FedYogi on scikit-learn datasets with Dirichlet label skew.
- Hybrid VQC head: 4‑qubit PennyLane circuit with simulated gate/readout noise and zero‑noise extrapolation.
- Post‑quantum transport: X25519 + ML‑KEM‑768 handshake, ChaCha20‑Poly1305 encryption, ML‑DSA challenge‑response login.
- FastAPI server: admin enrollment, JWT auth, server‑sent events, Prometheus metrics, Celery‑driven circuit execution.
- Robust aggregation: multi‑krum, trimmed‑mean, etc., tested against scaling and backdoor attacks.
- Secure aggregation: protocol for sealed updates, with min‑clients threshold and deadline.
- Reproducible results: all numbers stored in
results/summary/*.json, regenerated bymake reproduce.
💡 Why it matters
Unlike typical FL frameworks, Q-Edge couples a quantum circuit head with a classical backbone, letting researchers directly compare parameter‑efficient quantum models under realistic noise. The built‑in post‑quantum cryptography and secure aggregation give concrete performance numbers, which are hard to find elsewhere.
The project is not a production deployment, but a reproducible research sandbox; its simulator, server, and dashboard can be run locally, making it easy to iterate on aggregation rules or test new defenses.
#FederatedLearning #QuantumML #PostQuantum #TiniX
Similar Projects
Discover other similar projects and AI models.
Auditable & minimal JS implementation of public-key post-quantum cryptography
A pure python implementation of ML-DSA (FIPS 204) and CRYSTALS-Dilithium
Don't Roll Your Own Crypto: fast, type-safe, pure-Rust cryptography with post-quantum support
Secure, fast, and portable C90 implementation of ML-KEM / FIPS 203
NIST FIPS 203 (ML-KEM) standard compliant, C++20, fully `constexpr`, header-only library
Secure, fast, and portable C90 implementation of ML-DSA / FIPS 204
List of some personal QML Projects