-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add function to convert atoms ids to indices * Add target_index and beginning of UT * Order qubit indices using register initialization + UTs * Replace frozenset with abc Set * Auto reformat * Fix flake8 issues * Move overloads before _target to try to fix strange CI mypy issue * Move precheck target overloads before _target to try to fix strange CI mypy issue * Revert "Move overloads before _target to try to fix strange CI mypy issue" This reverts commit 838d5fe. * Black * Add phase_shift_index + UTs * Apply comments * Allow using index when non-parametrized non-mappable + UTs * Manage index errors + UTs * Fix useless UT mypy error * Apply remarks * Apply remarks * Apply remarks * Apply remarks * Apply remark to fix docstring type Co-authored-by: Henrique Silvério <[email protected]>
- Loading branch information
Showing
4 changed files
with
370 additions
and
40 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
Oops, something went wrong.