1

I created some Stim circuits to do circuit-level noise simulations of some Hyperbolic surface codes, and I was able to recover the thresholds in the literature. The detector error model is good at reporting whether if a logical variable is flipped or not. Does stim/pymathcing have native capabilities in actually outputting the decoded and predicted locations of errors over the $d$ rounds of syndrome extractions?

Thanks!

  • Hi and welcome to Quantum Computing SE. What do you mean by And I was able to recover the thresholds in the literature? – Martin Vesely Apr 12 '24 at 15:56
  • 1
    Hi, I was able to compute the logical error rate vs physical error rate plots and compared them to existing literature. The threshold values looks decent and similar to what's in the literature. –  Apr 13 '24 at 15:18

1 Answers1

1

stim.Circuit.explain_detector_error_model_errors can tell you which single circuit errors cause a given set of detection events.

stim.FlipSimulator(disable_stabilizer_randomization=True) allows you to peek at which qubits are bit flipped and/or phase flipped at each step.

Beware relying on information or behaviors that simulators expose for convenience, but that you can't get from real hardware. Peeking at the Pauli frame every step is useful for debugging, but at a fundamental level any code you write that uses this ability can't ever work on real experiments.

Craig Gidney
  • 44,299
  • 1
  • 41
  • 116