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

Improve error message on bad OpenQASM 3 basis_gates argument (backport #12945) #12946

Merged
merged 1 commit into from
Aug 12, 2024

Commits on Aug 12, 2024

  1. Improve error message on bad OpenQASM 3 basis_gates argument (#12945)

    If the user requests a basis-gate name that cannot be used (like a
    keyword), there is nothing sensible we can output for a circuit that
    contains one of those operations.  The exporter was already correctly
    erroring in these cases, but the error message was quite opaque.
    
    (cherry picked from commit fb9c0db)
    jakelishman authored and mergify[bot] committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    c500906 View commit details
    Browse the repository at this point in the history