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>
24 lines
523 B
Markdown
24 lines
523 B
Markdown
---
|
|
markup: occlusion
|
|
title: quantum zh API smoke
|
|
description: Chinese 量子.电路 泡利Z sandwich.
|
|
导入:
|
|
量子: ext/quantum/量子/电路/索引.mq.md
|
|
math: lib/math.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**电路 = > 量子.电路 比特数=1**
|
|
**电路 = > `电路`.哈达玛 比特=0**
|
|
**电路 = > `电路`.泡利Z 比特=0**
|
|
**电路 = > `电路`.哈达玛 比特=0**
|
|
**概率 = > `电路`.概率**
|
|
**p1 = [1](access(概率, "1"))**
|
|
**lo = > math.div a=9 b=10**
|
|
|
|
1. `p1` > `lo`
|
|
> print text=zh-ok
|
|
2. *
|
|
> print text=zh-fail
|