-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sparse state preparation via alias sampling (#1067)
* WIP sparse SP alias sampling * remove cirq.value equality * types * example * add tests * mypy * fix decomp * fix validity test * docstring * one more test * add tolerance parameter for nonzero check * update docstring and parameter names * call preprocess only on nonzero values * cleanup * support sparse state input as map * move examples * symbolic example * notebook * test symbolic t complexity --------- Co-authored-by: Tanuj Khattar <[email protected]>
- Loading branch information
1 parent
d807b72
commit 301e3cf
Showing
7 changed files
with
506 additions
and
25 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.