diff --git a/doc/releases/changelog-dev.md b/doc/releases/changelog-dev.md
index 77bc4e4d33..bdcd8336fc 100644
--- a/doc/releases/changelog-dev.md
+++ b/doc/releases/changelog-dev.md
@@ -141,6 +141,10 @@
Internal changes ⚙️
+* The `qml.compiler.python_compiler` module in PennyLane has been renamed `qml.compiler.interface`.
+ Catalyst has been updated to reflect this change.
+ [(#1997)](https://github.com/PennyLaneAI/pennylane/pull/1997)
+
* Updates use of `qml.transforms.dynamic_one_shot.parse_native_mid_circuit_measurements` to improved signature.
[(#1953)](https://github.com/PennyLaneAI/catalyst/pull/1953)
diff --git a/frontend/catalyst/compiler.py b/frontend/catalyst/compiler.py
index 86c16c20c9..d0a07be888 100644
--- a/frontend/catalyst/compiler.py
+++ b/frontend/catalyst/compiler.py
@@ -471,7 +471,7 @@ def run_from_ir(self, ir: str, module_name: str, workspace: Directory):
return output_object_name, out_IR
@debug_logger
- def is_using_python_compiler(self):
+ def is_using_compiler_interface(self):
"""Returns true if we detect that there is an xdsl plugin in use.
Will also modify self.options.pass_plugins and self.options.dialect_plugins to remove
@@ -509,13 +509,13 @@ def run(self, mlir_module, *args, **kwargs):
(str): filename of shared object
"""
- if self.is_using_python_compiler():
+ if self.is_using_compiler_interface():
# We keep this module here to keep xDSL requirement optional
# Only move this is it has been decided that xDSL is no longer optional.
# pylint: disable-next=import-outside-toplevel
- from pennylane.compiler.python_compiler import Compiler as PythonCompiler
+ from pennylane.compiler.interface import Compiler as CompilerInterface
- compiler = PythonCompiler()
+ compiler = CompilerInterface()
mlir_module = compiler.run(mlir_module)
return self.run_from_ir(