Korean
언어
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〉]