PrimitiveOp.to_circuit

PrimitiveOp.to_circuit()[source]

Returns a QuantumCircuit equivalent to this Operator.

Return type

QuantumCircuit