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 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()
106106plt.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
129111Another 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