Pyqrack

Latest version: v1.27.8

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

Scan your dependencies

Page 34 of 45

0.12.1

The gate `mcr()` ("multiply-controlled rotation") did not properly cast its angle parameter to `c_double`, when calling the shared C API; this has been fixed. (Binaries remain the same as v0.12.0.)

0.12.0

3 issues are addressed in this release:
1. `in_ket()` and `out_ket()` methods have been added to `QrackSimulator()`, for direct state vector writing and reading. We categorically discourage using these methods wherever avoidable, but automatic reactive Schmidt decomposition might still recover some separability from directly set state vectors.
2. Regression in `QPager` has been fixed, which previously prevented any paged simulations at all, above single OpenCL max allocation segment limits.
3. Per [the vm6502q/qrack README](https://github.com/vm6502q/qrack#qpager-distributed-simulation-options), `QRACK_QPAGER_DEVICES_HOST_POINTER` can specify a choice between OpenCL device memory or host memory, on a per-page basis.

0.11.5

With the use of `dump()` and `dump_ids()`, users can now directly output raw state vector amplitude values. (We discourage any recourse to state vector output unless one truly cannot operate without an explicit set of state vector amplitudes, or unless one would otherwise be compelled to reconstruct a state vector from measurement distributions.)

`dump_ids()` outputs the labels associated with state vector "wires" in permutation order. `dump()` outputs a list of complex number amplitudes, with corresponding "wire" order. These methods are not generally safe to use in threaded user code, (not including any internal Qrack threading). Also note that Qrack state vector amplitudes will typically have a randomized global phase offset, which is a matter of Qrack internal conventions and has no theoretically observable physical effect.

0.11.4

0.11.3

QEngine::ShuffleBuffers()` now relies on (semi-)async dispatch instead of `std::future` based threading. (This has been an aspirational goal, for several recent releases.)

SIMD based complex arithmetic has also been touched up, for performance.

0.11.2

Qrack has added internal decompositions for `mcmuln()` and `mcdivn()`, ("multiply-controlled multiplication/division modulo 'N'"). This might allow for better Schmidt decomposition.

Page 34 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.