qutip_qoc._time module
This module contains the TimeInterval class for storing a time interval and deriving its attributes. It provides an easy way to specify the pulse duration.
- class qutip_qoc._time._TimeInterval(tslots=None, evo_time=None, n_tslots=None)[source]
Bases:
objectClass for storing a time interval and deriving its attributes.
- Attributes:
- property evo_time
If not provided, it is derived from the last element of tslots.
- property n_tslots
If not provided, it is derived from the length of tslots.
- property tslots
If not provided, it is derived from evo_time and n_tslots.