qat.experimental.dialect.pulse.units module

This module provides utilities for representing units of numeric values in the pulse IR, and converting them into the expected literal values.

class FrequencyUnits(value)

Bases: _StrEnum

Enumeration of frequency units in the pulse dialect.

GIGAHERTZ = 'GHz'
HERTZ = 'Hz'
KILOHERTZ = 'kHz'
MEGAHERTZ = 'MHz'
class TimeUnits(value)

Bases: _StrEnum

Enumeration of time units in the pulse dialect.

MICROSECOND = 'us'
MILLISECOND = 'ms'
NANOSECOND = 'ns'
SECOND = 's'