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 exporter_cirq.py #68

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Update exporter_cirq.py #68

merged 2 commits into from
Oct 18, 2024

Conversation

refedico
Copy link
Contributor

An error was encountered while exporting the generic Toffoli gate in question to Cirq, specifically a 'TypeError: tuple indices must be integers or slices, not list.' It was modified in the code, and it worked. The other parts related to the gates were not changed because they were not tested.

refedico

This comment was marked as duplicate.

@dakk dakk merged commit ebb792a into dakk:master Oct 18, 2024
7 of 8 checks passed
@dakk
Copy link
Owner

dakk commented Oct 18, 2024

Thank you for the contribution Federico, I also fixed the CZ which had the same issue.

@dakk
Copy link
Owner

dakk commented Oct 18, 2024

I've release v0.1.34 to pypi with this fix

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