This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Table lookup #601
Labels
Kind-Enhancement
New feature or request
Status-NeedsApiReview
This PR requires an API review before merging in.
Proposal title
Conceptual overview
We propose to add a function for a table lookup routine, as the current idiomatic implementation requires deep knowledge of the API or will be challenging to implement.
Current status
Right now, table lookups require finding
MultiplexOperations
andApplyPauliFromBitString
within the API.User feedback
N/A
Child issues
N/A
Proposal
New and modified functions, operations, and UDTs
Modifications to style guide
N/A
Impact of breaking changes
N/A
Examples
Current status
Currently the best implementation we came up with is to implement a table lookup is as follows:
Using proposed changes
As this is a wrapper function it would involve a call to the wrapper
Relationship to Q# language feature proposals
N/A
Alternatives considered
We considered not including it since table lookups are a niche usecase, however we suggest they are used enough to provide the convenience function.
Open design questions and considerations
N/A
The text was updated successfully, but these errors were encountered: