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.
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PKG-INFO +1 -1
- pyqrackising-1.1.0/PyQrackIsing/__init__.py +3 -0
- pyqrackising-1.1.0/PyQrackIsing/tfim_magnetization.py +5 -0
- pyqrackising-1.1.0/PyQrackIsing/tfim_square_magnetization.py +5 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PyQrackIsing.egg-info/PKG-INFO +1 -1
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PyQrackIsing.egg-info/SOURCES.txt +2 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/README.md +6 -2
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/pyproject.toml +1 -1
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/setup.py +1 -1
- pyqrackising-1.0.0/PyQrackIsing/__init__.py +0 -1
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/LICENSE.md +0 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PyQrackIsing/generate_tfim_samples.py +0 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PyQrackIsing.egg-info/dependency_links.txt +0 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PyQrackIsing.egg-info/not-zip-safe +0 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/PyQrackIsing.egg-info/top_level.txt +0 -0
- {pyqrackising-1.0.0 → pyqrackising-1.1.0}/setup.cfg +0 -0
|
@@ -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
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|