Merged
Conversation
…mplify code Remove all // ---------, // --- X ---, and /* --- X --- */ decorative separator comments project-wide. Add new WASM bindings (quantum walk, entanglement entropy, partial trace, marginal distribution, channel Bloch image). Simplify Go code: eliminate redundant map allocations in entanglementEntropyJS/partialTraceJS, refactor O(dim^2) partial trace to efficient O(dim*dimTraced) reshape approach, use math.Max/min/max builtins for clamping. Fix initComparison slider dirty-flag so final value is always rendered.
…ew components
Textbook content fixes (18 chapters):
- Fix Shor complexity O((log n)^3) -> O(n^3) where n is bit length (ch08)
- Fix depolarizing channel capacity 1-H(3p/4) -> 1-H(2p/3) (ch29)
- Fix surface code logical operator boundary examples swapped (ch19)
- Credit Bohm's 1951 reformulation for EPR singlet state argument (ch06)
- Fix no-cloning cross-reference Chapter 7 -> Chapter 6 (ch04)
- Fix QAOA simulation rx({beta}) -> rx(2*{beta}) for mixer unitary (ch23)
- Fix ZNE widget formula to use physically correct exponential decay (ch25)
- Fix VQE exploration: CNOT transforms |11> to |10> (ch22)
- Fix QPE section: remove promise of nonexistent sandbox (ch10)
- Update hardware table: IBM Heron r2, Quantinuum Helios, Rigetti Ankaa-3 (ch40)
- Update IBM roadmap to Loon/Kookaburra/Cockatoo naming (ch39)
- Update Microsoft roadmap: tetron measurements reported 2025 (ch39)
- Fix Deutsch-Jozsa "all other amplitudes nonzero" claim (ch09)
- Fix bit-flip channel parenthetical about output basis (ch27)
- Add Kempe-Regev k=3 QMA-completeness intermediate result (ch30)
- Fix duplicate section numbering 14.4/14.5 (ch14)
- Unify qubit numbering to 0-indexed in syndrome table (ch17)
- Reconcile Trotter gate-count parameterizations (ch33)
- Add missing section number 2.6 (ch02)
- Fix QAOA approximation ratio attribution to 3-regular graphs (ch23)
gen-pdf.mjs updates:
- Add CSS and JS handlers for animated-walkthrough component
- Add CSS and JS handlers for comparison component
- Register both new component types in init registry
- Add print-mode hiding rules for walkthrough/comparison controls
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #36 +/- ##
==========================================
+ Coverage 71.36% 71.45% +0.09%
==========================================
Files 165 166 +1
Lines 17544 17602 +58
==========================================
+ Hits 12520 12578 +58
Misses 4059 4059
Partials 965 965 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
No description provided.