Skip to content

【代码贡献】新增 QTeleport 相干量子隐形传态模块 - #72

Open
tokenjunkielabs wants to merge 2 commits into
OriginQ:developfrom
woahwhattheheck:zz-forgecrest-6842/origin-cup-qteleport-20260920
Open

tokenjunkielabs wants to merge 2 commits into
OriginQ:developfrom
woahwhattheheck:zz-forgecrest-6842/origin-cup-qteleport-20260920

Conversation

@tokenjunkielabs

Copy link
Copy Markdown

关联 #13(2026 本源杯开源创新赛道|代码贡献)。

新增 pyqpanda_alg.QTeleport,提供完整三量子比特量子隐形传态模块:标准 Bell 对制备与 Bell 基变换;使用延迟测量原理把经典前馈 X/Z 修正改写成相干受控修正,避免后端特定的中途测量/经典控制接口;明确 q0=消息、q1=Alice、q2=Bob 的量子比特契约;PyQPanda3 延迟导入;独立 NumPy 三量子比特状态矢量参考、Bob 约化密度矩阵与保真度;README 与示例。

逻辑电路:H(q1) -> CNOT(q1,q2) -> CNOT(q0,q1) -> H(q0) -> CNOT(q1,q2) -> CZ(q0,q2)。后两门对应标准传态协议中的 X/Z 前馈修正。

Source head: 92cce01d8e07922b46412e1798c49434155c636d, directly based on sponsor develop@5f973efccb84bc193157d1ccebe32137e307293b.

No test run is claimed; submission scope is the module, package API, documentation, and example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants