qiskit.transpiler.DoWhileController.controller_factory¶
- classmethod DoWhileController.controller_factory(passes, options, **partial_controller)¶
Constructs a flow controller based on the partially evaluated controller arguments.
- Paramètres
passes (list[BasePass]) – passes to add to the flow controller.
options (dict) – PassManager options.
**partial_controller (dict) – Partially evaluated controller arguments in the form {name:partial}
- Lève
TranspilerError – When partial_controller is not well-formed.
- Renvoie
A FlowController instance.
- Type renvoyé