Repository navigation
[量子接入] PPVM 原生 SDK、Pauli 传播与丢失/泄漏工作流 - #84
Merged
Merged
Conversation
xi-zhao
marked this pull request as ready for review
November 10, 2026 01:18
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PPVM 补充 OpenQuantum 的广义 tableau、Pauli 观测量传播,以及明确区分丢失、泄漏和重置的研究工作流。用户于 2026-11-10 明确要求接入;规格为 ppvm.md。
接入完整原生 Python API,增加
ppvm-simulationSkill、可编辑用户程序和隔离环境依赖锁。复用现有 SDK 发现 → 显式准备 → 宿主代码执行路径,DSH/Codex 共用实现,没有新增专用 Tool、MCP Server 或 Runtime。README、能力目录、方法选择与打包入口同步更新。固定 QuEraComputing/ppvm v0.3.0、完整提交
3cc883fd93b2475cb10c892a8a31adcc09a7579c(Apache-2.0)。使用 Git Python 子项目和提交的 uv.lock;准备需 Python 3.12 与支持 edition 2024 的 Rust。只有显式准备所选 SDK 才下载构建;未安装到用户环境。外置盘低于既有 40 GiB 保留线,大依赖构建在隔离 GitHub macOS runner 完成。验证
0.8037842898055502等于解析值。skills.list/get通过。Codex 实际打包、运行时分离、缓存 Skill 定位及 MCP stdio 握手/tools/list通过,未启动可选 provider。t()(修正为等价rz(pi/4))、缓存示例路径和首页数量问题已修复,未降低数值预期或删检查。npm run check、双平台源码安装、容器启动)、PPVM SDK、三平台 DSH 包、独立桌面包、Lean及首页构建。首页发布按 PR 策略跳过,没有部署。主测试批次889通过、359项可选实跑跳过(不计为通过);其余合同/能力检查无失败。最终 head 的 PPVM 原生输出和46项数值结果与版本化证据逐字节一致。自审
固定 base
5f6f0114d83f9ba64766e15e25e923767b13fa6b/ head758b4301fc772ea417b6286f66f063d038a83140;已核对4个提交和非空diff。执行方式为 single-agent,reviewMode=self-review、independent=false。按用户指令,工程审查中的子 agent 步骤改为当前任务顺序检查,不声称独立审查。实际边界与回退
上游仍为 alpha。非对称丢失不包含存活分支反作用;测试明确记录这个近似。LOST 不是 bool,
reset_state保留丢失/泄漏,reset包含恢复计算子空间的假设。Python tableau绑定1–2048qubit,实际成本受非Clifford增长限制。全部原生 API 可按需使用,但本次未逐项验证 Bloqade 编译、Lindbladian、完整 Stim 指令、Linux/Windows数值、真实器件、性能优势或已安装宿主UI。未新增 Validator/Acceptance Profile,
scientificValidation=not_evaluated;既有科学阈值和验收范围不变。回退可整体撤销本PR,旧能力与用户环境不受依赖替换影响。不自动合并、发布或部署。