pyqrack-cuda 1.44.31__tar.gz → 1.44.32__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.44.31/pyqrack_cuda.egg-info → pyqrack_cuda-1.44.32}/PKG-INFO +1 -1
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_ace_backend.py +4 -4
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32/pyqrack_cuda.egg-info}/PKG-INFO +1 -1
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/setup.py +1 -1
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/LICENSE +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/MANIFEST.in +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/Makefile +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/README.md +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyproject.toml +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/__init__.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/neuron_activation_fn.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/pauli.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_circuit.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_neuron.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_neuron_torch_layer.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_simulator.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_stabilizer.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_system/__init__.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/qrack_system/qrack_system.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/quimb_circuit_type.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/stats/__init__.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/stats/load_quantized_data.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack/stats/quantize_by_range.py +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack_cuda.egg-info/SOURCES.txt +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack_cuda.egg-info/dependency_links.txt +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack_cuda.egg-info/not-zip-safe +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack_cuda.egg-info/requires.txt +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/pyqrack_cuda.egg-info/top_level.txt +0 -0
- {pyqrack_cuda-1.44.31 → pyqrack_cuda-1.44.32}/setup.cfg +0 -0
@@ -193,11 +193,11 @@ class QrackAceBackend:
|
|
193
193
|
z_score_numer = syndrome_sum - shots / 2
|
194
194
|
z_score = 0
|
195
195
|
if z_score_numer > 0:
|
196
|
-
|
197
|
-
|
198
|
-
|
196
|
+
syndrome_component_mean = syndrome_sum / shots
|
197
|
+
syndrome_total_variance = sum(
|
198
|
+
(value - syndrome_component_mean) ** 2 for value in values
|
199
199
|
)
|
200
|
-
z_score_denom = math.sqrt(
|
200
|
+
z_score_denom = math.sqrt(syndrome_total_variance)
|
201
201
|
z_score = (
|
202
202
|
math.inf
|
203
203
|
if math.isclose(z_score_denom, 0)
|
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
|