-
-
Notifications
You must be signed in to change notification settings - Fork 54
✨ Improve Static Qubit Handling #1569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
simon1hofmann
wants to merge
38
commits into
main
Choose a base branch
from
static_qubit_handling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,514
−490
Open
Changes from 8 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
3e9099e
✨ Update QCO operations to reflect memory effects and enhance dealloc…
simon1hofmann 6c77dbb
✨ Add `staticQubitWithOp` function to allocate a static qubit and app…
simon1hofmann 646cf3e
✅ Add test cases for `staticQubitWithOp` across various dialects (QC,…
simon1hofmann ea7b675
🔧 Add missing include for LLVM casting support in QCOToQC.cpp
simon1hofmann b824284
✨ Rename `staticQubitWithOp` to `staticQubitsWithOps` and update rela…
simon1hofmann c2d414f
🔧 Enhance `ConvertFuncReturnOp` to exclude escaped qubits from the li…
simon1hofmann 0b81e9c
✨ Enhance QubitType to support static and dynamic qubits, updating re…
simon1hofmann 0221058
✨ Update QubitType handling in QCO and QC dialects to support static …
simon1hofmann a5ffdef
🔧 Refactor QCO and QC dialects: remove unnecessary includes, simplify…
simon1hofmann 6af63db
✨ Introduce StaticQubit type in QC and QCO dialects, enhance StaticOp…
simon1hofmann 08410f6
🔧 Update QCO and QC dialects: add missing LLVM casting includes, enha…
simon1hofmann 893a746
Merge branch 'main' into static_qubit_handling
simon1hofmann ec4f2fa
🔧 Update StaticOp to output StaticQubit type and remove unnecessary v…
simon1hofmann 6ff64e4
🔧 Refactor QubitType definitions in QC dialect: reintroduce DynamicQu…
simon1hofmann e0689dc
🔧 Add DynamicQubit and StaticQubit type definitions in QCO dialect, u…
simon1hofmann c624c3d
🔧 Update AllocOp to return DynamicQubit type, refactor ConvertFuncRet…
simon1hofmann 8499977
🔧 Enhance QCO operations with type verification: add input-output typ…
simon1hofmann a16da14
Apply suggestions from code review
simon1hofmann adb5192
🔧 Refactor QCO operations to improve static qubit handling: update St…
simon1hofmann 34a6ffe
Merge branch 'main' into static_qubit_handling
simon1hofmann ea8b155
🎨 pre-commit fixes
pre-commit-ci[bot] 95970d6
🔧 Implement synchronizeMappedQubitTypes function to align qubit resul…
simon1hofmann 0ed81fa
🔧 Update conversion patterns in QCO, QC, and QIR dialects to ensure c…
simon1hofmann c9d1b8f
🔧 Add missing includes in QCOToQC and Mapping.
simon1hofmann acdc0cb
🔧 Refactor qubit mapping in QCToQCO conversion patterns to use per-re…
simon1hofmann c3e1b2a
🐧 Fix compile error on Linux due to missing link library
burgholzer 3dcb30a
✏️ Rename SSABeforeForDeallocOrder to SSAOrder and tweak docstring
burgholzer 417857a
🎨 Replace two-qubit gate programs with gate that is less likely to be…
burgholzer 4c8c0f9
🚨 Fix use of outdated rewrite method
burgholzer d6ad7c4
🎨 Refine static qubit handling to require less casting
burgholzer 9c807b7
🩹 Mark result of `qc.alloc` as dynamic qubit
burgholzer ef2bdaa
🎨 one cast less
burgholzer bf3b82e
🎨 Incremental code quality improvements to the QCToQCO conversion
burgholzer 57e150a
♻️ Streamline QCToQCO conversion by introducing helper functions
burgholzer 2b6f808
🚨 Fix clang-tidy warnings
burgholzer 20a7e6a
🐛 Fix the logic in `synchronizeMappedQubitTypes` and add dedicated tests
burgholzer 3166aa0
✨ Update mapping pass to use `IRRewriter`.
simon1hofmann 01e9861
✨ clang-tidy and coderabbit comments.
simon1hofmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.