The interface every system having (possibly non-Hermitian) Hamiltonian time-evolution must present towards the trajectory drivers. More...
#include <Hamiltonian.h>
Inheritance diagram for structure::Hamiltonian< RANK >:
Collaboration diagram for structure::Hamiltonian< RANK >:Public Types | |
| typedef boost::shared_ptr< const Hamiltonian > | Ptr |
| typedef quantumdata::Types< RANK >::StateVectorLow | StateVectorLow |
Public Member Functions | |
| void | addContribution (double t, const StateVectorLow &psi, StateVectorLow &dpsidt, double t0) const |
Adds the Hamiltonian contribution of the given (sub)system to dpsidt More... | |
The interface every system having (possibly non-Hermitian) Hamiltonian time-evolution must present towards the trajectory drivers.
| RANK | arity of the Hilbert space |
Definition at line 27 of file Hamiltonian.h.
|
inline |
Adds the Hamiltonian contribution
of the given (sub)system to dpsidt
The assumption is that the time when the Schrödinger picture and interaction picture (if any) coincide is t0. There are two important points to note:
dpsidt instead of dpsidt being replaced. This is because when the given system is embedded in a larger system, other (sub)systems may also contribute.
and not merely
, since it is the former which determines the derivative of the state vector.This latter is so often missed, that we emphasize it again (although we know that it will still be missed from time to time):
itself but
has to supplied!blitz::Array needed for this?| [in] | t | the time instant for TWO_TIME dependence |
| [in] | psi | the state vector |
| [in,out] | dpsidt | the state vector to be contributed to by |
| [in] | t0 | the time instant for TWO_TIME dependence |
Definition at line 47 of file Hamiltonian.h.