kwant.continuum.
build_discretized
(tb_hamiltonian, coords, *, grid_spacing=1, locals=None)[source]¶Create a template builder from a symbolic tightbinding Hamiltonian.
The provided symbolic tightbinding Hamiltonian is put on a (hyper) square
lattice and turned into Python functions. These functions are used to
create a Builder
instance that may be used with
fill
to construct a system of a desired shape.
The return values of discretize_symbolic
may be used
directly for the first two arguments of this function.
Warning
This function uses eval
(because it calls sympy.sympify
), and
thus should not be used on unsanitized input.
Parameters:  tb_hamiltonian : dict
coords : sequence of strings
grid_spacing : int or float, default: 1
locals : dict, defaults to empty


Returns:  model :
