Pyqrack

Latest version: v1.27.8

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

Scan your dependencies

Page 44 of 45

0.4.1

This adds a wheel specifically for Linux x86_64 systems that contains only the binaries necessary for that platform. In the near future, the same will be done for all systems we intend to support.

Also, the binary previously categorized as "ARM64" appears not to actually be for that platform. At least, it was compiled on a system presumed to be ARM64, but that system actually resolves a platform name of "armv7l". The binary selection has been updated accordingly.

0.4.0

This adds additional optimized gates to the API, so as to help expose all useful Qrack optimization directly to Python.

0.3.4

The `mcu` gate should internally cast its unitary angle parameters to `c_double`. This release adds the appropriate casts.

v.0.3.3
The `QrackSimulator()` `cloneSid` named argument didn't work. If the user attempted to clone, the `__del__` method tried to delete a simulator that didn't exist, within the shared library layer. This update fixes these bugs, and it does not require any shared library update.

0.3.2

This release updates the Qrack binaries for better default QUnitMulti device scheduling behavior, on systems with multiple OpenCL devices installed. This also adds a new environment variable to the underlying Qrack binary, `QRACK_ENABLE_QUNITMULTI_REDISTRIBUTE`, explained in the vm6502q/qrack README file. (Default behavior, without modifying the environment variables in use, should tend to work best, on most consumer home systems.)

0.3.1

The single call in the Qrack library to flush any OpenCL queue, immediately after every gate kernel dispatch, was returning an unspecified OpenCL error under high load. By simply removing this one queue flush call, no other errors arise, where we check _every_ OpenCL call for error codes. (This therefore appears to be a driver bug, but the behavior might be practically expected, if our gate kernels dispatch and flush very quickly.)

0.3.0

Qrack's optimized "arithmetic logic unit" has been wrapped for PyQrack.

Some errata: This might be not the exact build that went to PyPi, for 0.3.0. However, after accidentally publishing a transient artifact, I tested that build for 2 known (negative) issues, and found that neither were issues for the version on PyPi:

1. `mtrx` custom gates should be cast to floats, when broken into real and imaginary components from complex numbers. (This would raise a warning in SimulaQron tests, if not fixed in the package, but the package does not raise this warning.)
2. Qrack binaries should have been updated to actually contain the ALU method wrappers. (The package correctly runs Grover's search on a lookup table, so its binaries must contain these methods. I only generated one new set of binaries.)

There was a change to the README that I wanted to include, but it isn't critical. The labor-intensive part of any PyQrack release is building all Qrack binaries, which are already built correctly for 0.3.x release, so, if an issue arises, It'll take 15 minutes to iterate a patch. Please continue to feel free to open issue tickets.

Page 44 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.