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

Support declaring single hardware qubits #177

Merged
merged 1 commit into from
Mar 1, 2024

Commits on Mar 1, 2024

  1. Support declaring single hardware qubits

    Statements like `qubit $1;` are supported.
    
    This commit also undoes the previous commit (last commit before tagging 0.3.0) that
    improved the error handling for attemted declaration of hardware qubits.
    
    API CHANGE: new variant in asg::Stmt
    The variant is  `Stmt::DeclareHardwareQubit(DeclareHardwareQubit)`
    
    The struct `DeclareHardwareQubit` has method `name` to retrieve an instance of
    `asg::HardwareQubit`. Note that `asg::HardwareQubit` is not new in this
    commit.
    jlapeyre committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    bf996af View commit details
    Browse the repository at this point in the history