mps-0.0.0
MatrixProductStatesinC++
 All Data Structures Namespaces Functions Variables Enumerations Enumerator Groups Pages
mps::ArnoldiSolver Class Reference

Time evolution with the Arnoldi method. More...

Inheritance diagram for mps::ArnoldiSolver:
Collaboration diagram for mps::ArnoldiSolver:

Public Member Functions

 ArnoldiSolver (const Hamiltonian &H, cdouble dt, int nvectors)
 Create Solver with fixed time step. More...
 
 ArnoldiSolver (const CMPO &H, cdouble dt, int nvectors)
 Create Solver with fixed time step. More...
 
virtual double one_step (CMPS *P, index Dmax)
 Compute next time step. More...
 
- Public Member Functions inherited from mps::TimeSolver
cdouble time_step () const
 How long in time this solver advances. More...
 
 TimeSolver (cdouble new_dt)
 Create Solver with fixed time step. More...
 

Detailed Description

Time evolution with the Arnoldi method.

Definition at line 160 of file time_evolve.h.

Constructor & Destructor Documentation

mps::ArnoldiSolver::ArnoldiSolver ( const Hamiltonian H,
cdouble  dt,
int  nvectors 
)

Create Solver with fixed time step.

Definition at line 31 of file arnoldi.cc.

mps::ArnoldiSolver::ArnoldiSolver ( const CMPO H,
cdouble  dt,
int  nvectors 
)

Create Solver with fixed time step.

Definition at line 41 of file arnoldi.cc.

Member Function Documentation

double mps::ArnoldiSolver::one_step ( CMPS P,
index  Dmax 
)
virtual

Compute next time step.

Given the state $\psi(0)$ represented by P, estimate the state at $\psi(\Delta t)$ within the space of MPS with dimension <= Dmax. P contains the output.

Implements mps::TimeSolver.

Definition at line 52 of file arnoldi.cc.