-
Notifications
You must be signed in to change notification settings - Fork 47
Implement a decomposition of PPRs into PPMs #1664
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
dd110d1
Add the `qec.prepare` operation for initializing the logical qubits.
sengthai 907957d
- Introduced `SelectPPMeasurementOp` for conditional Pauli product me…
sengthai 9de681b
Add convenience builder
sengthai a37ab39
Implement new pass that includes `auto-corrected` and `inject-magic-s…
sengthai dc78cfb
Added test case
sengthai 57e1276
Refactor decomposition method
sengthai 6aa10bf
Fixed memory buffer caused by using `ArrayRef`
sengthai 0994d63
Added verifier to
sengthai 3bd3292
Supported decomposition of
sengthai a26289b
Merge branch 'main' into ppr-to-ppm
sengthai 44c7f90
Supported pass in frontend
sengthai d2c2e26
Add tests
sengthai 2fb6a99
Separate decomposition of pi/4 and pi/8 PPR into two MLIR passes
sengthai d23eddd
codefactor
sengthai 9b84432
Updated test in
sengthai 914843a
Formated
sengthai a5a55bd
Added test case
sengthai 055681c
Apply suggestions from code review
sengthai f663816
Update docstring
sengthai 6191c9c
- Modified `state-prep` to `avoid-y-measure`
sengthai 1b917e6
Update frontend/catalyst/passes/builtin_passes.py
sengthai a511f45
Added more info on
sengthai e3874c2
Removed function call in pytest
sengthai 7521430
Update docstring for `ppr_to_ppm` function to clarify decomposition m…
sengthai 3beb2f3
- Added `qec.fabricate` to QEC dialect
sengthai fb28104
Supported `qec.fabricate` in `decompose_non_clifford_ppr`
sengthai 9d942c9
Update mlir/include/QEC/IR/QECDialect.td
sengthai e134941
Removed unnesessary comment
sengthai 0aff695
Refactor `decompose_auto_corrected_pi_over_eight` to use boolean for …
sengthai 8243b2d
Refactor `SelectPPMeasurementOp` to use `select_switch` for clarity a…
sengthai 8a95e18
Add `AllocQubitOp` and `DeallocQubitOp` to QuantumOps.td; update deco…
sengthai b5b7008
Refactored `alloc_qb` and `dealloc_qb`.
sengthai ffc213f
Removed memory effect in `AllocQubitOp`
sengthai 589e1b1
Enhance description of`PrepareStateOp` and `FabricateOp` to clarify s…
sengthai 2a362c4
Enchanced docstring in PrepareStateOp
sengthai 63cc5b0
Updated changelog
sengthai 2ad7e59
Updated docstring in ppr_to_ppm pass
sengthai 937e942
Merge branch 'main' into ppr-to-ppm
sengthai ec77938
Formated
sengthai e6d5bd2
Updated ppr_to_ppm in frontend
sengthai ed98d01
Update changelog and improve ppr_to_ppm function signature
sengthai 7157c46
Apply suggestions from code review
sengthai 9065f4a
Enhance DecomposeNonCliffordPPR pass to include `avoid-y-measure` option
sengthai ed178d4
Merge branch 'main' into ppr-to-ppm
sengthai 8cff4bd
Add PPR decomposition utility functions
sengthai 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
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
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
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.
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.