MCPcopy Create free account
hub / github.com/GitsSaikat/PyGen / QECConfig

Class QECConfig

data/QEC/reference_code.py:24–29  ·  view source on GitHub ↗

Configuration for quantum error correction

Source from the content-addressed store, hash-verified

22
23@dataclass
24class QECConfig:
25 """Configuration for quantum error correction"""
26 code_distance: int = 3 # Distance of the quantum error correction code
27 physical_error_rate: float = 0.001 # Physical qubit error rate
28 measurement_error_rate: float = 0.01 # Measurement error rate
29 max_iterations: int = 100 # Maximum iterations for syndrome decoding
30
31@dataclass
32class ErrorSyndrome:

Callers 2

__init__Method · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected