Skip to content

Commit

Permalink
Use QIR by default for program submission (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec authored Oct 14, 2024
1 parent 534f059 commit 7d54599
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Changelog
~~~~~~~~~

Unreleased
----------

* Use QIR by default for program submission.

0.38.1 (October 2024)
---------------------

Expand Down
12 changes: 1 addition & 11 deletions pytket/extensions/quantinuum/backends/quantinuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 7d54599

Please sign in to comment.