4 #ifndef CPPQEDELEMENTS_FREES_QBIT__H_INCLUDED
5 #define CPPQEDELEMENTS_FREES_QBIT__H_INCLUDED
20 const std::string keyTitle=
"Qbit";
50 explicit QbitBase(ComplexFreqsInitializer cf) :
QbitBase(RealFreqsInitializer(),cf) {}
51 explicit QbitBase(
RF rf,
CF cf=
CF()) :
QbitBase(RealFreqsInitializer{rf}, cf==
CF() ? ComplexFreqsInitializer{} : ComplexFreqsInitializer{cf}) {}
65 typedef boost::shared_ptr<const QbitBase>
Ptr;
76 inline double saturation(
const StateVectorLow& psi) {
return mode::photonNumber(psi);}
81 inline const StateVector state0() {
return mode::fock(0,2);}
82 inline const StateVector state1() {
return mode::fock(1,2);}
87 Ptr
make(
const ParsPumpedLossy&, QM_Picture);
101 template<
bool IS_TIME_DEPENDENT>
146 Qbit(
const qbit::Pars&);
244 #endif // CPPQEDELEMENTS_FREES_QBIT__H_INCLUDED
boost::shared_ptr< const Base > Ptr
std::tuple< std::string, dcomp, double > CF
quantumdata::Types< 1 >::StateVectorLow StateVectorLow
Defines the Mode bundle (tackling the dynamics of a single harmonic-oscillator mode) ...
std::list< CF > ComplexFreqs
const StateVector init(const Pars &)
Dispatcher for initial condition.
std::list< RF > RealFreqs
std::tuple< std::string, double, double > RF
std::complex< double > dcomp
const Ptr make(const IA &ia)