DoWhileController¶
- class DoWhileController(passes, options=None, do_while=None, **partial_controller)[source]¶
Bases:
FlowController
Implements a set of passes in a do-while loop.
Methods
Adds a flow controller.
Constructs a flow controller based on the partially evaluated controller arguments.
Fetches the passes added to this flow controller.
Removes a flow controller.
Attributes
- registered_controllers = {'condition': <class 'qiskit.transpiler.runningpassmanager.ConditionalController'>, 'do_while': <class 'qiskit.transpiler.runningpassmanager.DoWhileController'>}¶