PulseDefaults
class PulseDefaults(qubit_freq_est, meas_freq_est, buffer, pulse_library, cmd_def, meas_kernel=None, discriminator=None, **kwargs)
Bases: object
Description of default settings for Pulse systems. These are instructions or settings that may be good starting points for the Pulse user. The user may modify these defaults for custom scheduling.
Validate and reformat transport layer inputs to initialize. :type qubit_freq_est: List
[float
] :param qubit_freq_est: Estimated qubit frequencies in GHz. :type meas_freq_est: List
[float
] :param meas_freq_est: Estimated measurement cavity frequencies in GHz. :type buffer: int
:param buffer: Default buffer time (in units of dt) between pulses. :type pulse_library: List
[PulseLibraryItem
] :param pulse_library: Pulse name and sample definitions. :type cmd_def: List
[Command
] :param cmd_def: Operation name and definition in terms of Commands. :type meas_kernel: Optional
[MeasurementKernel
] :param meas_kernel: The measurement kernels :type discriminator: Optional
[Discriminator
] :param discriminator: The discriminators :param **kwargs: Other attributes for the super class.
Methods
from_dict
classmethod PulseDefaults.from_dict(data)
Create a new PulseDefaults object from a dictionary.
Parameters
data (dict) – A dictionary representing the PulseDefaults to create. It will be in the same format as output by to_dict()
.
Returns
The PulseDefaults from the input dictionary.
Return type
to_dict
PulseDefaults.to_dict()
Return a dictionary format representation of the PulseDefaults. :returns: The dictionary form of the PulseDefaults. :rtype: dict