12. Spin-Boson Model#

class renormalizer.sbm.sbm.SpinBosonDynamics(model: Model, auto_expand: bool = True, compress_config=None, evolve_config=None, dump_dir=None, dump_mps=None, job_name=None)[source]#

The Spin-Boson Model

The initial state is a Hartree product state with all vibrations at \(| 0 \rangle\) and spin at spin up state. The class can be used at zero temperature or finite temperature with thermofield dynamics method.

evolve_single_step(evolve_dt)[source]#

Evolve the mps for a single step with step size evolve_dt.

Returns:

new mps after the evolution

get_dump_dict()[source]#

Obtain calculated properties to dump in dict type.

Returns:

return a (ordered) dict to dump as npz

init_mps()[source]#
Returns:

initial mps of the system

process_mps(mps)[source]#

Process the newly evolved the mps. Primarily for the calculation of properties. Note that currently self.latest_mps has not been updated.

Parameters:

mps – The evolved new mps of the time step.