loom.validator.debug_dataclass

Copyright (c) Entropica Labs Pte Ltd 2025.

Use, distribution and reproduction of this program in its source or compiled form is prohibited without the express written consent of Entropica Labs Pte Ltd.

class loom.validator.debug_dataclass.AllChecks(*args, **kwargs)[source]

Bases: object

Dataclass to store the results of all checks.

Parameters:
code_stabilizers: CodeStabilizerCheck
logical_operators: LogicalOperatorCheck
stabilizers_measured: StabilizerMeasurementCheck
class loom.validator.debug_dataclass.DebugData(*args, **kwargs)[source]

Bases: object

Dataclass to store the results of validator verification checks.

Parameters:
  • checks (AllChecks) – The results of all checks.

  • valid (bool) – True if all checks have passed, False otherwise.

checks: AllChecks
valid: bool = True