• Pablo Piskunow's avatar
    fix behavior of 'bounds' and 'epsilon' in KPM · ad3ccb0e
    Pablo Piskunow authored
    Now, the tolerance to which the spectral bounds of the Hamiltonian
    are calculated is set by 'epsilon', which also controls the
    rescaling of the Hamiltonian to ensure that the spectral bounds are
    strictly between (-1, 1). Also the spectral bounds are only calculated
    *once* (if not provided by the user).
kpm.py 21.3 KB