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

Add delay handling to QASM 3 exporter #7942

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

jakelishman
Copy link
Member

Summary

This simply adds the additional special-case needed to handle the
built-in delay instructions for OpenQASM 3. We have to take care when
dealing with ps, which is a supported unit by Terra but not by OQ3.

Details and comments

Fix #7903

This simply adds the additional special-case needed to handle the
built-in delay instructions for OpenQASM 3.  We have to take care when
dealing with `ps`, which is a supported unit by Terra but not by OQ3.
@jakelishman jakelishman requested a review from a team as a code owner April 15, 2022 00:02
@qiskit-bot
Copy link
Collaborator

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:

  • @Qiskit/terra-core

@jakelishman jakelishman added Changelog: New Feature Include in the "Added" section of the changelog mod: qasm2 Relating to OpenQASM 2 import or export labels Apr 15, 2022
@coveralls
Copy link

coveralls commented Apr 15, 2022

Pull Request Test Coverage Report for Build 2203377971

  • 34 of 35 (97.14%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 84.24%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit/qasm3/exporter.py 11 12 91.67%
Totals Coverage Status
Change from base Build 2202967652: 0.007%
Covered Lines: 54062
Relevant Lines: 64176

💛 - Coveralls

@mergify mergify bot merged commit fefeacc into Qiskit:main Apr 21, 2022
@jakelishman jakelishman deleted the qasm3/exporter-delay branch May 26, 2022 23:29
@jakelishman jakelishman added mod: qasm3 Related to OpenQASM 3 import or export and removed mod: qasm2 Relating to OpenQASM 2 import or export labels Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the "Added" section of the changelog mod: qasm3 Related to OpenQASM 3 import or export
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qasm3 exporter fails if circuits have delays
4 participants