-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using _wire setter and use map_wires instead. (#3186)
* feat (Operator): ✨ Add change_wires method. * refactor (Operator): ♻️ Change name from change_wires to map_wires. * Remove error * change name * feat (map_wires): ✨ Add top-level qml.map_wires function. * Add tests * Only check subset of wires present in Operator * Add tests * Add tests * chore (changelog): ✏️ Add feature to changelog. * More fixes * More fixes * Fix test * Fix tests * Revert * Revert * Update doc/releases/changelog-dev.md Co-authored-by: Christina Lee <christina@xanadu.ai> * Update changelog * Add docs * Remove _wire setter and use map_wires instead. * Fix tests. Add map_wires to symbolic_op. * Add test. * Stop using _wires setter. * Use qml.map_wires * Fix pattern matching. * Fix qcut. * Improve changelog entry * Use QuantumScript class. * Add note to docstring * Import warning * Add more ops and measurements in test * Deprecate remap_tape_wires * Small fix * Add removed docstring * Add changelog entry * Add test * Fixes * Update doc/releases/changelog-dev.md Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Christina Lee <christina@xanadu.ai>
- Loading branch information
1 parent
cf195af
commit f206330
Showing
11 changed files
with
81 additions
and
146 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
Oops, something went wrong.