#!/usr/bin/env -S python -m tenpy
simulation_class : RealTimeEvolution
directory: results
output_filename : a_minimal_tebd.h5
model_class : SpinChain
model_params :
L : 32
bc_MPS : finite
Jz : 1.
initial_state_params:
method : lat_product_state
product_state : [[up], [down]]
algorithm_class: TEBDEngine
algorithm_params:
trunc_params:
chi_max: 120
dt : 0.05
N_steps : 2 # measurements every dt*N_steps
final_time : 1.
# additional measurements during the evolution
connect_measurements:
- - tenpy.simulations.measurement
- m_onsite_expectation_value
- opname: Sz
- - psi_method
- wrap correlation_function
- results_key: '<Sp_i Sm_j>'
ops1: Sp
ops2: Sm