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`**
+4 -1
View File
@@ -182,5 +182,8 @@ description: 官方量子电路模拟(中文)。门 + 电路;ABI 插件。
## 绘图
+ `路径`=None
+ `种类`=gate
**> quantum_gate_draw gate=`self` path=`路径`**
门符号或复矩阵热力图(`种类=gate|matrix`)。经 `record_plot` 记录。
**> quantum_gate_draw gate=`self` path=`路径` kind=`种类`**