From 7d545990b439528753342653e563ec455e788d53 Mon Sep 17 00:00:00 2001 From: Alec Edgington <54802828+cqc-alec@users.noreply.github.com> Date: Mon, 14 Oct 2024 10:16:19 +0100 Subject: [PATCH] Use QIR by default for program submission (#508) --- docs/changelog.rst | 5 +++++ pytket/extensions/quantinuum/backends/quantinuum.py | 12 +----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 013e93b6..d112c86d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,11 @@ Changelog ~~~~~~~~~ +Unreleased +---------- + +* Use QIR by default for program submission. + 0.38.1 (October 2024) --------------------- diff --git a/pytket/extensions/quantinuum/backends/quantinuum.py b/pytket/extensions/quantinuum/backends/quantinuum.py index 44f57164..40d8bb56 100644 --- a/pytket/extensions/quantinuum/backends/quantinuum.py +++ b/pytket/extensions/quantinuum/backends/quantinuum.py @@ -980,17 +980,7 @@ def process_circuits( pytket_pass = cast(Optional[BasePass], kwargs.get("pytketpass")) - language: Optional[Language] = cast(Language, kwargs.get("language")) - - if language is None: - language = Language.QASM - warnings.warn( - "The circuit is currently submitted as QASM by default. \ -The default is going to change. If you want to continue to use QASM \ -please add `language=Language.QASM` as an argument to `process_circuits()` \ -or `process_circuit()` to ensure consistent behaviour. If you want to try \ -QIR, please add `language=Language.QIR`." - ) + language: Language = cast(Language, kwargs.get("language", Language.QIR)) handle_list = []