Open zhoulq2333 opened 11 months ago
Thanks for the feedback. I assume the time-dependent part only alters the coefficients and not the operators? I don't think currently we have a better solution for this scenario, e.g., reusing existing MPOs with different coefficients. Maybe in the future we can use sympy
to construct the symbolic MPO.
@zhoulq2333 I am curious about the timing difference between re-constructing a new mpo and single-step propagation, usually how slow can it be?
hams = []
for p, q in ...:
hams.append(ops[p,q] * new_coeff[p, q])
new_mpo.append(Mpo(model, terms=hams))
where ops
is pre-stored.
Also, sounds like that the model
can be reused?
Sometimes we need to deal with time-dependent Hamiltonian(eg. the effective Hamiltonian in Hierarchy of Matrix Product States). I have tried two methods, but each of them has some drawbacks.
So can we construct time-dependent numerical MPOs from optimal symbolic MPOs with parameters(time)?