PyQrackIsing 9.16.5__tar.gz → 9.16.6__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.5/pyqrackising.egg-info → pyqrackising-9.16.6}/PKG-INFO +1 -1
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyproject.toml +1 -1
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/generate_tfim_samples.py +1 -1
- {pyqrackising-9.16.5 → pyqrackising-9.16.6/pyqrackising.egg-info}/PKG-INFO +1 -1
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/setup.py +1 -1
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/LICENSE.md +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/MANIFEST.in +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/README.md +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/__init__.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/convert_tensor_network_to_tsp.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/kernels.cl +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/maxcut_tfim.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/maxcut_tfim_sparse.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/maxcut_tfim_streaming.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/maxcut_tfim_util.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/otoc.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/solve_maxcut_bnb.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/solve_maxcut_bnb_sparse.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/solve_maxcut_bnb_streaming.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/solve_maxcut_exact.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/solve_maxcut_exact_sparse.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/solve_maxcut_exact_streaming.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/spin_glass_solver.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/spin_glass_solver_hybrid.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/spin_glass_solver_sparse.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/spin_glass_solver_streaming.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/tfim_magnetization.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/tfim_square_magnetization.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/tsp.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising/tsp_maxcut.py +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising.egg-info/SOURCES.txt +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising.egg-info/dependency_links.txt +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising.egg-info/not-zip-safe +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising.egg-info/requires.txt +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/pyqrackising.egg-info/top_level.txt +0 -0
- {pyqrackising-9.16.5 → pyqrackising-9.16.6}/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.6"
|
|
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"}
|
|
@@ -332,7 +332,7 @@ def sample_from_bias(bias, shots, n_qubits):
|
|
|
332
332
|
mask = (1 << n_qubits) - 1
|
|
333
333
|
samples += [(mask ^ int(1 << np.random.randint(n_qubits))) for _ in range(counts[-2])]
|
|
334
334
|
for hw in range(2, len(bias) - 2):
|
|
335
|
-
samples +=
|
|
335
|
+
samples += [random_fixed_hamming_state(n_qubits, hw) for _ in range(counts[hw])]
|
|
336
336
|
np.random.shuffle(samples)
|
|
337
337
|
return samples
|
|
338
338
|
|
|
@@ -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.6",
|
|
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
|
|
File without changes
|
|
File without changes
|