Pyqrack

Latest version: v1.27.8

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

Scan your dependencies

Page 12 of 45

1.16.1

QrackCircuit.in_from_file()` did not work, due to a bug; this release fixes it.

File SHA-1 sums:
fb964c0e1bcf3d4da9a5c2e739ffb625c1fd0544 pyqrack-1.16.1-py3-none-any.whl
9e7beec1463202ea9f978affd30e303eef930bdb pyqrack-1.16.1-py3-none-linux_aarch64.whl
46c4b68abaa05863eb0ae9e3076c8af235fcc437 pyqrack-1.16.1-py3-none-linux_armv7l.whl
1b18b70f4709e7f12f768bec19aefc192a70af8b pyqrack-1.16.1-py3-none-macosx_10_4_x86_64.whl
94f6659d2009b24ae150adfd6c5dd9d295a07f39 pyqrack-1.16.1-py3-none-manylinux2014_x86_64.whl
6a6c2420e16f191eb4e3851777e1e7e73b55039e pyqrack-1.16.1-py3-none-manylinux_2_35_x86_64.whl
775ba27e6ce24e1a7aaea939777d6f72c811283d pyqrack-1.16.1-py3-none-win32.whl
f68070f53c68c9d85f23af51527f414916fe1d08 pyqrack-1.16.1-py3-none-win_amd64.whl
f618b4619092d7aa0bcd679cd93c3af102e90458 pyqrack-1.16.1.tar.gz

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

Page 12 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.