-
Notifications
You must be signed in to change notification settings - Fork 83
Generic decomp rule lowering #3021
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
Closed
Closed
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
f0ac7a2
add pass option and functionality
kipawaa 9101dd8
add test
kipawaa a9e06ab
headers
kipawaa 06b413a
header delimiter
kipawaa 325a814
custom inline in dl
kipawaa 5a7f39b
update tests
kipawaa 0391ff5
update graph-decomposition
kipawaa 7a5887b
Merge branch 'main' into dl-driver-restructure
kipawaa 689ada3
cleanup
kipawaa 3648480
update pass
kipawaa 9060f22
update test
kipawaa 8e55f6a
fix paulirot rule collisions, centralize resources in addRuleNode
kipawaa 291727b
changelog
kipawaa be42e17
Merge branch 'dl-driver-restructure' into graph-decomp-rule-improvements
kipawaa 30de0ca
changelog
kipawaa 3831ddd
Merge branch 'main' into dl-driver-restructure
kipawaa 5f12f98
Merge branch 'dl-driver-restructure' into graph-decomp-rule-improvements
kipawaa 73e6de0
define decomp interface
kipawaa eb637de
add interface to paulirot
kipawaa 99d4a7a
update interface
kipawaa 6b12ac0
generalize python rule lowering
kipawaa d46c6af
generalize frontend
kipawaa bca7801
support multiple rules
kipawaa 4023f9e
Update doc/releases/changelog-dev.md
kipawaa 24237a0
Apply suggestion from @maliasadi
kipawaa 73afab2
review changes
kipawaa 7c41490
Merge branch 'main' into graph-decomp-rule-improvements
kipawaa 4edaf7c
fix merge mistake
kipawaa 35cfc99
move interface methods to cpp file
kipawaa c4d2091
support multiple wire args
kipawaa 2a2fd76
improve interface implementation
kipawaa 2e3518d
add interface tests
kipawaa 30c2af3
Merge branch 'main' into graph-decomp-rule-improvements
kipawaa a5e03da
requested changes
kipawaa 634b85f
merge graph-decomp-rule-improvements
kipawaa d9f3df6
fix floatattr stringify
kipawaa e3e6736
improve interface note in graph-decomposition
kipawaa 0437262
improve frontend TODOs
kipawaa 8ef0e38
use interface for paulirot lowering
kipawaa 133e8fa
remove debug prints
kipawaa 7676c35
update pytests
kipawaa 7b70b1f
merge main
kipawaa 674f944
update DL to support new paulirot ID
kipawaa d22d836
add getExtraData to interface
kipawaa 105b7b8
merge main
kipawaa 00d0207
fix casing in QPD test
kipawaa 9b33de7
add dtype for wires
kipawaa 5570514
Update mlir/include/Quantum/IR/QuantumInterfaces.td
kipawaa fde3c2e
use getOperatorName
kipawaa 3e295d9
fix unittests
kipawaa 9be1f4f
Implement decomposable gate interface methods for other gate ops
paul0403 77ccac8
requested changes
kipawaa 58346be
pcphase
paul0403 18b7971
use op_name for list_decomps
kipawaa 1d0079c
merge main
kipawaa c94e974
customop
paul0403 7e7cd1a
move tests to frontend and use `catalyst --tool=opt` instead of `quan…
paul0403 4577db9
gphase op
paul0403 644ac39
changelog
kipawaa a4d67e6
frontend lit test find test_rules.mlirbc
paul0403 cef8c94
Merge remote-tracking branch 'origin/decomp-interface' into paul0403/…
paul0403 3b41980
try except on bad rules
paul0403 093badc
Merge remote-tracking branch 'origin/main' into paul0403/other_decomp…
paul0403 d8462be
unitary op
paul0403 ec21744
compile test_rules.mlirbc in CI
paul0403 ba092c3
use cmake
paul0403 30758e5
call frontend lit test camke in `make lit-coverage`
paul0403 e521133
just use quantum-opt
paul0403 22f8992
use catalyst cli
paul0403 2059a42
Merge remote-tracking branch 'origin/main' into paul0403/other_decomp…
paul0403 519c5e9
pylint
paul0403 553e504
print as a tensor
paul0403 66dfb16
add support for ids
kipawaa 1f539f3
add tests
kipawaa cafd58c
changelog
kipawaa bb70c72
generic decomp rule lowering
kipawaa db395d8
combine tests for rule lowering
kipawaa 4816e32
improve interface type handling
kipawaa ebf3c5c
update test for improve type handling
kipawaa 65d3b12
support multiple rules
kipawaa 6a73292
codefactor
kipawaa e5e206a
platform-dependent suffix for fallback pathway
kipawaa d595ea9
cleanup
kipawaa dd4121e
integrate with precompilation
kipawaa 122b0a4
update tests
kipawaa 3eca934
support complex types
kipawaa f682367
try/except on resources
kipawaa 14cfd6d
improve id handling
kipawaa e36c323
Merge branch 'decomp/solver-id-support' into generic-decomp-rule-lowe…
kipawaa e3f37a1
Merge branch 'main' into decomp/solver-id-support
kipawaa c3ae29c
Merge branch 'decomp/solver-id-support' into generic-decomp-rule-lowe…
kipawaa eaf0883
Merge branch 'paul0403/other_decomp_interface_ops' into generic-decom…
kipawaa 614b4b6
Merge remote-tracking branch 'origin/main' into generic-decomp-rule-l…
paul0403 54db9c9
Merge remote-tracking branch 'origin/main' into generic-decomp-rule-l…
paul0403 db627c2
git whoops
paul0403 79300d0
git whoops again
paul0403 c295f78
codefactor
paul0403 af0fecf
Merge branch 'decomp/gateset-by-name' into generic-decomp-rule-lowering
kipawaa 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This inner try-except around the op id generation means we can remove the original try-except around the qjit right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more-so around the
compute_resources, but yes! This way we can skip incompatible rules without skipping the op entirely