Skip to content

Hardcode missing names in QPY backwards-compat tests (backport #11015)#11016

Merged
jakelishman merged 1 commit into
stable/0.25from
mergify/bp/stable/0.25/pr-11015
Oct 13, 2023
Merged

Hardcode missing names in QPY backwards-compat tests (backport #11015)#11016
jakelishman merged 1 commit into
stable/0.25from
mergify/bp/stable/0.25/pr-11015

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Oct 13, 2023

This is an automatic backport of pull request #11015 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

The newest control-flow QPY tests do not have hard-coded names on the
outer circuits, which trips assertion errors if the library import
causes any more circuits to be instantiated during build (since the
generated names are circuit-count dependent).

Inner circuits do not need naming in the same way, since these are not
used in the assertion; nested circuits' names would be tested
separately. The control-flow builder interface, for example, does not
assign these circuits names at all.

(cherry picked from commit a1927bd)
@mergify mergify Bot requested a review from a team as a code owner October 13, 2023 13:11
@qiskit-bot
Copy link
Copy Markdown
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
  • @mtreinish
  • @nkanazawa1989

@github-actions github-actions Bot added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in the GitHub Release changelog. mod: qpy Related to QPY serialization labels Oct 13, 2023
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 6508690095

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 9 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.01%) to 87.247%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/expr.rs 1 93.76%
crates/qasm2/src/lex.rs 2 91.41%
crates/qasm2/src/parse.rs 6 97.13%
Totals Coverage Status
Change from base Build 6482014504: 0.01%
Covered Lines: 74148
Relevant Lines: 84986

💛 - Coveralls

@jakelishman jakelishman enabled auto-merge October 13, 2023 14:07
@jakelishman jakelishman added this pull request to the merge queue Oct 13, 2023
Merged via the queue into stable/0.25 with commit bfa73e1 Oct 13, 2023
@mergify mergify Bot deleted the mergify/bp/stable/0.25/pr-11015 branch October 13, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. mod: qpy Related to QPY serialization type: qa Issues and PRs that relate to testing and code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants