diff --git a/qiskit/transpiler/preset_passmanagers/level3.py b/qiskit/transpiler/preset_passmanagers/level3.py index caa6cb6f48f9..8b5e0ef36472 100644 --- a/qiskit/transpiler/preset_passmanagers/level3.py +++ b/qiskit/transpiler/preset_passmanagers/level3.py @@ -283,13 +283,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,