qoolqit.execution.compilation_functions
source module qoolqit.execution.compilation_functions
Classes
-
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.
Functions
source class QuantumProgramCompilationError()
Bases : ValueError
An error encountered while compiling a QuantumProgram.
source class WeightedDetuningWaveformError()
Bases : QuantumProgramCompilationError
An error encountered while compiling the waveform of a WeightedDetuning.
source 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. Additionaly, requires the clock period fo the device to round the duration.
Methods
-
convert — Convert a QoolQit waveform into a equivalent Pulser waveform.
source method WaveformConverter.convert(waveform: Waveform) → ParamObj | PulserWaveform
Convert a QoolQit waveform into a equivalent Pulser waveform.
source basic_compilation(register: Register, drive: Drive, device: Device, profile: CompilerProfile) → PulserSequence
Raises
-
ValueError
-
TypeError