Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Extend call counting allowances #312

Description

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 Mariia Mykhailova (@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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Kind-EnhancementNew feature or requestPkg-StandardIssue relates to the Microsoft.Quantum.Standard package.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions