-
Notifications
You must be signed in to change notification settings - Fork 1
Integrate PermRowCol #43
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
47 commits
Select commit
Hold shift + click to select a range
bb95636
Add helper function in PauliString to calculate hamming weight
55ae0b7
Update connectivity to fix unintended behavior
eb01544
Correct pivot selection for custom callback
3099c2d
Add more helper functions to CliffordTableau
7260616
Add more comments on structure of CliffordTableau
d203c63
Add helper functions for PermRowCol
4fe69af
Implement PermRowCol for CliffordTableau
f84c0de
Add tests for PermRowCol for CliffordTableau
98a504c
Update benchmark code
29f2a00
Use alias for complex type in CliffordCallback
3892013
Remove unused lifetime in CallbackCliffordSynthesizer
a6fd07c
Remove unused import
dd3601a
Remove println statement
3ac86d0
Remove unused imports and print statements
4492cb8
Update test for architecture
4bde6d9
Set function as public
7ac2de6
Rename edge_ and node_bound to edge_ and node_count
05539f8
Add clearer error messages calling Clifford Tableau functions
d8cc290
Replace clean_naive_pivot with clean_pivot
dd42947
Add example from syn into synpy integration tests
d684b90
Add PermRowCol as strategy in pauli_exponential.rs
f0cfd71
Add ability to modify row and column selection strategy for PermRowCo…
99a5ac9
Convert from syn to synir
b0f56e8
Update formatting of clifford_tableau/naive.rs
13235f7
Formatted test_pauliopt.py
fc94cd1
Remove derived Default for Connectivity and PermRowCol synthesizer
a0ff746
Remove unneeded dollar signs from assert message
eba8342
Add comments on gate direction back to clean_z_pivot
91f3c40
Remove unused import
d2848df
Shift permrowcol tests to separate file, move common.rs to common/mod…
3c59e50
Update permrowcol `pick_column` to not add weight of chosen pivot row
7ebc5e3
Shift prc synthesis to permrowcol test file
951bcfe
Add more tests to ensure prc column selection is correct
4bae383
Remove unused imports
8db28a8
Reorder prc synthesis tests to be uniform
67beeb6
Merge branch 'main' into perm_row_col
Aerylia 54f6dd0
Fix rwlock stuff
Aerylia a1b74e2
Test refactor and bugfixes
Aerylia 25c2c98
Custom Callback rewrite
Aerylia bee7694
Remove extra scope
Aerylia ada9158
Refactor integration tests to use macros
Aerylia 5047359
Add check to ensure pivot qubit is non-identity
08f9939
Format file
0104944
Modify pick_column to penalize identity on row
701951f
Allow identity_2qb_ct test for custom callback to return a permuted CT
c32da81
Remove print statement
3f16f1a
Add comments for permutation direction
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.