Skip to content

✨ Add quantum-input QFT adder benchmark - #2404

Draft
denialhaag wants to merge 3 commits into
codex/add-teleportation-benchmarkfrom
codex/add-quantum-qft-adder
Draft

✨ Add quantum-input QFT adder benchmark#2404
denialhaag wants to merge 3 commits into
codex/add-teleportation-benchmarkfrom
codex/add-quantum-qft-adder

Conversation

@denialhaag

@denialhaag denialhaag commented Sep 5, 2026

Copy link
Copy Markdown
Member

Description

🤖 AI text below 🤖

Add a structured quantum-input QFT adder benchmark based on Draper's addition circuit. Each instance prepares an n-qubit addend in the uniform superposition and an n-qubit accumulator in state |1>, then applies the exact no-swap QFT, the complete controlled-phase addition, and the inverse QFT. The result contains addend || sum, which lets the analytic reference check the addition correlation instead of an uninformative uniform marginal.

This PR is stacked on #2324.

AI notice

This PR and its contents were created with the assistance of GPT-5.6 Sol via Codex.

Checklist

  • The pull request only contains commits that are focused and relevant to this change.
  • I have added appropriate tests that cover the new/changed functionality.
  • I have updated the documentation to reflect these changes.
  • I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.
  • I have added migration instructions to the upgrade guide (if needed).
  • The changes follow the project's style guidelines and introduce no new warnings.
  • The changes are fully tested and pass the CI checks.
  • I have reviewed my own code changes.

If PR contains AI-assisted content:

  • Any agent that created, edited, or submitted GitHub content was explicitly authorized for that scope, as required by our AI Usage Guidelines.
  • Every agent-authored or agent-edited public text body begins with the visible disclosure 🤖 *AI text below* 🤖 (titles are exempt).
  • I have disclosed AI assistance in the PR description.
  • I confirm that I have personally reviewed and understood all AI-generated content, and accept full responsibility for it.

Assisted-by: GPT-5.6 Sol via Codex
@denialhaag denialhaag self-assigned this Sep 5, 2026
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.47328% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/bench/JSON.cpp 87.5% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Assisted-by: GPT-5.6 Sol via Codex
Assisted-by: GPT-5.6 Sol via Codex
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.

1 participant