seemps.hamiltonians.NNHamiltonian.to_matrix# method NNHamiltonian.to_matrix(t=0.0)[source]# Compute the sparse matrix for this Hamiltonian at time t. Parameters: tfloat, default = 0.0Time at which the matrix is computed Returns: OperatorMatrix in either dense or sparse representation.