Skip to content

Commit

Permalink
Remove class Array text from models and solvers (#349)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Puzzuoli <[email protected]>
  • Loading branch information
to24toro and DanPuzzuoli committed Mar 22, 2024
1 parent 433393a commit 66c15b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qiskit_dynamics/models/generator_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class GeneratorModel(BaseGeneratorModel):
G(t) = \sum_i s_i(t) G_i + G_d
where the :math:`G_i` are matrices (represented by :class:`Operator` or :class:`Array` objects),
where the :math:`G_i` are matrices (represented by an :class:`Operator` or array),
the :math:`s_i(t)` are signals represented by a list of :class:`Signal` objects, and :math:`G_d`
is the constant-in-time static term of the generator.
"""
Expand Down
4 changes: 2 additions & 2 deletions qiskit_dynamics/solvers/solver_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def solve_ode(
\dot{y}(t) = f(t, y(t)),
where :math:`f` is a callable function and the state :math:`y(t)` is an
arbitrarily-shaped complex :class:`Array`.
arbitrarily-shaped complex array.
The ``method`` argument exposes a variety of underlying ODE solvers. Optional
arguments for any of the solver routines can be passed via ``kwargs``.
Expand Down Expand Up @@ -235,7 +235,7 @@ def solve_lmde(
\dot{y}(t) = G(t)y(t).
where :math:`G(t)` is a square matrix valued-function called the *generator*, and :math:`y(t)`
is an :class:`Array` of appropriate shape.
is an array of appropriate shape.
Thus function accepts :math:`G(t)` as a ``qiskit_dynamics`` model class, or as an arbitrary
callable.
Expand Down

0 comments on commit 66c15b1

Please sign in to comment.