-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better type handling for
rshift
s (#369)
**Context:** ``` from mrmustard.lab_dev import Coherent Coherent([0, 1]) >> Coherent([0]).dual ``` At the moment, the code above returns a `CircuitComponent`. We want it to return a `Ket`.
- Loading branch information
SamFerracin
authored
Mar 22, 2024
1 parent
2ee1b98
commit 447856e
Showing
3 changed files
with
34 additions
and
43 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