You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Note: Using setuptools in the usual way of `python
36
-
setup.py install` will not work because eggs are incompatible with cached jit functions
37
-
generated using numba.)
38
33
39
34
#### Setting up exact solution for systems *N > 9*
40
35
If you would like to use the `Enumerate` solver for system sizes greater than 9 spins, you
@@ -48,79 +43,40 @@ starting a Python terminal and running
48
43
49
44
Once inside the install directory, you can run in your bash shell
50
45
```bash
51
-
$ python enumerate.py [N]
46
+
$ python enumerate.py [N] 1
52
47
```
53
48
54
-
where `[N]` should be replaced by the size of the system. This will write the equations
55
-
for the Ising model in the {0,1} basis. On the other hand,
49
+
where `[N]` should be replaced by the size of the system. This specifies that the system should be written for the {-1,1} basis. Note that the package uses the {-1,1} basis by default. For more details, see the `__main__` block at the end of the file enumerate.py.
56
50
51
+
For the {0,1} basis, use
57
52
```bash
58
-
$ python enumerate.py [N] 1
53
+
$ python enumerate.py [N]
59
54
```
60
55
61
-
specifies that the system should be written for the {-1,1} basis. Note that the package
62
-
uses the {-1,1} basis by default. For more details, see the `__main__` block at the end of
63
-
the file enumerate.py.
64
-
65
-
## Quick guide (with Jupyter notebook)
56
+
## Quick guide with Jupyter notebook
66
57
67
58
A [Jupyter
68
59
notebook](https://github.com/eltrompetero/coniii/blob/py3/ipynb/usage_guide.ipynb) with a
69
-
brief introduction and examples for how to use ConIII is available. An HTML version is
70
-
[here](https://github.com/eltrompetero/coniii/blob/py3/ipynb/usage_guide.html). The
71
-
notebook is installed into your package directory if you used pip.
60
+
brief introduction and examples for how to use ConIII is available. The
61
+
notebook is also installed into your package directory if you used pip.
72
62
73
-
To use the notebook, install jupyter.
74
-
```bash
75
-
$ pip install jupyter
76
-
```
77
-
or if you are using the Conda package manager
78
-
```bash
79
-
$ conda install jupyter
80
-
```
81
-
82
-
Then, first copy the notebook file "usage_guide.ipynb" into a directory outside the
83
-
"coniii" directory. Change to this directory and run
63
+
To use the notebook, install jupyter such as by following the setup instructions above. Then, copy the notebook file "usage_guide.ipynb" into a directory outside the "coniii" directory. Change to this directory and run
84
64
```bash
85
65
$ jupyter notebook
86
66
```
87
67
88
68
This should open the notebook in your default web browser.
89
69
90
-
## Quick guide (console)
91
-
92
-
First, install iPython for a console-based interpreter and start it.
0 commit comments