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

@cgranade

Description

@cgranade

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.

Metadata

Metadata

Assignees

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