Migrate remaining footnote-style collection access in examples, public/structure, and ext/lib smokes to [key](base); teach link-index in structure pages and use bracket calls in the cafe journal example. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
478 B
Markdown
22 lines
478 B
Markdown
---
|
|
title: quantum zh API smoke
|
|
description: Chinese 量子.电路 泡利Z sandwich.
|
|
导入 量子:ext/quantum/量子.mq.md
|
|
import math:lib/math.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**电路 = > 量子.电路 比特数=1**
|
|
**电路 = > `电路`.哈达玛 比特=0**
|
|
**电路 = > `电路`.泡利Z 比特=0**
|
|
**电路 = > `电路`.哈达玛 比特=0**
|
|
**概率 = > `电路`.概率**
|
|
**p1 = [1](概率)**
|
|
**lo = > math.div a=9 b=10**
|
|
|
|
1. `p1` > `lo`
|
|
> print text=zh-ok
|
|
2. *
|
|
> print text=zh-fail
|