Papers
Topics
Authors
Recent
Search
2000 character limit reached

Polyestimate: Fast Logical Error Estimation

Updated 24 January 2026
  • Polyestimate is an open-source software tool that quickly estimates logical error rates in surface code quantum error correction systems using a precomputed simulation database.
  • It uses interpolation for small code distances and exponential extrapolation for larger distances, reducing computation times from hours to fractions of a second.
  • The tool supports both detailed stochastic and depolarizing error models, enabling hardware designers to effectively assess fault-tolerance feasibility in quantum systems.

Polyestimate is an open-source software tool designed to provide rapid, user-friendly estimates of logical error rates in the surface code, a leading quantum error-correcting code architecture. Unlike full-scale “Autotune” simulations that incorporate exhaustive details of hardware noise models at considerable computational expense, Polyestimate functions as a fast, lightweight alternative aimed at quantum hardware designers and theorists requiring immediate feedback on whether specific physical gate error rates and code distances will meet target logical error thresholds. By leveraging a precomputed database of Autotune results for key code distances and a principled interpolation and extrapolation scheme, Polyestimate circumvents the need for in-depth expertise in surface code protocols, providing reliable error estimates in a fraction of a second (Fowler, 2013).

1. Purpose and Scope

Polyestimate targets the practical challenge of mapping physical gate-level error rates—typically characterized by quantum hardware designers—onto logical error rates for surface codes of arbitrary distance, crucial in determining the feasibility of fault-tolerant quantum computation. The surface code’s practicality stems from its reliance only on a two-dimensional nearest-neighbor array of qubits, requiring gate error rates below roughly 1%. However, detailed Autotune simulations for evaluating logical error rates can demand hours or days per data point, making rapid design iteration impractical. Polyestimate addresses this by enabling essentially instantaneous logical error rate estimation without requiring surface code expertise or in-depth simulation, focusing on logical XX and ZZ failure probabilities for any code distance dd in under a second. It is principally intended for rapid, iterative exploration by quantum hardware development teams and theorists comparing code and hardware parameters (Fowler, 2013).

2. Supported Input Error Models

Polyestimate is constructed around the standard surface-code syndrome-measurement circuits, encompassing initialization (Init), Pauli-ZZ measurement (MZM_Z), Hadamard (HH), controlled-NOT (CNOT), and identity gates (with durations matched to the nontrivial gates). Input error models can be provided at varying levels of detail:

  • Detailed stochastic error models: The user can specify an explicit error probability for each outcome of each of eight gate types. For example, each CNOT can have a complete 15-parameter error specification, listing pIXp_{IX}, pIYp_{IY}, …, pZZp_{ZZ}.
  • Depolarizing error rates: Alternatively, a single depolarizing error probability per gate can be provided, with designated rates for each gate and matching identity gate durations: pInitp_\text{Init}, ZZ0, ZZ1, ZZ2, ZZ3, ZZ4, ZZ5, and ZZ6.

Irrespective of input specificity, Polyestimate reduces the full gate-level descriptions to three effective parameters per error type ZZ7:

  • ZZ8: Syndrome-qubit error per round,
  • ZZ9: Data-qubit identity error per round,
  • dd0: Two-qubit depolarizing error.

Single-qubit gate error contributions are mapped onto independent dd1 and dd2 error channels by dd3 and dd4.

3. Logical Error Rate Estimation Framework

Logical error rates in the surface code decrease exponentially with increasing code distance dd5 when physical gate error rates remain below the threshold (dd6–dd7). Polyestimate’s methodology is as follows:

  • For small dd8 (dd9), values of ZZ0 for ZZ1 are obtained by direct interpolation from the database over a grid in ZZ2, where ZZ3 and ZZ4, parameterizing a wide array of physical scenarios.
  • For ZZ5, the logical error rate is extrapolated exponentially:

    • For odd ZZ6:

    ZZ7

    with ZZ8 and ZZ9. - For even MZM_Z0:

    MZM_Z1

    with MZM_Z2 and MZM_Z3.

This approach obviates the need to recompute weight coefficients MZM_Z4 from the conventional expression MZM_Z5 for each new hardware scenario, dramatically simplifying the estimation process (Fowler, 2013).

4. Implementation and Computational Characteristics

Polyestimate’s implementation consists of a lightweight C++ core with an optional Python interface. Upon initialization, it loads a compact database containing precomputed Autotune simulation results spanning relevant error parameter regimes and code distances (MZM_Z6). The core estimation algorithms execute:

  • Reduction of arbitrary gate errors to the effective MZM_Z7 and MZM_Z8 descriptors.
  • Linear interpolation in three-dimensional MZM_Z9 space for database-backed code distances.
  • Exponential extrapolation as described above for any HH0.

Performance benchmarks indicate that a typical estimation query—encompassing database load, parameter reduction, and logical error lookup or extrapolation—executes in approximately HH1 seconds on a conventional laptop. For comparison, a single Autotune simulation at HH2 can require hundreds of CPU-hours, demonstrating the significant computational advantage of Polyestimate for quick design exploration. The tool is engineered for both command-line and API-driven workflows, with dedicated constructs for specifying depolarizing rates and obtaining logical HH3 and HH4 error rates for arbitrary code distances.

Feature Polyestimate Full Autotune Simulation
Underlying Method Interpolation + Exponential Full circuit-level simulation
Supported Distances (fast) HH5–HH6 (direct); HH7 (extrapolated) Arbitrary (with time cost)
Time per Query HH8 Hours to days

5. Example Workflows

Users may interact with Polyestimate through straightforward interfaces:

  • Command-line usage:

pIXp_{IX}8 This workflow produces estimates for logical error rates at the specified code distance, given gate-wise depolarizing rates.

  • C++-style API usage:

pIXp_{IX}9

These interfaces are designed such that users need not be experts in surface code elaborations, facilitating rapid evaluation in hardware optimization cycles.

6. Limitations and Underlying Assumptions

Polyestimate presumes two-dimensional nearest-neighbor qubit connectivity and employs minimum-weight perfect matching for error correction, treating HH9 and pIXp_{IX}0 error chains independently and neglecting pIXp_{IX}1-correlated errors. This simplification is generally appropriate for standard hardware noise profiles but may introduce inaccuracies when error correlations are significant or when input CNOT error models are highly asymmetric (e.g., pIXp_{IX}2). In such cases, Polyestimate’s forced balancing of error rates can overestimate logical errors, and full Autotune simulations or analytic asymptotic methods may be required.

Additionally, the precomputed Polyestimate database covers two-qubit depolarizing error rates pIXp_{IX}3 in the range pIXp_{IX}4 to pIXp_{IX}5; estimate fidelity outside this region would necessitate supplementing the database with further simulations. In practice, Polyestimate achieves logical error rate estimates within pIXp_{IX}6 of full Autotune results across diverse error profiles, including instances with pIXp_{IX}7 measurement error rates. This trade-off between speed and accuracy positions Polyestimate primarily as a tool for early-stage quantum hardware assessment and iterative architectural design (Fowler, 2013).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Polyestimate.