-
QuantumProgramCompilationError — An error encountered while compiling a QuantumProgram.
-
WeightedDetuningWaveformError — An error encountered while compiling the waveform of a WeightedDetuning.
-
WaveformConverter — Convert a QoolQit waveform into a equivalent Pulser waveform.
qoolqit.execution.compilation_functions
module
qoolqit.execution.compilation_functions
Classes
Functions
class
QuantumProgramCompilationError
()
Bases : ValueError
An error encountered while compiling a QuantumProgram.
class
WeightedDetuningWaveformError
()
Bases : QuantumProgramCompilationError
An error encountered while compiling the waveform of a WeightedDetuning.
class
WaveformConverter
(device: Device, time: float, energy: float)
Convert a QoolQit waveform into a equivalent Pulser waveform.
Requires the new time and energy scales set by the compilation profile. Additionally, requires the clock period of the device to round the duration.
Methods
-
convert — Convert a QoolQit waveform into a equivalent Pulser waveform.
method
convert
(waveform: Waveform) → ParamObj | PulserWaveform
Convert a QoolQit waveform into a equivalent Pulser waveform.
basic_compilation (register: Register, drive: Drive, device: Device, profile: CompilerProfile) → PulserSequence
Raises
-
ValueError
-
TypeError