-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement decomposition for
BitonicSort
(#1089)
* decomposition for `GreaterThan` * sorting: implement comparator * implement bitonic sort * add classical simulation tests, fix bugs * more random tests and bug fixes * fix mypy * fix serialization bug * add all perm 4! test * more assertions * use `bitsize` instead of `L` * link issue in TODOs * add to resolverdict * add tests for `ParallelComparators`, more docstring * more docstring * more docstrings and tests for merge * add BloqDocSpec for `BitonicMerge` and `ParallelComparators` * add ancilla cost to docstring * allow decomposing when `bitsize` is symbolic * update docstrings, fix latex * cleanup * docstring: explain compare ancilla
- Loading branch information
Showing
7 changed files
with
756 additions
and
107 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
Oops, something went wrong.