Files
marqdo/tests/ext/quantum-gate-heatmap-smoke.mq.md
T
cflmyandCursor abcb141737 refactor: prefer link-index get across examples and tests
Migrate remaining footnote-style collection access in examples,
public/structure, and ext/lib smokes to [key](base); teach link-index in
structure pages and use bracket calls in the cafe journal example.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:54:38 +08:00

17 lines
356 B
Markdown

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