Oct. 18, 2018
4:30 p.m.
You need to provide the parameters to the current operator when you call it, because it needs to evaluate the Hamiltonian to calculate the current (IIRC this is in the docs). Happy Kwanting, Joe On 10/18/2018 06:16 PM, Sergey Slizovskiy wrote:
Thank you, Joseph, It could be nice to have this in tutorials. In my case, I still get a error Exception "unhandled kwant._common.UserCodeError" Error occurred in user-supplied value function "hopping".
Although, my hoppings are pretty innocent and conductance calculation works fine
On 18/10/18 17:04, Joseph Weston wrote:
currents = [J_0(p) for p in psi]
Thanks,
Sergey