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

Bump pyqrack from 1.30.30 to 1.31.1 #2534

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2024

Bumps pyqrack from 1.30.30 to 1.31.1.

Release notes

Sourced from pyqrack's releases.

SDRP/MPS correspondence base case

With all-to-all connectivity (but 0 bond dimension), SDRP (Schmidt decomposition rounding parameter) should reproduce the effective behavior of MPS (matrix product states) when the rounding parameter is set to 1 or greater: this release fixes the QUnit implementation to realize this theoretical expectation. (Disable QStabilizerHybrid layer with isStabilizerHybrid=False constructor parameter for QrackSimulator and set the rounding parameter >= 1 to see this behavior, but the loss of "hybrid stabilizer" optimization should not qualitatively hurt performance in this case.)

Full Changelog: unitaryfund/qrack@vm6502q.v9.10.0...vm6502q.v9.10.1 unitaryfund/pyqrack@v1.31.0...v1.31.1

sha1sum results: 3ae1e0a1750a5bedfebf736e6502765170236d55 pyqrack-1.31.1-py3-none-macosx_12_0_x86_64.whl 1d5fe728cff883ed7cc94c568b9dc21a07738295 pyqrack-1.31.1-py3-none-macosx_13_0_x86_64.whl d61c4680519e9d54c4c8708f4af6dcf6d75624f1 pyqrack-1.31.1-py3-none-macosx_14_0_arm64.whl ff3adfa47ede030ed801e2ac85f2f954c2b11cd6 pyqrack-1.31.1-py3-none-macosx_15_0_arm64.whl ca22a16227c095877be1568dc2ab0eb03190e075 pyqrack-1.31.1-py3-none-manylinux_2_31_x86_64.whl f34c3cc9d5caf428078bfddf7958da68d899d8aa pyqrack-1.31.1-py3-none-manylinux_2_35_x86_64.whl 00f5bba0fde498ad81c2315a5cf7bc9f665521fe pyqrack-1.31.1-py3-none-manylinux_2_39_x86_64.whl b7c57fc85511d119f66b35ad0873aa297da4160f pyqrack-1.31.1-py3-none-win_amd64.whl 430362bfaecebdad031df73e181d641406695102 pyqrack-1.31.1.tar.gz

Better sampling; out_probs(); noise constructor argument

Multi-shot measurement in QEngine was previously handled in a way that was technically not thread-safe for C++. This has been fixed, and QEngine sampling has been parallelized further.

The OutProbs() method has been added to the Qrack shared library extern C API, which returns the L2 norm of each OutKet() amplitude in same order. This corresponds with QrackSimulator.out_probs().

isNoisy constructor argument has been replaced with noise float parameter, which enable noisy simulation if the parameter is greater than 0 and sets the simulator instance noise level to the value of the constructor parameter.

Full Changelog: unitaryfund/qrack@vm6502q.v9.9.62...vm6502q.v9.10.0 unitaryfund/pyqrack@v1.30.31...v1.31.0

sha1sum results: dfe01c772b112f27aa2315591bd3f33923efffbd pyqrack-1.31.0-py3-none-macosx_12_0_x86_64.whl 5fd8929c2e102e354ad9e9b276480dd45f551866 pyqrack-1.31.0-py3-none-macosx_13_0_x86_64.whl 833a4d6e3ca46349848d1b19f5d5e87d845280f1 pyqrack-1.31.0-py3-none-macosx_14_0_arm64.whl 788517f7dd84c50b0ad10af964c04bb010d153a5 pyqrack-1.31.0-py3-none-macosx_15_0_arm64.whl 58ce3491b010eaba2284225ca73270e8d6d4a757 pyqrack-1.31.0-py3-none-manylinux_2_31_x86_64.whl 94f762aa4357998a3a4194b62c8de0bee1b2e861 pyqrack-1.31.0-py3-none-manylinux_2_35_x86_64.whl 69643ec914124ef6cd625ae6df1e3e591d6cf5fb pyqrack-1.31.0-py3-none-manylinux_2_39_x86_64.whl cd8d0ff3af642d141a0a6c0472859ec220750d7b pyqrack-1.31.0-py3-none-win_amd64.whl f47f54ed2acaa76513606ee5d0f0551d21e719b6 pyqrack-1.31.0.tar.gz

Debug QBDD high rounding

If QRACK_QBDT_SEPARABILITY_THRESHOLD were set too high, it would previously lead to segmentation faults. This release should allow the rounding parameter to be set almost arbitrarily high.

Full Changelog: unitaryfund/qrack@vm6502q.v9.9.58...vm6502q.v9.9.62 unitaryfund/pyqrack@v1.30.30...v1.30.31

sha1sum results: 9908094ebfdd586eac4974bf15a2b9138574e9a4 pyqrack-1.30.31-py3-none-macosx_12_0_x86_64.whl 0def4d068c15c102f37ce561282c606d93c0c98f pyqrack-1.30.31-py3-none-macosx_13_0_x86_64.whl

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pyqrack](https://github.com/vm6502q/pyqrack) from 1.30.30 to 1.31.1.
- [Release notes](https://github.com/vm6502q/pyqrack/releases)
- [Commits](unitaryfund/pyqrack@v1.30.30...v1.31.1)

---
updated-dependencies:
- dependency-name: pyqrack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the infrastructure For issues related to building, packaging, and continuous integration. label Oct 10, 2024
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.72%. Comparing base (66feaf0) to head (b9dd551).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2534   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          90       90           
  Lines        4158     4158           
=======================================
  Hits         4105     4105           
  Misses         53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pyqrack==1.31.1
Copy link
Contributor

Choose a reason for hiding this comment

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

@natestemen we should make this dependency less strict with ~=

Copy link
Member

Choose a reason for hiding this comment

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

We've generally tried to keep dependencies that are required for documentation to be pinned exactly for reproducibility, and so CI/RTD doesn't fail randomly when a new version is released that doesn't adhere to SemVer.

Copy link
Contributor

Choose a reason for hiding this comment

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

but this is a UF-owned package :) if it doesn't adhere to SemVer, we know whom to bug.

Copy link
Member

Choose a reason for hiding this comment

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

Not a hill I'm willing to die on, but I feel like skipping patch/minor dependencies solves the issue of there being too many dependabot alerts.

I like pinning exactly for docs for reproducibility sake.

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2024

A newer version of pyqrack exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@natestemen natestemen merged commit 54f7171 into main Oct 21, 2024
18 of 19 checks passed
@natestemen natestemen deleted the dependabot/pip/pyqrack-1.31.1 branch October 21, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure For issues related to building, packaging, and continuous integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants