Commit History
-
Learn track, part B3: scale + Deutsch steps, the 10-step ladder (marker: learn-scale)
TheYuchenStep6Scale.tsx — qubit-count stepper 1..30: up to 5 qubits the wall draws the actual 2^n arrow slots; beyond, a log-scale bar + plain count with modest anchors (10 a spreadsheet, 20 a photo's pixels, 30 a laptop's RAM — no hype), then the honesty turn as a readout funnel: 2^n arrows in, n bits out per look; cross-link chips to the interference and Deutsch steps (StepProps gains optional goToStep). Step7Deutsch.tsx — the payoff game: seeded mystery coin-rule box; classical verdict locked until TWO queries; the quantum act stages the real Deutsch circuit over 4-slot AmpBars (ghost routes on the q0 mix), reads the verdict certain in ONE question, replayable; honesty card scopes the claim (structure, not universal speed). LearnLab frame reordered to the final ladder — lean, measure, gates, phase, interference, Bell (moved unchanged), scale, Deutsch, noise, certainty; entry copy de-counted (tour/board/TopBar said "six"); docs paragraph updated to the final ladder.6746262 -
Learn from zero, part 2: steps 3-5 + handoff (marker: learn-complete)
TheYuchenStep3Bell "Two qubits, one fate": the fixed Bell recipe on two wires (BellRecipe.tsx, read-only SVG), two dials whose needles snap TOGETHER on every draw, and a 2x2 PairGrid (the Tally idiom folded into the fourfold table) where only 00/11 ever populate — a certainty claim the exact sim licenses. "Break the link" swaps CX for H(x)H (NOT mere deletion, which would pin q1 at 0) so all four cells fill as the honest independent contrast; both marginal dials read 50% in both modes — only the joint tally reveals the link. Step4Noise "Real machines misread": same recipe + grid, a perfect/ noisy machine switch (applyReadoutNoise, seeded) with an eps slider (0-15%): 01/10 leak warn-tinted counts and the live agreement score (reported pair == drawn pair; ~88% at 6% noise since both bits must survive) is fidelity in miniature, bridged to the Noisy simulator block by name. Step5Certainty "How many looks is enough?": the noisy agreement score becomes the estimand, drawn as a live mini funnel in t…d70dffe -
Learn from zero, part 1: exact toy sim + LearnLab frame + steps 0-2 (marker: learn-lab)
TheYuchenlib/quantumToy.ts: tiny EXACT simulator over REAL amplitudes ([a,b] / [a00..a11]) — exact quantum mechanics for the lesson gate set X/H/CX (real matrices keep |0...0> in the real subspace), so H·H|0> returns |0> by sign cancellation and Bell is exactly half/half. Complex phases are deferred, not denied (module header states the stance); seeded rng (mulberry32), probs/measureOnce/measureMany/applyReadoutNoise. Asserted in scripts/check_quantum_toy.test.ts (plain-node lane). components/LearnLab.tsx: the beginner track BEFORE the guided lessons — full center-column overlay (same pattern as board/theater, z-30 in App <main>, both branches), own header (step k of 6, prev/next, progress dots, ×), progress in localStorage quda.learnLabStep. Copy rules enforced by the frame: one bold idea sentence + one guiding line + one interactive per step; percentages only, no formulas. components/learn/: Dial (semicircular lean control — drag, keyboard, snap-to-pole collapse animation), Tally (counts_to…2af5086 -
Guided lessons: four beginner micro-experiments (marker: guided-lessons)
TheYuchenNew lib/lessons.ts + components/LessonCard.tsx — an integrated beginner path, not a separate mode. Each lesson step rides the SAME machinery scenario boots use (pendingRestore + autoRunAfter through the store bridges), and every lesson run is tagged via the existing RunRecord.scenario field ("L1"…"L4") so lesson runs never pollute evidence pools — the theater prior-pool filter and the F6/F7/F8 pickers already exclude scenario-tagged records (comments at all three sites now name the lesson tags too). The four lessons, numbers grounded like scenarios are: L1 "Measurement is sampling" — bell_state, sampled fidelity, 128 shots fresh ("why isn't it exactly 50%?"), follow-up button runs 4096 → the funnel visibly narrows. L2 "Noise costs fidelity" — vqc_2q_small twice: statevector under bind_zero is EXACTLY 1.0 (RY(0)+CX on |00⟩ is identity in effect), sampled on FakeFez lands ~0.97; after the second run the card selects both runs into Between configurations. L…edfa7f5
-
Infra S3 sweep: boot honesty, theater stability, export provenance
TheYuchenAudit backlog wave 3, infra area: - App boot: unknown ?scenario= keys warn instead of vanishing; scenario activation runs before the demo-archive check and writes its workspace mode before any await (mode flash); StrictMode double-boot guard landed with the canvas batch - EvidenceTheater: y-domain target band anchors on the FIRST batch (no mid-run re-zoom); overlay stop annotations flip when the left side would clip (shared estimateTextW); frame keys are composite (shots_done can repeat); scrub-reset dep list documented and its accidental window.open reference removed; "hatched" doc claim corrected to the 5%-opacity wash actually drawn - figureExport: regenerate string and scenario doc say F0..F8 (F8 existed, the string didn't); multiverse/history provenance lists exactly the ARCHIVE_WINDOW the views render while id lookups scan unbounded; the live run's config_hash comes from theaterRun (run start) with lastConfigHash as fallback (archive-time value goes sta…cab6fcb
-
Claims-to-features map (claims-map): TopBar overlay
TheYuchenA reader arriving from the paper should not rediscover where each claim lives. New static overlay next to the TopBar Tour button: one row per claim (seeded replay, anytime steering, transformation vocabulary, uncertainty-in-provenance, multiverse, honest comparison, theater overlay, provenance-backed figures) with where to see it and the ?scenario= URL that boots its figure state. Content mirrors the shipped list in docs/EVIDENCE_WORKBENCH.md. Esc/backdrop close, self-contained component.5eaeee3
-
Restore the welcome tour, rewritten for the evidence workbench
TheYuchenThe Wave-P de-product pass deleted the product-era tour along with the identity chrome. Reviewers see the paper rather than the site, so onboarding affordances can return — but the old slides narrated a feature tour of a system that no longer exists. This resurrects the modal shell (keyboard nav, progress dots, first-visit localStorage flag, backdrop dismiss) and rewrites all content around the current narrative in five slides: 1 What this is — pipelines as seeded, archived, replayable experiments ("evidence, not just output") + schematic SVG. 2 Compose & run — palette → canvas → Run; ribbons as circuit flow, node faces as delta strip + CI bar. 3 Evidence accumulates — ×N replicates, lineage (hue=configuration, dot area=shots), the narrowing funnel, precision-target stopping. 4 Compare & explore — Multiverse small multiples, A/B with honest intervals ("overlap ≠ evidence"). 5 Try it — demo archive first moves; "Open Multiverse" button; ?scenario=F0 pointe…afdd2a9 -
Audit A+B: header/toast stacking above overlays; toolbar wraps instead of clipping Run
TheYuchen- TopBar z-20 -> z-40: the ThemeSwitcher dropdown lives inside the header's stacking context, so the Multiverse board (z-20) and the Evidence Theater (z-30) overlays painted over it where it hangs below the bar. Mobile drawers (z-40/50, later in DOM) still cover. - CanvasToast z-30 -> z-40: run errors / replicate notices fire while the theater (which auto-opens on streaming runs) covers the canvas and were invisible behind it. - Canvas toolbar: min-h-12 + flex-wrap (row and action cluster, min-w-0 so wrapping actually engages). The cluster's md:/lg: label breakpoints key on the viewport while the row lives in a resizable column; at 1280-1440px windows with default panes the row overflowed and clipped the Run button. One-line case renders pixel-identical. - Copy: last "Results" remnants -> "Evidence" (TopBar drawer button title/aria, App resizer aria-label).a5c47fa -
Wave P: paper-first reorientation
TheYuchenDe-product: remove WelcomeTour(+slides), AuthButton/session UI, Support(NSF)/Papers/Developers popovers, Lab link, UploadPluginModal trigger; plugin protocol stays live via API. Neutral index.html title/meta + PWA manifest. Header = name/tagline/env chip/live toggle/theme. Anonymous mode (double-blind): lib/anon.ts. VITE_ANON=1 build folds identifying strings out of the bundle (EvidenceQ codename, no paper bibtex, no GMU theme, vite plugin rewrites index.html+manifest); ?anon=1 runtime fallback hides the same surfaces on normal builds. Audit: zero user-visible identifying strings in the anon dist. Figure export with embedded provenance: lib/figureExport.ts + camera buttons on canvas toolbar / Multiverse header / Evidence header. True-SVG for svg targets, foreignObject-SVG + 2.5x PNG for HTML composites; paper transform (white bg, fonts x1.25, chrome stripped); SVG <metadata> + .provenance.json carry app version, export time, run_ids/root_seeds/config_hashes of every visible run and t…79cd0aa
-
Hide IBM live-mode chip entirely when server can't go live
Yuchen Yuan +1: Claude Opus 4.7 (1M context)User feedback: "live ibm: unavailable" / "ibm: n/a" chip adds noise without value on a deployment that has no IBM token configured — it's a permanent dead chip the user can't act on. Now the chip only renders when the server actually supports live mode (token configured AND ALLOW_LIVE_IBM=true). The 3-branch state-machine collapses to 2 (on / off-using-cache); the dead "unavailable" branch is gone. setUseLiveIbm + the useLiveIbm store state are kept untouched since the run code still reads them when the server IS live-capable. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>89aa5b4 -
Fix popover clipping + IBM-chip transparency bleed-through
Yuchen Yuan +1: Claude Opus 4.7 (1M context)User report: two visible glitches on the screenshots — (1) on a desktop browser, the icons in the TopBar's right cluster appeared to be visually stacked behind/inside the "ibm: n/a" chip on the left cluster; (2) on iPhone Safari, opening the Theme dropdown made the menu slide off the left edge of the screen. Root cause (1) — opacity-70 on the IBM chip When the server has no IBM token, the chip was rendered with class `opacity-70`. That made the WHOLE element 70% translucent, including its background. At narrower viewports where the right- cluster icons (Lab/Papers/Developers/Theme/Tour/Support/Auth) flex- squeeze closer to the chip, anything sitting under or behind it became visible through the alpha. Fixed by replacing opacity-70 with `!bg-canvas` (solid surface color) + the existing `text-mute` for the dimmed-disabled look. Identical visual intent, no alpha transparency. Root cause (2) — 3 popovers lacked the mobile-safe anchor pattern PapersPopover, Support…db325d1 -
Mobile + large-touchscreen UX overhaul
Yuchen Yuan +1: Claude Opus 4.7 (1M context)Addresses a 15-finding audit covering viewport handling, safe areas, touch behavior, hit-target sizing, and iOS Safari quirks. Viewport + PWA chrome - viewport meta gains viewport-fit=cover + interactive-widget= resizes-content so safe-area-inset(*) applies and the iOS keyboard triggers layout reflow instead of just overlaying content. - theme-color set for light + dark via prefers-color-scheme media queries — browser chrome now blends with our surface instead of flashing white. apple-mobile-web-app-* meta + apple-touch-icon let the app feel native if added to home screen. - New /public/manifest.webmanifest registered, minimal but sufficient for installable-PWA detection. Dynamic viewport (100dvh) - App.tsx root: h-screen → 100dvh inline (with fallback). Was clipping ~80px under iOS Safari's collapsing address bar on first paint. - UploadPluginModal max-h moved from calc(100vh-2rem) to calc(100dvh-1rem) + safe-area-inset-bottom padding so the modal fits even whe…5c7eb51
-
Full audit pass: leak fixes, sign-in clarity, functional bugs
Yuchen Yuan +1: Claude Opus 4.7 (1M context)Triggered by user request "全方位的检查、测试" covering visualization, user comprehension, page logic, ease-of-use, science, info leakage, and security. Three parallel audits ran (info-leak, sign-in clarity, visual/a11y, functional/scientific); fixes batched below. Critical functional bugs - workflow_service.run_pipeline + run_pipeline_stream now call plugin_service.hydrate_from_dataset_if_needed before dispatch. Without this, a logged-in user running a pipeline on a fresh container (or on the mirror Space) would see "plugin not found" even though it sits safely in their HF Datasets backing store. - plugin_runner._scrub_scalars / _scrub_value drop NaN and ±Inf instead of passing them through. Standard JSON has no representation for either; model_dump_json emits NaN/Infinity which the browser's JSON.parse refuses, so any plugin returning a numerically degenerate scalar used to make the entire /run response fail to parse client- side. NaN → dropped from scalars dict; Inf → nul…4c566b4 -
Multi-user: HF OAuth login + per-user plugin persistence
Yuchen Yuan +1: Claude Opus 4.7 (1M context)What this lets users do - Anyone can click "Sign in" in the top bar and authenticate with their Hugging Face account (OpenID Connect via the HF OAuth flow). No account creation, no password management on our side. - Each signed-in user gets their own private namespace for uploaded plugins. Other users (and other browsers from the same person) cannot see them. - Plugins uploaded while signed in are mirrored to a private HF Dataset repo (qudastudio/quda-user-data) so they survive container restarts and follow the user across devices. - Guest (anonymous) mode is fully preserved: visitors can still drop a .zip without signing in; those plugins continue to live in /tmp and are per-browser, exactly as before. Architecture Browser ──cookie──▶ FastAPI ──HfApi──▶ HF Dataset (private) │ └──▶ /tmp (volatile cache) Identity = session cookie's hf_<username> (when signed in) ∥ anon UUID query par…b6faf15 -
TopBar: remove backdrop-blur that trapped tooltip in compositing layer
Yuchen Yuana84a94a
-
TipIcon: add position prop; TopBar tooltip now opens below to stay in viewport
Yuchen Yuan62faa2c -
Support popover: move to far right, NSF logo mark, visual separation
Yuchen Yuan- Move SupportPopover from the Lab/Papers/Developers cluster to after Tour with its own divider, so it sits at the rightmost position and reads as a distinct "acknowledgment" area rather than another nav link. - Replace the Heart icon with an inline SVG NSF globe mark (blue circle with white "NSF" lettering) for instant recognition.afeaa39 -
Add Support popover listing NSF funding acknowledgments
Yuchen YuanNew SupportPopover in TopBar (between Developers and the divider), same UX as Papers/Developers popovers. Lists 5 NSF awards: - 2507948 (SPV) — Synthesis, Profiling, and Verification - 2513431 (QuAIM) — Quantum Cyberinfrastructure - 2440637 (AutoQC) — CAREER: Deployment Automation - 2311949 (TeReQuLe) — Temporal-Reliable Quantum Learning - 2320957 (QuacyTrain) — Quantum Research Workforce Dev Each entry links to the NSF award search page. Footer carries the standard NSF disclaimer.2ab0857 -
Rebrand QuAIM → QuDA Studio (Quantum Design Automation Studio)
Yuchen YuanNew product name across all user-facing surfaces: - TopBar: title + tagline - index.html <title> - WelcomeTour slide 1 gradient heading - FastAPI app title + boot/shutdown log messages - README HF frontmatter (title, short_description) + H1 - config.py module docstring Domain moves from jqub21-quaim.hf.space to qudastudio-app.hf.space (new HF org "qudastudio" under the same jqub21 account).8742007
-
Extract shared TipIcon; add hover-tooltip on family badge + live-IBM chip
Yuchen YuanPull the inline ⓘ tooltip from NodeParamEditor.FieldLabel into a shared `TipIcon` component so other places that need the same 'short label, long explanation behind a hover' affordance can reuse it without copying the named-group / no-aria-label / pointer-events gotchas. (Three iterations earlier in this session were spent re-discovering each one.) Two concrete spots where the shared component now adds context: * QNode family badge (SOURCE / BACKEND / ALGORITHM / METRIC / SINK). Useful tag for someone fluent in workflow-editor lingo, opaque to a non-quantum first-time visitor. New per-family hint explains what each role does in plain language. * TopBar 'live ibm: ...' status chip. Already had a long native `title` tooltip, but native titles race our CSS tooltips and have the 1-2 s display delay. Replaced with TipIcon next to the chip text — instant, theme-styled, and the chip stays clickable to toggle live mode. NodeParamEditor.FieldLabel collapses to a thin call-site…0f6846e
-
Rename the product from "JQub Quantum Flow" to "QuAIM"
Yuchen YuanThe old name was just a working title. Adopt the proper product name so the Space card, browser tab, welcome tour, TopBar, and the FastAPI OpenAPI title all agree. Changed: * README frontmatter (Space card title + short_description) and H1 * index.html <title> * WelcomeSlide gradient title * TopBar product name * FastAPI app(title=) and startup/shutdown log lines * config.py module docstring * Dockerfile header comment Intentionally NOT changed: * Repo / HF Space path (jqub-quantum-flow) — renaming would break bookmarked share links, existing clones, and CI paths. * frontend/package.json "name" — not published to npm. * Git remote, git history, commit authors. No NSF-specific metadata (award number, program wording, PI listing, dollar amount, abstract text) is added anywhere in the repo. The name "QuAIM" is used standalone without its acronym expansion.52378e7 -
Turn "Developer" link into a dropdown listing both contributors
Yuchen YuanThe single Developer link only credited the UI author. Promote it to a popover so the algorithm author (Jovin Antony Maria) gets equal billing next to the demo author (Yuchen Yuan). Clearer picture of who did what for anyone poking at the Space. Structure mirrors PapersPopover: * Same open/close UX (outside-click + Escape). * Same mobile-vs-desktop anchoring (fixed top-right on narrow screens, anchored to the button on ≥sm). * Each entry shows name + one-line role + destination chip. Button label is now "Developers" (plural), mobile still collapses to icon-only at <md to keep the header under 390px.ab3ec4a -
frontend: split out PapersPopover, PresetPicker, ShareButton, EmptyCanvas
Yuchen YuanMove four self-contained sub-components out of TopBar/FlowCanvas into their own files. Behaviour identical; the parents shrink meaningfully (FlowCanvas 453 -> 283, TopBar 320 -> 187) and each extracted piece now has a clear home for future tweaks.3113ad9 -
frontend: extract lib/clipboard.ts for copy helpers
Yuchen YuanDedup the 18-line navigator.clipboard + textarea/execCommand fallback that TopBar (copy bibtex) and FlowCanvas (copy share link) had both open-coded. Behaviour identical; saves ~20 lines across the two call sites and gives future copy-to-clipboard features a single entry point.baec961 -
Add BibTeX copy + share-link URLs
Yuchen Yuan +1: Claude Opus 4.7Two features in one commit (both pure frontend, short). BibTeX copy - Extend paper metadata in nodeCatalog with a bibtex string for QuCAD, QuBound, and CompressVQC. - Papers popover now renders each row as a link + copy button; clicking copy writes the BibTeX to the clipboard and shows a short check-mark confirmation. Share link - frontend/src/lib/share.ts packs canvas state (nodes, edges, positions, per-node params, selected sample key) into a compact base64url JSON on the URL fragment. - FlowCanvas hydrates from #s=... on boot, falling back to the default preset if no hash payload is present; loads the linked sample circuit so recipients see the same Input circuit. - New "Share" button in the canvas toolbar copies the current pipeline as a URL (with a clipboard fallback for non-HTTPS dev). - CircuitPicker tracks sampleKey in the Zustand store so Share can record "which sample was loaded"; uploaded circuits clear the key (they can't round-trip through a link). C…a2227a5 -
Papers popover: restore mobile fixed-to-viewport anchoring
Yuchen Yuan +1: Claude Opus 4.7On narrow screens the Papers button sits mid-header, so pure `absolute right-0` pushes the 22rem popover's left edge off-screen. Re-enable `fixed right-3 top-14` for <sm; desktop keeps the absolute-to-button anchoring. The header's new `z-20` means a `fixed` child inside it stacks above the canvas without the stacking-context trouble we saw earlier. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>74c84e9 -
TopBar: lift header to z-20 so its popovers stack above the canvas
Yuchen Yuan +1: Claude Opus 4.7The header and the main content div are siblings, both at z-index auto. Header's backdrop-blur gives it a stacking context at level auto (~0), but auto vs auto means they stack in DOM order, so the later main/canvas div renders on top of the earlier header. The popovers inside the header (z-30) are trapped inside the header's auto-level context and can't beat main's DOM-later z-0. Theme popover didn't surface this because it sits in the far right and rarely overlaps a canvas node. Papers (wider, anchored further left) overlaps the preset blocks every time, revealing the bug. Fix: give the header `relative z-20`. That pins the header's stacking context above main's auto-level, so everything inside — including the Papers and Theme popovers overhanging into the canvas area — renders on top. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>fcc6a3d -
Papers popover: match ThemeSwitcher structure (absolute + z-30)
Yuchen Yuan +1: Claude Opus 4.7Drop the mobile-specific `fixed right-3 top-14` positioning. That fixed+z-index combo created a separate stacking context that landed behind the React Flow canvas in the backdrop-blur header's layer, which is why the canvas nodes bled through. ThemeSwitcher never had this problem because it uses plain `absolute z-30`. Match it: `absolute right-0 top-full mt-1 z-30`, and rely on the `w-[min(22rem,100vw-1.5rem)]` cap to keep the popover on-screen on narrow viewports. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>5c7e83b -
TopBar: bump header popovers to z-50 so React Flow can't overlay them
Yuchen Yuan +1: Claude Opus 4.7The Papers / Theme popovers had z-30, but React Flow creates its own stacking context for the canvas, which was rendering nodes on top of the popover content when they overlapped. Bumping both popovers to z-50 (same layer as the mobile drawer) puts them above the canvas. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>059dfbe -
TopBar: fix Papers popover mobile clip, move status chips to left
Yuchen Yuan +1: Claude Opus 4.7- Papers popover: switch to viewport-anchored positioning on mobile (fixed right-3 top-14) so the 22rem menu no longer overflows the viewport regardless of where the button ends up. Desktop keeps the old absolute-to-button anchoring. - Status chips (qiskit/torch version, live-IBM) move from the right cluster to the left cluster, adjacent to the title. They describe app runtime state and belong next to the app name, not mixed in with the external-link and theme controls on the right. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>40c3d2c -
TopBar: add JQub Lab / Papers / Developer links
Yuchen Yuan- Lab (GraduationCap): external link to https://jqub.ece.gmu.edu/ - Papers (BookOpen): popover listing the three algorithm papers, pulled from NODE_CATALOG so it shares a single source of truth with the paper badges already on each algorithm block - Developer (CircleUser): external link to https://theyuchen.github.io/ crediting the web refactor author Layout: desktop shows icon+label; mobile collapses to icon-only to keep the header within ~390px. Small vertical dividers separate the three logical groups (state chips · external links · theme/tour controls). 'Developer' label is hidden on tablets too (hidden md:inline) since the full word was the first to overflow when testing at 480-640px. Also fix a small naming inconsistency the user called out: the WelcomeTour TrySlide footer used to tell users they could reopen the tour via the 'help' button, but the actual button label in the TopBar is 'Tour'. Align the tour copy.66222a5
-
Add mobile layout: side panes become edge-swiped drawers below 768px
Yuchen YuanOn narrow screens the three-column desktop layout squeezes the canvas to zero (left 220 + right 300 + resizers ≈ 522px min), so on a 390px phone portrait the flow graph was unusable. New behaviour below the `md` (768px) breakpoint: - useMediaQuery / useIsDesktop subscribe to `(min-width: 768px)` and re-render on viewport changes. Initial match is read synchronously so the first paint is correct. - MobileDrawer: full-height fixed panel with scrim, slides from the chosen edge. Esc closes. Body scroll locked while open. Transform-based animation so it stays cheap. - App.tsx branches: desktop keeps the existing three-column + PaneResizer story; mobile renders only <main>, with CircuitPicker and ResultsPane mounted inside two drawers. Switching to desktop auto-closes any open drawer. Running a pipeline auto-opens the results drawer on mobile (same as auto-expanding the right pane on desktop). - TopBar: accepts `mobile`, `onOpenLeftDrawer`, `o…1be2846 -
Add Light (Paper) and GMU (Mason) themes, runtime-switchable
Yuchen Yuan +1: Claude Opus 4.7Groundwork: * Colors migrated from hard-coded hex in tailwind.config.js to CSS variables (RGB triplets so `/<alpha-value>` slash syntax still works, e.g. `bg-canvas/80` -> `rgb(var(--color-canvas) / 0.8)`). * React Flow overrides and MiniMap/Background colors in FlowCanvas now read from the same variables, so theme swaps carry through to the canvas widgets too. * Body background gradient, scrollbar thumb, and edge-stroke color are per-theme via --body-bg, --scrollbar-thumb, --rf-edge-stroke. Themes registered in src/lib/theme.ts: * dark -> :root default (deep navy + cyan — unchanged) * light -> white paper background, deep sky/violet/pink/emerald accents. Good for slides / screenshots / print. * gmu -> Mason green canvas + Mason gold primary (#FFC72C), green secondary (#006633), teal/red algo accents. UI: ThemeSwitcher dropdown in TopBar (next to the Tour button), shows preview swatches and tagline, persists …a4eeda5 -
Add client-side live IBM toggle and wrap palette to two rows
Yuchen YuanLive mode toggle: - TopBar chip becomes a button: cache (default) <-> live. State is persisted to localStorage as jqub.useLiveIbm and passed through on every run via use_live_ibm in RunRequest. - When the server itself cannot go live (no IBM_QUANTUM_TOKEN or ALLOW_LIVE_IBM=false) the chip greys out and the tooltip explains exactly what secret to set. - Tooltip copy now tells the user the cache is real IBM Fez data just frozen 14 days back, so off is not a downgrade for demo usage. Palette layout: - Block tiles now flow in two rows: setup blocks (input + backends) on top, processing/metric/sink on the bottom. This mirrors the pipeline flow and removes horizontal overflow on narrower viewports. - Tile height trimmed from 68 to 64 px to keep the two-row strip from eating too much canvas space.7fbd0c7 -
Add welcome tour with SVG algorithm visualizations
Yuchen YuanFour-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)ed3d4cc -
Initial JQub Quantum Flow demo
Yuchen Yuan- 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.1ee2bb3