pyqrack-cuda 1.52.8__tar.gz → 1.53.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyqrack_cuda-1.52.8/pyqrack_cuda.egg-info → pyqrack_cuda-1.53.0}/PKG-INFO +2 -2
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/README.md +1 -1
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyproject.toml +2 -1
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_ace_backend.py +3 -4
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0/pyqrack_cuda.egg-info}/PKG-INFO +2 -2
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/setup.py +1 -1
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/LICENSE +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/MANIFEST.in +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/Makefile +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/__init__.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/neuron_activation_fn.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/pauli.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_circuit.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_neuron.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_neuron_torch_layer.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_simulator.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_stabilizer.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_system/__init__.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/qrack_system/qrack_system.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/quimb_circuit_type.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/stats/__init__.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/stats/load_quantized_data.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack/stats/quantize_by_range.py +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack_cuda.egg-info/SOURCES.txt +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack_cuda.egg-info/dependency_links.txt +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack_cuda.egg-info/not-zip-safe +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack_cuda.egg-info/requires.txt +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/pyqrack_cuda.egg-info/top_level.txt +0 -0
- {pyqrack_cuda-1.52.8 → pyqrack_cuda-1.53.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pyqrack-cuda
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.53.0
|
4
4
|
Summary: pyqrack - Pure Python vm6502q/qrack Wrapper
|
5
5
|
Home-page: https://github.com/vm6502q/pyqrack
|
6
6
|
Author: Daniel Strano
|
@@ -58,7 +58,7 @@ Pure Python bindings for the pure C++11/OpenCL Qrack quantum computer simulator
|
|
58
58
|
|
59
59
|
(**PyQrack** is just pure Qrack.)
|
60
60
|
|
61
|
-
**
|
61
|
+
**For PyQrack-CUDA, the package is distributed as source-only on PyPi, so that the Qrack build step can do its best to try to automatically detect your available CUDA architectures.**
|
62
62
|
|
63
63
|
**If you're looking for Mac ARM support, use the package `pyqrack`, not `pyqrack-cpu`.** Mac officially "deprecated" OpenCL years ago. Hence, accelerator support is not included in ARM-based Mac wheels, and OpenCL installation is **not** required on these systems, but, if you have a CUDA accelerator on ARM-based Mac, you could try the package `pyqrack-cuda` instead.
|
64
64
|
|
@@ -5,7 +5,7 @@ Pure Python bindings for the pure C++11/OpenCL Qrack quantum computer simulator
|
|
5
5
|
|
6
6
|
(**PyQrack** is just pure Qrack.)
|
7
7
|
|
8
|
-
**
|
8
|
+
**For PyQrack-CUDA, the package is distributed as source-only on PyPi, so that the Qrack build step can do its best to try to automatically detect your available CUDA architectures.**
|
9
9
|
|
10
10
|
**If you're looking for Mac ARM support, use the package `pyqrack`, not `pyqrack-cpu`.** Mac officially "deprecated" OpenCL years ago. Hence, accelerator support is not included in ARM-based Mac wheels, and OpenCL installation is **not** required on these systems, but, if you have a CUDA accelerator on ARM-based Mac, you could try the package `pyqrack-cuda` instead.
|
11
11
|
|
@@ -146,8 +146,7 @@ class QrackAceBackend:
|
|
146
146
|
col_len -= 1
|
147
147
|
row_len = width // col_len
|
148
148
|
|
149
|
-
self.col_length = row_len if reverse else col_len
|
150
|
-
self.row_length = col_len if reverse else row_len
|
149
|
+
self.col_length, self.row_length = (row_len, col_len) if reverse else (col_len, row_len)
|
151
150
|
|
152
151
|
def _ct_pair_prob(self, q1, q2):
|
153
152
|
p1 = self.sim[q1[0]].prob(q1[1])
|
@@ -534,8 +533,6 @@ class QrackAceBackend:
|
|
534
533
|
hq1 = self._unpack(lq1)
|
535
534
|
hq2 = self._unpack(lq2)
|
536
535
|
|
537
|
-
self._correct(lq1)
|
538
|
-
|
539
536
|
if lq1_lr and lq2_lr:
|
540
537
|
b1 = hq1[0]
|
541
538
|
b2 = hq2[0]
|
@@ -546,6 +543,8 @@ class QrackAceBackend:
|
|
546
543
|
shadow(b1, b2)
|
547
544
|
return
|
548
545
|
|
546
|
+
self._correct(lq1)
|
547
|
+
|
549
548
|
if (lq2_col in connected_cols) and (connected_cols.index(lq2_col) < boundary):
|
550
549
|
# lq2_col < lq1_col
|
551
550
|
self._encode_decode(hq1)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pyqrack-cuda
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.53.0
|
4
4
|
Summary: pyqrack - Pure Python vm6502q/qrack Wrapper
|
5
5
|
Home-page: https://github.com/vm6502q/pyqrack
|
6
6
|
Author: Daniel Strano
|
@@ -58,7 +58,7 @@ Pure Python bindings for the pure C++11/OpenCL Qrack quantum computer simulator
|
|
58
58
|
|
59
59
|
(**PyQrack** is just pure Qrack.)
|
60
60
|
|
61
|
-
**
|
61
|
+
**For PyQrack-CUDA, the package is distributed as source-only on PyPi, so that the Qrack build step can do its best to try to automatically detect your available CUDA architectures.**
|
62
62
|
|
63
63
|
**If you're looking for Mac ARM support, use the package `pyqrack`, not `pyqrack-cpu`.** Mac officially "deprecated" OpenCL years ago. Hence, accelerator support is not included in ARM-based Mac wheels, and OpenCL installation is **not** required on these systems, but, if you have a CUDA accelerator on ARM-based Mac, you could try the package `pyqrack-cuda` instead.
|
64
64
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|