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 rzz qasm string in qasm converter #679

Merged
merged 7 commits into from
Dec 8, 2022
Merged

Update rzz qasm string in qasm converter #679

merged 7 commits into from
Dec 8, 2022

Conversation

sjdilkes
Copy link
Contributor

@sjdilkes sjdilkes commented Dec 8, 2022

hqs qasm header defines OpType.ZZPhase gate as "RZZ", but in converter code it's been mistakenly set to "rzz" (which is how pytket defines it as a string). This gives examples where "RZZ" is not recognised as an OpType.ZZPhase gate and so is instead read in as a custom gate.

@cqc-alec
Copy link
Collaborator

cqc-alec commented Dec 8, 2022

Could we also add a new test case (as in the bug report) please?

@cqc-alec
Copy link
Collaborator

cqc-alec commented Dec 8, 2022

And a changelog entry.

@sjdilkes
Copy link
Contributor Author

sjdilkes commented Dec 8, 2022

Could we also add a new test case (as in the bug report) please?

On it!

cqc-alec
cqc-alec previously approved these changes Dec 8, 2022
Works with or without, but was part of the issue with Customgates so probably worth having back in
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.

None yet

2 participants