Skip to content

Commit

Permalink
fix: remove Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Edoardo-Pedicillo committed Jun 4, 2024
1 parent 2ebd48b commit b94a203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibo/models/dbi/double_bracket.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def __call__(
def eval_dbr_unitary(
self,
step: float,
mode: Optional(DoubleBracketGeneratorType) = None,
d: Optional(np.array) = None,
mode: DoubleBracketGeneratorType = None,
d: np.array = None,
):
"""In call we will are working in the convention that $H' = U^\\dagger H
U$ where $U=e^{-sW}$ with $W=[D,H]$ or an approximation of that by a group commutator.
Expand Down

0 comments on commit b94a203

Please sign in to comment.