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>
17 lines
356 B
Markdown
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
|