Pyqrack

Latest version: v1.27.8

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

Scan your dependencies

Page 30 of 45

0.18.4

QUnit` layer over `QStabilizerHybrid` is theoretically capable of transparently achieving stabilizer simulation efficiency on pure Clifford circuits (as well as some near-Clifford circuits). This capability regressed, however. This release fixes it.

0.18.3

This releases is concurrent with Qrack v7.1.1, which fixes a bug in `QUnit` multi-qubit buffer commutation.

0.18.2

This release fixes an edge case in the Schmidt decomposition "layer" when operating "over" stabilizer layer, which sometimes caused incorrect results. (Specifically, when Schmidt decomposition was previously applied to stabilizer subsystems, it was possible that a two-qubit subsystem would be separated while only updating the probability amplitude caches of one of the two qubits, whereas both need to be updated.)

0.18.1

Work on v0.18.0 prompted attention to the basic implementation of `QStabilizerHybrid` in the underlying C++ Qrack library. This uncovered a conceptual mistake in how we previously attempted measurement through non-Clifford single qubit gate buffers. Now, the minimum necessary edge cases of non-Clifford measurement resort to state vector representation before measurement. This improves accuracy (hopefully to the point of exact universal `QStabilizerHybrid` simulation, up to machine epsilon) at the expense of performance.

0.18.0

Improvements in stabilizer simulation have been made with the "reverse t-injection gadget" in Appendix A of [Fast Estimation of Outcome Probabilities for Quantum Circuits](https://journals.aps.org/prxquantum/abstract/10.1103/PRXQuantum.3.020361). These method improvements can be turned on or off for a `QrackSimulator` with the method `set_t_injection(bool)`. (They are on by default.) While implementing this, other minor improvements were made in `QStabilizerHybrid`.

0.17.7

Deadlocks in highly Schmidt-decomposed benchmarks seem to have been due to [failure of C++ Qrack to adhere to OpenCL standards for callbacks.](https://stackoverflow.com/questions/43831183/opencl-callback-hangs-freezes-deadlock-pthread-cond-wait#answer-45173284) Per the standard, recent work with OpenCL error handling and retry have been amended to also avoid any and all blocking calls in OpenCL callbacks. Also according to the standard, kernel dispatch on callbacks is explicitly flushed. (Retrospectively, v0.17.6 offers no practical improvement over v0.17.5.)

Page 30 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.