seemps.hamiltonians.ConstantNNHamiltonian.to_matrix#

method

ConstantNNHamiltonian.to_matrix(t=0.0)#

Compute the sparse matrix for this Hamiltonian at time t.

Parameters:
tfloat, default = 0.0

Time at which the matrix is computed

Returns:
Operator

Matrix in either dense or sparse representation.