seemps.hamiltonians.NNHamiltonian.interaction_term#

method

NNHamiltonian.interaction_term(i, t=0.0)[source]#

Return the Operator acting on sites i and i+1.

Parameters:
iint

Index into the range [0, self.size-1)

tfloat

Time at which this interaction matrix is computed

Returns:
Operator

Some type of matrix in tensor or sparse-matrix form.