I'm reading the paper of Google's neural network decoder for surface code, and I'm confused about how to generate the measurement results for pre-training dataset.
If I understand it correctly, the dataset for pre-training stage was drawn from detector error models derived from correlation analysis of even subsets of experimental data. However, we can only sample the detection events instead of the raw measurements given the DEM, and the map between the detection events and measurements is not a bijection obviously. While the pre-training stage leveraged both the measurements and detection events, how was the measurements generated properly from the DEMs?
EDITED:
I realized that they did not use the measurements of data qubits at the final round in the model to avoid leaking labels. Given the initial state, then the map between the measurements and dets is truly a bijection.