PyQrackIsing 3.2.0__tar.gz → 3.3.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.
- {pyqrackising-3.2.0/pyqrackising.egg-info → pyqrackising-3.3.0}/PKG-INFO +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/README.md +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyproject.toml +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/tsp_asymmetric.py +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/tsp_symmetric.py +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0/pyqrackising.egg-info}/PKG-INFO +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/setup.py +1 -1
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/CMakeLists.txt +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/LICENSE.md +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/MANIFEST.in +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/__init__.py +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/_pyqrack_ising.cpp +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/generate_tfim_samples.py +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/kernels.cl +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/maxcut_tfim.py +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/spin_glass_solver.py +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/tfim_magnetization.py +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising/tfim_square_magnetization.py +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising.egg-info/SOURCES.txt +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising.egg-info/dependency_links.txt +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising.egg-info/not-zip-safe +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/pyqrackising.egg-info/top_level.txt +0 -0
- {pyqrackising-3.2.0 → pyqrackising-3.3.0}/setup.cfg +0 -0
|
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
|
|
|
11
11
|
|
|
12
12
|
[project]
|
|
13
13
|
name = "pyqrackising"
|
|
14
|
-
version = "3.
|
|
14
|
+
version = "3.3.0"
|
|
15
15
|
requires-python = ">=3.8"
|
|
16
16
|
description = "Near-ideal closed-form solutions for transverse field Ising model (TFIM)"
|
|
17
17
|
readme = {file = "README.txt", content-type = "text/markdown"}
|
|
@@ -110,7 +110,7 @@ def symmetric_to_atsp_path_and_weight(sym_path, G_asym, nodes, is_cyclic):
|
|
|
110
110
|
return [nodes[x] for x in atsp_path], atsp_weight
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
def tsp_asymmetric(G, start_node=None, end_node=None, quality=
|
|
113
|
+
def tsp_asymmetric(G, start_node=None, end_node=None, quality=2, shots=None, correction_quality=2, monte_carlo=False, k_neighbors=32, is_cyclic=True, multi_start=1, is_top_level=True):
|
|
114
114
|
nodes = None
|
|
115
115
|
n_nodes = 0
|
|
116
116
|
G_m = None
|
|
@@ -314,7 +314,7 @@ def tsp_bruteforce(G_m, nodes, perms, is_cyclic):
|
|
|
314
314
|
return best_path, best_weight
|
|
315
315
|
|
|
316
316
|
|
|
317
|
-
def tsp_symmetric(G, start_node=None, end_node=None, quality=
|
|
317
|
+
def tsp_symmetric(G, start_node=None, end_node=None, quality=2, shots=None, correction_quality=2, monte_carlo=True, k_neighbors=16, is_cyclic=True, multi_start=1, is_top_level=True):
|
|
318
318
|
nodes = None
|
|
319
319
|
n_nodes = 0
|
|
320
320
|
G_m = None
|
|
@@ -51,7 +51,7 @@ ext_modules = [CMakeExtension('tfim_sampler')]
|
|
|
51
51
|
|
|
52
52
|
setup(
|
|
53
53
|
name='pyqrackising',
|
|
54
|
-
version='3.
|
|
54
|
+
version='3.3.0',
|
|
55
55
|
author='Dan Strano',
|
|
56
56
|
author_email='stranoj@gmail.com',
|
|
57
57
|
description='Near-ideal closed-form solutions for 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
|