Fix public docs run errors and optional gate matrix binding.

Markdown list dashes were parsed as loops; quantum.gate name=H failed because plugin bind required matrix. Repair user-site pages and redeploy-ready sources.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-12 15:36:58 +08:00
1 parent db27f5c8d3
commit 209dc4fc5d
24 files changed
+137 -52

No files matched your search

+2 -5
View File
@@ -174,13 +174,10 @@ Circuit rail / probability bars / Bloch sphere SVG (`kind=circuit|probs|bloch`).
+ `theta`=None
+ `matrix`=None
Named built-in gate (`name=H`) or custom unitary from `matrix=` (nested list / `$$` matrix fence). Optional `name=` label for custom gates (default `U`).
Named built-in gate (`name=H`) or custom unitary from `matrix=` (nested list or formula matrix fence). Optional `name=` label for custom gates (default `U`).
> ensure_plugin
1. `matrix`
**> quantum_gate_from_matrix matrix=`matrix` name=`name`**
2. *
**> quantum_gate_new name=`name` theta=`theta`**
**> quantum_gate_new name=`name` theta=`theta` matrix=`matrix`**
## matrix