This page was generated from 13_time_dependent_H_evolution.ipynb (download).

Time evolution with time-dependent Hamiltonian

This notebook demonstrates how one can use the TimeDependentExpMPOEvolution to simulate the evolution under a time-dependent Hamiltonian: the model just reads out the time model parameter, and we do a full re-initialization of the model during each time step. (This could be optimized to e.g. just adjusting values in the final MPO, but generating the model is usually cheap compared to the actual evolution scaling as \(\mathcal{O}(\chi^3)\).)

Note that this method is (currently) only correct to first order in dt; to acchieve higher order you need to adjust the algorithms in TeNPy to account for the time dependence.

[1]:
import numpy as np
import scipy
import matplotlib.pyplot as plt
np.set_printoptions(precision=5, suppress=True, linewidth=120)
[2]:
import tenpy
import tenpy.linalg.np_conserved as npc
from tenpy.algorithms import tebd
from tenpy.networks.mps import MPS
from tenpy.models.spins import SpinChain
tenpy.tools.misc.setup_logging(to_stdout="DEBUG")
import yaml
[ ]:

[3]:
class MyTimeDepModel(SpinChain):
    def init_terms(self, model_params):
        model_params['Jz'] = 1./(model_params.get('time', 0.) + 0.01)
        super().init_terms(model_params)
[6]:
params = """
model_class :  MyTimeDepModel
model_params :
    L : 14
    bc_MPS : finite

initial_state_params:
    method : lat_product_state
    product_state : [[up], [down]]

algorithm_class: TimeDependentExpMPOEvolution
algorithm_params:
    trunc_params:
        chi_max: 120
    dt : 0.05
    N_steps : 2
    compression_method: variational

final_time :  1.5
"""
sim_params = yaml.safe_load(params)

[7]:
res = tenpy.run_simulation('RealTimeEvolution', **sim_params)
INFO    : new simulation
================================================================================
RealTimeEvolution
================================================================================
INFO    : output filename: None
INFO    : use trivial cache (keeps everything in RAM)
INFO    : RealTimeEvolution: reading 'final_time'=1.5
INFO    : RealTimeEvolution: reading 'algorithm_params'={'trunc_params': {'chi_max': 120}, 'dt': 0.05, 'N_steps': 2, 'compression_method': 'variational'}
INFO    : No cache due to chi=120 < cache_threshold_chi = 2000
INFO    : use trivial cache (keeps everything in RAM)
INFO    : RealTimeEvolution: reading 'model_class'='MyTimeDepModel'
INFO    : RealTimeEvolution: subconfig 'model_params'=Config(<2 options>, 'model_params')
INFO    : model_params: reading 'bc_MPS'='finite'
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : model_params: reading 'L'=14
INFO    : model_params: setting 'Jz'=100.0
INFO    : model_params: reading 'Jz'=100.0
INFO    : RealTimeEvolution: subconfig 'initial_state_params'=Config(<2 options>, 'initial_state_params')
INFO    : initial_state_params: reading 'method'='lat_product_state'
INFO    : calling InitialStateBuilder.lat_product_state()
INFO    : initial_state_params: reading 'product_state'=[['up'], ['down']]
INFO    : RealTimeEvolution: reading 'algorithm_class'='TimeDependentExpMPOEvolution'
INFO    : algorithm_params: subconfig 'trunc_params'=Config(<1 options>, 'trunc_params')
INFO    : make measurements
INFO    : evolve to time 0.00, max chi=1
INFO    : algorithm_params: reading 'dt'=0.05
INFO    : algorithm_params: reading 'N_steps'=2
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : algorithm_params: reading 'compression_method'='variational'
INFO    : trunc_params: reading 'chi_max'=120
INFO    : checkpoint after sweep 1
Current memory usage 185.6MB, wall time: 0.1s
chi: [2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 185.6MB, wall time: 0.1s
chi: [2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 185.6MB, wall time: 0.1s
chi: [2, 4, 8, 13, 13, 13, 13, 13, 13, 13, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 185.6MB, wall time: 0.1s
chi: [2, 4, 8, 13, 13, 13, 13, 13, 13, 13, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 14, 17, 17, 17, 17, 17, 14, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 14, 17, 17, 17, 17, 17, 14, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 14, 19, 21, 21, 21, 19, 14, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 14, 19, 21, 21, 21, 19, 14, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.100, max(chi)=21, max(S)=0.00654, avg DeltaS=5.8520e-03, since last update: 0.8s
INFO    : make measurements
INFO    : evolve to time 0.10, max chi=21
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 14, 20, 22, 22, 22, 20, 14, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 14, 20, 22, 22, 22, 20, 14, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 15, 22, 23, 24, 23, 22, 15, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 15, 22, 23, 24, 23, 22, 15, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 15, 23, 27, 26, 27, 23, 15, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 15, 23, 27, 26, 27, 23, 15, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 15, 25, 28, 28, 28, 25, 15, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 15, 25, 28, 28, 28, 25, 15, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.200, max(chi)=28, max(S)=0.03256, avg DeltaS=2.5112e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.20, max chi=28
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 26, 30, 29, 30, 26, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 26, 30, 29, 30, 26, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 27, 30, 31, 30, 27, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 27, 30, 31, 30, 27, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 27, 32, 31, 32, 27, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 27, 32, 31, 32, 27, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 32, 34, 32, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 32, 34, 32, 28, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.300, max(chi)=34, max(S)=0.06636, avg DeltaS=3.4268e-02, since last update: 0.8s
INFO    : make measurements
INFO    : evolve to time 0.30, max chi=34
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 34, 36, 34, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 34, 36, 34, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 34, 37, 34, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 34, 37, 34, 28, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 35, 40, 35, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 35, 40, 35, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 37, 41, 37, 28, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 28, 37, 41, 37, 28, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.400, max(chi)=41, max(S)=0.10639, avg DeltaS=3.9667e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.40, max chi=41
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 29, 37, 42, 37, 29, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 29, 37, 42, 37, 29, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 29, 38, 42, 38, 29, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 29, 38, 42, 38, 29, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 39, 42, 39, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 39, 42, 39, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 40, 42, 40, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 40, 42, 40, 30, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.500, max(chi)=42, max(S)=0.15992, avg DeltaS=4.3168e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.50, max chi=42
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 43, 43, 43, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 43, 43, 43, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 44, 45, 44, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 44, 45, 44, 30, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 45, 47, 45, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 45, 47, 45, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 46, 47, 46, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 46, 47, 46, 30, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.600, max(chi)=47, max(S)=0.21688, avg DeltaS=4.5348e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.60, max chi=47
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 47, 49, 47, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 47, 49, 47, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 48, 49, 48, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 48, 49, 48, 30, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 49, 51, 49, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 30, 49, 51, 49, 30, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 31, 49, 52, 49, 31, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 31, 49, 52, 49, 31, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.700, max(chi)=52, max(S)=0.27503, avg DeltaS=4.6508e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.70, max chi=52
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 31, 49, 55, 49, 31, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.5MB, wall time: 0.1s
chi: [2, 4, 8, 16, 31, 49, 55, 49, 31, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 52, 57, 52, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 52, 57, 52, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 52, 58, 52, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 52, 58, 52, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 52, 59, 52, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 52, 59, 52, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.800, max(chi)=59, max(S)=0.33252, avg DeltaS=4.6857e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.80, max chi=59
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 55, 62, 55, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 55, 62, 55, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 55, 63, 55, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 55, 63, 55, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 55, 65, 55, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 55, 65, 55, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 56, 65, 56, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 56, 65, 56, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=0.900, max(chi)=65, max(S)=0.38789, avg DeltaS=4.6564e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 0.90, max chi=65
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 68, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 68, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 68, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 68, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 69, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 69, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 70, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 70, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=1.000, max(chi)=70, max(S)=0.43997, avg DeltaS=4.5779e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 1.00, max chi=70
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 72, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=1.100, max(chi)=72, max(S)=0.48786, avg DeltaS=4.4634e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 1.10, max chi=72
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 73, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 73, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 74, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 58, 74, 58, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 59, 76, 59, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 59, 76, 59, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 59, 76, 59, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 59, 76, 59, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=1.200, max(chi)=76, max(S)=0.53091, avg DeltaS=4.3248e-02, since last update: 0.8s
INFO    : make measurements
INFO    : evolve to time 1.20, max chi=76
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 59, 79, 59, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 59, 79, 59, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 60, 79, 60, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 60, 79, 60, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 60, 80, 60, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 60, 80, 60, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 60, 81, 60, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 60, 81, 60, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=1.300, max(chi)=81, max(S)=0.56871, avg DeltaS=4.1722e-02, since last update: 0.8s
INFO    : make measurements
INFO    : evolve to time 1.30, max chi=81
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 85, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 85, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 85, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 85, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 89, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 89, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 89, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 89, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=1.400, max(chi)=89, max(S)=0.60105, avg DeltaS=4.0141e-02, since last update: 0.9s
INFO    : make measurements
INFO    : evolve to time 1.40, max chi=89
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 90, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 90, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 90, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 90, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : Calculate U for {'dt': 0.05, 'order': 2, 'approximation': 'II'}
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 92, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 92, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 1
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 92, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : checkpoint after sweep 2
Current memory usage 186.8MB, wall time: 0.1s
chi: [2, 4, 8, 16, 32, 62, 92, 62, 32, 16, 8, 4, 2]
================================================================================
INFO    : MyTimeDepModel: set conserve to Sz
INFO    : --> time=1.500, max(chi)=92, max(S)=0.62793, avg DeltaS=3.8576e-02, since last update: 0.9s
INFO    : make measurements
INFO    : finished simulation run
================================================================================
[ ]:
res['measurements']['energy_MPO']
[ ]:

[ ]: