C++QEDElements  v2 Milestone 10
a framework for simulating open quantum dynamics – generic elements
mode Namespace Reference

Contains helpers for the Mode bundle. More...

Classes

class  Averaged
 
class  AveragedMonitorCutoff
 
class  AveragedQuadratures
 
class  Exact
 
struct  FockStatePreparationError_CheckYourCutoffAgainstDesiredFockState
 
class  Hamiltonian
 
class  Liouvillean
 
class  Liouvillean< false, IS_ALTERNATIVE >
 
class  Liouvillean< true, IS_ALTERNATIVE >
 

Typedefs

typedef boost::shared_ptr< const ModeBasePtr
 

Functions

const Tridiagonal aop (Ptr)
 
const Tridiagonal nop (Ptr)
 
const Tridiagonal xop (Ptr mode)
 
const StateVector coherent (const dcomp &alpha, size_t cutoff)
 Coherent state. More...
 
const StateVector fock (size_t n, size_t dim, double phase=0)
 
const StateVector init (const Pars &)
 Dispatcher for initial condition.
 
template<typename AveragingType , typename... AveragingConstructorParameters>
const Ptr make (const Pars &, QM_Picture, AveragingConstructorParameters &&...)
 
template<typename AveragingType , typename... AveragingConstructorParameters>
const Ptr make (const ParsLossy &, QM_Picture, AveragingConstructorParameters &&...)
 
template<typename AveragingType , typename... AveragingConstructorParameters>
const Ptr make (const ParsPumped &, QM_Picture, AveragingConstructorParameters &&...)
 
template<typename AveragingType , typename... AveragingConstructorParameters>
const Ptr make (const ParsPumpedLossy &, QM_Picture, AveragingConstructorParameters &&...)
 
const Ptr make (const Pars &, QM_Picture)
 
const Ptr make (const ParsLossy &, QM_Picture)
 
const Ptr make (const ParsPumped &, QM_Picture)
 
const Ptr make (const ParsPumpedLossy &, QM_Picture)
 
double photonNumber (const StateVectorLow &)
 
double photonNumber (const LazyDensityOperator &)
 
std::ostream & isFiniteTempStream (std::ostream &os, double, boost::mpl::false_)
 
std::ostream & isFiniteTempStream (std::ostream &os, double nTh, boost::mpl::true_)
 
double finiteTemperatureHamiltonianDecay (const ParsLossy &p, boost::mpl::false_)
 
double finiteTemperatureHamiltonianDecay (const ParsLossy &p, boost::mpl::true_)
 
const Tridiagonal::Diagonal mainDiagonal (const dcomp &z, size_t dim)
 
const Tridiagonal pumping (const dcomp &eta, size_t dim)
 

Variables

const std::string keyTitle ="Mode"
 

Detailed Description

Contains helpers for the Mode bundle.

Function Documentation

const StateVector mode::coherent ( const dcomp alpha,
size_t  cutoff 
)

Coherent state.

The implementation relies on mathutils::coherentElement, which works also for high Fock-state elements

Note
The user has to take care that alpha is not too large for the given cutoff (rule of thumb: cutoff>|alpha|^2)
Parameters
alphaamplitude
cutoffcutoff