-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Controlled.wires
does not contain work wires (#5728)
**Context:** `Controlled.wires` contained `work_wires` that are typically used for the decomposition. This was inconsistent with the general usage of the attributes. The expected wires behaviour was in the `active_wires`. **Description of the Change:** `active_wires` was renamed to `wires`, and `work_wires` has been removed from the returned wires for `self.wires` **Benefits:** - More consistent behaviour of wiring attributes [[55898](https://app.shortcut.com/xanaduai/story/55898)] --------- Co-authored-by: Astral Cai <[email protected]>
- Loading branch information
1 parent
c285b87
commit 5b192e6
Showing
5 changed files
with
26 additions
and
28 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