PRX_Samples#

Module: iqm.pulse.gates.prx

class iqm.pulse.gates.prx.PRX_Samples(parent, name, locus, calibration_data, builder)#

Bases: PRX_CustomWaveforms

PRX gate with sampled waveforms as I and Q.

See PRX_CustomWaveforms.

Attributes

dependent_waves

If set True, the Q channel waveform is considered to depend on the I channel's waveform so that they share the waveform parameters, (e.g. a DRAG PRX implementation).

excluded_parameters

Parameters names to be excluded from self.parameters.

parameters

Required calibration data, may be nested

id

Unique str identifier, needed for certain caching properties.

sub_implementations

Single-component sub-implementations for factorizable gates with len(locus) > 1, otherwise empty.

Methods

Parameters:
excluded_parameters = ['duration']#

Parameters names to be excluded from self.parameters. Inheriting classes may override this if certain parameters are not wanted in that class (also parameters defined by the waveforms can be excluded).

dependent_waves = False#

If set True, the Q channel waveform is considered to depend on the I channel’s waveform so that they share the waveform parameters, (e.g. a DRAG PRX implementation). If not provided, will be initialised as True.

parameters = {'amplitude_i': Parameter(name='', label='pi pulse I channel amplitude', unit='', data_type=<DataType.FLOAT: 1>, collection_type=<CollectionType.SCALAR: 0>, element_indices=None), 'amplitude_q': Parameter(name='', label='pi pulse Q channel amplitude', unit='', data_type=<DataType.FLOAT: 1>, collection_type=<CollectionType.SCALAR: 0>, element_indices=None), 'i': {'samples': Parameter(name='', label='I wave samples of Samples', unit='s', data_type=<DataType.COMPLEX: 2>, collection_type=<CollectionType.NDARRAY: 2>, element_indices=None)}, 'q': {'samples': Parameter(name='', label='Q wave samples of Samples', unit='s', data_type=<DataType.COMPLEX: 2>, collection_type=<CollectionType.NDARRAY: 2>, element_indices=None)}}#

Required calibration data, may be nested

wave_i#

alias of Samples

wave_q#

alias of Samples

Inheritance

Inheritance diagram of iqm.pulse.gates.prx.PRX_Samples