workspace()
using HoTRG_lemon.SimulatorModule
using HoTRG_lemon.SpinModule
using HoTRG_lemon.LatticeModule
using TensorOperations
using TensorMatrices_lemon

dimM = 4
trotterparameter = 0.01
trotteriteration = 40

isinginfo = SpinInfo("quantum_ising_2",1.0e-13,0.0)
trotterinfo = TrotterInfo(trotterparameter, trotteriteration)
ising = QuantumIsingModel(isinginfo, trotterinfo)
lattice = buildLattice("quantum_2d_fractal", ising)
simulator = Quantum2dFractalSimulator(lattice,  4, 0)
println(getInititeration(simulator))
# simulator = buildSimulator(lattice,dimM)

# fieldrange = linspace(0.1, 3.5, 20)
# simulatorQuantum(fieldrange, simulator; filename = "data_dim" * string(dimM)  * ".txt")
