diff --git a/qiskit/transpiler/preset_passmanagers/level3.py b/qiskit/transpiler/preset_passmanagers/level3.py index 53c4f148d711..4ad71538a28b 100644 --- a/qiskit/transpiler/preset_passmanagers/level3.py +++ b/qiskit/transpiler/preset_passmanagers/level3.py @@ -295,13 +295,9 @@ def _unroll_condition(property_set): else: pre_optimization = common.generate_pre_op_passmanager(remove_reset_in_zero=True) - if isinstance(scheduling_method, PassManager): - sched = scheduling_method - - else: - sched = plugin_manager.get_passmanager_stage( - "scheduling", scheduling_method, pass_manager_config, optimization_level=3 - ) + sched = plugin_manager.get_passmanager_stage( + "scheduling", scheduling_method, pass_manager_config, optimization_level=3 + ) return StagedPassManager( init=init,