-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Many mentions to QASM should be changed to OpenQASM 2 #9351
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the the following people are requested to review this:
|
…rra into replace/qasm/openqasm2
Pull Request Test Coverage Report for Build 5879092683
💛 - Coveralls |
In some places, we have "OpenQASM2", while in others "OpenQASM 2.0". Maybe I'm missing the context for why these are different. But we should probably use one or the other consistently. The spec and documentation in the openqasm repo on github seem to use "OpenQASM X" or "OpenQASM X.Y", but not "OpenQASMX". |
I didnt change it in the context of Qobj is because I was thinking at QASM qobj as a concept, as it is it's |
…rra; branch 'main' of github.com:Qiskit/qiskit-terra into replace/qasm/openqasm2
…rra into replace/qasm/openqasm2
Pull Request Test Coverage Report for Build 6351781302
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just fixed up the minor merge conflict and normalised the spacing of "OpenQASM[23]" to "OpenQASM [23]" - we were inconsistent before, and the space is more consistent with standard ways of writing versions in prose.
I was just planning to hit merge, but I see John's left a "request changes" review blocking that. @jlapeyre: I think all your comments are addressed within what we need to actually update - could you check again and approve / dismiss the block as appropriate? |
* Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> (cherry picked from commit c6c9267) # Conflicts: # qiskit/extensions/hamiltonian_gate.py
* Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- (cherry picked from commit c6c9267) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
* Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- (cherry picked from commit c6c9267) Co-authored-by: Jake Lishman <jake.lishman@ibm.com> Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
…9351) * Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
* Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
…9351) * Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
…9351) * Many mentions to QASM should be changed to OpenQASM2 * adjust tests * another round * suggestion in https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068676297 * https://github.com/Qiskit/qiskit-terra/pull/9351/files#r1068704441 * Normalise spacing of OpenQASM [23] --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
Many parts of the documentation refer to "QASM" when they specifically talk about OpenQASM2. With many versions of QASM around and with OpenQASM 3.0 coming, I think it would help to be more explicit.