Skip to content

Add release note for nalgebra 2q synthesis changes#16129

Open
mtreinish wants to merge 1 commit intoQiskit:mainfrom
mtreinish:add-performance-release-note
Open

Add release note for nalgebra 2q synthesis changes#16129
mtreinish wants to merge 1 commit intoQiskit:mainfrom
mtreinish:add-performance-release-note

Conversation

@mtreinish
Copy link
Copy Markdown
Member

In the recently merged #16065 we added a new release note section to highlight performance changes that weren't additions. Since that has merged for the 2.5 release the PR series migrating our internal 2q synthesis code to use nalgebra should be documented under this section for the 2.5.0 release notes. Since those PRs (#15960 and #15928) merged before #16065 did there was no release note documenting this change. This commit corrects that oversight and adds the release note so we're documenting this improvement in the performance section.

AI/LLM disclosure

  • I didn't use LLM tooling, or only used it privately.
  • I used the following tool to help write this PR description:
  • I used the following tool to generate or modify code:

In the recently merged Qiskit#16065 we added a new release note section to
highlight performance changes that weren't additions. Since that has
merged for the 2.5 release the PR series migrating our internal 2q
synthesis code to use nalgebra should be documented under this section
for the 2.5.0 release notes. Since those PRs (Qiskit#15960 and Qiskit#15928) merged
before Qiskit#16065 did there was no release note documenting this change.
This commit corrects that oversight and adds the release note so we're
documenting this improvement in the performance section.
@mtreinish mtreinish added this to the 2.5.0 milestone May 4, 2026
@mtreinish mtreinish added documentation Something is not clear or an error documentation Changelog: None Do not include in the GitHub Release changelog. labels May 4, 2026
@github-project-automation github-project-automation Bot moved this to Ready in Qiskit 2.5 May 4, 2026
@qiskit-bot
Copy link
Copy Markdown
Collaborator

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

  • @Qiskit/terra-core

@ShellyGarion ShellyGarion self-requested a review May 4, 2026 13:25
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25320065385

Coverage increased (+0.02%) to 87.595%

Details

  • Coverage increased (+0.02%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 4 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

4 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
crates/qasm2/src/lex.rs 4 91.77%

Coverage Stats

Coverage Status
Relevant Lines: 121349
Covered Lines: 106296
Line Coverage: 87.6%
Coverage Strength: 967725.02 hits per line

💛 - Coveralls

Copy link
Copy Markdown
Member

@ShellyGarion ShellyGarion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the performance release notes!

  1. Do you think it's worth also adding PR #15871?

  2. In PR #16024, you've added features_misc saying that "This improves the runtime performance of Qiskit and also should reduce the resident set size when running Qiskit."
    whould you like to change it to "performance" ?

and :class:`.TwoQubitWeylDecomposer` has been updated to use the
`nalgebra <https://docs.rs/nalgebra/latest/nalgebra/>`__ library internally
for matrix storage and matrix multiplication. This was done to imporve the performance
as nalgebra offers fixed size stack allocated smakk matrix types that have
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smakk is a word?

`nalgebra <https://docs.rs/nalgebra/latest/nalgebra/>`__ library internally
for matrix storage and matrix multiplication. This was done to imporve the performance
as nalgebra offers fixed size stack allocated smakk matrix types that have
optimized implmentations of common linear algebra functions. This has led to
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
optimized implmentations of common linear algebra functions. This has led to
optimized implementations of common linear algebra functions. This has led to

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. documentation Something is not clear or an error documentation

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

4 participants