qiskit.transpiler.StagedPassManager.append¶
- StagedPassManager.append(passes, max_iteration=None, **flow_controller_conditions)[código fonte]¶
Append a Pass Set to the schedule of passes.
- Parâmetros
passes (Union[BasePass, List[BasePass]]) – A set of passes (a pass set) to be added to schedule. A pass set is a list of passes that are controlled by the same flow controller. If a single pass is provided, the pass set will only have that pass a single element. It is also possible to append a
FlowController
instance and the rest of the parameter will be ignored.max_iteration (Optional[int]) – max number of iterations of passes.
flow_controller_conditions (Any) – control flow plugins.
- Levanta
TranspilerError – if a pass in passes is not a proper pass.
Veja também
RunningPassManager.add_flow_controller()
for more information about the control flow plugins.