Ship quantum skill=tools tree with call session and ZH package.

Split ext/quantum into index + modules, add marqdo call --effects/--session/--toget,
narrative-ratio checks, and a same-package 量子/ tree so agents can follow a
decision path for Bell demos without inventing a second API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-11-08 21:50:01 +08:00
1 parent 492790e985
commit 0e389f34ec
65 files changed
+3714 -1036

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
---
markup: occlusion
title: Quantum skill call demo
description: >-
Agent-style flow via ext/quantum index and domain modules (Bell probabilities).
import:
circuit: ext/quantum/circuit/index.mq.md
simulate: ext/quantum/simulate/index.mq.md
---
# main
Build Phi-plus with domain skills, then print ideal probabilities. Prefer the
same steps via marqdo call with --effects plugin and toget when an agent drives
the session.
**qc = > circuit.new qubits=2 steps=None**
**qc = > circuit.hadamard circuit=`qc` qubit=0**
**qc = > circuit.cnot circuit=`qc` control=0 target=1**
**p = > simulate.probabilities circuit=`qc`**
> print text=`p`