Add sample diagram preview, upload hints, and block taglines
Yuchen Yuan
bd3a155
Sample circuit preview:
- Backend SampleCircuit now carries depth/size/params/diagram_text so the
sample list exposes enough metadata to preview without a second round trip.
- Each sample button has an eye-toggle that expands an ASCII circuit
diagram inline. The Loaded card has a matching toggle.
Upload affordance:
- Button label is now 'upload .qpy / .qasm' with a descriptive title.
- Empty Loaded card explains what formats are accepted and offers a
'download a sample' link so new users can try the upload flow with a
known-good file.
- New GET /api/circuits/samples/{key}/download serves the raw .qpy.
Block discoverability:
- Added NodeSpec.tagline (3-5 word human-friendly caption).
- Palette tiles show the tagline under the label (tile height grew from
52px to 68px, width 92px -> 108px).
- Canvas QNode also renders the tagline so users don't need the tooltip
or the tour to recall what each block does.
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.