PyQrackIsing 8.10.3__tar.gz → 8.10.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.
Files changed (28) hide show
  1. {pyqrackising-8.10.3/pyqrackising.egg-info → pyqrackising-8.10.4}/PKG-INFO +1 -1
  2. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyproject.toml +1 -1
  3. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/spin_glass_solver.py +1 -1
  4. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/spin_glass_solver_sparse.py +1 -1
  5. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/spin_glass_solver_streaming.py +1 -1
  6. {pyqrackising-8.10.3 → pyqrackising-8.10.4/pyqrackising.egg-info}/PKG-INFO +1 -1
  7. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/setup.py +1 -1
  8. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/LICENSE.md +0 -0
  9. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/MANIFEST.in +0 -0
  10. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/README.md +0 -0
  11. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/__init__.py +0 -0
  12. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/convert_tensor_network_to_tsp.py +0 -0
  13. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/generate_tfim_samples.py +0 -0
  14. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/kernels.cl +0 -0
  15. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/maxcut_tfim.py +0 -0
  16. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/maxcut_tfim_sparse.py +0 -0
  17. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/maxcut_tfim_streaming.py +0 -0
  18. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/maxcut_tfim_util.py +0 -0
  19. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/spin_glass_solver_util.py +0 -0
  20. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/tfim_magnetization.py +0 -0
  21. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/tfim_square_magnetization.py +0 -0
  22. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/tsp.py +0 -0
  23. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising/tsp_maxcut.py +0 -0
  24. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising.egg-info/SOURCES.txt +0 -0
  25. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising.egg-info/dependency_links.txt +0 -0
  26. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising.egg-info/not-zip-safe +0 -0
  27. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/pyqrackising.egg-info/top_level.txt +0 -0
  28. {pyqrackising-8.10.3 → pyqrackising-8.10.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrackising
3
- Version: 8.10.3
3
+ Version: 8.10.4
4
4
  Summary: Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)
5
5
  Home-page: https://github.com/vm6502q/PyQrackIsing
6
6
  Author: Dan Strano
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
10
10
 
11
11
  [project]
12
12
  name = "pyqrackising"
13
- version = "8.10.3"
13
+ version = "8.10.4"
14
14
  requires-python = ">=3.8"
15
15
  description = "Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)"
16
16
  readme = {file = "README.txt", content-type = "text/markdown"}
@@ -303,7 +303,7 @@ def spin_glass_solver(
303
303
  best_theta = reheat_theta.copy()
304
304
  min_energy = reheat_min_energy
305
305
 
306
- if reheat_round <= reheat_tries:
306
+ if reheat_round < reheat_tries:
307
307
  num_to_flip = int(np.round(np.log2(n_qubits)))
308
308
  bits_to_flip = random.sample(list(range(n_qubits)), num_to_flip)
309
309
  for bit in bits_to_flip:
@@ -327,7 +327,7 @@ def spin_glass_solver_sparse(
327
327
  best_theta = reheat_theta.copy()
328
328
  min_energy = reheat_min_energy
329
329
 
330
- if reheat_round <= reheat_tries:
330
+ if reheat_round < reheat_tries:
331
331
  num_to_flip = int(np.round(np.log2(n_qubits)))
332
332
  bits_to_flip = random.sample(list(range(n_qubits)), num_to_flip)
333
333
  for bit in bits_to_flip:
@@ -170,7 +170,7 @@ def spin_glass_solver_streaming(
170
170
  best_theta = reheat_theta.copy()
171
171
  min_energy = reheat_min_energy
172
172
 
173
- if reheat_round <= reheat_tries:
173
+ if reheat_round < reheat_tries:
174
174
  num_to_flip = int(np.round(np.log2(n_qubits)))
175
175
  bits_to_flip = random.sample(list(range(n_qubits)), num_to_flip)
176
176
  for bit in bits_to_flip:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrackising
3
- Version: 8.10.3
3
+ Version: 8.10.4
4
4
  Summary: Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)
5
5
  Home-page: https://github.com/vm6502q/PyQrackIsing
6
6
  Author: Dan Strano
@@ -7,7 +7,7 @@ with open(README_PATH) as readme_file:
7
7
 
8
8
  setup(
9
9
  name='pyqrackising',
10
- version='8.10.3',
10
+ version='8.10.4',
11
11
  author='Dan Strano',
12
12
  author_email='stranoj@gmail.com',
13
13
  description='Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)',
File without changes
File without changes
File without changes
File without changes