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:
cflmyandCursor committed 2026-08-28 15:54:47 +08:00
1 parent dfb27d41dc
commit eba0d703c5
18 files changed
+119 -75

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ ext/agent — agent framework + native plugin. Design: doc/design/ext-agent.md
ext/web — HTTP / SQLite·Postgres site helpers + native plugin. **W0–W7 + P3 complete** (middleware, CRUD+FTS, security, SEO/RSS, upload/gallery, RBAC, sitemap). Design: doc/design/ext-web.md · capabilities: doc/design/web-net-capabilities.md · example: examples/marqdo-blog/
ext/quantum — circuits, draw, noise, formula matrix custom gates. Design: doc/design/ext-quantum.md
ext/quantum — circuits, draw, noise, formula matrix custom gates, Q7 density/viz, Q8 themed SVG (`theme=dark|light|bw`). Design: doc/design/ext-quantum.md · doc/design/ext-quantum-viz-style.md
Installer: marqdo ext list / add / remove — doc/design/ext-cli.md
+1 -1
View File
@@ -36,7 +36,7 @@ ext/agent(智能体)— 智能体框架 + 原生插件。设计:doc/design
ext/web(网页)— HTTP / SQLite 站点助手 + 原生插件。设计:doc/design/ext-web.md
ext/quantum(量子)— 电路、绘图、噪声、公式矩阵自定义门。设计:doc/design/ext-quantum.md
ext/quantum(量子)— 电路、绘图、噪声、公式矩阵自定义门、Q7 密度/高级图、Q8 主题 SVG(`主题=dark|light|bw`)。设计:doc/design/ext-quantum.md · doc/design/ext-quantum-viz-style.md
安装器:marqdo ext list / add / remove — doc/design/ext-cli.md
+5 -3
View File
@@ -1,6 +1,6 @@
---
title: Quantum circuits (ext/quantum)
description: Official quantum simulator — tables, gates, Q7 density and advanced SVG
description: Official quantum simulator — tables, gates, Q7 density, Q8 themed SVG
import quantum:ext/quantum/quantum.mq.md
---
@@ -10,7 +10,9 @@ Optional package (not stdlib). Install: `marqdo ext add quantum` (or build `marq
GHZ (3 qubits): H on q0, then CX 0→1 and 0→2. Ideal |000⟩ / |111⟩ each ≈ 1/2.
Q7: Bell density, partial trace (mixed reduced state), Schmidt entropy, and `draw kind=hinton` / qsphere. See `examples/quantum-entanglement/`.
Q7: Bell density, partial trace, Schmidt, `draw kind=hinton` / qsphere — `examples/quantum-entanglement/`.
Q8: `draw theme="dark"|"light"|"bw"` (default dark lab look) on circuit / probs / bloch. Rebuild plugin then `ext add` so view loads the new native lib.
`steps` =
@@ -22,7 +24,7 @@ Q7: Bell density, partial trace (mixed reduced state), Schmidt entropy, and `dra
*`qc` = > quantum.circuit qubits=3 steps=`steps`*
*`p` = > `qc`.probabilities*
*`_` = > `qc`.draw kind="probs"*
*`_` = > `qc`.draw kind="probs" theme="dark"*
*`H` = > quantum.gate name="H"*
*`__` = > `H`.draw kind="matrix"*
+7 -3
View File
@@ -1,6 +1,6 @@
---
title: 量子电路(ext/quantum)
description: 官方量子模拟 — 表、门、概率/布洛赫/矩阵热图 SVG
description: 官方量子模拟 — 表、门、Q7 密度与高级图、Q8 主题 SVG
导入 量子:ext/quantum/量子.mq.md
---
@@ -8,7 +8,11 @@ description: 官方量子模拟 — 表、门、概率/布洛赫/矩阵热图 SV
可选扩展(非 stdlib)。安装:`marqdo ext add quantum`(或编译 `marqdo_plugin_quantum`)。
GHZ(3 比特):q0 哈达玛,再控非 0→1、0→2。理想 |000⟩ / |111⟩ 各约 1/2。`绘图 种类=probs` 嵌入概率条;`门.绘图 种类=matrix` 为矩阵热图。
GHZ(3 比特):q0 哈达玛,再控非 0→1、0→2。理想 |000⟩ / |111⟩ 各约 1/2。
Q7:密度 / 部分迹 / Schmidt / `绘图 种类=hinton` 等 — `examples/quantum-entanglement/`。
Q8:`绘图 主题="dark"|"light"|"bw"`(默认 dark 科技感)作用于电路 / 概率 / 布洛赫。改插件后须再 `ext add`,view 才会加载新 `.so`。
`步骤` =
@@ -20,7 +24,7 @@ GHZ(3 比特):q0 哈达玛,再控非 0→1、0→2。理想 |000⟩ / |1
*`qc` = > 量子.电路 比特数=3 步骤=`步骤`*
*`p` = > `qc`.概率*
*`_` = > `qc`.绘图 种类="probs"*
*`_` = > `qc`.绘图 种类="probs" 主题="dark"*
*`H` = > 量子.门 名="H"*
*`__` = > `H`.绘图 种类="matrix"*