ComplexOperatorPolynomial
Base class: Operator
A ComplexOperatorPolynomial defined by a scalar polynomial applied to an operator. For example, a polynomial p(x) = sum_n a_n x^n becomes p(A) = sum_n a_n A^n when applied to an operator A.
Constructors
ComplexOperatorPolynomial(const Operator operator, const ComplexPolynomial polynomial) -> ComplexOperatorPolynomial
Constructs a ComplexOperatorPolynomial from an Operator and a Polynomial.
Parameters
- operator: The operator to wrap (e.g. X, Create, operator_sum).
- polynomial: The polynomial to apply to the operator.