Files
marqdo/tests/ext/quantum-gate-heatmap-smoke.mq.md
cflmyandCursor 0e389f34ec Ship quantum skill=tools tree with call session and ZH package.
Split ext/quantum into index + modules, add marqdo call --effects/--session/--toget,
narrative-ratio checks, and a same-package 量子/ tree so agents can follow a
decision path for Bell demos without inventing a second API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 21:50:01 +08:00

20 lines
434 B
Markdown

---
markup: occlusion
title: quantum gate matrix heatmap smoke
description: gate.draw kind=matrix writes SVG heatmap.
import:
quantum: ext/quantum/circuit/index.mq.md
gate: ext/quantum/gate/index.mq.md
---
# main
**H = > gate.gate name="H"**
**img = > `H`.draw kind="matrix" path="quantum-gate-heatmap.svg"**
**kind = [kind](access(img, "kind"))**
1. `kind` == matrix
> print text=heatmap-ok
2. *
> print text=heatmap-fail