Pyqrack

Latest version: v1.30.28

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

Scan your dependencies

Page 49 of 50

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.

0.2.0

This adds the Schmidt decomposition methods `Compose()`, `Decompose()`, and `Dispose()` to this **alpha version** release.

0.1.3

This **alpha release version** allows the user to specify any location from which to load the **vm6502q/qrack** compiled libraries, by setting the environment variable `PYQRACK_SHARED_LIB_PATH`.

Page 49 of 50

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.