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: QuantumCircuit or list[QuantumCircuit]

Returns

the transpiled circuits, it is always a list even though

the length is one.

Return type

list[QuantumCircuit]