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

Fix parsing of huge OpenQASM 2 conditionals (backport #12774) #12854

Merged
merged 1 commit into from
Jul 30, 2024

Commits on Jul 30, 2024

  1. Fix parsing of huge OpenQASM 2 conditionals (#12774)

    * Fix parsing of huge OpenQASM 2 conditionals
    
    We fixed handling of giant integers in gate expression positions
    gh-12140, and this commit fixes the handling in conditionals.
    Unfortunately, this means pulling in big-int handling properly; the
    integers simply _are_ bigints, and we're not immediately converting them
    into something else.
    
    The need to support this may influence how the Rust-space data models of
    `QuantumCircuit` evolve.
    
    * Move `num-bigint` dependency to workspace
    
    (cherry picked from commit 85f9860)
    jakelishman authored and mergify[bot] committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    58517a5 View commit details
    Browse the repository at this point in the history