Skip to content

Commit

Permalink
Update qutip/core/operators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericgig committed Feb 15, 2024
1 parent e8f36e2 commit fa3a073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutip/core/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def qeye_like(qobj):
)
return Qobj(
_data.identity[qobj.dtype](qobj.shape[0]), dims=qobj._dims,
isherm=True, isunitary=False, copy=False
isherm=True, isunitary=True, copy=False
)


Expand Down

0 comments on commit fa3a073

Please sign in to comment.