Repository navigation
Conversation
A static landing page in site/ (no build step, self-hosted fonts) and a workflow that deploys it to GitHub Pages on pushes to main that touch site/** or the workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013gtFQRPe1eSSpmA7EJ2KNY
wasm/build.sh compiles the unchanged AutoQ CLI to WebAssembly with Emscripten, together with Z3 4.12.5 and the ANTLR 4.13.2 C++ runtime (built once and cached). site/playground runs it in a Web Worker: it writes the input files into the in-memory file system and calls main() with the CLI arguments, so results match the native tool. - CMake: an Emscripten-only branch (header-only Boost, prebuilt Z3 and ANTLR, ES-module link options). The native build is unchanged. - cli/autoq.cc: skip feenableexcept() under Emscripten (no FP traps). - src/util/memory.cpp: report the WebAssembly heap size under Emscripten; its getrusage() does not set ru_maxrss. - pages.yml: build the playground in CI with a cached dependency build. - wasm/compare.mjs checks every playground example against the native CLI; wasm/README.md documents the build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013gtFQRPe1eSSpmA7EJ2KNY
The hero and the nav already link to it; this adds a sentence at the start of Get started for readers who want to try AutoQ before installing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013gtFQRPe1eSSpmA7EJ2KNY
In eq mode the editor now shows only a.qasm and b.qasm, and the example list offers equivalence examples: CX = H·CZ·H, SWAP as three CX gates, Toffoli against its Clifford+T decomposition, the same decomposition with one T replaced by T† (unequal), and XZ vs ZX (equal up to global phase). ver and ex keep sharing one workspace; each workspace keeps its edits when switching commands. [equal]/[unequal] are highlighted like [OK]/[failed]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013gtFQRPe1eSSpmA7EJ2KNY
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the playground, switching the command to
eqused to keeppre.hsl,circuit.qasmandpost.hsland adda.qasmandb.qasmnext to them, and the example list mixed everything together. Now:eqmode shows onlya.qasmandb.qasm.verandexshare one set of files (pre.hsl,circuit.qasm,post.hsl, plus any extras such asloop-invariant.hsl);eqhas its own. Each set keeps your edits when you switch between commands.The Example list shows only examples for the current command. Choosing an example keeps the command within its group, so
exstaysex. Opening?example=<id>still switches to that example's command.New equivalence examples, all checked with the native build and the WebAssembly build:
[equal][equal][equal][unequal][equal]: they differ only by a global phase[equal]and[unequal]are highlighted like[OK]and[failed].The Notes say what
eqchecks: equality up to a global phase. I confirmed that relative phases are caught: CZ vs. identity and Z vs. identity are both[unequal].Testing
node wasm/compare.mjs: all 11 examples give the same output natively and in WebAssembly.--loopsumvisibility, and an edit topre.hslsurvives the round trip;exmode stays inex;eqreloads the current eq example;?example=eq-toffoli-bugopens ineqmode;This is the same change as ondrik#4, which is already live on the fork's GitHub Pages site.
🤖 Generated with Claude Code
https://claude.ai/code/session_013gtFQRPe1eSSpmA7EJ2KNY