♻️ Migrate circuit flattening to Core v4 - #438
Draft
simon1hofmann wants to merge 1 commit into
Draft
Conversation
This was referenced Aug 27, 2026
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 the MQT Debugger for the removal of
qc::CircuitOptimizerin MQT Core #2262:QuantumComputation::flattenOperations(true)directly; andThis 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.Stack and dependencies
This is a stacked draft targeting
codex/2098-openqasm-serializerand depends on #436, because current Debuggermainstill uses OpenQASM APIs already removed from Core v4. After #436 merges, retarget this PR tomain. It also depends on Core #2262 and should merge only after the Core v4 release.Companion migration drafts
Validation
WARNINGS_AS_ERRORS=ONuvx nox -s lintgit diff --checkAI assistance
Codex materially assisted with implementation, stacked-branch 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).