PyQrackIsing 1.0.0__tar.gz → 1.1.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.0.0
3
+ Version: 1.1.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,3 @@
1
+ from .generate_tfim_samples import generate_tfim_samples
2
+ from .tfim_magnetization import tfim_magnetization
3
+ from .tfim_square_magnetization import tfim_square_magnetization
@@ -0,0 +1,5 @@
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)
@@ -0,0 +1,5 @@
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyQrackIsing
3
- Version: 1.0.0
3
+ Version: 1.1.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
@@ -4,6 +4,8 @@ pyproject.toml
4
4
  setup.py
5
5
  PyQrackIsing/__init__.py
6
6
  PyQrackIsing/generate_tfim_samples.py
7
+ PyQrackIsing/tfim_magnetization.py
8
+ PyQrackIsing/tfim_square_magnetization.py
7
9
  PyQrackIsing.egg-info/PKG-INFO
8
10
  PyQrackIsing.egg-info/SOURCES.txt
9
11
  PyQrackIsing.egg-info/dependency_links.txt
@@ -25,7 +25,7 @@ Windows users might find Windows Subsystem Linux (WSL) to be the easier and pref
25
25
  ## Usage
26
26
 
27
27
  ```py
28
- from PyQrack import generate_tfim_samples
28
+ from PyQrackIsing import generate_tfim_samples
29
29
 
30
30
  samples = generate_tfim_samples(
31
31
  J=-1.0,
@@ -37,7 +37,11 @@ samples = generate_tfim_samples(
37
37
  )
38
38
  ```
39
39
 
40
- ## About
40
+ There are two more functions, `tfim_magnetization()` and `tfim_square_magnetization()`, that follow the same function signature except without the `shots` argument.
41
+
42
+ ## About
43
+ Transverse field Ising model (TFIM) is the basis of most claimed algorithmic "quantum advantage," circa 2025, with the notable exception of Shor's integer factoring algorithm.
44
+
41
45
  Sometimes a solution (or at least near-solution) to a monster of a differential equation hits us out of the blue. Then, it's easy to _validate_ the guess, if it's right. (We don't question it and just move on with our lives, from there.)
42
46
 
43
47
  **Special thanks to OpenAI GPT "Elara," for help on the model and converting the original Python scripts to PyBind11!**
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
10
  name = "PyQrackIsing"
11
- version = "1.0.0"
11
+ version = "1.1.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.0.0',
43
+ version='1.1.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 +0,0 @@
1
- from .generate_tfim_samples import generate_tfim_samples
File without changes
File without changes