- generate_control_flow_options_check(layout_method=None, routing_method=None, translation_method=None, optimization_method=None, scheduling_method=None, basis_gates=(), target=None)¶
Generate a pass manager that, when run on a DAG that contains control flow, fails with an error message explaining the invalid options, and what could be used instead.
a pass manager that populates the
contains_xproperties for each of the control-flow operations, and raises an error if any of the given options do not support control flow, but a circuit with control flow is given.
- 반환 형식