Spaces:
Sleeping
Sleeping
Commit History
-
Strip third-party PII from Qshot package
Yuchen YuanTwo leaks the prior meta-info sweep missed because they sat inside Qshot's bundled handover snapshot rather than QuAIM's own code: - backend/qlib/qshot/__init__.py docstring credited the upstream author with both name and @gmu.edu email. Drop the email; project convention (DevelopersPopover) is to use external profile links rather than raw academic emails. - backend/cache/qshot/data/noise_json/ibm_pittsburgh_representative_*.json carried "source_file" pointing at a third party's home directory on some lab server (/home/<user>/Shots/fid_idea/create_circuit/...). The marrakesh JSONs already used a bare basename; align the pittsburgh files to the same shape. The field is metadata only — not read by recommend_shots_v4 at runtime — so pipeline behavior is unchanged. Verified by greping qlib/qshot for "source_file": no matches. Both values are already public via prior commits/pushes; these edits just stop new git-blame hits and remove the strings from the live checkout.8844b54
-
Integrate Qshot (noise-aware shot-count recommender) as a pipeline block
Yuchen YuanNew 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…fd88622