Skip to content

tket_stats_extractor

TketStatsExtractor

Extract statistical information from tket circuits.

extract_stats_from staticmethod

extract_stats_from(program: Circuit) -> dict[str, int]

Extract stats from a tket circuit.

Parameters:

  • program (Circuit) –

    The circuit to analyze.

Returns:

  • dict[str, int]

    dict[str, int]: Statistical information about the circuit.