English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.list_ops.ComposedOp.to_circuit

ComposedOp.to_circuit()[source]

Returns the quantum circuit, representing the composed operator.

Return type

QuantumCircuit

Returns

The circuit representation of the composed operator.

Raises

OpflowError – for operators where a single underlying circuit can not be obtained.