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>
356 B
356 B
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
kind== matrix
print text=heatmap-ok
print text=heatmap-fail