fastdla.generators.z2lgt_hva.z2lgt_dense_translation

fastdla.generators.z2lgt_hva.z2lgt_dense_translation(num_fermions, npmod=np)

Return a function that applies the translation \(T_2\) to state vectors.

Parameters:

num_fermions (int) – \(N_f\).

Return type:

tuple[Callable[[numpy.ndarray], numpy.ndarray], complex]

Returns:

A function that takes a basis matrix \(B\) and computes \(T_2 B\) and the eigenvalue \(e^{2\pi i j/N_f}\).