X Tutup
The Wayback Machine - https://web.archive.org/web/20220318173123/https://github.com/microsoft/QuantumLibraries/issues/312
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

Extend call counting allowances #312

Open
cgranade opened this issue Aug 19, 2020 · 1 comment
Open

Extend call counting allowances #312

cgranade opened this issue Aug 19, 2020 · 1 comment

Comments

@cgranade
Copy link
Member

@cgranade cgranade commented Aug 19, 2020

Is your feature request related to a problem? Please describe.
With #302, new allowance operations were introduced to enforce that a given operation is called at most a given number of times. As per @tcNickolas' feedback, it would be good to extend these allowances in a few ways:

  • Keep running after allowances fail until adjoint-allowance is hit, so to give better diagnostic data about where disallowed calls occur.
  • Support allowing lists of related operations rather than individual operations.
  • Provide more meaningful output when number of allowed calls is zero; possibly even a shorthand DenyOperation.
@guenp
Copy link
Member

@guenp guenp commented Dec 7, 2020

New bug filed related to this operation : #386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
X Tutup