full name: tenpy.models.lattice.get_lattice
parent module: tenpy.models.lattice
tenpy.models.lattice
type: function
tenpy.models.lattice.
get_lattice
Given the name of a Lattice class, create an instance of it with gi.
Lattice
Name of a Lattice class defined in the module lattice, for example "Chain", "Square", "Honeycomb", ....
lattice
"Chain", "Square", "Honeycomb", ...
Arguments and keyword-arguments for the initialization of the specified lattice class.
An instance of the lattice class specified by lattice_name.