PassManager¶
- class PassManager(passes=None, max_iteration=1000)[source]¶
Bases:
object
Manager for a set of Passes and their scheduling during transpilation.
Initialize an empty PassManager object (with no passes scheduled).
- Parameters
passes (Union[BasePass, List[BasePass]]) – A pass set (as defined in
qiskit.transpiler.PassManager.append()
) to be added to the pass manager schedule.max_iteration (int) – The maximum number of iterations the schedule will be looped if the condition is not met.
Methods
Append a Pass Set to the schedule of passes.
Draw the pass manager.
Return a list structure of the appended passes and its options.
Removes a particular pass in the scheduler.
Replace a particular pass in the scheduler.
Run all the passes on the specified
circuits
.Linearize this manager into a single
FlowController
, so that it can be nested inside anotherPassManager
.