CyberIntel ⬡ News
★ Saved ◆ Cyber Reads
← Back ◌ Quantum Computing Jul 24, 2025

Reliability of distance returned by search_undetectable_logical_error when dont_explore_edges_increasing_symptom_degre is set to True

Quantum Computing SE Archived Apr 20, 2026 ✓ Full text saved

I'm using Stim's search_undetectable_logical_errors to compute the distance of quantum error correction circuits (specifically D7 and D9 Steane codes with flag qubits). To make the computation tractable for larger circuits, I'm using the optimization parameter dont_explore_edges_increasing_symptom_degree=True . Code snippet: def compute_distance(circuit: stim.Circuit) -> int: error_mechanism = circuit.search_for_undetectable_logical_errors( dont_explore_edges_increasing_symptom_degree=True, dont

Full text archived locally
✦ AI Summary · Claude Sonnet


    Reliability of distance returned by search_undetectable_logical_error when dont_explore_edges_increasing_symptom_degre is set to True Ask Question Asked 9 months ago Modified today Viewed 121 times 0 I'm using Stim's search_undetectable_logical_errors to compute the distance of quantum error correction circuits (specifically D7 and D9 Steane codes with flag qubits). To make the computation tractable for larger circuits, I'm using the optimization parameter dont_explore_edges_increasing_symptom_degree=True. Code snippet: def compute_distance(circuit: stim.Circuit) -> int: error_mechanism = circuit.search_for_undetectable_logical_errors( dont_explore_edges_increasing_symptom_degree=True, dont_explore_detection_event_sets_with_size_above=9999, dont_explore_edges_with_degree_above=9999, canonicalize_circuit_errors=True, ) # Process error_mechanism to extract minimum distance Context: Without this optimization, distance computation for D9 circuits is computationally intractable With this optimization, I consistently get distance=9 results for my D9 circuits This represents a significant speedup that makes systematic testing feasible My concern: Since this is for research purposes where rigor is essential, I need to understand: Does setting dont_explore_edges_increasing_symptom_degree=True potentially cause the search to miss some undetectable logical errors, leading to overestimated distance values? Specific questions: Could this optimization cause false positives where the reported distance is higher than the true minimum distance? Is a distance=9 result with this optimization a reliable lower bound on the true distance? What types of error patterns, if any, might be missed by this optimization? I understand this trades completeness for computational feasibility, but I want to ensure the results are still meaningful for research conclusions about code performance. error-correctionstim Share Improve this question Follow asked Jul 24, 2025 at 5:16 Michael 11 1 bronze badge Add a comment 1 Answer Sorted by: Highest score (default) Date modified (newest first) Date created (oldest first) 0 Does setting dont_explore_edges_increasing_symptom_degree=True potentially cause the search to miss some undetectable logical errors, leading to overestimated distance values? Yes. All of the arguments to that method truncate the search in ways that can fail to find the shortest error. If you want guarantees, I recommend using stim.Circuit.shortest_error_sat_problem and a solver that guarantees an optimal solution. You can also bypass the problem by not using the distance as an intermediate value. Fit the Monte Carlo sampled logical error rate against system size, instead of distance, because e.g. you definitely know the width and height of the patch of qubits you are using. Share Improve this answer Follow answered Jul 24, 2025 at 15:48 Craig Gidney 51.5k1 1 gold badge 53 53 silver badges 134 134 bronze badges Add a comment Your Answer Sign up or log in Sign up using Google Sign up using Email and Password Post as a guest Name Email Required, but never shown Post Your Answer By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy. Start asking to get answers Find the answer to your question by asking. Ask question Explore related questions error-correctionstim See similar questions with these tags. The Overflow Blog No country left behind with sovereign AI Related 3 when calculating code thresholds, why do we need to take a number of rounds that scales with the code distance? 1 stim match graph of circuit with distance 3 only has one node 0 Threshold value when simulating erasures with stim 0 Can stim calculate "circuit distance" 2 stim for the distance calculation for an arbitrary stabilizer code 3 How to enumerate all low-weight undetectable logical errors from a stim circuit? 3 Trouble understanding injection and cultivation stim circuits at low distance (d1=3) 5 How does circuit distance relate to fault-tolerance? Hot Network Questions How do believers in ontological randomness explain why the universe follows stable laws at all? RuleDelayed with Condition in Replace Thinking of quitting postdoc, how to pivot safely? Crucifixes with unabbreviated Hebrew (or Aramaic), Greek, Latin inscription (not just INRI)? HTTP 400 "Bad Request" - how may I diagnose this from server side? What facts are being cited for, or against, claims that Netanyahu influenced Trump to start the current war with Iran? на торренте (only used in computing?) How to install “oath-toolkit” on a MacBook Air (2017) running macOS Monterey (12.7.6)? An epimorphism of monoids does not increase cardinalities? Geometry of the gate in Siesta Transforming St Lucia 1955 to WGS 84 in QGIS Why do certain Chabad customs not align with Shulchan Aruch HaRav? Is the is/ought gap the same as an is/fitting gap? Arrow tips look wrong at the end of a plot What are "clowns" (as opposed to "fools") in Shakespeare? Doping option in transiesta Can the definition of a T1 space be simplified? Clarification on KVL and Polarity for PNP vs. NPN Thevenin Bias Circuits Are these valid quantum logic gates that can be interpreted as 'standard' logic gates? Is passing NULL valid when array parameter uses [static 0] in C99? Need help assessing a Carlon ceiling box Book where cadets are trapped in a building fending off "spine eels" while coping with stress through "demolition" Is the lack of a medium option in 5.5e Find Steed a balance issue? What did Stack snatch here? Question feed By continuing to use this website, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. By exiting this window, default cookies will be accepted. To reject cookies, select an option from below. Customize settings Cookie Consent Preference Center When you visit any of our websites, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences, or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and manage your preferences. Please note, blocking some types of cookies may impact your experience of the site and the services we are able to offer. Cookie Policy Accept all cookies Manage Consent Preferences Strictly Necessary Cookies Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Targeting Cookies Targeting Cookies These cookies are used to make advertising messages more relevant to you and may be set through our site by us or by our advertising partners. They may be used to build a profile of your interests and show you relevant advertising on our site or on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. Performance Cookies Performance Cookies These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance. Functional Cookies Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookie List Clear checkbox label label Apply Cancel Consent Leg.Interest checkbox label label checkbox label label checkbox label label Necessary cookies only Confirm My Choices
    💬 Team Notes
    Article Info
    Source
    Quantum Computing SE
    Category
    ◌ Quantum Computing
    Published
    Jul 24, 2025
    Archived
    Apr 20, 2026
    Full Text
    ✓ Saved locally
    Open Original ↗