qiskit.opflow.list_ops.ComposedOp.to_circuit¶
- ComposedOp.to_circuit()[source]¶
Returns the quantum circuit, representing the composed operator.
- Return type
- Returns
The circuit representation of the composed operator.
- Raises
OpflowError – for operators where a single underlying circuit can not be obtained.