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 twirling asv benchmark #13421

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Fix twirling asv benchmark #13421

merged 2 commits into from
Nov 11, 2024

Conversation

mtreinish
Copy link
Member

Summary

Since #13331 merged the nightly asv runs have been failing. This is because the asv twirling benchmark code was updated in that PR to use the new twirling function instead of the embedded equivalent. However, in the PR the name of that function was renamed from twirl_circuit to pauli_twirl_2q_gates during the development of the feature. This rename was missed in the asv benchmark, and as nothing executes the asv code in CI this went uncaught until the asv nightly runs. This commit fixes this oversight and updates the function name to the correct name so that the asv benchmarks no longer fail on import.

Details and comments

Since Qiskit#13331 merged the nightly asv runs have been failing. This is
because the asv twirling benchmark code was updated in that PR to use
the new twirling function instead of the embedded equivalent. However,
in the PR the name of that function was renamed from twirl_circuit to
pauli_twirl_2q_gates during the development of the feature. This rename
was missed in the asv benchmark, and as nothing executes the asv code in
CI this went uncaught until the asv nightly runs. This commit fixes this
oversight and updates the function name to the correct name so that the
asv benchmarks no longer fail on import.
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in changelog labels Nov 11, 2024
@mtreinish mtreinish marked this pull request as ready for review November 11, 2024 12:54
@mtreinish mtreinish requested a review from a team as a code owner November 11, 2024 12:54
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@coveralls
Copy link

coveralls commented Nov 11, 2024

Pull Request Test Coverage Report for Build 11779961022

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.001%) to 88.928%

Files with Coverage Reduction New Missed Lines %
crates/accelerate/src/unitary_synthesis.rs 1 92.2%
crates/qasm2/src/lex.rs 5 92.73%
Totals Coverage Status
Change from base Build 11749692210: 0.001%
Covered Lines: 79059
Relevant Lines: 88902

💛 - Coveralls

@kevinhartman kevinhartman added this pull request to the merge queue Nov 11, 2024
Merged via the queue into Qiskit:main with commit 8bc4844 Nov 11, 2024
17 checks passed
@mtreinish mtreinish deleted the fix-asv-import branch November 18, 2024 15:54
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 changelog 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.

4 participants