Fix inconsistency in sympy symbols in Models
There are multiple things here, might want to break this up into multiple MR's.
-
Fix #15 (closed) by removing
copy(key)inModel. -
Fix a related error in the
kwant.qsymmtests by removing thereal=Trueflag inhamiltonian_from_family. -
Refactor
bloch_familyto avoid unnecessary conversion betweenModelandBlochModel(as it turns out this had nothing to do with the bugs, but make the code nicer).
Edited by Joseph Weston