append(passes, max_iteration=None, **flow_controller_conditions)¶
Append a Pass Set to the schedule of passes.
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.
int]) – max number of iterations of passes.
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.
- Return type