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

In full_reduce, raise error if input graph contains H_BOX. #212

Merged

Conversation

dlyongemallo
Copy link
Contributor

The function requires that the input is a ZX-diagram (i.e., no H_BOXes). See #161 and #200 for context.

Note: This does not guard clifford_simp or other simplification subroutines, which will still silently fail if there are H_BOXes. Putting a check into each subroutine would be redundant and expensive.

The function requires that the input is a ZX-diagram (i.e., no `H_BOX`es). See zxcalc#161 and zxcalc#200 for context.

Note: This does not guard `clifford_simp` or other simplification subroutines, which will still silently fail if there are `H_BOX`es. Putting a check into each subroutine would be redundant and expensive.
@jvdwetering jvdwetering merged commit 5fbecf5 into zxcalc:master Apr 17, 2024
3 checks passed
@dlyongemallo dlyongemallo deleted the full_reduce_error_not_zx_diagram branch April 17, 2024 18:23
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