deltakit.decode.ACDecoder.decode_batch_to_full_correction#
- ACDecoder.decode_batch_to_full_correction(syndrome_batch: ndarray[tuple[Any, ...], dtype[uint8]]) ndarray[tuple[Any, ...], dtype[uint8]]#
Decodes a batch of syndrome bitstrings to full correction.
- Parameters:
syndrome_batch (np.ndarray) – Syndrome to decode. 2D Array of shape (number of shots, number of syndromes). Each element is a 1 or 0.
- Returns:
2D Array indicating full corrections of shape (number of shots, number of edges). Each element is a 1 or 0.
- Return type:
np.ndarray