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