-
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.
✨ Upgrade Diagnosis Capabilities (#20)
* test: 🧪 Add test cases for this feature * feat: ✨ Data dependency checks now reach into custom gate definitions * feat: ✨ Getting interactions now also works inside custom gate definitions, but it is not yet possible to "inspect out" of a custom gate * feat: ✨ Data dependency diagnosis can now step out of the current function call, even if the diagnosis was started in the same scope Previously, data dependency analysis was only able to step outside of functions that were entered during the analysis (i.e. where the analysis knows from where the function was entered). Now, the parameter `includeCallers` can be passed to allow the analysis to step out. In this case, all possible callers will be included as dependencies. * feat: ✨ Dependency/Interaction analysis now also recognises uses of the full register (e.g. `x q` rather than `x q[0]`) * fix: 🐛 Fix codecov issues * style: ♻️ Fix linter issues * fix: 🐛 Fix bug that makes debugger access element -1 if no custom gates are defined
- Loading branch information
Showing
19 changed files
with
704 additions
and
86 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
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.