treams._operators.OperatorAttribute#
- class treams._operators.OperatorAttribute(op)[source]#
Attach an operator to an object as attribute.
When called as attribute of an object it returns a suitable matrix to transform it. It pulls the necessary parameters (like the
treams._core.BasisSet) from the object it is attached to. See alsoOperatorand the corresponding functions.Methods
__init__(op)apply_left(*args, **kwargs)apply_right(*args, **kwargs)eval(*args, **kwargs)eval_inv(*args, **kwargs)Attributes
OP