pyqrack-cpu 1.44.29__py3-none-win_amd64.whl → 1.44.30__py3-none-win_amd64.whl

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.

Potentially problematic release.


This version of pyqrack-cpu might be problematic. Click here for more details.

@@ -177,13 +177,13 @@ class QrackAceBackend:
177
177
  syndrome[single_bit] += 1 - single_bit_value
178
178
 
179
179
  # Suggestion from Elara (custom OpenAI GPT):
180
- # Assume binomial statistics and compute the standard deviation.
180
+ # Assume modified binomial statistics and compute the standard deviation.
181
181
  # Only correct if we're outside a confidence interval.
182
182
  # (This helps avoid limit-point over-correction.)
183
- syndrome_std_dev = (sum(syndrome) - shots / 2) / math.sqrt(shots)
183
+ syndrome_dev = (sum(syndrome) - shots / 2) / (math.sqrt(shots) * abs(single_bit_polarization - 0.5))
184
184
  force_syndrome = True
185
- # (~68% confidence interval, but this is the margin for average sampling error.)
186
- if syndrome_std_dev > 1:
185
+ # (From Elara, this is the value that minimizes the sum of Type I and Type II error.)
186
+ if syndrome_dev > (497/999):
187
187
  # There is an error.
188
188
  error_bit = syndrome.index(max(syndrome))
189
189
  if error_bit == single_bit:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyqrack-cpu
3
- Version: 1.44.29
3
+ Version: 1.44.30
4
4
  Summary: pyqrack - Pure Python vm6502q/qrack Wrapper
5
5
  Home-page: https://github.com/vm6502q/pyqrack
6
6
  Author: Daniel Strano
@@ -1,7 +1,7 @@
1
1
  pyqrack/__init__.py,sha256=9fGCYdEUg_AsENCDRylbrZvUMVbUajRTn3CyuFGuFyM,805
2
2
  pyqrack/neuron_activation_fn.py,sha256=GOqcCkiEB60jCojTrcuHuZMDP5aTOy0adtR8SY_2EZc,614
3
3
  pyqrack/pauli.py,sha256=TUm1SN_HLz3eMW9gD_eg-IYXcMCyr36mYSytq_ExZIU,673
4
- pyqrack/qrack_ace_backend.py,sha256=Lj3wd9uDGfRgKtx-i8B9fSFj4dgNby4mB13AsKqvIRc,26426
4
+ pyqrack/qrack_ace_backend.py,sha256=zJnkYqGtBIuyDWwqaKv9Nn-DosxEzsARW5B7ywzhl2o,26479
5
5
  pyqrack/qrack_circuit.py,sha256=QK2dtPYurdXuw-efVq7lYz40_480NxCejXhOVwBGkXs,20122
6
6
  pyqrack/qrack_neuron.py,sha256=a3F0hduVvXZi9aXsY0du5hBFXpMq_R5UHHDOv2-YtFM,9305
7
7
  pyqrack/qrack_neuron_torch_layer.py,sha256=OhNSldzaqLaMoNBkin68j8QWOOiuZCQJDZPgSDRI2Fk,6330
@@ -10,12 +10,12 @@ pyqrack/qrack_stabilizer.py,sha256=AJe7dfFcxFKyig3tjWXw0UKhXer5Wl9QNvjNNqlOL5M,2
10
10
  pyqrack/quimb_circuit_type.py,sha256=iC0CCpZBGhziFC8-uBCH43Mi29uvVUrtBG6W9YBlyps,638
11
11
  pyqrack/qrack_system/__init__.py,sha256=PUterej-xpA4BqFmiBrQCMeTQlsRf-K8Dxnwp-iVvUQ,343
12
12
  pyqrack/qrack_system/qrack_system.py,sha256=L4OHVmw1HQlLagkQN4xUweDuB0tn5-lK4vzjplDt_hw,43950
13
- pyqrack/qrack_system/qrack_lib/qrack_pinvoke.dll,sha256=nLbAAboKirBtJlRRoLwLet59E9hnqBxkIefBSr16ru4,1740288
13
+ pyqrack/qrack_system/qrack_lib/qrack_pinvoke.dll,sha256=VCLdkCvwCATSli31pZzyVoKixsZnhHZtUrCoxFwwWTU,1740288
14
14
  pyqrack/stats/__init__.py,sha256=hI715MGW7D4mDYhUFpRI4ZLsynYDO4tN-rjsuuYbG6Q,282
15
15
  pyqrack/stats/load_quantized_data.py,sha256=_1w9BPrZNreP0wOAyaAZHdEGKoGiI7tMeFD9P3eyJC0,1219
16
16
  pyqrack/stats/quantize_by_range.py,sha256=0eBIqByIxa4vfm4fQGZLAMGR9y8raxde3e5rvUWJ_dQ,2326
17
- pyqrack_cpu-1.44.29.dist-info/LICENSE,sha256=IdAVedmFOPQtHi_XeEI9OhJwUuwlT6tCJwrT55zAn3w,1090
18
- pyqrack_cpu-1.44.29.dist-info/METADATA,sha256=rHKacTVnplxFfr13f-erLsSYMs_0T-35va-p0wTFeGU,6561
19
- pyqrack_cpu-1.44.29.dist-info/WHEEL,sha256=JMWfR_Dj7ISokcwe0cBhCfK6JKnIi-ZX11L6d_ntt6o,98
20
- pyqrack_cpu-1.44.29.dist-info/top_level.txt,sha256=YE_3q9JTGRLMilNg2tGP1y7uU-Dx8PDao2OhwoIbv8E,8
21
- pyqrack_cpu-1.44.29.dist-info/RECORD,,
17
+ pyqrack_cpu-1.44.30.dist-info/LICENSE,sha256=IdAVedmFOPQtHi_XeEI9OhJwUuwlT6tCJwrT55zAn3w,1090
18
+ pyqrack_cpu-1.44.30.dist-info/METADATA,sha256=cXZGdMsnX8TcYY7-4u7FBiEfYnLJuT-pwvBbxukdePw,6561
19
+ pyqrack_cpu-1.44.30.dist-info/WHEEL,sha256=JMWfR_Dj7ISokcwe0cBhCfK6JKnIi-ZX11L6d_ntt6o,98
20
+ pyqrack_cpu-1.44.30.dist-info/top_level.txt,sha256=YE_3q9JTGRLMilNg2tGP1y7uU-Dx8PDao2OhwoIbv8E,8
21
+ pyqrack_cpu-1.44.30.dist-info/RECORD,,