I am using stim and sinter to compute the logical error rate of a QEC code.
For the code I am testing, calling the function sinter.collect()
triggers the following error:
ValueError Traceback (most recent call last)
ValueError: Failed to decompose errors into graphlike components with at most two symptoms.
The error component that failed to decompose is 'D31, D34, D58, D82, D994'.
In Python, you can ignore this error by passing ignore_decomposition_failures=True
to stim.Circuit.detector_error_model(...)
.
From the command line, you can ignore this error by passing the flag --ignore_decomposition_failures
to stim analyze_errors
.
The function was called with arguments:
collected_qec_stats: List[sinter.TaskStats] = sinter.collect(
20 num_workers=4,
21 tasks=qec_tasks,
22 decoders=['pymatching'],
23 max_shots=100_000,
24 max_errors=100,
25 print_progress=True)
I was wondering if there is a way to enable the ignore_decomposition_failures
from sinter API. If not, would this be possible by extending sinter API?
(the latter question might be more suitable as an issue in stim's repo)
What are the implications of ignoring decomposition failures in the computation of the logical error rates?