Open
Description
A sinter.Task
with a specified postselection_mask
parameter compiles and runs successfully when input into sinter.collect
with stim==1.13.0
and sinter==1.13.0
. However, when both are updated to 1.14.0
, the following appears:
ValueError: predictions.shape[0] != num_shots
A relevant code snippet to help demonstrate this:
s_tasks = [
sinter.Task(circuit=this_circ, postselection_mask=bit_packed_array_for_this_circ_dets)
]
collected_stats: List[sinter.TaskStats] = sinter.collect(
num_workers=4,
tasks=s_tasks,
decoders=['pymatching'],
max_shots=100_000,
max_errors=100,
print_progress=True,
)
This issue may be due to changes made in #804 .
Metadata
Metadata
Assignees
Labels
No labels