Skip to content

About

Closed-form split-operator propagators for Dirac-Weyl materials with arbitrary pseudospin (Clifford, DKP, spin-s, SU(4))

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

cliffordsplit: generalized split-operator method for Dirac-Weyl materials with arbitrary pseudospin

DOI tests

Author: S. L. N. dos Santos, Departamento de Física, Universidade Federal do Ceará (UFC), Campus do Pici, 60455-900 Fortaleza, Ceará, Brazil

Numerical wave-packet propagation for Hamiltonians

$$H(\mathbf k) = \varepsilon_0(\mathbf k),I + \mathbf S\cdot\mathbf w(\mathbf k),$$

with the kinetic step $U(\mathbf k)=e^{-i\Delta t H/\hbar}$ computed in closed form from the polynomial identity satisfied by the generators $\mathbf S$:

generators identity ($X=\hat{\mathbf n}\cdot\mathbf S$) propagator examples
Clifford (Pauli, 4×4 Γ) $X^2=1$ $\cos\theta - i\sin\theta,X$ graphene, BHZ, 4×4 Dirac, Luttinger (quadrupoles)
cubic / DKP $X^3=X$ $1 - i\sin\theta,X + (\cos\theta-1)X^2$ dice (spin 1), Lieb, α-T₃ (every α)
spin $s$ $\prod_m (X-m)=0$ Sylvester, or $\mathrm{Sym}^{2s}$ of the Clifford rotor spin 3/2 (Rarita-Schwinger-Weyl), spin 2, ...
spectrum ±E₁, ±E₂ $H^4-(E_1^2+E_2^2)H^2+E_1^2E_2^2=0$ biquadratic formula bilayer graphene (non-Clifford SU(4))
any none batched diagonalization (reference)

The full theory is in the notes docs/split_operator_clifford.pdf (in Portuguese, Typst source docs/split_operator_clifford.typ) and in the accompanying paper (in preparation).

Layout

cliffordsplit/          package
  algebras.py           generators (Pauli, spin-s, Cl(n) Γ matrices, α-T3, Lieb, Luttinger, BHZ) and identity checks
  propagators.py        Clifford, Isospectral (Sylvester), SpinRotation (Sym^{2s}), Biquadratic, Eigh
  kinetic.py            kinetic term H0(k,t): AlgebraicKinetic (w.S) and MatrixKinetic (matrix)
  materials.py          catalog: graphene, alpha_t3, dice, lieb, spin_weyl, bhz, luttinger_2d, dirac_4x4, bilayer_graphene
  potentials.py         ScalarPotential, AlgebraicPotential (m(r).M, same closed form), MatrixPotential
  split_operator.py     SplitOperator (Strang splitting, supports time-dependent H0 and V)
  wavepackets.py        Gaussian packets and packets projected onto a band
  observables.py        norm, position, <M>, band populations
  gauge.py              gauge fields: magnetic disk, Landau stripe, minimal coupling (real/strain), exact Landau levels
  transfer.py           transfer matrix for arbitrary pseudospin (boundary condition: S_x psi continuous)
tests/                  38 tests (algebras, propagators vs expm, second order, A(t) vs RK4, gauge fields,
                        transfer matrix, and the physical claims of the paper)
examples/               00..07: quick start, validation/cost, Zitterbewegung, Klein 1D/2D, convergence, pulse,
                        gauge fields (Landau levels, valley filter), Klein with the transfer matrix
figures/  results/      example outputs (PNG, JSON); figures/en and results/en: English versions used in the paper
docs/                   theory notes in Portuguese (Typst -> PDF)
.github/workflows/      CI: runs the tests on every push

Third-party bibliography PDFs in the root folder and in paper prioritarios/ are kept out of the repository (.gitignore) for copyright reasons.

Usage

python -m venv .venv
.\.venv\Scripts\python -m pip install -e ".[examples]"
.\.venv\Scripts\python -m unittest discover -s tests -v
cd examples; ..\.venv\Scripts\python 00_inicio_rapido.py
import numpy as np, cliffordsplit as cs
from cliffordsplit import materials as mat

grid = cs.Grid((256, 256), 0.5)
kin  = mat.spin_weyl(1.5)                       # H = v(kx Sx + ky Sy), spin 3/2
psi  = cs.wavepackets.band_packet(grid, kin, (-20, 0), 6.0, (1.0, 0.0), bands=3)
so   = cs.SplitOperator(grid, kin, dt=0.1, potential=0.5*np.exp(-(grid.X[0]**2 + grid.X[1]**2)/20))
for _ in range(300):
    psi = so.step(psi)

For a new set of generators, cs.make_propagator(mats) picks the method by itself: Clifford if ${S_a,S_b}=2\delta_{ab}$, isospectral if the spectrum of $\hat n\cdot\mathbf S$ does not depend on $\hat n$ (detected numerically), and diagonalization otherwise.

Reproducing the figures and notes

cd examples
..\.venv\Scripts\python run_all.py                  # figures and data with Portuguese labels (~1 h)
$env:CLIFFORD_LANG = "en"; ..\.venv\Scripts\python run_all.py 02 03_klein_2d 04 05 06 07; Remove-Item Env:CLIFFORD_LANG
cd ..
typst compile --root . docs/split_operator_clifford.typ docs/split_operator_clifford.pdf

Every number quoted in the notes comes from the JSON files in results/, which the notes read at compile time (Typst). The same files provide the numbers quoted in the paper.

Main results (see figures/)

  • Closed-form propagators: error ~1e-14 against diagonalization, unitary to machine precision. Without a potential, the evolution is exact for any Δt. With a potential, the order is 2.0.
  • SU(2) Zitterbewegung: a single frequency (adjacent bands, Δm = ±1), with amplitude ∝ s. The simulation reproduces the analytic formula with error ~1e-14. In the α-T₃ model, a packet that starts on a rim site shows two frequencies, with weights sin²2φ and cos²φ·cos2φ, and the 2vk component vanishes at α = 1.
  • The same selection rule holds for absorption: the + → − transition is forbidden in the dice lattice (2e-20) and allowed in the α-T₃ model.
  • Klein tunneling: graphene reproduces the exact transfer matrix, and the dice lattice shows super-Klein tunneling (T ≈ 1 at every angle). Spin 3/2 has no super-Klein tunneling. The transfer matrix confirms the split-operator in the four models and shows that nearly half of the transmitted wave goes to the slow branch (|m| = 1/2).
  • Gauge fields: H = v S·(k + A) = v S·k + v S·A(r), so the gauge term is local and uses the same closed form. The Landau levels are reproduced (α-T₃, valley K: E_n = ±v√(2eB(n + sin²φ)) plus the flat band), and a strain stripe works as a valley filter (K reflected, K′ transmitted), in agreement with the transfer matrix.

Numerical notes

  • Gauge fields on a periodic grid: the total flux must be zero. gauge.magnetic_disk_A uses a compensating ring, and gauge.landau_strip_A places a compensating stripe at the edge of the box, far from the packet.
  • Flat band and potential steps: the local flat band sits at $E=V(\mathbf r)$. If a grid point has $V=E$ (for example, the "half weight" $V_0/2$ at the edge of a barrier with $E=V_0/2$), it becomes a resonant impurity that traps the packet. Use a staggered grid (Grid(..., center=dx/2)), with the interfaces between grid points.
  • The kinetic step is exact. The splitting error grows with $\Delta t,|[T,V]|$, and sharp steps require a moderate $\Delta t,k_{max}$.
  • For a static H, U(k) is computed only once (cache). The closed form pays off most when H depends on time (fields, Floquet), because U is then recomputed at every step.

Paper

The accompanying manuscript, Closed-form split-operator propagators for Dirac-Weyl materials with arbitrary pseudospin, by S. L. N. dos Santos and D. R. da Costa, is in preparation. It uses the figures in figures/en/ and the numbers in results/, and it points to this repository and to its Zenodo archive.

How to cite

The code is archived at Zenodo. The concept DOI 10.5281/zenodo.24691641 always resolves to the latest version, and version 0.1.0 has the DOI 10.5281/zenodo.24691642.

@software{cliffordsplit,
  author    = {dos Santos, S. L. N.},
  title     = {cliffordsplit: closed-form split-operator propagators for Dirac-Weyl materials with arbitrary pseudospin},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24691641},
  url       = {https://doi.org/10.5281/zenodo.24691641}
}

The citation metadata are also in CITATION.cff (the Cite this repository button on GitHub). Please also cite the accompanying paper.

License

MIT, see LICENSE.

About

Closed-form split-operator propagators for Dirac-Weyl materials with arbitrary pseudospin (Clifford, DKP, spin-s, SU(4))

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages