-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QCUT: Add postprocessing function (#2192)
* Add function * Add docstrings * Add test * Fix CI * Add to changelog * Add validation * First version * Add postprocessing_fn * Add return * Add to tests * Flatten * Add support for zero case * Add test * Add transpose * Add test * Cast to real if real * Flatten properly * Finish tests * CI * Remove unused import * Flatten properly * Add docstring * Add docstrings * Add docstrings * Add to changelog * Fix tests * Floats * format * Apply suggestions from code review Co-authored-by: anthayes92 <34694788+anthayes92@users.noreply.github.com> * Update pennylane/transforms/qcut.py * Reword * Reword * Add clarification * Refactor * Add to init * Run isort * Change array-like to tensor_like * Remove qml.math.stack * Mention shape * Fix test * Add explanation * Remove * Fix conj * Fix deprecation * Update tests/transforms/test_qcut.py Co-authored-by: Angus Lowe <anguslowe@live.ca> * Revert "Update tests/transforms/test_qcut.py" This reverts commit ad1a2e9. Co-authored-by: anthayes92 <34694788+anthayes92@users.noreply.github.com> Co-authored-by: Anthony Hayes <anthayes92@gmail.com> Co-authored-by: Angus Lowe <anguslowe@live.ca>
- Loading branch information
1 parent
ca0c079
commit 8f59e4a
Showing
6 changed files
with
495 additions
and
8 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
Oops, something went wrong.