-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Templates] Rewrite embeddings as operations (#1156)
* Remove old core * more * more tests * more tests * more tests * fixed more tests * more tests passing * update jax test * tests passing * fix * fix * linting * fix docs * fix * fix * fix * Update pennylane/tape/operation_recorder.py Co-authored-by: Chase Roberts <chase@xanadu.ai> * fix tests after changing observable underline * Update tests/test_queuing.py Co-authored-by: antalszava <antalszava@gmail.com> * Update pennylane/circuit_graph.py Co-authored-by: antalszava <antalszava@gmail.com> * Update pennylane/tape/tape.py * merge master * Update pennylane/measure.py Co-authored-by: Maria Schuld <mariaschuld@gmail.com> * Update doc/code/qml_tape.rst * Update doc/code/qml_tape.rst * Update tests/interfaces/test_qnode_torch.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_qnode_torch.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_qnode_autograd.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_qnode_autograd.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_qnode_tf.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_tape_tf.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_qnode_tf.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_tape_autograd.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update tests/interfaces/test_tape_torch.py Co-authored-by: Christina Lee <christina@xanadu.ai> * Update pennylane/interfaces/torch.py Co-authored-by: Christina Lee <christina@xanadu.ai> * suggested changes * Update pennylane/qnode.py Co-authored-by: Theodor <theodor@xanadu.ai> * suggested changes * fix test * rewrite amplitudeembedding * add tests * finish amplitude embedding * finish angle embedding * finish basis embedding * finished basis embedding * finished displacement * finished squeezing * finished all embeddings * polish * black * removed merge conflict * polish docstrings * add interface tests beyond gradients * typo * improve angle emb tests * improve tests further * add list/tuple input test * update docstring of basisembedding * black * fix bug * Update .github/CHANGELOG.md Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * typos * Update tests/templates/test_embeddings/test_angle.py Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * applied review suggestions * black Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Chase Roberts <chase@xanadu.ai> Co-authored-by: antalszava <antalszava@gmail.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Theodor <theodor@xanadu.ai> Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com>
- Loading branch information
1 parent
2972913
commit fd99be7
Showing
16 changed files
with
2,062 additions
and
1,214 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.