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>
This commit is contained in:
cflmyandCursor committed 2026-08-12 13:57:13 +08:00
1 parent 60d570756f
commit b842644686
13 files changed
+287 -14

No files matched your search

+4 -1
View File
@@ -182,5 +182,8 @@ Named gate handle (built-in unitary). Use `matches_matrix` to check an author-su
## draw
+ `path`=None
+ `kind`=gate
**> quantum_gate_draw gate=`self` path=`path`**
Gate glyph or complex-matrix heatmap (`kind=gate|matrix`). Records via host `record_plot`.
**> quantum_gate_draw gate=`self` path=`path` kind=`kind`**