-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate
QauntumScript.output_dim
(#6577)
**Context:** This property is now slightly wrong, and is only used by `parameter_shift_cv.py`. **Description of the Change:** - Deprecated the property in the original src, `qml.tape.qscript.py::QuantumScript` - DeprecateWarning the tests in `test_qscript.py` - Removed the tests in `test_tape.py` and `test_legacy_device.py` - Modified the original method and moved to `qml.gradients.parameter_shift_cv.py` which is the only module using this property **Benefits:** - Less redundancy **Possible Drawbacks:** Potential uncovered usecases of this property inside or outside PL **Related GitHub Issues:** **Related Shortcut Stories:** [sc-74594] --------- Co-authored-by: Christina Lee <[email protected]> Co-authored-by: lillian542 <[email protected]> Co-authored-by: Alex Preciado <[email protected]>
- Loading branch information
1 parent
51c1436
commit a0e69cc
Showing
7 changed files
with
82 additions
and
38 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
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