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

Method __init__

data/QEC/reference_code.py:106–108  ·  view source on GitHub ↗
(self, config: QECConfig)

Source from the content-addressed store, hash-verified

104 """Handles error detection in quantum circuits"""
105
106 def __init__(self, config: QECConfig):
107 self.config = config
108 self.syndrome_measurement = SyndromeMeasurement(config)
109
110 def detect_errors(self, circuit: QuantumCircuit) -> List[ErrorSyndrome]:
111 """Detect errors in the quantum circuit"""

Callers

nothing calls this directly

Calls 1

SyndromeMeasurementClass · 0.85

Tested by

no test coverage detected