PrimitiveOp.to_circuit_op

PrimitiveOp.to_circuit_op()[source]

Returns a CircuitOp equivalent to this Operator.

Return type

OperatorBase