JohanSchott / impurityModel

Calculate many-body states of an impurity Anderson model and spectra (e.g. XPS, XAS, RIXS, NIXS)
MIT License
22 stars 2 forks source link

Speedup by using Cython or Numba when calculating matrix elements #13

Open JohanSchott opened 3 years ago

JohanSchott commented 1 year ago

If use the integer representation for a product state, integers can become very big. This is not a problem in Python. But in Cython and Numba one would have to careful to avoid overflow, or skip the suport for the integer representation.