Class hosting common code of MCWF_Trajectory and Master. More...
#include <QuantumTrajectory.h>
Protected Types | |
typedef structure::QuantumSystemWrapper< RANK, true > | QuantumSystemWrapper |
Protected Member Functions | |
template<typename... ArgumentPack> | |
QuantumTrajectory (typename structure::QuantumSystem< RANK >::Ptr qs, bool isNoisy, ArgumentPack &&...argumentPack) | |
Constructor forwarding to BASE and QuantumSystemWrapper. | |
const QuantumSystemWrapper | getQSW () const |
cpputils::iarchive & | readStateMore_v (cpputils::iarchive &iar) override |
Forwards to BASE , but also sets t0 . | |
double | getT0 () const |
The time instant of the beginning of the current time step. More... | |
void | setT0 (double t0) const |
The time instant of the beginning of the current time step. More... | |
void | setT0 () const |
The time instant of the beginning of the current time step. Sets to the current time. | |
template<typename CONSTRUCT > | |
void | checkDimension (const CONSTRUCT &construct) const |
Check the dimensions of the stored quantum system against construct More... | |
Class hosting common code of MCWF_Trajectory and Master.
It contains the structure::QuantumSystemWrapper and a trajectory::Adaptive::readStateMore_v implementation which sets t0_. Because this class has to be inserted in the inheritence chain of both MCWF_Trajectory and Master, the base class of QuantumTrajectory is passed as a template parameter BASE
and the constructor uses perfect forwarding semantics.
RANK | arity of the Hilbert space |
BASE | practically either a trajectory::Adaptive (for Master) or a trajectory::Stochastic (for MCWF_Trajectory) |
Definition at line 34 of file QuantumTrajectory.h.
|
inlineprotected |
Check the dimensions of the stored quantum system against construct
CONSTRUCT | typically either a quantumdata::StateVector (as in MCWF_Trajectory) or a quantumdata::DensityOperator (as in Master) |
Definition at line 70 of file QuantumTrajectory.h.
|
inlineprotected |
The time instant of the beginning of the current time step.
If the simulated quantum system is derived from structure::Exact, this is a very crucial piece of data, since this is the time instant when the interaction picture and the normal picture coincide.
Hence, careful bookkeeping is necessary to keep this correct through any change of the trajectory state (e.g. state i/o).
Definition at line 60 of file QuantumTrajectory.h.
|
inlineprotected |
The time instant of the beginning of the current time step.
If the simulated quantum system is derived from structure::Exact, this is a very crucial piece of data, since this is the time instant when the interaction picture and the normal picture coincide.
Hence, careful bookkeeping is necessary to keep this correct through any change of the trajectory state (e.g. state i/o).
Definition at line 63 of file QuantumTrajectory.h.