Skip to content

Telemetry

TelemetryLogger detects Jupyter or a terminal and prints a per-step timeline of each compile.

from limbo_quantum import DistributedCompilerSDK, LocalSimulationProvider, TelemetryLogger

sdk = DistributedCompilerSDK(
    provider=LocalSimulationProvider(),
    num_qpus=2, max_capacity_per_qpu=4,
    telemetry=TelemetryLogger(),
)
sdk.compile(qc, shots=1024)
# Prints step durations, payload sizes and lint outcomes.

It's optional. Leave it out and the SDK is silent.