qiskit.aqua.operators.primitive_ops.CircuitOp.mul¶

CircuitOp.mul(scalar)

Returns the scalar multiplication of the Operator, overloaded by *, including support for Terra’s Parameters, which can be bound to values later (via bind_parameters).

Paramètres

scalar (Union[int, float, complex, ParameterExpression]) – The real or complex scalar by which to multiply the Operator, or the ParameterExpression to serve as a placeholder for a scalar factor.

Type renvoyé

OperatorBase

Renvoie

An OperatorBase equivalent to product of self and scalar.