2. Tutorial¶
- 2.1. Introduction
- 2.2. Getting started: a simple example with a one-dimensional chain
- 2.3. Second example: Fabry-Perot interferometer
- 2.4. Time-dependent potentials and pulses
- 2.5. Solving one-body problems
- 2.6. Solving the many-body problem
- 2.7. Green functions
- 2.8. Accounting for possible boundstates present in the system
- 2.9. Self-consistent Tkwant: a generic solver for time-dependent mean field calculations
- 2.9.1. Problem definition
- 2.9.2. Toy example for a self-consistent Tkwant simulation
- 2.9.3. API of the self-consistent solver and its helper classes
- 2.9.4. Behind the scene: Timescale decoupling
- 2.9.5. Real-live examples of self-consistent Tkwant simulations:
- 1) Luttinger liquid physics from time-dependent Hartree approximation
- 2) The self-consistent Bogoliubov-deGennes / classical circuit problem
- Modeling of the Josephson junction (quantum part)
- Electrical environment (Classical part)
- Full problem
- Parameters
- (I) Non-interacting wavefunction \(\Psi_0\)
- (II) Operator for the current \(I(t)\) trough the junction
- (III) Class to compute the mean-field term \(\mathbf{Q}(t)\)
- (IV) Setting up the self-consistent solver
- 3) Landau-Lifshitz-Gilbert equation study for spin dynamics
- 2.9.6. Advanced settings
- 2.9.7. References
- 2.10. Advanced onebody settings
- 2.11. Advanced manybody settings
- 2.12. Boundary conditions
- 2.13. Parallelization with MPI
- 2.14. Logging
- 2.15. More examples
- 2.16. Frequent pitfalls encountered when doing Tkwant simulations
- 2.16.1. Convergence of the manybody integral (1/2)
- 2.16.2. Convergence of the many-body integral (2/2)
- 2.16.3. Presence of unincluded boundstates
- 2.16.4. Error in Hamiltonian construction or unphysical parameter regime
- 2.16.5. Observables
- 2.16.6. Unsufficient accuracy in perturbation interpolation
- 2.16.7. Spurious reflections on the leads
- 2.16.8. Unsufficient time-stepping accuracy
- 2.16.9. Miscellaneous problems
- 2.16.10. References
- 2.17. Frequently asked questions