OperatorPolynomial
A polynomial operator is defined in terms of a polynomial and an operator. It applies the polynomial to the operator when acting on vectors. For example, a polynomial becomes when applied to an operator .
Constructors
OperatorPolynomial(const Operator operator, const Polynomial<real> polynomial) -> OperatorPolynomial
Constructs an OperatorPolynomial 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.