qiskit.providers.models.PulseDefaults
class PulseDefaults(qubit_freq_est, meas_freq_est, buffer, pulse_library, cmd_def, meas_kernel=None, discriminator=None, **kwargs)
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.
__init__
__init__(qubit_freq_est, meas_freq_est, buffer, pulse_library, cmd_def, meas_kernel=None, discriminator=None, **kwargs)
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
__init__ (qubit_freq_est, meas_freq_est, …) | Validate and reformat transport layer inputs to initialize. |
from_dict (data) | Create a new PulseDefaults object from a dictionary. |
to_dict () | Return a dictionary format representation of the PulseDefaults. |
from_dict
classmethod 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
meas_freq_est
Measurement frequencies in Hertz.
qubit_freq_est
Qubit frequencies in Hertz.
to_dict
to_dict()
Return a dictionary format representation of the PulseDefaults. :returns: The dictionary form of the PulseDefaults. :rtype: dict