Skip to content

Commit

Permalink
add default
Browse files Browse the repository at this point in the history
  • Loading branch information
rochisha0 committed Jul 12, 2024
1 parent f029e55 commit c3f5dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutip/core/qobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def diag(self) -> np.ndarray:
out = np.real(out)
return out

def expm(self, dtype) -> Qobj:
def expm(self, dtype: LayerType = _data.Dense) -> Qobj:
"""Matrix exponential of quantum operator.
Input operator must be square.
Expand Down

0 comments on commit c3f5dc6

Please sign in to comment.