qat.frontend.passes.analysis module

class InputAnalysis

Bases: AnalysisPass

Determines the language of the input circuit.

run(program, res_mgr, *args, **kwargs)
Parameters:
  • program (str) – A circuit (e.g. QASM or QIR) or the file path for a circuit.

  • res_mgr (ResultManager) – The results manager to save the analysis.

class InputAnalysisResult(language=Empty, raw_input=None)

Bases: ResultInfoMixin

language: Languages = 0
raw_input: Union[str, bytes] = None