Skip to content

Commit

Permalink
Fix a typo in the docstring of the class Processor (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyingkang committed Apr 17, 2023
1 parent 7b13160 commit 629f502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qutip_qip/device/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Processor(object):
-"step_func":
The coefficient will be treated as a step function.
E.g. ``tlist=[0,1,2]`` and ``coeff=[3,2]``, means that the coefficient
is 3 in t=[0,1) and 2 in t=[2,3). It requires
is 3 in t=[0,1) and 2 in t=[1,2). It requires
``len(coeff)=len(tlist)-1`` or ``len(coeff)=len(tlist)``, but
in the second case the last element of ``coeff`` has no effect.
Expand Down

0 comments on commit 629f502

Please sign in to comment.