PyQrackIsing 1.1.0__tar.gz → 1.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyQrackIsing
3
- Version: 1.1.0
3
+ Version: 1.2.0
4
4
  Summary: Near-ideal closed-form solutions for transverse field Ising model (TFIM)
5
5
  Home-page: https://github.com/vm6502q/PyQrackIsing
6
6
  Author: Dan Strano
@@ -0,0 +1,5 @@
1
+ import tfim_sampler
2
+
3
+
4
+ def generate_tfim_samples(J=-1.0, h=2.0, z=4, theta=0.174532925199432957, t=5, n_qubits=56, shots=100):
5
+ return [int(s) for s in tfim_sampler._generate_tfim_samples(J, h, z, theta, t, n_qubits, shots)]
@@ -0,0 +1,5 @@
1
+ import tfim_sampler
2
+
3
+
4
+ def tfim_magnetization(J=-1.0, h=2.0, z=4, theta=0.174532925199432957, t=5, n_qubits=56):
5
+ return tfim_sampler._tfim_magnetization(J, h, z, theta, t, n_qubits)
@@ -0,0 +1,5 @@
1
+ import tfim_sampler
2
+
3
+
4
+ def tfim_square_magnetization(J=-1.0, h=2.0, z=4, theta=0.174532925199432957, t=5, n_qubits=56):
5
+ return tfim_sampler._tfim_square_magnetization(J, h, z, theta, t, n_qubits)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyQrackIsing
3
- Version: 1.1.0
3
+ Version: 1.2.0
4
4
  Summary: Near-ideal closed-form solutions for transverse field Ising model (TFIM)
5
5
  Home-page: https://github.com/vm6502q/PyQrackIsing
6
6
  Author: Dan Strano
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
10
  name = "PyQrackIsing"
11
- version = "1.1.0"
11
+ version = "1.2.0"
12
12
  requires-python = ">=3.8"
13
13
  description = "Near-ideal closed-form solutions for transverse field Ising model (TFIM)"
14
14
  readme = {file = "README.txt", content-type = "text/markdown"}
@@ -40,7 +40,7 @@ ext_modules = [CMakeExtension('tfim_sampler')]
40
40
 
41
41
  setup(
42
42
  name='PyQrackIsing',
43
- version='1.1.0',
43
+ version='1.2.0',
44
44
  author='Dan Strano',
45
45
  author_email='stranoj@gmail.com',
46
46
  description='Near-ideal closed-form solutions for transverse field Ising model (TFIM)',
@@ -1,5 +0,0 @@
1
- import tfim_sampler
2
-
3
-
4
- def generate_tfim_samples(J=-1.0, h=2.0, theta=0.174532925199432957, t=5, n_qubits=56, shots=100):
5
- return [int(s) for s in tfim_sampler._generate_tfim_samples(J, h, theta, t, n_qubits, shots)]
@@ -1,5 +0,0 @@
1
- import tfim_sampler
2
-
3
-
4
- def tfim_magnetization(J=-1.0, h=2.0, theta=0.174532925199432957, t=5, n_qubits=56):
5
- return tfim_sampler._tfim_magnetization(J, h, theta, t, n_qubits)
@@ -1,5 +0,0 @@
1
- import tfim_sampler
2
-
3
-
4
- def tfim_square_magnetization(J=-1.0, h=2.0, theta=0.174532925199432957, t=5, n_qubits=56):
5
- return tfim_sampler._tfim_square_magnetization(J, h, theta, t, n_qubits)
File without changes
File without changes
File without changes