Pyqrack

Latest version: v1.28.0

Safety actively analyzes 638681 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 45

1.20.9

The code change in this release is extremely small. However, this small change makes a critical difference in execution time of "near-Clifford" benchmarks, motivating the release.

Previously, `CZ` (and "`AntiCZ`") gates always made a "phase-sensitive" check and update of overall `QStabilizer` phase factor. This can be extremely costly, and failure to limit the check to just the case where the "phase-sensitive" option is actually demanded was purely a matter of oversight. This change can reduce the execution time of 64/64(x2)/64(x2) width/depth/"magic" near-Clifford mirror circuit by over a day or more, to a matter of hours on one of our test machines.

File SHA-1 sums:
8a5719300f632346d7f172eb8550d0c87337595b pyqrack-1.20.9-py3-none-any.whl
ebb7e1c9328ee55c21453ff0672e6b893b06be6f pyqrack-1.20.9-py3-none-linux_aarch64.whl
5f64113906bfc5bd1323d705f315ed750151ce63 pyqrack-1.20.9-py3-none-linux_armv7l.whl
95ca15dd0825ea262b26b53c0c94e6109001b3fb pyqrack-1.20.9-py3-none-macosx_10_4_x86_64.whl
31afb976bd2a00f652e6a4b96ed2906f2ec82c2f pyqrack-1.20.9-py3-none-manylinux2014_x86_64.whl
b79fb4aac63a126c05f20e7e221434aa78c2c634 pyqrack-1.20.9-py3-none-manylinux_2_35_x86_64.whl
47df698a32680479cbf076d9617380ec1e1a732d pyqrack-1.20.9-py3-none-win32.whl
0d97e05f7986434268f886d5fb69ad365d6ef635 pyqrack-1.20.9-py3-none-win_amd64.whl
f107bf981f5ec18f89a28f9dedcc16d49ba41c6b pyqrack-1.20.9.tar.gz

1.20.8

QStabilizerHybrid` creates, maintains, consumes, and "disposes" of gadget ancillae during "Clifford+RZ" gate set usage, but Qrack's `Dispose()` method (which basically performs the inverse of a Kronecker product on substates on throws away one presumably separable subsystem) isn't supported by `QStabilizer` for all separable state vectors, specifically when non-unitary measurement previously became involved in the circuit, ("mid-circuit").

During the collapse of ancillary qubits, for the approximate "rounding" near-Clifford mode, `Dispose()` can't be used as a general fix-all for management and disposal of collapsed `QStabilizer` ancilla qubits, (even if it can for state vector). However, we can still preserve "consumed" ancilla qubits in |0> state, and reuse them generally as new ancilla qubits, upon demand.

This release "debugs the algorithm" of `QStabilizeHybrid`, so as to observe this (previously known, but momentarily forgotten) limitation of `QStabilizer::Dispose()` (and `QStabilizer::Decompose()`). In effect, this limitation of `Dispose()` only seems to come into play for approximate methods, not "ideal" ones, (which makes sense, as the exact methods demand a stronger condition for ancilla mutual collapse relations, and might tend to leave the Clifford representation in the default set of state representations `QStabilizer::Dispose()` can handle, when no mid-circuit measurement is involved).

File SHA-1 sums:
1c4af035a5b22f201c2aeeda0be7796530e147a4 pyqrack-1.20.8-py3-none-any.whl
7cfabad8f00237cfc86aec625a59c8e5b19601ff pyqrack-1.20.8-py3-none-linux_aarch64.whl
f6e7c284db0dcf7af7d5ccbcf85b31c67fc7660a pyqrack-1.20.8-py3-none-linux_armv7l.whl
22fc15ba3fe2094dafb25c144bdbe3d4ffd5c785 pyqrack-1.20.8-py3-none-macosx_10_4_x86_64.whl
349e0ba290317cb4f9cdf684ef76d965e29bb1fa pyqrack-1.20.8-py3-none-manylinux2014_x86_64.whl
84ee1a5e734a695851b99443c6ba478dfb5d7cf3 pyqrack-1.20.8-py3-none-manylinux_2_35_x86_64.whl
e2fc70ee3bd32530caba0a9829e9fcd26ae5dbd2 pyqrack-1.20.8-py3-none-win32.whl
4893a1aaa00c0e10890cf0fb6145b63a63d5ad85 pyqrack-1.20.8-py3-none-win_amd64.whl
c690becae683f368272001fdc5973a8124d04a55 pyqrack-1.20.8.tar.gz

1.20.7

In v1.20.6, there was a small problem with comparison between `QStabilizer` instances, with `SumSqrDiff()` or `ApproxCompare()`, due to reliance on comparing stabilizer generator representations, which are degenerate in state vector equivalent (up to global phase). This has been fixed. `QBdt` now also uses fewer `Swap()` operations, internally, to handle multiply-controlled gates.

File SHA-1 sums:
02b9324bc03a0bc2a12d0186f93e0a81f8116b3d pyqrack-1.20.7-py3-none-any.whl
8143c6816b0a34edd1b278d90a688c9e02e3dbc1 pyqrack-1.20.7-py3-none-linux_aarch64.whl
8ba18341062ccad2569e6eddcf1f9aa2d0858e51 pyqrack-1.20.7-py3-none-linux_armv7l.whl
191ca423f43ae5192c60428c17d59a1abb5d90de pyqrack-1.20.7-py3-none-macosx_10_4_x86_64.whl
5c0180519dff2a1fa4f75e1907ea25169d7e5cc8 pyqrack-1.20.7-py3-none-manylinux2014_x86_64.whl
4d31b1d0c22729504f7f15d894099816c48762d2 pyqrack-1.20.7-py3-none-manylinux_2_35_x86_64.whl
7782645375a64b5d9ed55d82dac2764f7e0721c5 pyqrack-1.20.7-py3-none-win32.whl
5f9e5d766c1fe5bc6306a470e75b3d12d6881986 pyqrack-1.20.7-py3-none-win_amd64.whl
a688f3ab60357cb6ce0bfa58b62710b066c96b65 pyqrack-1.20.7.tar.gz

1.20.6

QStabilizer::ApproxCompareHelper()` now distinguishes between unitary and "mid-circuit measurement" optimal logic cases, improving both logical generality and performance of methods including `ApproxCompare()` and `SumSquareDiff()` (for comparison of different equal-width simulator states by inner product between them).

File SHA-1 sums:
811d0d918bf4636dc84a3e35e8d12ae73da4329a pyqrack-1.20.6-py3-none-any.whl
d9b62a53e00cb6a2f7343a16e4f5b9382e579895 pyqrack-1.20.6-py3-none-linux_aarch64.whl
a1acd58e7fa4ac546e853db633d53b74885b51b7 pyqrack-1.20.6-py3-none-linux_armv7l.whl
0744b008512e20ff4c9288d7f158c4637ab69db3 pyqrack-1.20.6-py3-none-macosx_10_4_x86_64.whl
bd41684733e6174bd5fca5f09a4baad7d6ec7334 pyqrack-1.20.6-py3-none-manylinux2014_x86_64.whl
0797629bc1a54e23a0f5e2bdfbf1b8c2167921e9 pyqrack-1.20.6-py3-none-manylinux_2_35_x86_64.whl
61e980cb1de3ba01dc274af1b10a691d561ffa87 pyqrack-1.20.6-py3-none-win32.whl
7ac4e967f42d53a18cc8129a15fe6ee4ef284e38 pyqrack-1.20.6-py3-none-win_amd64.whl
c980af91c3150758520a8a61bee320331de8e1de pyqrack-1.20.6.tar.gz

1.20.5

This release fixes a bug in setting the environment variable for "non-Clifford rounding," for GetAmplitude() and ProbAll(). It also adds performance improvements.

File SHA-1 sums:
1b7eaa037a26ee1c80e8d628321e80cf74074640 pyqrack-1.20.5-py3-none-any.whl
3976b07d22f2fbf6fedfffc06203b9535ed5670b pyqrack-1.20.5-py3-none-linux_aarch64.whl
d80ea369884e7ae306fc6637d24fcfff337de7a4 pyqrack-1.20.5-py3-none-linux_armv7l.whl
2ea14df5a302453726dfef6ae557237561a44da1 pyqrack-1.20.5-py3-none-macosx_10_4_x86_64.whl
8002da79876e5c0b04d7c5c87207462148be1e7f pyqrack-1.20.5-py3-none-manylinux2014_x86_64.whl
7e1f1fe2d0cf18a99c4a27df7076c6b9fa2ad99c pyqrack-1.20.5-py3-none-manylinux_2_35_x86_64.whl
2d9354d7bb3663e26eeb1fe92485c3985732f7d6 pyqrack-1.20.5-py3-none-win32.whl
cd5e63e79b20a07c719d667ffc87fd5757eec81f pyqrack-1.20.5-py3-none-win_amd64.whl
81048101e83cb7bf89696d52b703b9dc0ec0f123 pyqrack-1.20.5.tar.gz

1.20.4

Some critical bugs and edge cases in Clifford+RZ simulation have been fixed, including in the usage of environment variable `QRACK_NONCLIFFORD_ROUNDING_THRESHOLD`.

File SHA-1 sums:
66a0f56f3531b716ae33fd2926c4359c67d235ce pyqrack-1.20.4-py3-none-any.whl
803d8b0ea81d38bd63cb2366c13ed466f95582da pyqrack-1.20.4-py3-none-linux_aarch64.whl
65c36da93f04a8350bbcf23526cdf1ed5d64199b pyqrack-1.20.4-py3-none-linux_armv7l.whl
13ebc3cb4a1f31fc69255964219fa3c134a5cbcf pyqrack-1.20.4-py3-none-macosx_10_4_x86_64.whl
38e7d15d93469ceffc04a5685d50602919393b31 pyqrack-1.20.4-py3-none-manylinux2014_x86_64.whl
0b8a5435c94d3b5c22ce77a9a8a677f792b831a1 pyqrack-1.20.4-py3-none-manylinux_2_35_x86_64.whl
00b6e724c89a893702607bc28d04286264e57cce pyqrack-1.20.4-py3-none-win32.whl
a55fc411a95dbd451a757db76e2bea3f2a19c2a9 pyqrack-1.20.4-py3-none-win_amd64.whl
7392e7cf38ec47d99e616666ac521f9a54f1b058 pyqrack-1.20.4.tar.gz

Page 6 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.