Pyqrack

Latest version: v1.33.1

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

Scan your dependencies

Page 22 of 55

1.16.0

This adds support for the (single-qubit) Qiskit "`unitary`" gate, which accepts a 2x2 complex unitary matrix to apply to its target qubit.

File SHA-1 sums:
b94e478af988f0b132eac9fd4fc14daf129a987a pyqrack-1.16.0-py3-none-any.whl
3e9d22811e263398636cda77a921177daab93c93 pyqrack-1.16.0-py3-none-linux_aarch64.whl
467744568c0465d75ea48c89aef94ed028747366 pyqrack-1.16.0-py3-none-linux_armv7l.whl
7256932177050bdc18af95aead811acdda5234be pyqrack-1.16.0-py3-none-macosx_10_4_x86_64.whl
5fa53dc3537967cb5e6e9466b6706ded7eba43da pyqrack-1.16.0-py3-none-manylinux2014_x86_64.whl
deea69038550315b07eec6b7f37543f4b30d38bd pyqrack-1.16.0-py3-none-manylinux_2_35_x86_64.whl
dcb15e8457f976046dfd6d566805d0a70f501682 pyqrack-1.16.0-py3-none-win32.whl
cc38029100791aa4a95fa0984e82c7c6ea1175e7 pyqrack-1.16.0-py3-none-win_amd64.whl
59c46a236ccda5045a7927154fdd3b4d481c5e73 pyqrack-1.16.0.tar.gz

1.15.1

v1.15 adds experimental support hardware compilation. This patch adds a static method called `QrackSimulator.file_to_qiskit_circuit(filename)`, which converts the saved file output of Clifford+RZ simulations to an optimized near-clifford Qiskit circuit.

File SHA-1 sums:
5e89b9437294ff50a7d102099e526d5fabdd67d3 pyqrack-1.15.1-py3-none-any.whl
4f3701c6693ba1be4fc7612629816c9903289df8 pyqrack-1.15.1-py3-none-linux_aarch64.whl
4d69e13d38360a770c42901d374e32a8c480860a pyqrack-1.15.1-py3-none-linux_armv7l.whl
11df3d9ad0671a6a794e38934c831f34f6bef87f pyqrack-1.15.1-py3-none-macosx_10_4_x86_64.whl
cb85cc5c0df06ee3e560c968840f21435fb2466f pyqrack-1.15.1-py3-none-manylinux2014_x86_64.whl
3bf8656863c1930b5be24f276f5ba12dbdc16d1a pyqrack-1.15.1-py3-none-manylinux_2_35_x86_64.whl
3da152016bfcc9431f7ad4c97e16ee9df5fa521c pyqrack-1.15.1-py3-none-win32.whl
6e2e7804849039113bce7bfb97c47955d10279e2 pyqrack-1.15.1-py3-none-win_amd64.whl
d0d34082908f30e5d40e5c224eb7edfc1db406c4 pyqrack-1.15.1.tar.gz

1.15.0

The new features of this release are purely at the experimental stage and have not been integrated into a full pipeline, but it is theoretically possible to use the Clifford+RZ improvements of v8.12 to compile for hardware.

In v8.13, it is now possible to output `QStabilizerHybrid` state to file, (not while using `QUnit`). The files have the following format, by line:

[Logical qubit count]
[Stabilizer qubit count, including ancillae]
[Stabilizer x/z/r generators, one row per line, "tableau" format, repeated for logical qubit count of rows x2]
[Per-qubit MPS buffers, 2x2 complex matrices, row-major order, one matrix per line, repeated for stabilizer qubit count of rows]

For example:

3
3
1 1 0 0 1 0 2
0 1 0 1 0 0 0
0 0 0 0 0 1 0
0 0 0 1 0 1 2
0 0 0 1 1 0 0
1 1 1 0 1 0 0
(1,0) (0,0) (0,0) (1,0)
(1,0) (0,0) (0,0) (1,0)
(0,0) (0.707107,-0.707107) (0,1) (0,0)

is a valid file, with 0 ancillae. It is theoretically relatively easy to prepare this result of unitary circuit simulation on a quantum hardware device: first prepare the stabilizer state, (with purely Clifford gates,) then apply the (potentially non-Clifford) 2x2 matrices over the same sequential qubit index order. This can represent a _universal_ quantum state of the _logical_ qubits.

`QrackSimulator` now has a method `set_hardware_encoded()`. The default value of this setting is `false`, which causes ancilla "magic state" qubit "channels" to be encoded depending on _post-selection_. If this setting is `false`, hardware decoding depends on the ancilla qubits all measuring as |0>, for the correct overall state preparation. However, if this setting is `true`, then every other ancilla qubit (starting with the second-occurring ancilla) is an "open channel" that starts out coding an identity gate, (or "no operation,") but can be re-encoded to avoid the post-selection requirement. To do so, after preparing the state as described in the file, perform `H` gate on all auxiliary, identity-encoding ancilla channels, act `CZ` from each "coding" ancilla to its "identity" partner, then act `H` again on the auxiliary, identity-encoding ancilla. Now, terminal measurement can occur without post-selection, and all logical qubits are deterministically in the intended state, in the ideal.

File SHA-1 sums:
1d3af0940fa756d942befec42cd51b641089c760 pyqrack-1.15.0-py3-none-any.whl
8218f731a441ed97ae35708eedb7899c0aef5f14 pyqrack-1.15.0-py3-none-linux_aarch64.whl
f2a690a24a550ea8417781db4e98b6668b261239 pyqrack-1.15.0-py3-none-linux_armv7l.whl
9107dfc517dfef2156d0577c71db77fb88aa1da6 pyqrack-1.15.0-py3-none-macosx_10_4_x86_64.whl
3bebff7e80682265c19eff19a20a5b0294385ec9 pyqrack-1.15.0-py3-none-manylinux2014_x86_64.whl
c62ea636bda71092dbe6e12715fe1961100091af pyqrack-1.15.0-py3-none-manylinux_2_35_x86_64.whl
a4c0f6621bc262761b142cd3304bda5555d5a94c pyqrack-1.15.0-py3-none-win32.whl
3a8289dccf26d960c2271c50ea216564b7b4c6ec pyqrack-1.15.0-py3-none-win_amd64.whl
add4a7601d0d11172fe54a4b04a3a0e853fc8ceb pyqrack-1.15.0.tar.gz

1.14.2

QUnit` could previously only use v8.12 features with Clifford+T gate set; this has been expanded to Clifford+RZ, such as for the default optimal stack. (Erroneously, the v8.12.0 release stated `QUnit` could already use Clifford+RZ, though those release notes have been amended.)

Also in this release, measurement distribution sampling for `QStabilizerHybrid` gains a linear advantage proportional to shots, for a given unitary preamble circuit.

File SHA-1 sums:
b31b10d1a5a45f8aeb45c882abc0af344695b1a6 pyqrack-1.14.2-py3-none-any.whl
e5b84a39365b401bedb2dc423254b34a060d9803 pyqrack-1.14.2-py3-none-linux_aarch64.whl
324d3bcaf5ba31c04fd1474caf0f6c57418624df pyqrack-1.14.2-py3-none-linux_armv7l.whl
5ff1a656e73ba6bca1b6052d59cdb18044ec44a6 pyqrack-1.14.2-py3-none-macosx_10_4_x86_64.whl
9ed465730df63001cc983a70929f7fe478f1f487 pyqrack-1.14.2-py3-none-manylinux2014_x86_64.whl
706c54152eb2928a0f45ad29446533be9ba06f99 pyqrack-1.14.2-py3-none-manylinux_2_35_x86_64.whl
5b27352d924757c8d9ca258d8b03acc2a4e96131 pyqrack-1.14.2-py3-none-win32.whl
0dd466f339c4952a99cd17a747f4e63a0eb42ea3 pyqrack-1.14.2-py3-none-win_amd64.whl
46aae9e0d1f8c24369faef5e947e31f6c9ec693f pyqrack-1.14.2.tar.gz

1.14.1

The "Clifford+RZ" improvements of yesterday's v1.14.0 should now work on multi-GPU systems. (Apologies, the developers have limited access to resources to test this, but please open an issue with your error, if you find this doesn't work as intended.)

When using gates outside of the set "Clifford+RZ," high-width stabilizer-to-state-vector conversion has been parallelized, which should improve speed in that case.

In the underlying C++ source code, `half` and `quad` floating point precision builds now compile, again. (These should be considered experimental build settings which are not universally supported, such as via the `extern C` shared library interface, but, again, please always feel free to open a bug report, as your testing and usage helps us find and address unrecognized issues in Qrack!)

File SHA-1 sums:
fbdf86041daeec5658128d485d46d58b67161837 pyqrack-1.14.1-py3-none-any.whl
98c8f6d54caa8bf682e97b72cdbb4ceecc3ac0bb pyqrack-1.14.1-py3-none-linux_aarch64.whl
0ce6491beae822c295c68fd6200bd0bd7ffc15bc pyqrack-1.14.1-py3-none-linux_armv7l.whl
70048f01dfb78af5d56ed1dba0f5f029a6b3c06c pyqrack-1.14.1-py3-none-macosx_10_4_x86_64.whl
01362b354b14b0d7715be4cf8f97b89d2050476d pyqrack-1.14.1-py3-none-manylinux2014_x86_64.whl
0bb5fd64e63460ed0c7969247049fd1e58e46ee8 pyqrack-1.14.1-py3-none-manylinux_2_35_x86_64.whl
10f0aa0f0b13433c8344fe6e2e47af26d48266de pyqrack-1.14.1-py3-none-win32.whl
dc235fd326b806789ced5f873d75dd67ec61b107 pyqrack-1.14.1-py3-none-win_amd64.whl
65e4c14dc0970b5aced9d4e1ae60ab5ca5806b73 pyqrack-1.14.1.tar.gz

1.14.0

QStabilizerHybrid` has been fundamentally improved, particularly for the gate set "Clifford+RZ" (or "Clifford+T"). The entire unitary portion of circuit simulation, before measurement, now has a polynomial-complexity simulation algorithm, in space and time requirements. If measuring across the full width of the simulator, or sampling, measurement (alone) scales exponentially in space requirements proportional to (less than or up to) the number of non-Clifford `RZ` (or `T`) gates, and exponentially in time requirements proportional to base logical qubit count in the simulator instance.

No special considerations are necessary to engage this simulation mode: simply restrict your gate set to Clifford+RZ, when using any simulator that properly includes the `QStabilizerHybrid` layer, such as the default optimal simulator stack.

(UPDATE: Actually, it turns out that the default optimal stack, with `QUnit`, will apparently work for Clifford+T, but not Clifford+RZ. For Clifford+RZ, use `QStabilizerHybrid` _without_ `QUnit`.)

File SHA-1 sums:
872e50ec0ab5ec55fed3ec792371fe2ff7e5797e pyqrack-1.14.0-py3-none-any.whl
22efe1b97f5a33b7fda0eefb5ef4d612fef6c331 pyqrack-1.14.0-py3-none-linux_aarch64.whl
c660e8880c1c1d152e53670658c515ba64020f77 pyqrack-1.14.0-py3-none-linux_armv7l.whl
abf8b6d5cb70ffada16a9217e449312722e086ca pyqrack-1.14.0-py3-none-macosx_10_4_x86_64.whl
fd73db64b66b07c3c977eaba0119e8651bec2d7b pyqrack-1.14.0-py3-none-manylinux2014_x86_64.whl
a57f12343acd669e69b80b1c201346317d29ae8c pyqrack-1.14.0-py3-none-manylinux_2_35_x86_64.whl
f635d177713c60385843380dfa0c9db93b082c73 pyqrack-1.14.0-py3-none-win32.whl
7d0b1dd20b529bc844eabd6873c26cb3cd8f54ff pyqrack-1.14.0-py3-none-win_amd64.whl
9e7d24b63767102fc6e5a680f7fd85cb11fb9a91 pyqrack-1.14.0.tar.gz

Page 22 of 55

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.