Files
marqdo/tests/ext/quantum-gate-heatmap-smoke.mq.md
T
cflmyandCursor b842644686 Add gate matrix heatmaps, GHZ example, and ZH quantum golds.
Completes the Q4 matrix-draw follow-up and mirrors author/noise APIs in Chinese smokes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 13:57:13 +08:00

17 lines
341 B
Markdown

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