qat.backend.passes.legacy.validation module

class NCOFrequencyVariability

Bases: ValidationPass

run(ir, *args, **kwargs)
Parameters:

ir (InstructionBuilder) – The list of instructions stored in an InstructionBuilder.

class NoAcquireWeightsValidation

Bases: ValidationPass

Some target machines do not support Acquire instructions that contain weights. This pass can be used to validate that this is the case.

run(ir, *args, **kwargs)
Parameters:

ir (InstructionBuilder) – The list of instructions stored in an InstructionBuilder.

class NoAcquiresWithDifferentWeightsValidation

Bases: ValidationPass

Some target machines do not support multiple Acquire instructions with different filters on the same pulse channel. This validation pass should be used to verify this.

run(ir, *args, **kwargs)
class NoMultipleAcquiresValidation

Bases: ValidationPass

Some target machines do not support multiple Acquire instructions on the same channel. This validation pass should be used to verify this.

run(ir, *args, **kwargs)
Parameters:

ir (InstructionBuilder) – The list of instructions stored in an InstructionBuilder.