German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

FlowController

class FlowController(passes, options, **partial_controller)[Quellcode]

Bases: object

Base class for multiple types of working list.

This class is a base class for multiple types of working list. When you iterate on it, it returns the next pass to run.

Methods

add_flow_controller

Adds a flow controller.

controller_factory

Constructs a flow controller based on the partially evaluated controller arguments.

dump_passes

Fetches the passes added to this flow controller.

remove_flow_controller

Removes a flow controller.

Attributes

registered_controllers = {'condition': <class 'qiskit.transpiler.runningpassmanager.ConditionalController'>, 'do_while': <class 'qiskit.transpiler.runningpassmanager.DoWhileController'>}