- QuantumInstance.transpile(circuits, pass_manager=None)[소스]¶
A wrapper to transpile circuits to allow algorithm access the transpiled circuits.
circuits (Union['QuantumCircuit', List['QuantumCircuit']]) – circuits to transpile
pass_manager (Optional['PassManager']) – A pass manager to transpile the circuits. If none is given, but either
bound_pass_managerhas been set in the initializer, these are run. If none has been provided there either, the backend and compile configs from the initializer are used.
- The transpiled circuits, it is always a list even though
the length is one.
- 반환 형식