qiskit-documentation/docs/api/qiskit/0.33/qiskit.providers.models.Pul...

45 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: PulseDefaults
description: API reference for qiskit.providers.models.PulseDefaults
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.providers.models.PulseDefaults
---
# PulseDefaults
<Class id="qiskit.providers.models.PulseDefaults" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.19/qiskit/providers/models/pulsedefaults.py" signature="PulseDefaults(qubit_freq_est, meas_freq_est, buffer, pulse_library, cmd_def, meas_kernel=None, discriminator=None, **kwargs)" modifiers="class">
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
<Function id="qiskit.providers.models.PulseDefaults.from_dict" signature="PulseDefaults.from_dict(data)" modifiers="classmethod">
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()`](qiskit.providers.models.PulseDefaults#to_dict "qiskit.providers.models.PulseDefaults.to_dict").
**Returns**
The PulseDefaults from the input dictionary.
**Return type**
[PulseDefaults](qiskit.providers.models.PulseDefaults "qiskit.providers.models.PulseDefaults")
</Function>
### to\_dict
<Function id="qiskit.providers.models.PulseDefaults.to_dict" signature="PulseDefaults.to_dict()">
Return a dictionary format representation of the PulseDefaults. :returns: The dictionary form of the PulseDefaults. :rtype: dict
</Function>
</Class>