Open peter-janderks opened 2 months ago
It's very plausible that the ordering chosen by the circuit is reducing the distance. I wrote that circuit before I really understood the details of making these circuits, and before I'd worked on color codes, so it's weird in several ways. I'm open to fixing the code distance, but in general I'm not open to making the circuit generation "perfect".
In general, stim's circuit generation is not intended to make amazing circuits that people will want to use forever. That's impossible, because realistically everyone wants something slightly different in their circuits. The circuit generation is designed to make getting-started circuits that can be used as examples, before people move on to making their own thing.
@lucasberent and I are trying to benchmark a decoder using the circuit "color_code:memory_xyz"
If I run
The output is
2
For distance5
I getlen(error_mechanisms)=3
Is this expected behaviour? For the built-in surface code circuits I do get
len(error_mechanisms) = d