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 zero-operand gates and instructions #8272

Merged
merged 7 commits into from
Oct 29, 2022

Commits on Jun 29, 2022

  1. Fix zero-operand gates and instructions

    A few checks in different places didn't account for zero-operand gates
    being possible.  In most uses, there never would be anything useful
    here, but it can occasionally be useful to create a "global-phase"
    instruction, especially if this is later going to have controls applied
    to it.  This is well-formed within the Qiskit data model; spectator
    qubits implicitly undergo the identity, so this corresponds to the
    global phase being multiplied by the identity on _all_ qubits.
    jakelishman committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    2afb327 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23ea895 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Configuration menu
    Copy the full SHA
    f126ebc View commit details
    Browse the repository at this point in the history
  2. Add ScalarOp test

    jakelishman committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    361cac0 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Configuration menu
    Copy the full SHA
    af1abf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f620443 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

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