qns.models.delay package

Submodules

qns.models.delay.constdelay module

class qns.models.delay.constdelay.ConstantDelayModel(delay: float = 0, name: Optional[str] = None)[source]

Bases: qns.models.delay.delay.DelayModel

calculate() float[source]
Returns

the time delay [s]

qns.models.delay.delay module

class qns.models.delay.delay.DelayModel(name: Optional[str] = None)[source]

Bases: object

The model for delay in storing, operating and transmitting qubits or eprs.

calculate() float[source]
Returns

the time delay in second, default is 0

qns.models.delay.normaldelay module

class qns.models.delay.normaldelay.NormalDelayModel(mean_delay: float = 0, std: float = 0, name: Optional[str] = None)[source]

Bases: qns.models.delay.delay.DelayModel

calculate() float[source]
Returns

the time delay in second, default is 0

qns.models.delay.uniformdelay module

class qns.models.delay.uniformdelay.UniformDelayModel(min_delay: float = 0, max_delay: float = 0, name: Optional[str] = None)[source]

Bases: qns.models.delay.delay.DelayModel

calculate() float[source]
Returns

the time delay in second, default is 0

Module contents

class qns.models.delay.ConstantDelayModel(delay: float = 0, name: Optional[str] = None)[source]

Bases: qns.models.delay.delay.DelayModel

calculate() float[source]
Returns

the time delay [s]

class qns.models.delay.DelayModel(name: Optional[str] = None)[source]

Bases: object

The model for delay in storing, operating and transmitting qubits or eprs.

calculate() float[source]
Returns

the time delay in second, default is 0

class qns.models.delay.NormalDelayModel(mean_delay: float = 0, std: float = 0, name: Optional[str] = None)[source]

Bases: qns.models.delay.delay.DelayModel

calculate() float[source]
Returns

the time delay in second, default is 0

class qns.models.delay.UniformDelayModel(min_delay: float = 0, max_delay: float = 0, name: Optional[str] = None)[source]

Bases: qns.models.delay.delay.DelayModel

calculate() float[source]
Returns

the time delay in second, default is 0