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.
- NodePalette: widen tiles 72px->92px so CompressVQC / IBM live backend
labels stop truncating; rewrite right-side hint into clean two-liner.
- Backend: add SAMPLE_ORDER so /api/circuits/samples returns a
pedagogical ordering (bell_state first, ry_chain_6q last) instead of
alphabetical by filename.
- Rename 'Circuit' -> 'Input circuit' for consistent naming across
palette, tour, and results.
- Remove em-dashes from user-visible copy (ResultsPane, FlowCanvas,
nodeCatalog, WelcomeTour); replace with colons/periods/parens.
Move Blocks strip to top of canvas; clarify Pipeline input
Yuchen Yuan
03db411
- Replace vertical NodePalette in left sidebar with horizontal tile strip
above the canvas. With 9 sample circuits + descriptions, the left
column got too tall and squeezed Blocks out of view on typical laptop
screens.
- Tiles are 72x52 with icon + short label; family groups separated by
dividers; overflow-x-auto for narrow viewports.
- CircuitPicker header renamed 'Circuit' -> 'Pipeline input' and adds a
one-line explainer so users know clicking a sample feeds it into the
Input circuit block. Loaded card gets a subtle 'Loaded' sublabel.
- WelcomeTour 'Build your own' list updated: drag from the top strip
instead of 'left panel', and call out the hover-x delete affordance.
Three related changes aimed at making both experts and newcomers able
to understand and play with the lab's algorithms through the demo.
UX basics (Batch 1):
- Fix all timing claims to match HF's shared CPU (~2 min, not ~60 s)
- Rename "Fake backend" -> "Noisy simulator" with a plain-English
description ("Simulates a real IBM quantum chip with its measured
noise. Runs locally, no IBM account needed.")
- Add a hover-X delete button on each canvas node, with a matching
hint in the block palette about the Backspace shortcut
- Sample circuit buttons now show a curated one-liner under the name,
replacing the auto-generated "N-qubit circuit, depth D" text
More demo circuits (Batch 2):
- Add 4 new samples: w_state_3q, qft_3q, ry_chain_6q, hardware_efficient_4q
- Each comes with a human-friendly description in the circuit picker
Results visualization (Batch 3):
- ResultsPane now renders per-algorithm cards instead of flat k/v rows:
- QuBound: 0-1 gauge + "lower is better" caption
…
Fix meta-info leaks in welcome tour and README
Yuchen Yuan
175b0c8
- Remove 'NSF demo' chip (came from chat context, not from the project)
- Correct institution: 'Georgia Tech' -> 'George Mason University'
- Drop the invented '(Jiaqi Gu Quantum)' expansion of JQub; use the lab's
own framing and link to https://jqub.ece.gmu.edu/ instead
- Update README's opening line the same way
Add welcome tour with SVG algorithm visualizations
Yuchen Yuan
ed3d4cc
Four-slide onboarding overlay shown on first visit and re-openable via
the Tour button in the top bar:
1. Hero welcome + animated atom emblem
2. Three algorithm cards with per-algorithm mini visualisations
(sparsity bars, noise-history LSTM, gate folding)
3. Pipeline semantics + an animated block diagram
4. Try-it CTA with concrete circuit+algorithm suggestions
Persistence via localStorage (jqub-tour-seen-v1). Esc / arrow keys
navigate. Backdrop click dismisses.
Cleanup:
- remove backend/_archive/ (leftover reference test with a personal path)
- untrack frontend/tsconfig.tsbuildinfo (build cache)
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.