22 Sep
2020
22 Sep
'20
4:40 p.m.
Dear Kwant developers, I am having a error with "gauge" when I am adding 1D leads (Chains) to my 3D system. (I have both Chain leads, where I do not need gauge, of course, and nirmal leads, where I do need gauge) The call: gauge = kwant.physics.magnetic_gauge(sys) returns a error: 'not enough values to unpack (expected 2, got 0)', coming from the rows, cols = np.array([(i, j)for i, jin syst.graph if i < nand j < n]).transpose() in _check_infinite_syst(syst) in gauge.py In my case, n = 1 for a simple chain and so rows, cols are empty. Best wishes, Sergey
1277
Age (days ago)
1283
Last active (days ago)
12 comments
3 participants
participants (3)
-
Anton Akhmerov
-
Christoph Groth
-
Sergey Slizovskiy