freevirgil.spin_conf

class freevirgil.spin_conf(N=10)[source]
Class for generating spin configurations

of various dimensions

__init__(N=10)[source]

Initialize configuration

Parameters

N (int, default: 10) – Amount of sites

Methods

M()

Magnetization of configuration

__init__([N])

Initialize configuration

dec_conf(dec)

Convert decimal to binary (-1, 1) spin configuration