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

Allow computing cost from decomposition of cirq gates #1510

Merged

Conversation

anurudhp
Copy link
Contributor

When computing the t-complexity, if _from_directly_countable_cirq returns None, it now defaults to using the decomposition to compute the gate counts.

fixes #1426 - added the test described here. (the exact cost values would need to updated once #1455 is merged)

@anurudhp
Copy link
Contributor Author

@mpharrigan ptal

Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

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

Thanks!

@mpharrigan mpharrigan merged commit 6de1e12 into quantumlib:main Dec 19, 2024
8 checks passed
@anurudhp anurudhp deleted the 2024/12/18-bugfix-cirq-decomp-cost branch December 20, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants