Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TK-SVM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LDAP_ls-schollwoeck
TK-SVM
Commits
e57c2a5a
Commit
e57c2a5a
authored
5 years ago
by
Jonas Greitemann
Browse files
Options
Downloads
Patches
Plain Diff
README for Ising client code
parent
289a3eec
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ising/README.md
+30
-18
30 additions, 18 deletions
ising/README.md
with
30 additions
and
18 deletions
ising/README.md
+
30
−
18
View file @
e57c2a5a
Ising Model Client Code
=======================
tba
Using
`temperature`
phase diagram point (LINK)
.
This client code is adapted from the
[
two-dimensional Ising model tutorial
][
1
]
provided by ALPSCore to demonstrate how a basic ALPSCore-based simulation may be
used together with the TK-SVM framework
.
Famously, the 2d Ising model exhibits a phase transition at _T
<sub>
c
</sub>
=
2.
269 J_ to a ferromagnetic phase. Ponte and Melko demonstrated that an SVM with
a quadratic kernel may be used to learn this simple magnetic order
[
[Phys. Rev.
B **96**, 205146 (2017)
][
2
]
]. Step-by-step instructions on how to reproduce
their results are included as comments in the example parameter file
[
`params/ising.ini`
](
params/ising.ini
)
.
Building and Installation
-------------------------
Our codes also use CMake to configure the build environment. The procedure is
analogous to ALPSCore's, e.g.:
CMake is used to build this code:
```
bash
$
cd
svm-order-params
$
cd
svm-order-params
/ising
$
mkdir
build
&&
cd
build
$
cmake ..
$
make
-jN
```
Note that the repository makes use of git submodules. To also clone the
dependent repositories
`svm`
and
`colormap`
, supplement your call to
`git clone`
with the flag
`--recursive`
; if the repository is already cloned, run
```
bash
$
git submodule update
--init
```
Finally, using
`make install`
the compiled executables can be copied to the
Finally, using
`make install`
, the compiled executables can be copied to the
`bin`
directory at the location configured in
`CMAKE_INSTALL_PREFIX`
. This step
is optional. The remainder of this README assumes that executables have been
installed to a directory in the user's
`$PATH`
.
is optional.
Refer to the
[
top-level README
](
../README.md
)
for information on dependencies
and cloning of submodules.
Runtime parameters
------------------
This sections lists the runtime parameters which are defined by — and exclusive
to — this client code. These parameters supplement those lists in the section
[
→ Runtime parameters
](
../README.md#runtime-parameters
)
of the top-level README.
### Simulation runtime
| Parameter name | Default | Description |
...
...
@@ -49,9 +51,19 @@ Runtime parameters
|
`length`
| _required_ | Linear system size |
|
`temperature`
| _required_ | Initial temperature (_not relevant for SVM use case_) |
Note that the
[
`tksvm::phase_space::point::temperature`
type
](
../include/tksvm/phase_space/point/temperature.hpp
)
is used to encapsulate
the one-dimensional (temperature) parameter space of the phase diagram. Its
parameter specification is given in the
[
corresponding
section
](
../README.md#phase-diagram-point-specification
)
of the top-level README
file.
### Tensorial kernel
| Parameter name | Default | Description |
|:---------------|:----------:|:-------------------------------------------------------------------------------------------------|
|
`rank`
| _required_ | Rank of the monomial mapping |
|
`symmetrized`
|
`1`
| Eliminate redundant (symmetric) monomials (
`1`
) or not (
`0`
) |
[
1
]:
https://github.com/ALPSCore/ALPSCore/tree/master/tutorials/mc/ising2_mc
[
2
]:
https://doi.org/10.1103/PhysRevB.96.205146
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment