RedfieldRelaxationTensor¶
Redfield Tensor
Class Details¶
-
class
quantarhei.qm.liouvillespace.redfieldtensor.
RedfieldRelaxationTensor
(ham, sbi, initialize=True, cutoff_time=None, as_operators=False, name='')[source]¶ Redfield Relaxation Tensor
Parameters: - ham (Hamiltonian) – Hamiltonian of the system.
- sbi (SystemBathInteraction) – Object specifying the system-bath interaction
- initialize (bool) – If True, the tensor will be imediately calculated
- cutoff_time (float) – Time in femtoseconds after which the integral kernel in the definition of the relaxation tensor is assummed to be zero.
- as_operators (bool) – If True the tensor will not be constructed. Instead a set of operators whose application is equal to the application of the tensor will be defined and stored
-
secularize
()¶ Deletes non-secular terms in the relaxation tensor. If the tensor is represented by operators (i.e. the as_operators atribute is True), the methods raises an Exception. Use convert_2_tensor first.
-
convert_2_tensor
()[source]¶ When created with as_operators=True the tensor is internally represented by a set of operators. This method converts this representation to a tensor
Attributes: - Km
- Ld
- Lm
- data
- secular_GG
- secular_KK
- secular_basis_op
Methods
apply
(oper[, copy])Applies the relaxation tensor on a superoperator convert_2_tensor
()Converts internally the operator representation to a tensor one copy
()Returns a shallow copy of the self deepcopy
()Returns a deep copy of the self get_secular_basis_operator
()Returns the operator to ensure the correct basis context initialize
()Initializes the Redfield tensor with values load
(filename[, test])Loads an object from a file and returns it loaddir
(dirname)Returns a directory of objects saved into a directory save
(filename[, comment, test])Saves the object with all its content into a file savedir
(dirname[, tag, comment, test])Saves an object into directory containing a file with unique name scopy
()Creates a copy of the object by saving and loading it secularize
([legacy])Secularizes the relaxation tensor transform
(SS[, inv])Transformation of the tensor by a given matrix updateStructure
()Recalculates dephasing and depopulation rates get_current_basis protect_basis recover_nonsecular set_current_basis unprotect_basis -
convert_2_tensor
()[source] Converts internally the operator representation to a tensor one
Converst the representation of the relaxation tensor through a set of operators into a tensor representation.
-
initialize
()[source] Initializes the Redfield tensor with values
-
transform
(SS, inv=None)[source]¶ Transformation of the tensor by a given matrix
This function transforms the Operator into a different basis, using a given transformation matrix.
Parameters: - SS (matrix, numpy.ndarray) – transformation matrix
- inv (matrix, numpy.ndarray) – inverse of the transformation matrix