Skip to content

【代码贡献】新增可复用量子傅里叶变换(QFT)模块 - #75

Open
tokenjunkielabs wants to merge 5 commits into
OriginQ:developfrom
woahwhattheheck:zz-foundryglass/origin-cup-qft-20260920
Open

tokenjunkielabs wants to merge 5 commits into
OriginQ:developfrom
woahwhattheheck:zz-foundryglass/origin-cup-qft-20260920

Conversation

@tokenjunkielabs

Copy link
Copy Markdown

Relates to #13 (2026 本源杯 open-source innovation / code contribution).

Adds a dedicated reusable Quantum Fourier Transform module instead of requiring callers to reach into the generic plugin helper.

  • forward and inverse QFT circuit construction
  • explicit least-significant-to-most-significant qubit ordering
  • optional final swaps with an exposed bit-reversal permutation
  • simulator-independent NumPy reference transform defining the phase/order convention
  • configured QuantumFourierTransform builder for repeated forward/inverse use
  • package-level export, documentation, and runnable circuit example

The implementation follows the existing pyqpanda-algorithm controlled-phase convention while making inverse and output-order semantics explicit.

Per the current contributor workflow, no test run is claimed for this submission.

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