pyqrackising 9.5.5__py3-none-win_amd64.whl → 9.5.6__py3-none-win_amd64.whl

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/otoc.py CHANGED
@@ -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.atan2(entropy_frac, math.sqrt(n_qubits))
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.atan2(entropy_frac, math.sqrt(n_qubits))
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyqrackising
3
- Version: 9.5.5
3
+ Version: 9.5.6
4
4
  Summary: Fast MAXCUT, TSP, and sampling heuristics from near-ideal transverse field Ising model (TFIM)
5
5
  Home-page: https://github.com/vm6502q/PyQrackIsing
6
6
  Author: Dan Strano
@@ -6,7 +6,7 @@ pyqrackising/maxcut_tfim.py,sha256=05nRjk5hhEjNFjtXdKVObL0cYYuJ8URfcjrOGK5tGi4,1
6
6
  pyqrackising/maxcut_tfim_sparse.py,sha256=zMgaVmEgfZWL2tp728PuEg5Dc_jbQBUPsgbP3lXiMiA,11194
7
7
  pyqrackising/maxcut_tfim_streaming.py,sha256=EcRXKurqLiQs6pMNz-rhMp2YQzRXD726RnkXsPt4IJ0,6346
8
8
  pyqrackising/maxcut_tfim_util.py,sha256=2FSBcba8Ys8HEe_h-ayB68pAqeeJXeveEHGmZKg_tkI,16889
9
- pyqrackising/otoc.py,sha256=IBSwwqkY0ztBXVGlTbvagGTx4HqOgCFjuymE0F45S_g,7615
9
+ pyqrackising/otoc.py,sha256=Jkrm_yTdRZOZUoqPyTJAplZBIPiPRAExYaaPTt0FHG0,7661
10
10
  pyqrackising/spin_glass_solver.py,sha256=tgmdJ6b1TetnFM--QEzOZFsNkquQYRVYiHVSzIGYvMI,14207
11
11
  pyqrackising/spin_glass_solver_sparse.py,sha256=cmXfAR43n1beRk4LaQbwfrQWkkhMPzPXpdK2T1HhQrk,15159
12
12
  pyqrackising/spin_glass_solver_streaming.py,sha256=joQLMKotgjQMwbG0msv_AookiWva_AiVBIR0Xr1Unho,10310
@@ -14,8 +14,8 @@ pyqrackising/tfim_magnetization.py,sha256=On1MhCNGGHRxJFRmCOpMcdqQJiy25gWkjz0Ka8
14
14
  pyqrackising/tfim_square_magnetization.py,sha256=9uJCT8ytyufcGFrZiignjCkWJr9UcP44sAAy0BIBw34,531
15
15
  pyqrackising/tsp.py,sha256=k8VK6fKw_niR-dVz8MyOT7LedABIwTzcSkhTOircYBg,64290
16
16
  pyqrackising/tsp_maxcut.py,sha256=lEDruz5lhjVu0ufvH5VaMJW3_nohO-rEijJJabEtuSU,10084
17
- pyqrackising-9.5.5.dist-info/licenses/LICENSE.md,sha256=fTqV5eBpeAZO0_jit8j4Ref9ikBSlHJ8xwj5TLg7gFk,7817
18
- pyqrackising-9.5.5.dist-info/METADATA,sha256=4SgFzSCdA58-4YQQ0bn469bdQVHmRJIT2WSzCgdV3Vk,1170
19
- pyqrackising-9.5.5.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
20
- pyqrackising-9.5.5.dist-info/top_level.txt,sha256=bxlfGuLwzeVEI8Jm5D9HvC_WedgvvkSrpFwbGDjg-Ag,13
21
- pyqrackising-9.5.5.dist-info/RECORD,,
17
+ pyqrackising-9.5.6.dist-info/licenses/LICENSE.md,sha256=fTqV5eBpeAZO0_jit8j4Ref9ikBSlHJ8xwj5TLg7gFk,7817
18
+ pyqrackising-9.5.6.dist-info/METADATA,sha256=Syvvm0tRrWPlzbU_EffqwtdRkC9UGNzAdbMUcSpfuHM,1170
19
+ pyqrackising-9.5.6.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
20
+ pyqrackising-9.5.6.dist-info/top_level.txt,sha256=bxlfGuLwzeVEI8Jm5D9HvC_WedgvvkSrpFwbGDjg-Ag,13
21
+ pyqrackising-9.5.6.dist-info/RECORD,,