Skip to content

add interactive WebAssembly quantum textbook#27

Merged
splch merged 5 commits intomainfrom
feature/interactive-textbook
Mar 18, 2026
Merged

add interactive WebAssembly quantum textbook#27
splch merged 5 commits intomainfrom
feature/interactive-textbook

Conversation

@splch
Copy link
Copy Markdown
Owner

@splch splch commented Mar 18, 2026

Replace Jupyter notebooks with a browser-native interactive textbook powered by Goqu compiled to WebAssembly. Readers edit OpenQASM code and see circuit diagrams, histograms, and Bloch spheres rendered live in 712 lines of Go/HTML/CSS/JS with zero external dependencies.

splch added 5 commits March 17, 2026 21:51
Replace Jupyter notebooks with a browser-native interactive textbook
powered by Goqu compiled to WebAssembly. Readers edit OpenQASM code
and see circuit diagrams, histograms, and Bloch spheres rendered live
in 712 lines of Go/HTML/CSS/JS with zero external dependencies.
Deploy the interactive textbook to gh-pages branch root via
peaceiris/actions-gh-pages. Remove the benchmark workflow and
update README to link to the live textbook site.
Add //go:build js && wasm constraint so go vet and golangci-lint skip
the WASM-only package on linux/amd64. Add -exclude-dir=textbook/wasm
to gosec to avoid its SSA analyzer panic on syscall/js code.
@splch splch merged commit ab0339e into main Mar 18, 2026
6 checks passed
@splch splch deleted the feature/interactive-textbook branch March 18, 2026 05:32
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.51%. Comparing base (6c7f587) to head (39da16c).
⚠️ Report is 6 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   72.39%   71.51%   -0.89%     
==========================================
  Files         156      156              
  Lines       16577    16577              
==========================================
- Hits        12001    11855     -146     
- Misses       3663     3823     +160     
+ Partials      913      899      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants