Operator#
- class blochsim.Operator[source]#
Bases:
objectOne module of a sequence: the events it plays and the time it spans.
a @ bplays two operators back to back as one operator.- Parameters:
emit (callable) – Maps the module’s start time in seconds to the tuple of
SequenceEventit plays.duration_s (float or torch.Tensor, default=0.0) – Time the module holds the timeline, in seconds. Zero leaves the next module to start at the same time.