quil.waveform.sampling
The result of sampling a waveform, representing a sequence of IQ value samples.
Get the nth sample. The same as indexing, but returns None instead of raising an error if
the index is out of range.
Return the number of occurrences of the specified sample.
Part of the collections.abc.Sequence interface.
Return the first occurrences of the specified sample. Raises ValueError if the value is
not present.
Part of the collections.abc.Sequence interface.
A flat waveform, consisting of a single IQ value repeated some number of times.
This is a more optimizable special-case representation for [IqSamples::Samples(vec![iq;
sample_count])][Self::Samples], but is otherwise equivalent.
A literal sequence of IQ samples.
Errors that may occur when sampling waveforms.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args