PyQrackIsing 5.1.4__tar.gz → 5.1.5__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-5.1.4/pyqrackising.egg-info → pyqrackising-5.1.5}/PKG-INFO +1 -1
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyproject.toml +1 -1
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/maxcut_tfim_util.py +2 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5/pyqrackising.egg-info}/PKG-INFO +1 -1
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/setup.py +1 -1
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/CMakeLists.txt +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/LICENSE.md +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/MANIFEST.in +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/README.md +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/__init__.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/_pyqrack_ising.cpp +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/generate_tfim_samples.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/kernels.cl +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/maxcut_tfim.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/maxcut_tfim_sparse.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/maxcut_tfim_streaming.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/spin_glass_solver.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/spin_glass_solver_sparse.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/spin_glass_solver_streaming.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/tfim_magnetization.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/tfim_square_magnetization.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising/tsp.py +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising.egg-info/SOURCES.txt +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising.egg-info/dependency_links.txt +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising.egg-info/not-zip-safe +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/pyqrackising.egg-info/top_level.txt +0 -0
- {pyqrackising-5.1.4 → pyqrackising-5.1.5}/setup.cfg +0 -0
|
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
|
|
|
12
12
|
|
|
13
13
|
[project]
|
|
14
14
|
name = "pyqrackising"
|
|
15
|
-
version = "5.1.
|
|
15
|
+
version = "5.1.5"
|
|
16
16
|
requires-python = ">=3.8"
|
|
17
17
|
description = "Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)"
|
|
18
18
|
readme = {file = "README.txt", content-type = "text/markdown"}
|
|
@@ -138,6 +138,7 @@ class OpenCLContext:
|
|
|
138
138
|
IS_OPENCL_AVAILABLE = True
|
|
139
139
|
ctx = None
|
|
140
140
|
queue = None
|
|
141
|
+
maxcut_hamming_cdf_kernel = None
|
|
141
142
|
try:
|
|
142
143
|
import pyopencl as cl
|
|
143
144
|
|
|
@@ -151,5 +152,6 @@ try:
|
|
|
151
152
|
maxcut_hamming_cdf_kernel = program.maxcut_hamming_cdf
|
|
152
153
|
except ImportError:
|
|
153
154
|
IS_OPENCL_AVAILABLE = False
|
|
155
|
+
print("PyOpenCL not installed. (If you have any OpenCL accelerator devices with available ICDs, you might want to optionally install pyopencl.)")
|
|
154
156
|
|
|
155
157
|
opencl_context = OpenCLContext(IS_OPENCL_AVAILABLE, ctx, queue, maxcut_hamming_cdf_kernel)
|
|
@@ -51,7 +51,7 @@ ext_modules = [CMakeExtension('tfim_sampler')]
|
|
|
51
51
|
|
|
52
52
|
setup(
|
|
53
53
|
name='pyqrackising',
|
|
54
|
-
version='5.1.
|
|
54
|
+
version='5.1.5',
|
|
55
55
|
author='Dan Strano',
|
|
56
56
|
author_email='stranoj@gmail.com',
|
|
57
57
|
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
|