Files
marqdo/tests/ext/quantum-noise-zh-smoke.mq.md
T
cflmyandCursor abcb141737 refactor: prefer link-index get across examples and tests
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>
2026-09-14 12:54:38 +08:00

402 B


title: quantum noise zh smoke description: 噪声 bitflip p=1 后 I 使全部射中 |1⟩. 导入 量子:ext/quantum/量子.mq.md

main

qc = > 量子.电路 比特数=1 qc = > qc.单位 比特=0 qc = > qc.噪声 种类="bitflip" 概率=1 r = > qc.运行 次数=32 种子=3 c1 = 1

  1. c1 == 32

print text=noise-ok

print text=noise-fail