seemps.hamiltonians.ConstantNNHamiltonian#

class seemps.hamiltonians.ConstantNNHamiltonian(size, dimension)[source]#

Nearest-neighbor 1D Hamiltonian with constant terms.

Parameters:
size: int

Number of quantum systems that this model is formed of.

dimension: int | list[int]

Either an integer denoting the dimension for all quantum subsystems, or a list of dimensions for each of the size objects.