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

add wasm support to the conversion #66

Merged
merged 4 commits into from
Aug 16, 2023
Merged

Conversation

cqc-melf
Copy link
Collaborator

No description provided.

@cqc-melf cqc-melf marked this pull request as ready for review August 16, 2023 11:21
@cqc-melf cqc-melf requested a review from cqc-alec August 16, 2023 11:21
@cqc-melf
Copy link
Collaborator Author

cqc-melf commented Aug 16, 2023

Solved #65 and adds the wasm support


initial_result = str(populated_module.module.ir()) # type: ignore

initial_result = (
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is probably easier to understand this when looking at the individual commits

wasm_func_interface += f"i{self.int_type_str} "
else:
raise ValueError(
"wasm function which return more than"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess we should make an issue for this?

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 I will do that

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 at CQCL/pytket-quantinuum#201
I have added that to pytket-quantinuum because this is an issues that needs to be solved for qasm, qir and on the hardware side

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.

2 participants