Skip to content

Commit bf4fd0a

Browse files
Corrected axes order for output of propagate_all
1 parent 2031693 commit bf4fd0a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/qugrad/systems/_systems.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def propagate_all(self, *args) -> np.ndarray[complex]:
556556
557557
Returns
558558
-------
559-
NDArray[Shape[n_time_steps+1, :attr:`state_shape`], complex]
559+
NDArray[Shape[:attr:`state_shape`, n_time_steps+1], complex]
560560
The state at each integrator time step (including the initial
561561
state).
562562

src/qugrad/systems/_systems.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ class QuantumSystem:
596596
597597
Returns
598598
-------
599-
NDArray[Shape[n_time_steps+1, :attr:`state_shape`], complex]
599+
NDArray[Shape[:attr:`state_shape`, n_time_steps+1], complex]
600600
The state at each integrator time step (including the initial
601601
state).
602602

0 commit comments

Comments
 (0)