Landau-level plane-wave form factors, exchange kernels, and symmetric-gauge helper objects for quantum Hall systems in a small, reusable package (useful for Hartree-Fock, impurity, and pseudopotential calculations). It provides:
- Analytic Landau-level plane-wave form factors
$F_{n',n}^\sigma(\mathbf{q})$ . - Exchange kernels
$X_{n_1 m_1 n_2 m_2}^\sigma(\mathbf{G})$ . - Symmetric-gauge guiding-center and factorized density form factors.
- Central one-body matrix elements, plane Haldane pseudopotentials, and LLL disk two-body reconstruction helpers.
- Symmetry diagnostics for verifying kernel implementations.
For
where
where
From PyPI:
pip install quantumhall-matrixelementsFrom a local checkout (development install):
pip install -e .[dev]import numpy as np
from quantumhall_matrixelements import (
get_form_factors,
get_exchange_kernels,
)
Gs_dimless = np.array([0.0, 1.0, 1.0])
thetas = np.array([0.0, 0.0, np.pi])
nmax = 2
F = get_form_factors(Gs_dimless, thetas, nmax) # shape (nG, nmax, nmax)
X = get_exchange_kernels(Gs_dimless, thetas, nmax) # built-in CoulombA custom interaction potential can be supplied as a callable of |q| in
1/ℓ_B units:
def V_screened(q, kappa=1.0, q_TF=0.5):
return kappa * 2.0 * np.pi / (q + q_TF)
X_screened = get_exchange_kernels(
Gs_dimless,
thetas,
nmax,
potential=V_screened,
)For more detailed examples, see the example scripts under examples/ and the
tests under tests/. The documentation covers:
- Plane-wave workflows — form factors, exchange kernels, Fock-matrix construction, memory guards, and backend choice.
- Symmetric-gauge workflows — factorized density form factors, Haldane pseudopotentials, central one-body matrix elements, and LLL disk two-body reconstruction.
If you use the package quantumhall-matrixelements in academic work, you must cite:
Sparsh Mishra and Tobias Wolf, quantumhall-matrixelements: Quantum Hall Landau-Level Matrix Elements, version 0.1.0, 2025. DOI: https://doi.org/10.5281/zenodo.17807688
A machine-readable CITATION.cff file is included in the repository and can be used with tools that support it (for example, GitHub's "Cite this repository" button).
-
Run tests and coverage:
pytest
-
Lint and type-check:
ruff check . mypy .
- Authors: Dr. Tobias Wolf, Sparsh Mishra
- License: MIT (see
LICENSE).