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

Parity controls break when both inside and outside a custom gate #445

Open
Strilanc opened this issue Nov 1, 2019 · 0 comments
Open

Parity controls break when both inside and outside a custom gate #445

Strilanc opened this issue Nov 1, 2019 · 0 comments
Milestone

Comments

@Strilanc
Copy link
Owner

Strilanc commented Nov 1, 2019

Example:

https://algassert.com/quirk#circuit=%7B%22cols%22%3A%5B%5B%22zpar%22%2C%22zpar%22%2C%22~14b2%22%5D%5D%2C%22gates%22%3A%5B%7B%22id%22%3A%22~14b2%22%2C%22circuit%22%3A%7B%22cols%22%3A%5B%5B%22zpar%22%2C%22zpar%22%2C%22X%22%5D%5D%7D%7D%5D%7D

image

ERROR OBJECT
Error: Exactly one parity bit must be in the inclusion mask
Details: {"inclusionMask": 5, "parityMask": 15}

ERROR LOCATION
Error
at new n (https://algassert.com/quirk:363:72014)
at new n (https://algassert.com/quirk:363:169303)
at n.and (https://algassert.com/quirk:363:170701)
at n (https://algassert.com/quirk:363:133847)
at t (https://algassert.com/quirk:363:132508)
at https://algassert.com/quirk:363:131978
at t._applyOpsInCol (https://algassert.com/quirk:363:152035)
at t.applyMainOperationsInCol (https://algassert.com/quirk:363:151183)
at n (https://algassert.com/quirk:363:134170)
at t (https://algassert.com/quirk:363:132508)
@Strilanc Strilanc added this to the v2.4 milestone Nov 1, 2019
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

No branches or pull requests

1 participant