def METHOD_NAME(self):
    spm = StagedPassManager()
    self.assertEqual(
        spm.stages, ("init", "layout", "routing", "translation", "optimization", "scheduling")
    )
    spm = StagedPassManager(
        init=PassManager([Optimize1qGates()]),
        routing=PassManager([Unroller(["u", "cx"])]),
        scheduling=PassManager([Depth()]),
    )
    self.assertEqual(
        [x.__class__.__name__ for passes in spm.passes() for x in passes["passes"]],
        ["Optimize1qGates", "Unroller", "Depth"],
    )