- StagedPassManager.append(passes, max_iteration=None, **flow_controller_conditions)[ソース]¶
Append a Pass Set to the schedule of passes.
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
FlowControllerinstance 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.
TranspilerError – if a pass in passes is not a proper pass.
RunningPassManager.add_flow_controller()for more information about the control flow plugins.