Integrate Qshot (noise-aware shot-count recommender) as a pipeline block
Yuchen Yuan
fd88622
New research block from the JQub lab (handover from Tong Li). Given a
QuantumCircuit + an IBM calibration snapshot + a target fidelity α,
Qshot predicts the minimum shots needed to reach α × F_converged on
that backend.
Backend:
* qlib/qshot/ — handover package (recommend_shots_v4, dual_gnn_model,
show_dag, train_dual_gnn) + new __init__.py wrapping lazy singleton
and NOISE_SNAPSHOTS registry. GNN-fallback lazy imports converted
to package-relative so it works as a proper Python package.
* cache/qshot/ — 12 dataset dirs (~3.3k records) + best_model.pt (LFS).
* _handle_qshot in workflow_service: binds free circuit parameters to
zero (Aer constraint), calls singleton.predict, surfaces shots /
fidelity ± std / fit parameters / pilot measurements in summary.
* NodeType += "qshot"; dispatcher wired.
* requirements += hdbscan, torch-geometric, pylatexenc. torch-scatter /
torch-sparse NOT pinned — PyG falls back to pure-Python scatter
without them, far simpler on HF Spaces.
Fr…
Initial JQub Quantum Flow demo
Yuchen Yuan
1ee2bb3
- FastAPI backend serving QuCAD / QuBound / CompressVQC as a
topologically-sorted pipeline under /api/workflow/run
- React + Vite + React Flow frontend with drag-and-drop node palette
- 14-day offline cache of ibm_fez calibration so the demo runs
without an IBM Quantum token
- Two-stage Dockerfile targeting HuggingFace Spaces (port 7860)
Algorithms by Jovin Antony Maria (JQub); web refactor by Yuchen Yuan.