Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise warning in Operator
__eq__
and __hash__
about change in beh…
…aviour (#4144) * Updated Operator * Added tests * Updated warning * black * Updated warning text * black * Update doc/development/deprecations.rst * Updated docs, tests * Updated deprecations.rst * Fixing tests * Updated tests and warnings * Pylint * Testing warnings * Testing changes * Updated tests * testing what breaks * Checking tests * Testing changes * Testing changes to operator __eq__ * Updated until `nodes_between` * Updated metric tensor, circuit graph * Updating `qml.equal` * Linters * Updated tape tests * Added coverage * Updates changelog * Removed changes to __eq__ and __hash__ * Update pennylane/operation.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Testing changes to operator __eq__ * Updated until `nodes_between` * Updated metric tensor, circuit graph * Updating `qml.equal` * Linters * Fixes for new autoray version (#4396) * Fixes for new autoray version * unused import * Use if instead of try-except * Fix case of two torch tensors * Updated tape tests * Add ability to apply `TransformProgram` to batch of tapes (#4364) * Draft structure * draf exec * Simple execute * Update * More tests * Update * Update exec * Pylint and black * Update tests * Update more tests * More tests * changelog * Coverage * Cover fix * pylint * Pylint * Pylint tests * proposed changes to transform program integration * oops * add to legacy, remove cotransform support * just transform program call component * just transform program call component * no longer support cotransforms, fix _batch_postprocessing * some more testing * test null postprocessing function * docstring, rename batch_slices to slices, black * Apply suggestions from code review Co-authored-by: Matthew Silverman <matthews@xanadu.ai> --------- Co-authored-by: rmoyard <rmoyard@gmail.com> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * torch qnode integration with DefaultQubit2 (#4392) * copy-paste torch file; replace device in most places * make tests work; little changes in pennylane * pylint fix * changelog * update test name and docstring for hamiltonian_expand * minimal test for single-shot bugfix * Added coverage * Updates changelog * Removed changes to __eq__ and __hash__ * Update pennylane/operation.py Co-authored-by: Matthew Silverman <matthews@xanadu.ai> * Updated deprecations to 0.32 * Added warnings * Trigger CI * Removed docstrings * Added correctness test * Trigger CI --------- Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: Matthew Silverman <matthews@xanadu.ai> Co-authored-by: Edward Jiang <34989448+eddddddy@users.noreply.github.com> Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: rmoyard <rmoyard@gmail.com>
- Loading branch information