Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to pytket qir 0.13.0 #499

Merged
merged 7 commits into from
Oct 3, 2024
Merged

update to pytket qir 0.13.0 #499

merged 7 commits into from
Oct 3, 2024

Conversation

cqc-melf
Copy link
Collaborator

@cqc-melf cqc-melf commented Oct 1, 2024

Description

update to pytket-qir 0.13.0, adding the profile option to the generation.

Related issues

Please mention any github issues addressed by this PR.

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

@cqc-melf cqc-melf force-pushed the melf/update-pytket-qir-0.13.0 branch from 7f0b57d to e95730a Compare October 2, 2024 10:06
@cqc-melf cqc-melf marked this pull request as ready for review October 2, 2024 10:52
@cqc-melf cqc-melf requested a review from yao-cqc as a code owner October 2, 2024 10:52
@cqc-melf cqc-melf requested a review from cqc-alec October 2, 2024 10:53
]
except IndexError:
# this is only a temporary solution and not fully working
# see issue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain the issue or add a link to the issue?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 7d82e44

pytket/extensions/quantinuum/backends/quantinuum.py Outdated Show resolved Hide resolved
@@ -858,6 +859,8 @@ def submit_program(
if wasm_file_handler is not None:
if self.backend_info and not self.backend_info.misc.get("wasm", False):
raise WasmUnsupported("Backend does not support wasm calls.")
# body["bytecode_base64"] = wasm_file_handler._wasm_file_encoded
# see https://github.com/CQCL/pytket-quantinuum/issues/496
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we leaving this change for another PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, using body["cfl"] gives a warning, but the suggested body["bytecode_base64"] is not yet working, or we are missing details on how to use it. There is an issue linked, I will try to solve this.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that's not how I would interpret the warning, looks to me like it's coming from Python, not L4?

pytket/extensions/quantinuum/backends/quantinuum.py Outdated Show resolved Hide resolved
tests/integration/backend_test.py Outdated Show resolved Hide resolved
@cqc-melf cqc-melf merged commit b342e1d into main Oct 3, 2024
12 checks passed
@cqc-melf cqc-melf deleted the melf/update-pytket-qir-0.13.0 branch October 3, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants