Pyqrack

Latest version: v1.28.0

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

Scan your dependencies

Page 12 of 45

1.16.2

When converting from a `QrackSimulator` Clifford+RZ unitary compilation, to a Qiskit `QuantumCiircuit`, PyQrack now uses the opportune moment in `QrackSimulator.file_to_qiskit_circuit(filename)` to transpile with `optimization_level` for a much more general Clifford gate set, significantly reducing gate count.

File SHA-1 sums:
5bdbdabde79c51388bafdf758b0282c1e3b33719 pyqrack-1.16.2-py3-none-any.whl
70ac3ed9c537ff4894dff815c39b0383bdb84b46 pyqrack-1.16.2-py3-none-linux_aarch64.whl
f7137d69b83625f6e527fd3ad55a1e9e69fc0ee3 pyqrack-1.16.2-py3-none-linux_armv7l.whl
58f0ce19ba2fab6b4c9e2a39d9c3b3a916f8a615 pyqrack-1.16.2-py3-none-macosx_10_4_x86_64.whl
573726af30947eaf5a4065c44015cda157571646 pyqrack-1.16.2-py3-none-manylinux2014_x86_64.whl
3cc245a57e0e7c034e72b7933450f16295ee21d8 pyqrack-1.16.2-py3-none-manylinux_2_35_x86_64.whl
d521047a3f35f242c580874d58cdddf98dea8232 pyqrack-1.16.2-py3-none-win32.whl
f067d490377e88c43f1812ec82175aee2c8c3d3b pyqrack-1.16.2.tar.gz

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

Page 12 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.