【代码贡献】新增 Quantum Natural Gradient 与 Fubini-Study 度量模块 - #88
Open
tokenjunkielabs wants to merge 16 commits into
Open
tokenjunkielabs wants to merge 16 commits into
tokenjunkielabs wants to merge 16 commits into
Conversation
【代码贡献】新增 Deutsch-Jozsa 与 Bernstein-Vazirani oracle-learning 模块
…op-integration-20260914 stage(origin-cup): integrate QWalk contribution
…-integration-20260914 stage(origin-cup): integrate QEC repetition-code contribution
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.
关联 #13(2026 本源杯开源创新赛道|代码贡献)。
概要
新增
pyqpanda_alg/QNG,实现纯态 Fubini–Study 几何度量与稳定的 Quantum Natural Gradient(QNG)更新,作为普通欧氏梯度下降之外的几何感知变分优化工具。主要内容
(g + λI)v = ∇C,对小零空间进行rcond截断;quantum_natural_gradient与一步natural_gradient_stepAPI;该模块与 ParameterShift 贡献独立:本 PR 不依赖另一个待合并分支,可单独审阅和合并。
Exact owner head:
6c03f0ab0bfab179ed9149bc0a9a8713b5498a8c.