-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Support commutation check between Pauli-based gates and standard gates #15488
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 31 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
41238fc
Transpiler: implement exact Pauli generators for LightCone in Rust
debasmita2102 6eb6d49
Lint: apply cargo fmt and fix clippy::map_clone in split_2q_unitaries.rs
debasmita2102 2e78986
Expose generator_observable to Python
debasmita2102 d0d78a5
Refactor generator logic to use qiskit_circuit::StandardGate
debasmita2102 f5d3e94
Update generator_observable with expansions for CCX/CCZ/CSwap
debasmita2102 520d6d4
Fix generator fallback for unsupported gates and update docs
debasmita2102 2be8d7c
Narrow PR scope: remove split_2q_unitaries and pyext python wrapper
debasmita2102 701f392
Add generator support for CS, CSdg, CSX, CCX, CCZ; add commutation tests
debasmita2102 dd34744
style: run black on test_commutation_checker.py
debasmita2102 1972698
style: run rustfmt on standard_generators.rs
debasmita2102 c23f14e
lint: fix license headers and pylint warnings
debasmita2102 0f239aa
style: remove decorative unicode lines and add operator equivalence t…
debasmita2102 f8922f4
fix: ensure strict Operator equivalence for all supported generators
debasmita2102 f180a39
style: fix pylint reimport and missing variables in test_commutation_…
debasmita2102 55e23ef
Add generic generator equivalence test, fix matrix conversion, and op…
debasmita2102 d3f2fe0
Format python tests
debasmita2102 f6be929
Update copyright year in standard_generators.rs
debasmita2102 9a5f713
Clarify docstring for multi-qubit generators context
debasmita2102 1869532
Fix XXPlusYY and XXMinusYY generator validation and test cases
debasmita2102 3c023c4
Move test imports to top of file
debasmita2102 4c54c4e
Use ddt data parameterization for gate generator testing tests
debasmita2102 dfe3e02
Refactor test_clifford_gates_have_generators to use ddt
debasmita2102 65f8579
Add CPhase, CRX, CRY, CRZ to generator tests
debasmita2102 dd04a0f
Update test_all_gates_operator_equivalence_ddt docstring to be more a…
debasmita2102 d1ed83f
Move all inline imports to the top of the file
debasmita2102 644b658
Reorganize test data to group related gates logically
debasmita2102 8527682
Add tests for unsupported gates and parameters in generator logic
debasmita2102 641b154
Rename test helper to _commute to reflect that it uses either generat…
debasmita2102 9f52f4e
Clarify parameter handling in generator_observable docstring
debasmita2102 a806de7
Comprehensive audit: Add Identity support and register all missing ga…
debasmita2102 1bdf23b
Fix: Correct gate generator expansions and resolve UnsortedIndices la…
debasmita2102 3f6c971
pose generator engine, restore overflow logic, expand tests, and cent…
debasmita2102 fa1613b
Update crates/circuit/src/util.rs
debasmita2102 b8d488f
Update releasenotes/notes/pauli-evolution-commutation-8f7caab8.yaml
debasmita2102 68c4dea
Update releasenotes/notes/pauli-evolution-commutation-8f7caab8.yaml
debasmita2102 1264d99
added missing gate, added test, copyright year, doc explaining
debasmita2102 3f9f12f
restore negative constants to util.rs for generator expansions
debasmita2102 162fd7b
fix lint errors in regression test and move imports to top
debasmita2102 b1ce968
Final PR fixes: address remaining lint issues and update copyright he…
debasmita2102 df74bc5
Remove accidental temporary files from PR
debasmita2102 818da54
Restore original copyright years for existing files (only PR-created …
debasmita2102 7be547e
Permanently delete bicycle-architecture-compiler from branch
debasmita2102 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
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.