pyqrack-cuda 1.55.3__tar.gz → 1.55.4__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.55.3/pyqrack_cuda.egg-info → pyqrack_cuda-1.55.4}/PKG-INFO +1 -1
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_ace_backend.py +2 -2
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4/pyqrack_cuda.egg-info}/PKG-INFO +1 -1
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/setup.py +1 -1
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/LICENSE +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/MANIFEST.in +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/Makefile +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/README.md +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyproject.toml +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/__init__.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/neuron_activation_fn.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/pauli.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_circuit.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_neuron.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_neuron_torch_layer.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_simulator.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_stabilizer.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_system/__init__.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/qrack_system/qrack_system.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/quimb_circuit_type.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/stats/__init__.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/stats/load_quantized_data.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack/stats/quantize_by_range.py +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack_cuda.egg-info/SOURCES.txt +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack_cuda.egg-info/dependency_links.txt +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack_cuda.egg-info/not-zip-safe +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack_cuda.egg-info/requires.txt +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/pyqrack_cuda.egg-info/top_level.txt +0 -0
- {pyqrack_cuda-1.55.3 → pyqrack_cuda-1.55.4}/setup.cfg +0 -0
@@ -795,7 +795,7 @@ class QrackAceBackend:
|
|
795
795
|
b = hq[0]
|
796
796
|
p = self.sim[b[0]].prob(b[1]) if result else (1 - self.sim[b[0]].prob(b[1]))
|
797
797
|
if p < self._epsilon:
|
798
|
-
if self.sim[b[0]].m(b[1]):
|
798
|
+
if self.sim[b[0]].m(b[1]) != result:
|
799
799
|
self.sim[b[0]].x(b[1])
|
800
800
|
else:
|
801
801
|
self.sim[b[0]].force_m(b[1], result)
|
@@ -808,7 +808,7 @@ class QrackAceBackend:
|
|
808
808
|
b = hq[2]
|
809
809
|
p = self.sim[b[0]].prob(b[1]) if result else (1 - self.sim[b[0]].prob(b[1]))
|
810
810
|
if p < self._epsilon:
|
811
|
-
if self.sim[b[0]].m(b[1]):
|
811
|
+
if self.sim[b[0]].m(b[1]) != result:
|
812
812
|
self.sim[b[0]].x(b[1])
|
813
813
|
else:
|
814
814
|
self.sim[b[0]].force_m(b[1], result)
|
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
|
File without changes
|
File without changes
|