Skip to content

Commit

Permalink
Added release note and docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurostrauss committed Apr 9, 2024
1 parent 66c1d9f commit 1adb67f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qiskit_dynamics/backend/dynamics_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ def solve(
``y0`` is not specified, it will be set from ``self.options.initial_state``.
Args:
t_span: Time interval to integrate over.
t_span: Time interval to integrate over. Defaults to ``None``, in which case the
interval is set to [[0, input.duration] for input in solve_input]].
y0: Initial state.
solve_input: Time evolution of the system in terms of quantum circuits or qiskit
pulse schedules.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- `DynamicsBackend.solve()` method can now work without specifying a t_span argument.
The default t_span is set to be [0, solve_input.duration] for each provided solve_input.
This allows users to solve the dynamics of a quantum circuit without having to specify its
duration in advance.

0 comments on commit 1adb67f

Please sign in to comment.