Skip to content
  • Joseph Weston's avatar
    add consistency checks when computing onsite and hamiltonian data · 3e950e7c
    Joseph Weston authored
    We get rid of '_is_herm_conj' in favour of '_is_hermitian', replace
    '_check_ham' with '_check_hams' (which works on vectorized values)
    and add '_check_onsites' (which also works on vectorized values).
    Replace absolute value calculation with call to 'cabs' from 'complex.h'
    3e950e7c