Hi all,

I tried to use kwant.continuum.discretize for my Hamiltonian which includes
sqrt(k_x * k_x + k_y * k_y). Not surprisingly, I get the error "TypeError:
can't convert expression to float". Is there a way to discretize the term
including "sqrt" using kwant.continuum.discretize or another discretizer of
Kwant?

Thank you,

Barış

Reply via email to