Clarify quantum agent paths for Bell preparation.
Root skills get a choose-a-path table; circuit modules spell the simulate handoff; call_cli covers ZH bell and stepwise session probabilities. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
0e389f34ec
commit
76aa02846a
4 files changed
+116
-5
No files matched your search
@@ -35,9 +35,18 @@ Apply CNOT from 0 to 1:
|
||||
Call example (plain text):
|
||||
marqdo call ext/quantum/circuit/index.mq.md cnot circuit=$qc control=0 target=1 --effects plugin --session s --toget qc --json
|
||||
|
||||
Then open ext/quantum/simulate/index.mq.md for probabilities. Author programs may
|
||||
import this file and construct the circuit object named circuit (method chain h,
|
||||
cx, …). Agents should prefer marqdo call on the ## tools above.
|
||||
If you were given only this file, probabilities are not a ## tool here. After the
|
||||
CNOT line, call simulate on the same session (do not invent a probabilities
|
||||
tool on this file):
|
||||
|
||||
Call example (plain text):
|
||||
marqdo call ext/quantum/simulate/index.mq.md probabilities circuit=$qc --effects plugin --session s --json
|
||||
|
||||
Author programs may import this file and construct the circuit object named
|
||||
circuit (method chain h, cx, …). Agents should prefer marqdo call on the ##
|
||||
tools above, then simulate for amplitudes or probabilities.
|
||||
|
||||
*None*
|
||||
|
||||
## new
|
||||
Create a state-vector circuit of width `qubits`=1 by default. Optional
|
||||
|
||||
@@ -28,8 +28,14 @@ import:
|
||||
调用示例(纯文本):
|
||||
marqdo call ext/quantum/量子/电路/索引.mq.md 控非 电路=$qc 控制=0 目标=1 --effects plugin --session s --toget qc --json
|
||||
|
||||
随后打开 ext/quantum/量子/模拟/索引.mq.md 取概率。作者程序可导入本文件并使用对象电路
|
||||
(方法如哈达玛、控非)。智能体优先用上面的 marqdo call。
|
||||
若你只拿到本文件,这里没有「概率」这个 ## 工具。控非之后请在同一会话调用模拟模块
|
||||
(不要在本文件上发明概率工具):
|
||||
|
||||
调用示例(纯文本):
|
||||
marqdo call ext/quantum/量子/模拟/索引.mq.md 概率 电路=$qc --effects plugin --session s --json
|
||||
|
||||
作者程序可导入本文件并使用对象电路(方法如哈达玛、控非)。智能体优先用上面的
|
||||
marqdo call,再调模拟取振幅或概率。
|
||||
|
||||
*None*
|
||||
|
||||
|
||||
Reference in new issue
Block a user