German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

DoWhileController

class DoWhileController(passes, options=None, do_while=None, **partial_controller)[Quellcode]

Bases: FlowController

Implements a set of passes in a do-while loop.

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'>}