flagquantum-workbench skillA
flagquantum-workbench is agent-read markdown (skill) from xi-zhao/openquantum: 用固定 FlagQuantum 执行第二家量子 MCP 电路工作台,解释输入语义、独立数值对照、成本与科学边界。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# FlagQuantum
这是默认关闭的第二家上游量子 MCP。用户需要对照时,从设置中心启用 `flagquantum` 并准备固定环境。只使用该 server 命名空间中的 Tool,避免与 Qiskit 同名 Tool 混淆。
按 gate-list QIR → serialize_circuit_tool → analyze_circuit_tool → 按意图 optimize_circuit_tool / route_circuit_tool → emit_openqasm_tool / emit_qcis_tool 的顺序工作。输入是 FlagQuantum IR JSON 或 QIR 门列表;OpenQASM 仅输出,不当作可读入格式。示例 QIR:`[{"name":"h","index":[0]},{"name":"cx","index":[0,1]}]`。
本地模拟使用 simulate_circuit_tool,核对 output kind、wire 顺序、precision、shots 和执行模式。先读 describe_gate_set_tool 再选不熟悉的门;训练必须有独立基线。17 个上游 Tool 的成功/失败在结果 `status` 中,不应只看 MCP `isError`。`status=success` 与 accuracy.metric=not_measured 不代表科学验收;实际硬件作业没有通过此连接提交。源服务的 readOnlyHint 只描述计算,启动器首次物化环境会写磁盘,因此 OQ 保守按 workspace-write 登记。
此上游协议没有 `execution` 字段。连接超时由 MCP 设置控制;启动器继承用户配置的数值线程与设备环境(如 `OMP_NUM_THREADS`),不固定为单线程。首调可能物化锁定环境,因此完整调用为 workspace-write。不要把执行成功或参考相符写成最终科学验收。安装、来源与示例见 [候选库接入说明](../../../docs/integrations/CANDIDATE_LIBRARIES.md)。Read the whole file at its exact version.
How to install
mdr add xi-zhao/openquantum/flagquantum-workbench@git:20260920.e9da4cdmdr add xi-zhao/openquantum/flagquantum-workbench@sha256:0492cf4b59370ad9Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_34hzz4mtmrslvgyb)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260920.e9da4cd latest | 2026-09-20 | e9da4cd | 1,746 B | A | view · diff |
| git:20260920.c209723 | 2026-09-20 | c209723 | 1,656 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1746 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
xi-zhao/openquantum · 69 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_34hzz4mtmrslvgyb GET https://markdownregistry.com/api/v1/resolve?ref=xi-zhao/openquantum/flagquantum-workbench GET https://markdownregistry.com/api/v1/blob/0492cf4b59370ad9b24016b33a9fb926fd25a0735080d1b7d6fb3adfe129f9e0
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.