What is the fastest and most resource-efficient way to create an LUT decoder for a quantum error correction code using Stim (https://quantum-journal.org/papers/q-2021-07-06-497/)?
Specfically, I am running simulations of a steane QECC using several conditional loops (this was addressed in the question Simulating flag qubits and conditional branches using Stim).
Is there an efficient way to create the relevant LUTs as well using the TableauSimulator?