Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Dec 9, 2022
1 parent 2f2d3af commit ca67bef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qutip_qip/device/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,8 @@ def run_state(
options["max_step"] = half_gate_time
else:
options = kwargs.get("options", qutip.Options())
options.max_steps = half_gate_time
if options.max_step == 0.:
options.max_step = half_gate_time
kwargs["options"] = options
# choose solver:
if solver == "mesolve":
Expand Down

0 comments on commit ca67bef

Please sign in to comment.