pyqrackising 9.5.5__tar.gz → 9.5.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.
Potentially problematic release.
This version of pyqrackising might be problematic. Click here for more details.
- {pyqrackising-9.5.5/pyqrackising.egg-info → pyqrackising-9.5.6}/PKG-INFO +1 -1
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyproject.toml +1 -1
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/otoc.py +2 -2
- {pyqrackising-9.5.5 → pyqrackising-9.5.6/pyqrackising.egg-info}/PKG-INFO +1 -1
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/setup.py +1 -1
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/LICENSE.md +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/MANIFEST.in +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/README.md +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/__init__.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/convert_tensor_network_to_tsp.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/generate_tfim_samples.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/kernels.cl +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/maxcut_tfim.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/maxcut_tfim_sparse.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/maxcut_tfim_streaming.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/maxcut_tfim_util.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/spin_glass_solver.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/spin_glass_solver_sparse.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/spin_glass_solver_streaming.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/tfim_magnetization.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/tfim_square_magnetization.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/tsp.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising/tsp_maxcut.py +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising.egg-info/SOURCES.txt +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising.egg-info/dependency_links.txt +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising.egg-info/not-zip-safe +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/pyqrackising.egg-info/top_level.txt +0 -0
- {pyqrackising-9.5.5 → pyqrackising-9.5.6}/setup.cfg +0 -0
|
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "pyqrackising"
|
|
13
|
-
version = "9.5.
|
|
13
|
+
version = "9.5.6"
|
|
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"}
|
|
@@ -53,7 +53,7 @@ def get_otoc_hamming_distribution(J=-1.0, h=2.0, z=4, theta=0.0, t=5, n_qubits=6
|
|
|
53
53
|
# Normalize:
|
|
54
54
|
diff_z /= diff_z.sum()
|
|
55
55
|
|
|
56
|
-
entropy_frac = np.
|
|
56
|
+
entropy_frac = np.atan(2 ** (entropy_frac / math.sqrt(n_qubits)) - 1) * 2 / np.pi
|
|
57
57
|
max_entropy = np.empty(n_bias, dtype=np.float64)
|
|
58
58
|
tot_prob = 0
|
|
59
59
|
p = 1.0
|
|
@@ -192,7 +192,7 @@ def generate_otoc_samples(J=-1.0, h=2.0, z=4, theta=0.0, t=5, n_qubits=65, pauli
|
|
|
192
192
|
for pauli_string in pauli_strings:
|
|
193
193
|
pauli_string = list(pauli_string)
|
|
194
194
|
entropy_frac += pauli_string.count('X') + pauli_string.count('Y') + pauli_string.count('Z')
|
|
195
|
-
entropy_frac = np.
|
|
195
|
+
entropy_frac = np.atan(2 ** (entropy_frac / math.sqrt(n_qubits)) - 1) * 2 / np.pi
|
|
196
196
|
|
|
197
197
|
row_len, col_len = factor_width(n_qubits)
|
|
198
198
|
inv_dist = np.zeros(n_qubits, dtype=np.float64)
|
|
@@ -7,7 +7,7 @@ with open(README_PATH) as readme_file:
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name='pyqrackising',
|
|
10
|
-
version='9.5.
|
|
10
|
+
version='9.5.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
|