environment classes (quanguru.classes.environment)#

THESE ARE JUST SOME INITIAL IDEAS. NOT COMPLETED OR USED YET.

_genericOpen(**kwargs)

Parent class for thermalBath and dissipator.

dissipatorObj(**kwargs)

thermalBath(**kwargs)

Object for a thermal bath that contains several dissipator, which is a child class of this.

class _genericOpen(**kwargs)[source]#

Bases: quanguru.classes.baseClasses.paramBoundBase

Parent class for thermalBath and dissipator.

label: str = '_genericOpen'#

(class attribute) class label used in default naming

_internalInstances: int = 0#

(class attribute) number of instances created internally by the library

_externalInstances: int = 0#

(class attribute) number of instances created explicitly by the user

_instances: int = 0#

(class attribute) number of total instances = _internalInstances + _externalInstances

property system#

Get and set the system to which the bath is attached.

property superSys: Any#

superSys property get/sets __superSys protected attribute

class dissipatorObj(**kwargs)[source]#

Bases: quanguru.classes.environment._genericOpen

label: str = 'dissipator'#

(class attribute) class label used in default naming

_internalInstances: int = 0#

(class attribute) number of instances created internally by the library

_externalInstances: int = 0#

(class attribute) number of instances created explicitly by the user

_instances: int = 0#

(class attribute) number of total instances = _internalInstances + _externalInstances

type#
__operator#
__rate#
__bath#
property temperature#

Gets and sets the temperature of the bath.

property superSys: Any#

superSys property get/sets __superSys protected attribute

addToProtocol(protocol)[source]#
property jRate#
property jOperMatrix#
property jOper#
class thermalBath(**kwargs)[source]#

Bases: quanguru.classes.environment._genericOpen

Object for a thermal bath that contains several dissipator, which is a child class of this.

label: str = 'environment'#

(class attribute) class label used in default naming

_internalInstances: int = 0#

(class attribute) number of instances created internally by the library

_externalInstances: int = 0#

(class attribute) number of instances created explicitly by the user

_instances: int = 0#

(class attribute) number of total instances = _internalInstances + _externalInstances

__temperature#

temperature of the bath

__charFreq#

characteristics frequency of the bath

__nbar#

nbar corresponding to the above temperature and frequency

property jOpers#
property subSys: Dict#

subSys property gets the subSystem dictionary.

Setter resets the existing dictionary and adds the given object/s to __subSys dictionary. It calls the addSubSys, so it can used to add a single object, list/tuple of objects, by giving the name of the system, or giving class name to add a new instance of that class. Be aware that the setter resets the existing.

property dissipator#

Get and set the dissipator objects that contain the jump operator from which the dissipator term is going to be created.

property temperature#

Gets and sets the temperature of the bath.

property charFreq#

Gets and sets the characteristics frequency of the bath.

property nBar#

Returns the nBar of the thermal bath, and re-calculates the nBar if the temperature or charFreq are changed.