qat.engines.zero module

class ZeroEngine

Bases: NativeEngine

An engine primarily used for testing that simply returns zero readout.

The engine is designed to be applicable to all programs. It just populates the readout data for each output variable with zeros.

execute(program, **kwargs)

Execute an AbstractProgram, returning zeros for all readouts.

Parameters:

package – The compiled executable containing acquisitions.

Return type:

dict[str, ndarray]

Returns:

The zero readout results.