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

Allow custom built-in gate specification #15

Open
jakelishman opened this issue Aug 24, 2023 · 0 comments
Open

Allow custom built-in gate specification #15

jakelishman opened this issue Aug 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jakelishman
Copy link
Member

The Qiskit qasm2.load parser supports specifying a list of overrides for gates, which can be used to have custom classes represent OpenQASM-defined gates (rather than the parser's default constructor) or to specify built-in gates as extensions that are not seen in header files.

The OpenQASM 3 capabilities in Qiskit should have the same ability, so backends can tell us about their basis gates manually. Longer term, we will likely want more complete mechanisms for backends to supply us with specific header files that describe themselves, but that requires more synchronisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant