Skip to content

🔥 Remove CircuitOptimizer - #2389

Merged
denialhaag merged 1 commit into
codex/backport-2257-2335from
codex/backport-2262
Sep 5, 2026
Merged

🔥 Remove CircuitOptimizer#2389
denialhaag merged 1 commit into
codex/backport-2257-2335from
codex/backport-2262

Conversation

@denialhaag

@denialhaag denialhaag commented Sep 4, 2026

Copy link
Copy Markdown
Member

Description

🤖 AI text below 🤖

Backports the removal of CircuitOptimizer to v3.x:

Circuit flattening and final-measurement removal move to QuantumComputation. Equivalence-checking transformations move to MQT QCEC, mapping transformations move to MQT QMAP, and both downstream packages provide the single-qubit gate fusion they require. The unused public circuit dependency graph and transformations without production consumers are removed.

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 4, 2026
@denialhaag denialhaag added refactor Anything related to code refactoring minor Minor version update Core Anything related to the Core library and IR c++ Anything related to C++ code backport Changes that have been backported to a stable release branch labels Sep 4, 2026
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.49541% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/ir/CircuitOptimization.cpp 94.4% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@denialhaag
denialhaag merged commit 46bd043 into v3.x Sep 5, 2026
26 checks passed
@denialhaag
denialhaag deleted the codex/backport-2262 branch September 5, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Changes that have been backported to a stable release branch c++ Anything related to C++ code Core Anything related to the Core library and IR minor Minor version update refactor Anything related to code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants