diff --git a/pytket/extensions/pyquil/backends/forest.py b/pytket/extensions/pyquil/backends/forest.py index 653a30d..a6e3b33 100644 --- a/pytket/extensions/pyquil/backends/forest.py +++ b/pytket/extensions/pyquil/backends/forest.py @@ -45,7 +45,7 @@ BasePass, EulerAngleReduction, CXMappingPass, - auto_rebase_pass, + AutoRebase, KAKDecomposition, SequencePass, SynthesiseTket, @@ -139,7 +139,7 @@ def required_predicates(self) -> List[Predicate]: ] def rebase_pass(self) -> BasePass: - return auto_rebase_pass({OpType.CZ, OpType.Rz, OpType.Rx}) + return AutoRebase({OpType.CZ, OpType.Rz, OpType.Rx}) def default_compilation_pass(self, optimisation_level: int = 2) -> BasePass: assert optimisation_level in range(3) @@ -384,7 +384,7 @@ def required_predicates(self) -> List[Predicate]: ] def rebase_pass(self) -> BasePass: - return auto_rebase_pass({OpType.CZ, OpType.Rz, OpType.Rx}) + return AutoRebase({OpType.CZ, OpType.Rz, OpType.Rx}) def default_compilation_pass(self, optimisation_level: int = 2) -> BasePass: assert optimisation_level in range(3)