Skip to main content
POST

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://api.fincept.in/auth/register

Body

application/json
size
integer
default:10

Grid size (creates size × size lattice)

Example:

20

J
number
default:1

Coupling constant (J>0: ferromagnetic/positive correlation, J<0: antiferromagnetic)

Example:

1

h
number
default:0

External field (bias toward +1 or -1 spins)

Example:

0

temperature
number
default:2

Temperature (T<Tc: ordered phase, T>Tc: disordered phase, Tc≈2.27 for J=1)

Example:

2.5

n_steps
integer
default:1000

Number of Monte Carlo steps for equilibration

Example:

5000

seed
integer | null

Random seed for reproducibility (optional)

Example:

42

Response

Ising model simulation completed successfully

success
boolean
Example:

true

data
object