qiskit.utils.QuantumInstance.transpile¶
-
QuantumInstance.
transpile
(circuits)[source]¶ A wrapper to transpile circuits to allow algorithm access the transpiled circuits. :param circuits: circuits to transpile :type circuits: Union[‘QuantumCircuit’, List[‘QuantumCircuit’]]
- Returns
- The transpiled circuits, it is always a list even though
the length is one.
- Return type
List[‘QuantumCircuit’]