♻️ Migrate circuit normalization to Core v4 - #977
Draft
simon1hofmann wants to merge 2 commits into
Draft
Conversation
Use QuantumComputation member operations and drop the obsolete circuit optimizer link and wheel exclusions. Assisted-by: GPT-5.6 Sol via Codex
This was referenced Aug 27, 2026
Contributor
Cpp-Linter Report
|
12 tasks
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.
🤖 AI text below 🤖
Description
Prepare DDSIM for the removal of
qc::CircuitOptimizerin MQT Core #2262:QuantumComputation::flattenOperations()andremoveFinalMeasurements()directly;This intentionally leaves the MQT Core version requirement and
uv.lockunchanged. The PR must remain a draft until Core v4 is released, at which point the dependency pin can be updated and the PR revalidated.Dependencies and merge order
This PR depends on Core #2262 and should merge only after the Core v4 release. Full validation against the Core v4 branch used a temporary out-of-tree
MQT::CoreAlgorithmscompatibility shim for that separate Core v4 migration; no shim or unrelated migration is part of this diff.Companion migration drafts
Validation
WARNINGS_AS_ERRORS=ONStochNoiseSimTest.CheckQubitOrderthreshold miss (943, minimum 950)uvx nox -s lintgit diff --checkAI assistance
Codex materially assisted with implementation, validation, review, and this pull request description. A human must review and understand the changes before marking this pull request ready.
Checklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).