quil.waveform
1# This file is automatically generated by pyo3_stub_gen 2# ruff: noqa: F401 3 4from quil._quil.waveform import BoxcarKernel, BuiltinWaveform, CommonBuiltinParameters, DragGaussian, ErfSquare, ExplicitCommonBuiltinParameters, Flat, Gaussian, HermiteGaussian, RaisedCosine, Waveform, WaveformError, WaveformInvocationError, WaveformParameterError, apply_phase_and_detuning, sampling 5__all__ = [ 6 "BoxcarKernel", 7 "BuiltinWaveform", 8 "CommonBuiltinParameters", 9 "DragGaussian", 10 "ErfSquare", 11 "ExplicitCommonBuiltinParameters", 12 "Flat", 13 "Gaussian", 14 "HermiteGaussian", 15 "RaisedCosine", 16 "Waveform", 17 "WaveformError", 18 "WaveformInvocationError", 19 "WaveformParameterError", 20 "apply_phase_and_detuning", 21 "sampling", 22]
class
BoxcarKernel:
A boxcar waveform.
This waveform is a Rigetti extension to Quil-T.
class
BuiltinWaveform:
class
CommonBuiltinParameters:
class
DragGaussian:
class
ErfSquare:
class
ExplicitCommonBuiltinParameters:
Like [CommonBuiltinParameters<Concrete>], but with the defaults resolved and the duration
discretized.
This does not take a [WaveformData] parameter because it only makes sense for [Concrete]
waveforms.
class
Flat:
class
Gaussian:
class
HermiteGaussian:
class
RaisedCosine:
class
Waveform:
def
drag_gaussian( *, duration, scale=None, phase=None, detuning=None, fwhm, t0, anh, alpha):
The type of the None singleton.
def
gaussian(*, duration, scale=None, phase=None, detuning=None, fwhm, t0):
The type of the None singleton.
def
hermite_gaussian( *, duration, scale=None, phase=None, detuning=None, fwhm, t0, anh, alpha, second_order_hrm_coeff):
The type of the None singleton.
def
erf_square( *, duration, scale=None, phase=None, detuning=None, risetime, pad_left, pad_right):
The type of the None singleton.
def
boxcar_kernel(*, duration, scale=None, phase=None, detuning=None):
The type of the None singleton.
class
WaveformError(quil._quil.QuilError):
Base error type for errors related to waveform processing.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Errors that may occur when parsing a waveform.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Errors that may occur when parsing waveform parameters.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
def
apply_phase_and_detuning(iq_values, phase, detuning, sample_rate):
Modulate and phase shift waveform IQ data in place.