Skip to content

Commit 49656e0

Browse files
removed manual stepping example
1 parent 6da7825 commit 49656e0

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

tutorials-v5/time-evolution/024_v5_paper-mesolve.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jupyter:
77
format_version: '1.3'
88
jupytext_version: 1.13.8
99
kernelspec:
10-
display_name: Python 3 (ipykernel)
10+
display_name: qutip-tutorials-v5
1111
language: python
1212
name: python3
1313
---
@@ -106,24 +106,6 @@ plt.legend()
106106
plt.show()
107107
```
108108

109-
### Manual Stepping Interface
110-
111-
A new feature in QuTiP v5 is that time steps can be controlled manually.
112-
This is specifically useful if the Hamiltonian depends on an external control parameter such as a field strength.
113-
Such parameters can be updated in each step using the optional parameter `args`.
114-
In practice, this can look like this:
115-
116-
```python
117-
t = 0
118-
dt = 40 / 100
119-
se_solver2 = SESolver(H)
120-
se_solver2.start(psi0, t)
121-
while t < 40:
122-
t = t + dt
123-
psi = se_solver2.step(t)
124-
# process the result psi and calculate next time step
125-
```
126-
127109
### Solver and Integrator Options
128110

129111
Another change in QuTiP v5 is that the `options` argument takes a standard Python dictionary.

0 commit comments

Comments
 (0)