kwant.qsymm
– Integration with Qsymm¶kwant.qsymm.
builder_to_model
(syst, momenta=None, real_space=True, params=None)[source]¶Make a qsymm.BlochModel out of a Builder
.
Parameters: 


Returns: 

Notes
The sites in the the builder are in lexicographical order, i.e. ordered first by their family and then by their tag. This is the same ordering that is used in finalized kwant systems.
kwant.qsymm.
model_to_builder
(model, norbs, lat_vecs, atom_coords, *, coeffs=None)[source]¶Make a Builder
out of qsymm.Models or qsymm.BlochModels.
Parameters: 


Returns: 

Notes
Onsite terms that are not provided in the input model are set to zero by default.
The input model(s) representing the tight binding Hamiltonian in Bloch form should follow the convention where the difference in the real space atomic positions appear in the Bloch factors.
kwant.qsymm.
find_builder_symmetries
(builder, momenta=None, params=None, spatial_symmetries=True, prettify=True, sparse=None)[source]¶Finds the symmetries of a Kwant system using qsymm.
Parameters: 


Returns: 
