diff --git a/pytket/extensions/qulacs/backends/qulacs_backend.py b/pytket/extensions/qulacs/backends/qulacs_backend.py index 2b40b51..1c892f3 100644 --- a/pytket/extensions/qulacs/backends/qulacs_backend.py +++ b/pytket/extensions/qulacs/backends/qulacs_backend.py @@ -53,7 +53,7 @@ Predicate, ) from pytket.circuit import Pauli -from pytket.passes import auto_rebase_pass +from pytket.passes import AutoRebase from pytket.pauli import QubitPauliString from pytket.utils.operators import QubitPauliOperator from pytket.utils.outcomearray import OutcomeArray @@ -155,7 +155,7 @@ def required_predicates(self) -> List[Predicate]: ] def rebase_pass(self) -> BasePass: - return auto_rebase_pass(set(_TWO_QUBIT_GATES) | _1Q_GATES) + return AutoRebase(set(_TWO_QUBIT_GATES) | _1Q_GATES) def default_compilation_pass(self, optimisation_level: int = 1) -> BasePass: assert optimisation_level in range(3)