quantify_scheduler.operations.acquisition_library

Standard acquisition protocols for use with the quantify_scheduler.

Module Contents

Classes

AcquisitionOperation

This class is used to help differentiate an acquisition operation from the regular

Trace

The Trace acquisition protocol measures a signal s(t).

WeightedIntegratedComplex

Weighted integration acquisition protocol on a

SSBIntegrationComplex

This class implements a SingleSideBand Integration acquisition protocol with

NumericalWeightedIntegrationComplex

Implements a WeightedIntegratedComplex class using parameterized waveforms and

class AcquisitionOperation(name: str, data: dict = None)[source]

Bases: quantify_scheduler.Operation

This class is used to help differentiate an acquisition operation from the regular operations. This enables us to use plot_acquisition_operations() to highlight acquisition pulses in the pulse diagrams.

class Trace(duration: float, port: str, clock: str, acq_channel: int = 0, acq_index: int = 0, bin_mode: Union[quantify_scheduler.enums.BinMode, str] = BinMode.AVERAGE, t0: float = 0, data: Optional[dict] = None)[source]

Bases: AcquisitionOperation

The Trace acquisition protocol measures a signal s(t).

__str__() str[source]

Returns a concise string representation which can be evaluated into a new instance using eval(str(operation)) only when the data dictionary has not been modified.

This representation is guaranteed to be unique.

class WeightedIntegratedComplex(waveform_a: Dict[str, Any], waveform_b: Dict[str, Any], port: str, clock: str, duration: float, acq_channel: int = 0, acq_index: int = 0, bin_mode: Union[quantify_scheduler.enums.BinMode, str] = BinMode.APPEND, phase: float = 0, t0: float = 0, data: Optional[dict] = None)[source]

Bases: AcquisitionOperation

Weighted integration acquisition protocol on a complex signal in a custom complex window.

__str__() str[source]

Returns a concise string representation which can be evaluated into a new instance using eval(str(operation)) only when the data dictionary has not been modified.

This representation is guaranteed to be unique.

class SSBIntegrationComplex(port: str, clock: str, duration: float, acq_channel: int = 0, acq_index: int = 0, bin_mode: Union[quantify_scheduler.enums.BinMode, str] = BinMode.AVERAGE, phase: float = 0, t0: float = 0, data: Optional[dict] = None)[source]

Bases: AcquisitionOperation

This class implements a SingleSideBand Integration acquisition protocol with complex results.

__str__() str[source]

Returns a concise string representation which can be evaluated into a new instance using eval(str(operation)) only when the data dictionary has not been modified.

This representation is guaranteed to be unique.

class NumericalWeightedIntegrationComplex(weights_a: Union[List[complex], numpy.ndarray], weights_b: Union[List[complex], numpy.ndarray], t: Union[List[float], numpy.ndarray], port: str, clock: str, interpolation: str = 'linear', acq_channel: int = 0, acq_index: int = 0, bin_mode: Union[quantify_scheduler.enums.BinMode, str] = BinMode.APPEND, phase: float = 0, t0: float = 0, data: Optional[dict] = None)[source]

Bases: WeightedIntegratedComplex

Implements a WeightedIntegratedComplex class using parameterized waveforms and interpolation as the integration weights.

__str__() str[source]

Returns a concise string representation which can be evaluated into a new instance using eval(str(operation)) only when the data dictionary has not been modified.

This representation is guaranteed to be unique.

__repr__() str[source]

Returns the string representation of this instance.

This representation can always be evaluated to create a new instance.

eval(repr(operation))