Time Evolution
On this page
caroli evolves non-interacting electrons on a lattice by the time-dependent Schrödinger equation, usually under a uniform electric field that enters as a vector potential. Two integrators share the work. On a torus, a split-operator method treats the clean, translation-invariant part exactly in k space and the disorder in real space, at second order in the time step (Torus). On any region, open or periodic, with any term of the model, a fourth-order commutator-free Magnus integrator takes Chebyshev exponentials of the sparse Hamiltonian (Driven). The observables are those of a non-interacting electron gas: the current density, the carriers a field excites across a gap (pair creation), the width of a wave packet, the densities. A filled Fermi sea enters as a stochastic trace over random-phase vectors.
The two integrators agree on a disordered spinful graphene torus, the split operator reproduces the Stark breathing of a wave packet to \(10^{-6}\), and the thesis's graphene programs, rebuilt on the same kernels, are reproduced to \(10^{-16}\).
The equation and the field
States evolve by \(i\, \partial_t \psi = H(t)\, \psi\) (Conventions), with \(\hbar = 1\) and times in units of \(\hbar\) over the energy unit of the model. A uniform field enters through a vector potential \(\mathbf A(t)\), with no scalar potential, so that a torus keeps its periodicity: each hopping block of displacement \(\mathbf d = \mathbf r_j - \mathbf r_i\) picks up the Peierls factor
$$ H_{ij}(t) = H_{ij}\, e^{-i \mathbf A(t) \cdot \mathbf d}. $$
A constant force \(\mathbf F\) (an electric field \(e\mathbf E\), the charge absorbed) switched on at \(t = 0\) is \(\mathbf A(t) = -\mathbf F t\): the Bloch Hamiltonian at time \(t\) is that of the crystal momentum \(\mathbf k + \mathbf F t\), as Bloch's acceleration theorem says. constant_force(F) gives this potential; any \(\mathbf A(t)\) can be given instead (VectorPotential, a function of time).
Split operator on a torus
The model on a torus
Torus::new(model, n) puts a 2D model on an \(n \times n\) torus of unit cells, with any number of sublattices and orbitals. Its hoppings must be the same in every cell (no hopping term, no Peierls phase; Driven takes those). The wave functions are stored orbital by orbital, \(\psi[x + n y + n^2 c]\), \(c\) running over the orbitals of the cell. The Hamiltonian splits into two parts:
the translation-invariant part, diagonal in \(\mathbf k\):
$$ M(\mathbf k, \mathbf A) = H_{\text{on-site}} + \sum_{b} t_b\, e^{i (\mathbf k \cdot \mathbf n_b - \mathbf A \cdot \mathbf d_b)}, $$
a sum over the hopping blocks \(t_b\) of the unit cell, \(\mathbf n_b\) the cell offset of a bond and \(\mathbf d_b\) its displacement, on the FFT grid \(k_i = 2\pi i / n\) along each lattice direction (Tori);
the site-dependent on-site terms of the model (disorder, potentials) \(V\), one block on the orbitals of each cell, in real space.
The step
$$ \psi(t + dt) = U_V\, \mathcal F^{-1}\, U_K(t)\, \mathcal F\, U_V\, \psi(t), \qquad U_V = e^{-i V dt/2}, \qquad U_K(\mathbf k) = e^{-i M(\mathbf k,\, \mathbf A(t + dt/2))\, dt}, $$
with \(\mathcal F\) the 2D FFT of each orbital (forward unnormalised, backward divided by \(n^2\), FFTW's conventions as in the thesis). This symmetric (Strang) splitting has a local error of order \(dt^3\), from the commutator of \(V\) with \(M\) and from the midpoint value of \(\mathbf A\): the method is of second order. Without site-dependent terms the state stays in k space and each \(\mathbf k\) evolves on its own; the step is then exact for a constant \(\mathbf A\).
\(U_V\) is computed once, block by block, by diagonalisation. \(U_K\) is computed at every step and every \(\mathbf k\), group by group of orbitals: the orbitals that no on-site or hopping matrix couples (the two spins of a model that conserves the spin, say) are found once, by union-find over the non-zero entries, and exponentiated apart. A one-orbital group is a phase; a two-orbital group has the closed form
$$ e^{-i h\, dt} = e^{-i \bar h\, dt} \Big[ \cos(r\, dt) - i\, \frac{\sin(r\, dt)}{r}\, (h - \bar h) \Big], \qquad h = \begin{pmatrix} a & b \\ b^{\ast} & d \end{pmatrix}, \quad \bar h = \frac{a + d}{2}, \quad r = \sqrt{\Big(\frac{a - d}{2}\Big)^2 + \lvert b \rvert^2}, $$
since \((h - \bar h)^2 = r^2\); larger groups are diagonalised. Per step this costs \(2c\) FFTs of \(n \times n\) points for \(c\) orbitals per cell, \(O(c\, n^2 \log n)\), plus the small exponentials of every \(\mathbf k\); the \(\mathbf k\) points run in parallel, and so do the rows of the FFTs from \(n = 128\).
Observables
Torus::evolve(starts, evolution) evolves each start state from \(t = 0\) with the step dt, records the observables every every steps (and at the start), and averages them over the start states (Record). An observable at time \(t\) uses \(\mathbf A(t)\).
Field of Record | Definition |
|---|---|
norm | \(\langle \psi \vert \psi \rangle\) |
current | The current density \(\langle v_x \rangle / \Omega\), \(\langle v_y \rangle / \Omega\), with \(v = i[H, \mathbf r] = -\partial M / \partial \mathbf A\) and \(\Omega\) the area of the torus |
excited | \(\frac{1}{\Omega} \sum_{\mathbf k} \sum_{b\, :\, \varepsilon_b > E_F} \lvert \langle u_b(\mathbf k, t) \vert \psi_{\mathbf k} \rangle \rvert^2\): the carriers in the instantaneous clean bands \(M(\mathbf k, \mathbf A(t))\) above the Fermi energy, per unit area (those of the sector, if one is set) |
width | \(\sqrt{\langle \Delta \mathbf r^2 \rangle - \langle \Delta \mathbf r \rangle^2}\), positions measured from the densest orbital of the first start state at \(t = 0\), nearest image on the torus, the positions of the orbitals in the cell included |
densities | \(\lvert \psi \rvert^2\) on every orbital, if asked |
The velocity at \(\mathbf k\) is \(v_{\hat u}(\mathbf k) = \sum_b i\, (\mathbf d_b \cdot \hat u)\, t_b\, e^{i(\mathbf k \cdot \mathbf n_b - \mathbf A \cdot \mathbf d_b)}\). With a field across a gap, excited counts the electron–hole pairs the field creates: the projection of the state on the conduction bands of the clean crystal at the same \(\mathbf A(t)\).
Start states
| Method | State |
|---|---|
localized(cell, orbital, window) | One orbital of one cell, projected if asked on the clean band states with energies in window (one band, say), normalised |
filled(E_F, R, seed) | The Fermi sea of the clean bands at \(t = 0\), as \(R\) random-phase vectors |
fermi_sea(E_F, R, seed, M) | The Fermi sea of the whole Hamiltonian, disorder included, as \(R\) random-phase vectors projected by a Chebyshev expansion of \(\theta(E_F - H)\) with \(M\) moments |
The Fermi sea as a stochastic trace
A filled Fermi sea is a trace over the occupied states, \(\mathrm{Tr}\,[P(t)\, O]\) with \(P(t) = U(t) P U(t)^{\dagger}\) the evolved projector on the states occupied at \(t = 0\). filled writes it as random-phase superpositions of the occupied band states,
$$ \lvert \psi_r \rangle = \sum_{\mathbf k, b\, :\, \varepsilon_b(\mathbf k) < E_F} e^{2\pi i \varphi_{r \mathbf k b}}\, \lvert u_b(\mathbf k) \rangle, $$
with the phases \(\varphi\) uniform and independent and the band states of unit norm. Then \(\langle \psi_r \vert \psi_r \rangle\) is the number of occupied states, and, the evolution being linear, \(\langle \psi_r(t) \rvert O \lvert \psi_r(t) \rangle\) averages over the phases to \(\mathrm{Tr}\,[P(t)\, O]\): the cross terms between band states vanish on average, and their size is the statistical error.
- One vector can be exact. The current and the excited carriers are sums over \(\mathbf k\) of quantities diagonal in \(\mathbf k\). On a clean torus with one occupied band per \(\mathbf k\) there are no cross terms, and a single vector gives the exact trace, whatever its phases.
- Disorder brings the cross terms back, by mixing the \(\mathbf k\) points. For the current of the graphene study, the statistical error is about \(v_F / (n \sqrt{R})\) per cell for \(R\) vectors on an \(n \times n\) torus (0.003 at \(n = 128\), \(R = 4\)). One vector on a \(128 \times 128\) torus is worth 12 to 140 configurations of the thesis's protocol (one hole per configuration) for the current, and 7 to 3000 for the pairs.
- Random phases on every band state make the estimate independent of the gauge of the band states. The thesis used one superposition with fixed phases, whose result depends on that gauge once disorder mixes the \(\mathbf k\) points.
The clean Fermi sea is not a stationary state of the disordered Hamiltonian: the disorder excites it at once (in the graphene study of the thesis, a jump of the pair count at \(t = 0\)). fermi_sea starts from the Fermi sea of the whole Hamiltonian instead. Random-phase vectors in real space are projected by
$$ \theta(\tilde\mu - x) \simeq \sum_n g_n c_n\, T_n(x), \qquad c_0 = 1 - \frac{\phi}{\pi}, \qquad c_n = -\frac{2 \sin(n \phi)}{n \pi}, \qquad \phi = \arccos\tilde\mu, $$
with \(\tilde\mu = (E_F - e_0)/\Delta E\), \(x\) the rescaled Hamiltonian (Kernel polynomial method) and \(g_n\) the Jackson kernel. The operator is \(M(\mathbf k) + V\) applied through the FFTs of caroli-torus; its bounds are the extreme energies of the bands \(M(\mathbf k)\) widened by the largest row sum of the local terms, and \(\Delta E\) is 1.01 times their half-width. The step is smeared over about \(\pi \Delta E / M\). The vector \(P_J \lvert r \rangle\) estimates \(\mathrm{Tr}\,[P_J^2 O]\), \(P_J\) the smoothed projector, equal to \(\mathrm{Tr}\,[P O]\) up to the states within the smearing of \(E_F\). Without disorder it is filled up to the smearing; with disorder it is the ground state, stationary without field.
Sectors
Torus::with_sector(orbitals) restricts filled and the excited-carrier count to the band states on a union of groups of orbitals that \(M(\mathbf k)\) does not couple to the others: one spin of a model whose hoppings conserve the spin. The evolution itself is unchanged, so that the disorder may carry the states out of the sector, and so is fermi_sea. A sector that would split a group of coupled orbitals is refused. The graphene study starts from the spin-up valence band and counts the spin-up conduction band, so that spin flips by the impurities take carriers out of the count; with paramagnetic impurities at \(J_I = 0.2\), \(E = 0.02\) and \(t = 100\), the pair count is 0.018 per cell in the spin-up sector, and would be 0.033 counting both spins.
Chebyshev propagation
For a Hamiltonian that does not change during a step, the propagator has the Chebyshev expansion (Jacobi–Anger)
$$ e^{-i H dt} = e^{-i e_0 dt} \sum_{n \ge 0} (2 - \delta_{n0})\, (-i)^n\, J_n(\Delta E\, dt)\, T_n(\tilde H), \qquad \tilde H = \frac{H - e_0}{\Delta E}, $$
with \(J_n\) the Bessel functions of the first kind. Chebyshev::new(dt, e_0, ΔE, tol) keeps the terms up to the last \(\lvert J_n(\tau) \rvert > \mathrm{tol}\), \(\tau = \Delta E\, dt\). \(J_n(\tau)\) falls faster than exponentially once \(n > \tau\), so a step costs about \(\tau\) plus a few dozen products, and the error is the tolerance whatever the step: there is no time-step error for a constant \(H\), and long steps are as accurate as short ones. The Bessel functions come from Miller's backward recurrence, normalised by \(J_0 + 2 \sum_k J_{2k} = 1\), started above \(\max(n, \tau) + 30 + 10\, \tau^{1/3}\) and rescaled against overflow.
Chebyshev::step applies \(\sum_n c_n T_n(\tilde H)\) with three vectors, to one wave function or to a block of them stored interleaved (several wave packets, the random vectors of a trace). The propagation is unitary to the tolerance. On the GPU, accelerated::propagate runs the same steps on Metal, in f32 or double-single: the first 2 % of the steps (at least one, at most 50) run on both, their distance relative to \(\lVert \psi \rVert\), scaled linearly to the whole run, predicts the final error, and the CPU takes over above the tolerance; the norms are checked at the end, and a drift above the tolerance makes the CPU redo the run (precision).
The fourth-order Magnus integrator
A Hamiltonian that changes within a step needs more than one exponential. The commutator-free Magnus integrator of order four (Blanes and Moan) uses two:
$$ U(t + dt, t) \simeq e^{-i\, dt\, B_2}\, e^{-i\, dt\, B_1}, \qquad B_1 = \alpha_2 H(t_1) + \alpha_1 H(t_2), \qquad B_2 = \alpha_1 H(t_1) + \alpha_2 H(t_2), $$
$$ t_{1,2} = t + \Big( \frac12 \mp \frac{\sqrt 3}{6} \Big) dt, \qquad \alpha_{1,2} = \frac{3 \mp 2\sqrt 3}{12}, $$
the Gauss–Legendre nodes of the step (\(\alpha_1 < 0\)). Each exponential is a Chebyshev expansion to the tolerance, with the bounds of \(B\) taken from those of \(H(t)\), \(\sum_i [\min(w_i E_{\min}, w_i E_{\max}), \max(w_i E_{\min}, w_i E_{\max})]\), widened by 1 %: \(\lvert \alpha_1 \rvert + \lvert \alpha_2 \rvert = 0.577\), so each exponential spans a little more than half the spectral width of \(H\). The global error is \(O(dt^4)\), with no splitting error between kinetic and potential terms. magnus4_step works on any TimeDependent Hamiltonian, which applies \(\sum_i w_i H(t_i)\) to a vector and gives bounds valid at every time.
Peierls phases by displacement class: Driven
Driven::new(model, region, periods) is \(H(t)\) for any region, open or repeated along periods, with every term of the model (disorder, a magnetic field, hopping terms), under a uniform \(\mathbf A(t)\) (with_force, with_vector_potential). Its entries are stored in CSR form, each with the class of its bond's displacement: class 0 for the on-site entries, one class per distinct displacement \(\mathbf d_c\) of a bond (rounded to \(10^{-9}\), at most 65 536 classes). A product with \(\sum_i w_i H(t_i)\) first computes, once per class,
$$ \Phi_c = \sum_i w_i\, e^{-i \mathbf A(t_i) \cdot \mathbf d_c}, $$
then sweeps the matrix once, \(y_r = \sum_k v_k\, \Phi_{c(k)}\, x_{j(k)}\): the two Hamiltonians of a Magnus exponential cost one sparse product. The Gershgorin bounds are computed once, since the Peierls factors leave the moduli unchanged. Driven::velocity gives \(\langle \psi \rvert v \lvert \psi \rangle\) with \(v_{ij} = i H_{ij}(t)\, \mathbf d_{ij} \cdot \hat u\), and Driven::hamiltonian(t) the sparse matrix at one time.
Torus | Driven | |
|---|---|---|
| Geometry | 2D torus of \(n \times n\) cells | Any region, open or periodic |
| Model | Uniform hoppings, on-site disorder and potentials | Every term of the model: fields, hopping terms, disorder |
| Method | Split operator, FFTs, order 2 | Commutator-free Magnus, Chebyshev exponentials, order 4 |
| Error in \(dt\) | \(O(dt^2)\); none for a clean torus under a constant \(\mathbf A\) | \(O(dt^4)\); exponentials to the tolerance |
| Fermi sea, excited carriers | filled, fermi_sea, sectors | From the caller's states |
The evolution run of the command line uses Torus.
Accuracy and validation
Exact results
| Test | Asserted |
|---|---|
| Stark breathing. A particle on one site of the square lattice (hopping \(J = 1\), \(64 \times 64\) torus) under \(F = 0.5\) along \(x\), \(dt = 0.01\), 800 steps | \(w(t)^2 = (8 J^2/F^2) \sin^2(F t/2) + 2 J^2 t^2\), the Bloch oscillation of the width along the force and the free spreading across it, within \(10^{-6}\) of \(\max(w, 1)\); the current vanishes within \(10^{-12}\) (symmetric start) |
| Chebyshev propagation of a BHZ flake (\(\lambda = 0.2\), \(5 \times 4\)) against exact exponentiation, \(dt = 0.05\) and \(7.5\) | Within \(10^{-12}\) for both steps |
| Magnus order: a driven 6-level system \(H_0 + \cos(1.3 t) H_1\) to \(t = 2\), steps 0.2 and 0.1 against 0.0125 | The error falls by a factor between 12 and 20 (16 for order four); the norm within \(10^{-13}\) |
| Bessel functions \(J_0(1)\), \(J_1(1)\), \(J_5(1)\), \(J_0(10)\), \(J_{12}(10)\) against Abramowitz and Stegun, and \(J_n(10^{-60})\) | Within \(10^{-15}\) to \(10^{-13}\) |
| Split operator without potential, 50 steps | The norm within \(10^{-11}\) |
The two integrators against each other
On a spinful graphene torus of \(6 \times 6\) cells with magnetic impurities on 30 % of the sites (\(J_I = 0.8\), isotropic moments) and Anderson disorder (\(W = 1\)) on the others, under the force \((0.15, -0.3)\), a state on one orbital projected on the band states below 0.2 is evolved to \(t = 2\) by Torus (\(dt = 0.004\), 500 steps) and by Driven (\(dt = 0.1\), 20 Magnus steps, exponentials to \(10^{-13}\)). These are different methods in different spaces (k space and FFTs at second order; real space and Chebyshev exponentials at fourth order). The densities of every orbital agree within \(2 \cdot 10^{-3}\) of their peak, the two components of the current within \(2 \cdot 10^{-3}\), and the norm stays 1 within \(10^{-12}\).
The Fermi sea
| Test | Asserted |
|---|---|
| Clean graphene, \(26 \times 26\) torus (no Dirac point on the grid), force 0.1 along \(y\), one random vector, two seeds | The same excited carriers and current within \(10^{-12}\) (exact trace); \(\langle \psi \vert \psi \rangle = n^2\), one occupied state per \(\mathbf k\); no carrier at \(t = 0\), then a growing number; a current along the force only |
Disordered spinful graphene, \(12 \times 12\), no field: fermi_sea (4 vectors, 1024 moments) against filled | The excited carriers drift by less than a tenth of the clean Fermi sea's jump; half filling within 0.02 |
One spin of clean spinful graphene (with_sector) | Half the excited carriers and half the current of both spins, within \(10^{-12}\) |
The thesis cases graphene-current-*, graphene-width, graphene-density
The thesis's graphene programs (spinful graphene with classical magnetic impurities under a field along \(y\), split-operator steps on a torus) are rebuilt in caroli-validation on the kernels of caroli-dynamics (apply_k, apply_local) and the FFTs of caroli-torus, with the impurities the programs drew, through caroli's gfortran-compatible random stream. They keep the programs' own conventions: their k-space step and time grid, the normalisations of the current and of the pair count, and the gauge of the initial band states. That gauge matters once disorder mixes the \(\mathbf k\) points: where \(h(\mathbf k)\) is real, gfortran leaves an imaginary part \(-0\), and at two \(\mathbf k\) points of the \(16 \times 16\) grid macOS's sine and cosine, with which the goldens were recorded, leave a positive residue where glibc's give zero; the replica takes the same signs.
| Case | What | Largest difference (largest value) |
|---|---|---|
| graphene-current-clean | Current and pairs under fields 0.01 and 0.02, \(16 \times 16\) torus, \(dt = 0.1\) to \(t = 2\) | Current \(8.1 \cdot 10^{-17}\) (\(5.8 \cdot 10^{-3}\)), pairs \(3.1 \cdot 10^{-18}\) |
| graphene-current-af | The same with impurities on 10 % of the A and B sites, \(J_I = 0.5\), A along \(+z\) and B along \(-z\), 2 configurations | Current \(3.8 \cdot 10^{-16}\) (\(1.2 \cdot 10^{-2}\)), pairs \(1.5 \cdot 10^{-16}\) |
| graphene-current-para | The same with isotropic moments | Current \(4.8 \cdot 10^{-16}\) (\(1.0 \cdot 10^{-2}\)), pairs \(4.1 \cdot 10^{-17}\) |
| graphene-width | Width of a wave packet, the program working in the basis of the instantaneous bands | Width \(2.8 \cdot 10^{-16}\) (0.22), current \(3.3 \cdot 10^{-16}\), pairs \(6.5 \cdot 10^{-18}\) |
| graphene-density | Sublattice density maps | \(\rho_A\): \(1.3 \cdot 10^{-20}\), \(\rho_B\): \(2.5 \cdot 10^{-20}\); current \(1.4 \cdot 10^{-16}\) |
Measured on 28 November 2026; the tests assert \(10^{-10}\) (\(10^{-12}\) for the density case).
The graphene study with Torus
The example graphene_field of the caroli crate recomputes the figures of the thesis's graphene study (Demion and Verga) with Torus, random-phase Fermi seas and sectors, on its parameters (\(n_I = 0.4\) per sublattice, fields 0.002 to 0.02, \(J_I\) up to 1.6). Its runs, recorded in the repository's architecture notes, give for the clean sheet at \(E = 0.02\), \(t = 100\), a current of 0.041 and 0.0274 pairs per cell (paper: 0.040 and 0.0275); with paramagnetic impurities at \(J_I = 0.2\), 0.033 and 0.018 (paper: 0.030 and 0.018); with magnetic impurities, a current of 0.014 (0.014) and a jump of the pair count at \(t = 0^{+}\) to 0.012–0.013 whatever \(E\) (0.011–0.013). The exponent of the wave-packet width agrees with the paper's within 0.03.
Limits
Torusis two-dimensional, with uniform hoppings: a magnetic field or hopping terms needDriven. Its splitting is of second order.- The field is uniform and enters as a vector potential; there is no scalar potential and no self-consistent field.
- The electrons do not interact and do not relax; impurity moments are classical and static.
- A stochastic trace carries a statistical error, which disorder makes nonzero;
fermi_seasmears the Fermi step over \(\pi \Delta E / M\). - Chebyshev exponentials cost about \(\Delta E\, dt\) products per step: the step can be long for a constant \(H\), but a Magnus step must still resolve the time dependence of \(H(t)\).
In the code
| Item | What |
|---|---|
Torus | A 2D model on a torus: with_force, with_sector, filled, fermi_sea, localized, evolve |
Evolution, Record | The parameters of a run; the observables |
Driven | \(H(t)\) of any region under \(\mathbf A(t)\): step, velocity, hamiltonian |
constant_force, VectorPotential | \(\mathbf A(t) = -\mathbf F t\); any \(\mathbf A(t)\) |
Chebyshev, bessel_j | Chebyshev propagation; the Bessel functions |
magnus4_step, TimeDependent | One Magnus step of any time-dependent Hamiltonian |
SplitOperator, apply_k, apply_local, exp_i | The low-level split-operator kernels |
accelerated::propagate | Chebyshev propagation on the GPU, checked against the CPU |
References
- F. Bloch, Über die Quantenmechanik der Elektronen in Kristallgittern, Z. Phys. 52, 555 (1929).
- R. Peierls, Zur Theorie des Diamagnetismus von Leitungselektronen, Z. Phys. 80, 763 (1933).
- G. Strang, On the construction and comparison of difference schemes, SIAM J. Numer. Anal. 5, 506 (1968).
- M. D. Feit, J. A. Fleck Jr., A. Steiger, Solution of the Schrödinger equation by a spectral method, J. Comput. Phys. 47, 412 (1982).
- H. Tal-Ezer, R. Kosloff, An accurate and efficient scheme for propagating the time dependent Schrödinger equation, J. Chem. Phys. 81, 3967 (1984).
- S. Blanes, P. C. Moan, Fourth- and sixth-order commutator-free Magnus integrators for linear and non-linear dynamical systems, Appl. Numer. Math. 56, 1519 (2006).
- A. Weiße, G. Wellein, A. Alvermann, H. Fehske, The kernel polynomial method, Rev. Mod. Phys. 78, 275 (2006).
- M. Abramowitz, I. A. Stegun, Handbook of Mathematical Functions, National Bureau of Standards, 1964.
- A. Demion, A. D. Verga, Nonlinear electric transport in graphene with magnetic disorder, Phys. Rev. B 90, 085412 (2014).
- A. Demion, Transport électronique dans le graphène et les isolants topologiques 2D en présence de désordre magnétique, PhD thesis, Aix-Marseille Université, 2015.