Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.utils.QuantumInstance.transpile

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 pass_manager or bound_pass_manager has 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.

戻り値の型

List[『QuantumCircuit』]