Value-expression variables inside *…* / **…** segments no longer need backticks (the segment markers already mark code). Drop trailing spaces and de-tick value-expression variable names in tests and skill docs; keep backticks for string interpolation, call args, and method receivers. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
463 B
Markdown
22 lines
463 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
|