Completes the Q4 matrix-draw follow-up and mirrors author/noise APIs in Chinese smokes. Co-authored-by: Cursor <cursoragent@cursor.com>
341 B
341 B
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] *
kind== matrix
print text=heatmap-ok
print text=heatmap-fail