RepositoryPythonIDIndonesia
rasidi3112

rasidi3112/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.

63stars
0forks
0issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: quantum-machine-learning

#1 Repository of the week

1
TINIX TRENDING·Topic: ml-kem

#1 Repository of the week

1
TINIX TRENDING·Topic: post-quantum-cryptography

#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 by make 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.

RepositoryTypeScript
paulmillr/noble-post-quantum

Auditable & minimal JS implementation of public-key post-quantum cryptography

375
Aug 31, 2026
RepositoryPython
flwrlabs/flower

Flower: A Friendly Federated AI Framework

7.2k
Dec 1, 2026
RepositoryPython
GiacomoPope/dilithium-py

A pure python implementation of ML-DSA (FIPS 204) and CRYSTALS-Dilithium

131
Nov 16, 2026
RepositoryRust
brndnmtthws/dryoc

Don't Roll Your Own Crypto: fast, type-safe, pure-Rust cryptography with post-quantum support

348
Nov 30, 2026
RepositoryAssembly
pq-code-package/mlkem-native

Secure, fast, and portable C90 implementation of ML-KEM / FIPS 203

269
Dec 2, 2026
RepositoryC++
itzmeanjan/ml-kem

NIST FIPS 203 (ML-KEM) standard compliant, C++20, fully `constexpr`, header-only library

145
Jul 9, 2026
RepositoryC
openHiTLS/openHiTLS

openhitls

135
Nov 27, 2026
RepositoryAssembly
pq-code-package/mldsa-native

Secure, fast, and portable C90 implementation of ML-DSA / FIPS 204

127
Nov 30, 2026
RepositoryJupyter Notebook
MonitSharma/Quantum-Machine-Learning-on-Near-Term-Quantum-Devices

List of some personal QML Projects

115
Aug 12, 2026