PyQrackIsing 9.3.6__tar.gz → 9.3.8__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-9.3.6/pyqrackising.egg-info → pyqrackising-9.3.8}/PKG-INFO +1 -1
  2. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyproject.toml +1 -1
  3. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/otoc.py +6 -9
  4. {pyqrackising-9.3.6 → pyqrackising-9.3.8/pyqrackising.egg-info}/PKG-INFO +1 -1
  5. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/setup.py +1 -1
  6. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/LICENSE.md +0 -0
  7. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/MANIFEST.in +0 -0
  8. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/README.md +0 -0
  9. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/__init__.py +0 -0
  10. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/convert_tensor_network_to_tsp.py +0 -0
  11. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/generate_tfim_samples.py +0 -0
  12. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/kernels.cl +0 -0
  13. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/maxcut_tfim.py +0 -0
  14. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/maxcut_tfim_sparse.py +0 -0
  15. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/maxcut_tfim_streaming.py +0 -0
  16. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/maxcut_tfim_util.py +0 -0
  17. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/spin_glass_solver.py +0 -0
  18. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/spin_glass_solver_sparse.py +0 -0
  19. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/spin_glass_solver_streaming.py +0 -0
  20. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/tfim_magnetization.py +0 -0
  21. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/tfim_square_magnetization.py +0 -0
  22. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/tsp.py +0 -0
  23. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising/tsp_maxcut.py +0 -0
  24. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising.egg-info/SOURCES.txt +0 -0
  25. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising.egg-info/dependency_links.txt +0 -0
  26. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising.egg-info/not-zip-safe +0 -0
  27. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/pyqrackising.egg-info/top_level.txt +0 -0
  28. {pyqrackising-9.3.6 → pyqrackising-9.3.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrackising
3
- Version: 9.3.6
3
+ Version: 9.3.8
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 = "9.3.6"
13
+ version = "9.3.8"
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"}
@@ -33,20 +33,17 @@ def get_otoc_hamming_distribution(J=-1.0, h=2.0, z=4, theta=0.174532925199432957
33
33
  match b:
34
34
  case 'X':
35
35
  diff_z += diff_theta
36
- # diff_x += diff_lam
37
36
  diff_y += diff_phi
38
37
  case 'Z':
39
- diff_z += diff_phi
40
- diff_x += diff_theta
41
- # diff_y += diff_lam
42
- case 'Y':
43
- # diff_z += diff_lam
44
38
  diff_x += diff_phi
45
39
  diff_y += diff_theta
40
+ case 'Y':
41
+ diff_z += diff_theta
42
+ diff_x += diff_phi
46
43
 
47
- diff_z[0] += n_bias
48
- diff_x[0] += n_bias
49
- diff_y[0] += n_bias
44
+ diff_z[0] += n_qubits
45
+ diff_x[0] += n_qubits
46
+ diff_y[0] += n_qubits
50
47
 
51
48
  diff_z /= diff_z.sum()
52
49
  diff_x /= diff_x.sum()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrackising
3
- Version: 9.3.6
3
+ Version: 9.3.8
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='9.3.6',
10
+ version='9.3.8',
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