Skip to content

Commit

Permalink
Update mrmustard/lab_dev/states/gstate.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony <[email protected]>
  • Loading branch information
arsalan-motamedi and apchytr authored Dec 5, 2024
1 parent 9fe5c35 commit 4593c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrmustard/lab_dev/states/gstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
super().__init__(name="GKet")
m = len(modes)
if symplectic is None:
symplectic = math.random_symplectic(m)
symplectic = symplectic or math.random_symplectic(m)

self._add_parameter(
make_parameter(
Expand Down

0 comments on commit 4593c5d

Please sign in to comment.