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

feat: add qubit discard/measure methods #580

Merged
merged 5 commits into from
Oct 23, 2024
Merged

feat: add qubit discard/measure methods #580

merged 5 commits into from
Oct 23, 2024

Commits on Oct 18, 2024

  1. feat: add quantum functions as qubit methods

    I think this could be nicer to use in examples than the current inout usage.
    
    benefits:
    - importing qubits gets you all the methods
    - with an LSP you get auto complete on `qubit.`
    - Extends nicely to other qubit types that might have different interfaces
    ss2165 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    1b93abd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d29984 View commit details
    Browse the repository at this point in the history
  3. add measures

    ss2165 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    9b9c6fa View commit details
    Browse the repository at this point in the history
  4. avoid function name shadowing

    ss2165 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a893d16 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    2808e60 View commit details
    Browse the repository at this point in the history