PyQrackIsing 9.3.3__tar.gz → 9.3.4__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.3.3/pyqrackising.egg-info → pyqrackising-9.3.4}/PKG-INFO +1 -1
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyproject.toml +1 -1
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/otoc.py +2 -2
- {pyqrackising-9.3.3 → pyqrackising-9.3.4/pyqrackising.egg-info}/PKG-INFO +1 -1
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/setup.py +1 -1
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/LICENSE.md +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/MANIFEST.in +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/README.md +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/__init__.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/convert_tensor_network_to_tsp.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/generate_tfim_samples.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/kernels.cl +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/maxcut_tfim.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/maxcut_tfim_sparse.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/maxcut_tfim_streaming.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/maxcut_tfim_util.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/spin_glass_solver.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/spin_glass_solver_sparse.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/spin_glass_solver_streaming.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/tfim_magnetization.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/tfim_square_magnetization.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/tsp.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising/tsp_maxcut.py +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising.egg-info/SOURCES.txt +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising.egg-info/dependency_links.txt +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising.egg-info/not-zip-safe +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/pyqrackising.egg-info/top_level.txt +0 -0
- {pyqrackising-9.3.3 → pyqrackising-9.3.4}/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.3.
|
|
13
|
+
version = "9.3.4"
|
|
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"}
|
|
@@ -10,12 +10,12 @@ def get_otoc_hamming_distribution(J=-1.0, h=2.0, z=4, theta=0.174532925199432957
|
|
|
10
10
|
raise ValueError("OTOCS pauli_string must be same length as n_qubits! (Use 'I' for qubits that aren't changed.)")
|
|
11
11
|
|
|
12
12
|
fwd = probability_by_hamming_weight(J, h, z, theta, t, n_qubits + 1)
|
|
13
|
-
rev = probability_by_hamming_weight(-J, -h, z,
|
|
13
|
+
rev = probability_by_hamming_weight(-J, -h, z, theta + np.pi, t, n_qubits + 1)
|
|
14
14
|
diff_theta = rev - fwd
|
|
15
15
|
|
|
16
16
|
phi = theta - np.pi / 2
|
|
17
17
|
fwd = probability_by_hamming_weight(J, h, z, phi, t, n_qubits + 1)
|
|
18
|
-
rev = probability_by_hamming_weight(-J, -h, z,
|
|
18
|
+
rev = probability_by_hamming_weight(-J, -h, z, phi + np.pi, t, n_qubits + 1)
|
|
19
19
|
diff_phi = rev - fwd
|
|
20
20
|
|
|
21
21
|
diff_theta *= cycles
|
|
@@ -7,7 +7,7 @@ with open(README_PATH) as readme_file:
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name='pyqrackising',
|
|
10
|
-
version='9.3.
|
|
10
|
+
version='9.3.4',
|
|
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
|