pyqrack-cpu 1.52.8__py3-none-win_amd64.whl → 1.53.0__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.

@@ -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.1
2
2
  Name: pyqrack-cpu
3
- Version: 1.52.8
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
@@ -51,10 +51,6 @@ This is the **purely CPU-based** variant of PyQrack (with module name `pyqrack-c
51
51
 
52
52
  **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.
53
53
 
54
- (**If you installing from source,** it doesn't matter whether you use `pyqrack` or `pyqrack-cpu`, because the build version of C++ Qrack you intend to use must already be installed locally.)
55
-
56
- **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.
57
-
58
54
  **Performance can benefit greatly from following the [Qrack repository "Quick Start" and "Power user considerations."](https://github.com/unitaryfund/qrack/blob/main/README.md#quick-start)**
59
55
 
60
56
  Import and instantiate [`QrackSimulator`](https://github.com/unitaryfund/pyqrack/blob/main/pyqrack/qrack_simulator.py) instances. This simulator can perform arbitrary single qubit and controlled-single-qubit gates, as well as other specific gates like `SWAP`.
@@ -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=6ht_nJa01yT64jm5VlrRPPsVZPTyF2wZQtVOifmGG7o,42503
4
+ pyqrack/qrack_ace_backend.py,sha256=k4uW7Pa_t7-0_ngRkEcUIZCnP2tqjZoe0zTCLNpCXM8,42483
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=osMGCv3ZEG7QIgd1yDtbGNoBdgvM-l2rW0LA9I3M2VE,44075
13
- pyqrack/qrack_system/qrack_lib/qrack_pinvoke.dll,sha256=_8BV0H4a9U5ISXUrE7-t9MpHH5fma7zDLsU-1TukkSc,1740800
13
+ pyqrack/qrack_system/qrack_lib/qrack_pinvoke.dll,sha256=FOGT3Up1I-8Bb5b6AnLh_ypoGyo06q_4Ze5ol1GvYpI,1740800
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.52.8.dist-info/LICENSE,sha256=IdAVedmFOPQtHi_XeEI9OhJwUuwlT6tCJwrT55zAn3w,1090
18
- pyqrack_cpu-1.52.8.dist-info/METADATA,sha256=-EKV-8CfVrUkh-FmdqAHNOufjjhhClg6ypd8hSmLBxI,6560
19
- pyqrack_cpu-1.52.8.dist-info/WHEEL,sha256=JMWfR_Dj7ISokcwe0cBhCfK6JKnIi-ZX11L6d_ntt6o,98
20
- pyqrack_cpu-1.52.8.dist-info/top_level.txt,sha256=YE_3q9JTGRLMilNg2tGP1y7uU-Dx8PDao2OhwoIbv8E,8
21
- pyqrack_cpu-1.52.8.dist-info/RECORD,,
17
+ pyqrack_cpu-1.53.0.dist-info/LICENSE,sha256=IdAVedmFOPQtHi_XeEI9OhJwUuwlT6tCJwrT55zAn3w,1090
18
+ pyqrack_cpu-1.53.0.dist-info/METADATA,sha256=4ccfcCn9F809mWuVVszSSvp_UGKNKYG4Z4cy4ESuvIo,5994
19
+ pyqrack_cpu-1.53.0.dist-info/WHEEL,sha256=JMWfR_Dj7ISokcwe0cBhCfK6JKnIi-ZX11L6d_ntt6o,98
20
+ pyqrack_cpu-1.53.0.dist-info/top_level.txt,sha256=YE_3q9JTGRLMilNg2tGP1y7uU-Dx8PDao2OhwoIbv8E,8
21
+ pyqrack_cpu-1.53.0.dist-info/RECORD,,