pyqrack-cpu-complex128 2.0.1__tar.gz → 2.1.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.
Files changed (30) hide show
  1. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/Makefile +1 -1
  2. {pyqrack_cpu_complex128-2.0.1/pyqrack_cpu_complex128.egg-info → pyqrack_cpu_complex128-2.1.0}/PKG-INFO +1 -1
  3. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_simulator.py +3 -1
  4. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0/pyqrack_cpu_complex128.egg-info}/PKG-INFO +1 -1
  5. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/setup.py +1 -1
  6. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/LICENSE +0 -0
  7. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/MANIFEST.in +0 -0
  8. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/README.md +0 -0
  9. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyproject.toml +0 -0
  10. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/__init__.py +0 -0
  11. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/neuron_activation_fn.py +0 -0
  12. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/pauli.py +0 -0
  13. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_ace_backend.py +0 -0
  14. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_circuit.py +0 -0
  15. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_near_clifford_qec_backend.py +0 -0
  16. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_neuron.py +0 -0
  17. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_neuron_torch_layer.py +0 -0
  18. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_stabilizer.py +0 -0
  19. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_system/__init__.py +0 -0
  20. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/qrack_system/qrack_system.py +0 -0
  21. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/quimb_circuit_type.py +0 -0
  22. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/stats/__init__.py +0 -0
  23. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/stats/load_quantized_data.py +0 -0
  24. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack/stats/quantize_by_range.py +0 -0
  25. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack_cpu_complex128.egg-info/SOURCES.txt +0 -0
  26. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack_cpu_complex128.egg-info/dependency_links.txt +0 -0
  27. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack_cpu_complex128.egg-info/not-zip-safe +0 -0
  28. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack_cpu_complex128.egg-info/requires.txt +0 -0
  29. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/pyqrack_cpu_complex128.egg-info/top_level.txt +0 -0
  30. {pyqrack_cpu_complex128-2.0.1 → pyqrack_cpu_complex128-2.1.0}/setup.cfg +0 -0
@@ -30,7 +30,7 @@ build-deps:
30
30
  rm -rf pyqrack/qrack_system/qrack_cl_precompile
31
31
  ifneq ($(OS),Windows_NT)
32
32
  ifeq ($(QRACK_PRESENT),)
33
- git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout 177bac90eaaa60c2a6341123e7fca8fb98f8bde8; cd ..
33
+ git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout 7df813ab81978d06decac14b1744b19a9b0cadee; cd ..
34
34
  endif
35
35
  mkdir -p qrack/build
36
36
  ifeq ($(UNAME_S),Linux)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrack-cpu-complex128
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: pyqrack - Pure Python vm6502q/qrack Wrapper
5
5
  Home-page: https://github.com/vm6502q/pyqrack
6
6
  Author: Daniel Strano
@@ -122,7 +122,7 @@ class QrackSimulator:
122
122
  self.run_qiskit_circuit(qiskit_circuit)
123
123
 
124
124
  def __del__(self):
125
- if self.sid is not None:
125
+ if hasattr(self, "sid") and (self.sid is not None):
126
126
  Qrack.qrack_lib.destroy(self.sid)
127
127
  self.sid = None
128
128
 
@@ -1750,6 +1750,7 @@ class QrackSimulator:
1750
1750
  the length `2 ** len(qi)`.
1751
1751
 
1752
1752
  Args:
1753
+ s: qubit register for carry bit
1753
1754
  qi: qubit register for index
1754
1755
  qv: qubit register for value
1755
1756
  t: list of values
@@ -1781,6 +1782,7 @@ class QrackSimulator:
1781
1782
  the length `2 ** len(qi)`
1782
1783
 
1783
1784
  Args:
1785
+ s: qubit register for carry bit
1784
1786
  qi: qubit register for index
1785
1787
  qv: qubit register for value
1786
1788
  t: list of values
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrack-cpu-complex128
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: pyqrack - Pure Python vm6502q/qrack Wrapper
5
5
  Home-page: https://github.com/vm6502q/pyqrack
6
6
  Author: Daniel Strano
@@ -7,7 +7,7 @@ from setuptools import setup
7
7
  from setuptools.command.build_py import build_py
8
8
 
9
9
 
10
- VERSION = "2.0.1"
10
+ VERSION = "2.1.0"
11
11
 
12
12
  # Read long description from README.
13
13
  README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')