File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
tutorials-v5/time-evolution Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 7
7
format_version : ' 1.3'
8
8
jupytext_version : 1.13.8
9
9
kernelspec :
10
- display_name : Python 3 (ipykernel)
10
+ display_name : qutip-tutorials-v5
11
11
language : python
12
12
name : python3
13
13
---
@@ -106,24 +106,6 @@ plt.legend()
106
106
plt.show()
107
107
```
108
108
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
-
127
109
### Solver and Integrator Options
128
110
129
111
Another change in QuTiP v5 is that the ` options ` argument takes a standard Python dictionary.
You can’t perform that action at this time.
0 commit comments