-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add Assertion Refinement tools to MQT Debugger (#35)
* feat: ✨ Define basic commutation rules for general assertions * feat: ✨ Add some more commutation rule * feat: ✨ Add assertion movement functionality to Diagnostics * test: ✅ Refactor test structure and add new tests for assertion movement * refactor(assertion-tools): ♻️ Change passing mode to reference for testing assertion movements * ci(assertion-tools): 👷 Add assertion-tools branch to ci * test(assertion-tools): ✅ Add new assertion movement tests * feat(assertion-tools): ✨ Add entanglement-assertion creation tools and tests * refactor(assertion-tools): ♻️ Fix some linting issues * refactor(assertion-tools): ♻️ Update the commutativity rule logic * refactor(assertion-tools): ♻️ Refactor commutativity rule logic * test(assertion-tools): ✅ Add new tests and fix some minor issues * feat(assertion-tools): ✨ Add assertion suggestion to CLI Frontend * test(assertion-tools): 🧪 Add tests for new equality assertion splitting method * style(assertion-tools): ♻️ Fix pre-commit issues * refactor(assertion-tools): ♻️ Refactor maths methods from DDSimDebug into a common maths file * feat(assertion-tools): :feat: Add equality assertion splitting method * build(assertion-tools): ⬆️ Change python version for bindings to 3.9 * fix: 🐛 Fix parsing of negative complex numbers * feat(assertion-tools): :feat: Allow moving assertions over other assertions This has to be allowed, otherwise one stuck assertion would block all others. Later on, some changes should be made to ensure the sorting remains stable * feat(assertion-tools): ✨ Calling the assertion-tool methods with count 0 now returns the maximum size * feat(assertion-tools): ✨ Implement get quantum variable name method * refactor(assertion-tools): ♻️ Increase epsilon when computing entanglement (it's better to be more lenient) * build(assertion-tools): 🏗️ Update python bindings * test(assertion-tools): ✅ Add test for assertion creation of eq assertions * feat(assertion-tools): :feat: Stop ent-assertion generation when connection is not unique * feat(assertion-tools): :feat: Ent-Assertion creation now builds 1:1 along the path instead of 1:n from the base * test(assertion-tools): 🧪 Remove assertion movement test that requires stable sorting * refactor(assertion-tools): ♻️ Rename "commutativity" to "commutation" * feat(assertion-tools): 🏷️ Add new assertion refinement methods to `.pyi` file * refactor(assertion-tools): 📝 Add docstrings to all new non-test functions * refactor(assertion-tools): 📝 Add docstrings to new assertion refinement tests * refactor(assertion-tools): ♻️ Resolve linting issues * refactor(assertion-tools): ♻️ Resolve linting issues * refactor(assertion-tools): ♻️ Remove unnecessary string import
- Loading branch information
Showing
32 changed files
with
2,518 additions
and
552 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- assertion-tools | ||
pull_request: | ||
merge_group: | ||
workflow_dispatch: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,3 +180,5 @@ wheelhouse/ | |
|
||
# test code for the CLIFrontEnd | ||
app/code/*.qasm | ||
|
||
.python-version |
This file contains 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 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 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 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 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.