docs(quantum): document Q8 themes in skill and user-facing pages
Align SKILL/reference/examples, design docs, CHANGELOG, and feature demos with theme=dark|light|bw and the rebuild → ext add reload note. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dfb27d41dc
commit
eba0d703c5
18 files changed
+119
-75
No files matched your search
@@ -1,10 +1,11 @@
|
||||
# quantum-bell
|
||||
|
||||
Bell |Φ⁺⟩ via `ext/quantum` circuit table + draw.
|
||||
Bell |Φ⁺⟩ via `ext/quantum` circuit table + draw (default `theme=dark` tech lab SVG).
|
||||
|
||||
```bash
|
||||
cargo build -p marqdo_plugin_quantum
|
||||
marqdo ext add quantum # after rebuild, so view loads the new .so
|
||||
marqdo run examples/quantum-bell/index.mq.md
|
||||
```
|
||||
|
||||
Writes `bell.svg` next to the program (sandbox cwd).
|
||||
Writes `bell.svg` next to the program (sandbox cwd). Themes: `theme="dark"|"light"|"bw"` — see [ext-quantum-viz-style.md](../../doc/design/ext-quantum-viz-style.md).
|
||||
@@ -1,13 +1,14 @@
|
||||
# quantum-entanglement
|
||||
|
||||
Bell |Φ⁺⟩ **entanglement lab** via `ext/quantum` Q7: density matrix, partial trace, Schmidt entropy, and advanced SVG (hinton / qsphere / multibloch / city).
|
||||
Bell |Φ⁺⟩ **entanglement lab** via `ext/quantum` Q7/Q8: density matrix, partial trace, Schmidt entropy, and SVG plots (circuit themed dark by default; hinton / qsphere / multibloch / city).
|
||||
|
||||
```bash
|
||||
cargo build --release -p marqdo_plugin_quantum
|
||||
marqdo ext add quantum # once
|
||||
marqdo ext add quantum # once (re-run after rebuilding the plugin)
|
||||
marqdo run examples/quantum-entanglement/index.mq.md
|
||||
# optional: marqdo view examples/quantum-entanglement/
|
||||
```
|
||||
|
||||
Prints probabilities, full/reduced purity, ⟨ZZ⟩, and Schmidt entropy; writes SVGs next to the program (sandbox cwd).
|
||||
Prints probabilities, full/reduced purity, ⟨ZZ⟩, and Schmidt entropy; writes SVGs next to the program (sandbox cwd). Circuit/probs/bloch accept `theme="dark"|"light"|"bw"`.
|
||||
|
||||
Design: [ext-quantum-q7.md](../../doc/design/ext-quantum-q7.md) · sibling demo: [quantum-bell](../quantum-bell/).
|
||||
Design: [ext-quantum-q7.md](../../doc/design/ext-quantum-q7.md) · [ext-quantum-viz-style.md](../../doc/design/ext-quantum-viz-style.md) · sibling: [quantum-bell](../quantum-bell/).
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Entanglement lab
|
||||
description: Bell state — density, partial trace, Schmidt, advanced SVG (Q7).
|
||||
description: Bell state — density, partial trace, Schmidt, themed SVG (Q7/Q8).
|
||||
import quantum:ext/quantum/quantum.mq.md
|
||||
import math:lib/math.mq.md
|
||||
---
|
||||
@@ -32,7 +32,7 @@ Build |Φ⁺⟩ with H then CX. Full-state purity stays 1; tracing out one qubit
|
||||
*sch = > `qc`.schmidt cut=1*
|
||||
*ent = sch[^entropy]*
|
||||
|
||||
*_ = > `qc`.draw path="entangle-circuit.svg"*
|
||||
*_ = > `qc`.draw path="entangle-circuit.svg" theme="dark"*
|
||||
*_ = > `qc`.draw kind="hinton" path="entangle-hinton.svg"*
|
||||
*_ = > `qc`.draw kind="qsphere" path="entangle-qsphere.svg"*
|
||||
*_ = > `qc`.draw kind="multibloch" path="entangle-multibloch.svg"*
|
||||
|
||||
Reference in new issue
Block a user