PyQrackIsing 9.16.1__tar.gz → 9.16.2__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.
- {pyqrackising-9.16.1/pyqrackising.egg-info → pyqrackising-9.16.2}/PKG-INFO +1 -1
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyproject.toml +1 -1
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/spin_glass_solver.py +2 -2
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/spin_glass_solver_sparse.py +2 -2
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/spin_glass_solver_streaming.py +2 -2
- {pyqrackising-9.16.1 → pyqrackising-9.16.2/pyqrackising.egg-info}/PKG-INFO +1 -1
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/setup.py +1 -1
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/LICENSE.md +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/MANIFEST.in +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/README.md +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/__init__.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/convert_tensor_network_to_tsp.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/generate_tfim_samples.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/kernels.cl +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/maxcut_tfim.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/maxcut_tfim_sparse.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/maxcut_tfim_streaming.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/maxcut_tfim_util.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/otoc.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/solve_maxcut_bnb.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/solve_maxcut_bnb_sparse.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/solve_maxcut_bnb_streaming.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/solve_maxcut_exact.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/solve_maxcut_exact_sparse.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/solve_maxcut_exact_streaming.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/spin_glass_solver_hybrid.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/tfim_magnetization.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/tfim_square_magnetization.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/tsp.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising/tsp_maxcut.py +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising.egg-info/SOURCES.txt +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising.egg-info/dependency_links.txt +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising.egg-info/not-zip-safe +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising.egg-info/requires.txt +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/pyqrackising.egg-info/top_level.txt +0 -0
- {pyqrackising-9.16.1 → pyqrackising-9.16.2}/setup.cfg +0 -0
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "pyqrackising"
|
|
10
|
-
version = "9.16.
|
|
10
|
+
version = "9.16.2"
|
|
11
11
|
requires-python = ">=3.8"
|
|
12
12
|
description = "Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)"
|
|
13
13
|
readme = {file = "README.txt", content-type = "text/markdown"}
|
|
@@ -557,7 +557,7 @@ def spin_glass_solver(
|
|
|
557
557
|
gray_iterations = n_qubits * n_qubits
|
|
558
558
|
|
|
559
559
|
if gray_seed_multiple is None:
|
|
560
|
-
gray_seed_multiple = os.cpu_count()
|
|
560
|
+
gray_seed_multiple = max(2, os.cpu_count())
|
|
561
561
|
|
|
562
562
|
is_opencl = is_maxcut_gpu and IS_OPENCL_AVAILABLE
|
|
563
563
|
|
|
@@ -600,7 +600,7 @@ def spin_glass_solver(
|
|
|
600
600
|
)
|
|
601
601
|
gray_kernel = opencl_context.gray_segmented_kernel if is_segmented else opencl_context.gray_kernel
|
|
602
602
|
|
|
603
|
-
thread_count =
|
|
603
|
+
thread_count = gray_seed_multiple
|
|
604
604
|
improved = True
|
|
605
605
|
while improved:
|
|
606
606
|
improved = False
|
|
@@ -655,7 +655,7 @@ def spin_glass_solver_sparse(
|
|
|
655
655
|
gray_iterations = n_qubits * n_qubits
|
|
656
656
|
|
|
657
657
|
if gray_seed_multiple is None:
|
|
658
|
-
gray_seed_multiple = os.cpu_count()
|
|
658
|
+
gray_seed_multiple = max(2, os.cpu_count())
|
|
659
659
|
|
|
660
660
|
is_opencl = is_maxcut_gpu and IS_OPENCL_AVAILABLE
|
|
661
661
|
|
|
@@ -696,7 +696,7 @@ def spin_glass_solver_sparse(
|
|
|
696
696
|
)
|
|
697
697
|
gray_kernel = opencl_context.gray_sparse_segmented_kernel if is_segmented else opencl_context.gray_sparse_kernel
|
|
698
698
|
|
|
699
|
-
thread_count =
|
|
699
|
+
thread_count = gray_seed_multiple
|
|
700
700
|
improved = True
|
|
701
701
|
while improved:
|
|
702
702
|
improved = False
|
|
@@ -385,9 +385,9 @@ def spin_glass_solver_streaming(
|
|
|
385
385
|
gray_iterations = n_qubits * n_qubits
|
|
386
386
|
|
|
387
387
|
if gray_seed_multiple is None:
|
|
388
|
-
gray_seed_multiple = os.cpu_count()
|
|
388
|
+
gray_seed_multiple = max(2, os.cpu_count())
|
|
389
389
|
|
|
390
|
-
thread_count =
|
|
390
|
+
thread_count = gray_seed_multiple
|
|
391
391
|
improved = True
|
|
392
392
|
while improved:
|
|
393
393
|
improved = False
|
|
@@ -7,7 +7,7 @@ with open(README_PATH) as readme_file:
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name="pyqrackising",
|
|
10
|
-
version="9.16.
|
|
10
|
+
version="9.16.2",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|