-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Context:** It's time to fully remove the legacy operator arithmetic (`Tensor` and `qml.ops.Hamiltonian`, and all of the structure surrounding them). **Description of the Change:** - [x] remove `qml.ops.Hamiltonian` - [x] remove `Tensor` - [x] remove `disable_` and `enable_new_opmath` - [x] remove `operation.convert_to_legacy_H` - [x] remove `qml.pauli.simplify` - [x] remove `PauliWord.hamiltonian` and `PauliSentence.hamiltonian`, and any other functionality in the pauli module that supported legacy opmath - [x] remove any if/else handling in place to deal with legacy opmath through the code base - [x] remove `legacy_opmath_only`, `new_opmath_only` and `use_legacy_and_new_opmath` test fixtures, and all irrelevant tests - [x] remove the warning suppressions added in [PR6287](#6287) - [x] remove the legacy test fixture (--disable-opmath) [sc-77523] --------- Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Astral Cai <astral.cai@xanadu.ai>
- Loading branch information
1 parent
080e5ed
commit 97c852b
Showing
166 changed files
with
736 additions
and
9,669 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 was deleted.
Oops, something went wrong.
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.