Instructions to use nvidia/Ising-Decoder-SurfaceCode-Experimental-Ultra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Ising Decoding
How to use nvidia/Ising-Decoder-SurfaceCode-Experimental-Ultra with Ising Decoding:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Ising-Decoder-SurfaceCode-Experimental-Ultra Overview
Ising-Decoder-SurfaceCode-Experimental-Ultra Overview
Logical error rate per shot versus code distance at p = 0.004 (average of X and Z bases, n_rounds = d). At d = 19 the model with PyMatching has a 23x lower logical error rate than PyMatching alone and a 1.4x lower rate than PyMatching with correlated matching alone (dashed line). The values are in the Benchmark Score table below.
Description:
Ising-Decoder-SurfaceCode-Experimental-Ultra predicts local space-time corrections for rotated surface-code quantum error correction syndromes, sparsifying the syndrome that a standard global decoder (PyMatching) then decodes. Combined with PyMatching it reduces the logical error rate by 4.9x to 6.6x at distance 9, 7.5x to 12x at distance 11 and 11x to 26x at distance 13 (physical error rates p = 0.002 to 0.004) compared with PyMatching alone, where PyMatching is used without correlated matching. At distances 15 to 19 (p = 0.004 to 0.006) the reduction is 8x to 23x. PyMatching with correlated matching alone is a stronger baseline; against it the reduction is 1.3x to 1.7x at distances 7 and 9, 1.8x to 2.7x at distances 11 to 17 and 1.4x to 1.7x at distance 19. It is the high-accuracy counterpart of Ising-Decoder-SurfaceCode-1-Accurate: a larger residual architecture (25.4M parameters) with 3x to 12x lower logical error rate at distances 9 to 13 (p = 0.003).
Ising-Decoder-SurfaceCode-Experimental-Ultra was developed by NVIDIA as a part of NVIDIA Ising.
This model is ready for commercial or non-commercial use.
Publication
This model accompanies the paper:
Christopher Chamberland, Jan Olle, Muyuan Li, Scott Thornton, Igor Baratta, "Fast and accurate AI-based pre-decoders for surface codes" arXiv:2604.12841, 2026. doi:10.48550/arXiv.2604.12841
The results in the paper were obtained with a separately trained model of the same architecture and training configuration, so its numbers differ slightly from the ones in this card.
Please cite the paper if you use this model in research or published work.
License/Terms of Use:
GOVERNING DOWNLOAD TERMS: Use of the model is governed by the OpenMDW License Agreement, version 1.1.
The code that trains and runs the model is licensed separately, under the Apache License 2.0, in the NVIDIA Ising-Decoding repository; the weights are not distributed with that repository.
Deployment Geography:
Global
Use Case:
Quantum computing researchers and engineers building rotated surface-code QEC systems who need the lowest logical error rate from a neural pre-decoder running in front of a standard global decoder (e.g., MWPM/PyMatching). Intended for the noise model and code distances described in Scope of Validity; other settings require retraining.
[Expected] Release Date:
HuggingFace 12/01/2026 via https://huggingface.co/nvidia/Ising-Decoder-SurfaceCode-Experimental-Ultra
Scope of Validity and Known Limitations
Noise model. This checkpoint was trained on a single synthetic noise distribution: circuit-level noise at p ≈ 6×10⁻³ on a rotated surface-code memory circuit (see Training Dataset). The reported logical error rate reductions hold only for syndromes drawn from that distribution. Like all learned decoders, it does not transfer to a different noise model or circuit layout, including real device data. For any other noise model, train or fine-tune your own checkpoint with the open training pipeline at https://github.com/NVIDIA/Ising-Decoding; Section V of the paper (arXiv:2604.12841, "Noise learning architecture from syndrome statistics") shows how to fit an effective noise model to hardware syndromes and train on it.
Code distance. The network was trained at d = T = 19 and evaluated at d ∈ {5, 7, 9, 11, 13, 15, 17, 19} with T = d (the architecture is fully convolutional, so d and T may differ from the training values). The improvement over the baseline grows with code distance; at d = 5 it equals the smaller Ising-Decoder-SurfaceCode-1-Accurate model. At d = 15, 17 and 19 the reduction was measured at p = 0.004 to 0.006 (8x to 23x over PyMatching, 4x to 14x over Ising-Decoder-SurfaceCode-1-Accurate).
Baseline. All reductions in this card are measured against PyMatching without correlated matching, and the same PyMatching decodes the output of the model. PyMatching with correlated matching alone is a stronger baseline. Against it the logical error rate of this model with PyMatching is 1.1x to 1.2x lower at d = 5, 1.3x to 1.7x lower at d = 7 and 9, 1.8x to 2.7x lower at d = 11 to 17 and 1.4x to 1.7x lower at d = 19 (column "Gain vs correlated PyMatching" in the evaluation table). The advantage does not keep growing with distance: at p = 0.004 it is 2.1x at d = 13, 2.0x at d = 17 and 1.4x at d = 19, and it has not been measured beyond d = 19. Decoding the output of the model with correlated PyMatching gives the same logical error rate: the ratio to the result with uncorrelated PyMatching is 0.99 to 1.02 at every evaluated point except d = 19, p = 0.004, where it is 1.04 ± 0.02.
Hardware. The model is designed for NVIDIA GPUs. It runs on CPU through PyTorch, but CPU latency is orders of magnitude higher and is not representative of the decoder. Model inference latency (pre-decoder forward pass only, single shot, batch size 1, TensorRT on one NVIDIA GB200 GPU, n_rounds = d): 0.63 ms at d = 9, 0.71 ms at d = 13 and 1.21 ms at d = 19 with 32-bit floating point (fp32) weights (55 to 70 microseconds per round), and 0.39, 0.46 and 0.75 ms with a 16-bit floating point (fp16) engine built from the fp32 weights (35 to 43 microseconds per round). The global decoder is not included.
Reference(s):
NVIDIA Ising-Decoding
PyMatching
Ising-Decoder-SurfaceCode-1-Accurate
Fast and accurate AI-based pre-decoders for surface codes
Model Architecture:
Architecture Type: Convolution Neural Network (CNN)
Network Architecture: Other: Custom 3D CNN (bottleneck residual cascade of same-padded 3D convolutions, predecoder_memory_cascade)
This model was developed based on Not Applicable (N/A).
Number of model parameters: 25.4M (2.54*10^7)
Layers: The network is a bottleneck residual cascade of same-padded 3D convolutions (padding = kernel_size // 2), so the spatial and temporal dimensions are preserved through every layer. A plain 3D-convolution stem lifts the 4 input channels to an embedding width of 1024; a cascade of 11 residual bottleneck blocks (bottleneck ratio 4, i.e. a 256-wide inner projection) then operates at that width, and a final 1×1×1 convolution head projects back to 4 output channels. Each residual bottleneck block applies a pre-activation BatchNorm3d → SiLU pair before each of its three convolutions (the 1×1×1 reduce, the 3×3×3 message-passing, and the 1×1×1 restore). This is a different architecture from Ising-Decoder-SurfaceCode-1-Accurate, which is a plain sequential stack of six 3D convolutions.
Activation: SiLU. The predecoder_memory_cascade architecture uses SiLU internally; the training-time activation and dropout_p config fields are inert for this model.
Parameter count:
- SurfaceCode-Experimental-Ultra (this checkpoint): 25,397,764 parameters
Receptive field: R = 25 (12 stacked 3×3×3 convolution stages).
Precision: Trained with bfloat16 (bf16) automatic mixed precision; master weights are 32-bit floating point (fp32). Release precision: fp32 weights (SafeTensors). In our checks 16-bit floating point (fp16) and bf16 inference give the same logical error rate as fp32 within statistics (d = 9, p = 0.004: 2021 / 2042 / 2013 errors in 2,097,152 shots for fp32 / fp16 / bf16). Sixteen BatchNorm running-variance values exceed the fp16 range, so a plain fp16 copy of the weights is not recommended; TensorRT fp16 engines built from the fp32 weights are not affected.
Input:
Input Type(s): Other: Quantum error correction syndrome tensor
Input Format(s): Other: Tensor
Input Parameters: Other: N-Dimensional (ND)
Other Properties Related to Input: The input is a 5D tensor of shape (B, 4, T, D, D) representing batch, 4 syndrome channels (X- and Z-basis detector outcomes and geometric weights), time rounds, and distance squared qubit grid. Each element is binary {0,1} indicating syndrome presence, stored as float32 and cast to checkpoint precision internally. The network is fully convolutional, accepting variable D and T, validated for distances 5–19 with T=d, and requires syndromes from a circuit-level Pauli channel matching the training distribution.
Output:
Output Type(s): Other: Quantum error correction prediction tensor (correction logits)
Output Format: Other: Tensor
Output Parameters: Other: N-Dimensional (ND)
Other Properties Related to Output: The output is a 5D tensor of shape (B, 4, T, D, D) matching the input shape, with 4 correction channels predicting X-frame and Z-frame spacelike corrections per qubit site and round, plus X and Z timelike stabilizer flips. The dtype consists of logits (not binary), requiring thresholding or downstream decoding by a global decoder such as PyMatching to produce the final logical decision.
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
Software Integration:
Runtime Engine(s): Not Applicable (N/A)
Supported Hardware Microarchitecture Compatibility:
- NVIDIA Ampere
- NVIDIA Blackwell
- NVIDIA Hopper
- NVIDIA Lovelace
- NVIDIA Turing
- NVIDIA Volta
Supported Operating System(s): Linux
The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
Model Version(s):
1.0
Integration: Runs in PyTorch through the open NVIDIA Ising-Decoding repository (https://github.com/NVIDIA/Ising-Decoding): load the checkpoint, feed the (B, 4, T, D, D) syndrome tensor, and pass the model output to a global decoder such as PyMatching.
Training, Testing, and Evaluation Datasets:
Training Dataset:
Data Modality: Other: Synthetic quantum error correction syndrome data
Other Training Data Size: Other: 1 Billion to 10 Billion samples (about 3.36×10⁹ synthetic syndrome samples, generated on the fly and not stored)
Data Collection Method by dataset: Synthetic
Labeling Method by dataset: Synthetic
Properties (Quantity, Dataset Descriptions, Sensor(s)): Data count: about 3.36×10⁹ samples (8,388,608 per epoch × 400 epochs). Modality: binary syndrome tensors of rotated surface-code memory circuits (no text, image, audio or video). Nature of content: synthetic circuit-level syndrome data, generated by simulation on the fly during training and destroyed after use, so no persistent dataset exists; the labels come from the same simulation. Linguistic characteristics: Not Applicable (non-linguistic data). No sensors and no personal data are involved.
Training Configuration:
- Objective: predict the physical space-time correction that sparsifies the input syndrome for rotated surface-code memory circuits.
- Training distribution: rotated surface code, distance d = 19, n_rounds = 19, both measurement bases, orientation O1; circuit-level noise at p ≈ 6×10⁻³ (p ∈ [0.00599, 0.00601]); no timelike hyper-edges.
- Optimizer: Lion — learning rate 1×10⁻⁵, weight decay 1×10⁻⁷, β₂ = 0.99.
- Learning-rate (LR) schedule: warmup-then-decay — 100 warmup steps, decay milestones at [0.25, 0.5, 1.0] of the run, γ = 0.7, minimum LR 1×10⁻⁶.
- Batch schedule: per-rank batch ramps 32 → 128 over the first epoch; 16 GPUs with gradient accumulation ×4 → effective global batch 8,192.
- Epochs / samples: 400 epochs × 8,388,608 samples per epoch ≈ 3.36×10⁹ samples total (generated on-the-fly).
- Validation: loss validation every epoch (65,536 samples); logical-error-rate validation at d = 9, n_rounds = 9, p = 0.004 (1,048,576 shots).
- Precision / compilation: bf16 automatic mixed precision; TensorFloat-32 (TF32) enabled;
torch.compileenabled; synchronized BatchNorm across GPUs. - Infrastructure: 16× NVIDIA GB200 (4 nodes × 4), multi-node Distributed Data Parallel (DDP); container
nvcr.io/nvidia/pytorch:26.04-py3.
Testing Dataset:
Data Collection Method by dataset: Synthetic
Labeling Method by dataset: Synthetic
Properties (Quantity, Dataset Descriptions, Sensor(s)): Data count: 65,536 samples per epoch for loss validation and 1,048,576 shots for logical-error-rate validation at d = 9, n_rounds = 9, p = 0.004. Modality: binary syndrome tensors of rotated surface-code memory circuits. Nature of content: synthetic, generated by the same simulation as the training data and not stored. Linguistic characteristics: Not Applicable (non-linguistic data).
Evaluation Dataset:
Data Collection Method by dataset: Synthetic
Labeling Method by dataset: Synthetic
Properties (Quantity, Dataset Descriptions, Sensor(s)): Data count: 1,048,576 shots per basis per point, and more at the lowest error rates: 4,194,304 for d = 9, p = 0.002, for d = 11, p = 0.003, for d = 13, p = 0.004 and for d = 15, p = 0.004; 8,388,608 for d = 17, p = 0.004; 10,485,760 for d = 11, p = 0.002 and for d = 13, p = 0.003; 16,777,216 for d = 19, p = 0.004; 31,457,280 for d = 13, p = 0.002. Modality: binary syndrome tensors with the logical observable of each shot. Nature of content: synthetic circuit-level syndrome data from rotated surface-code memory simulations (Stim), generated for the evaluation and not stored. Linguistic characteristics: Not Applicable (non-linguistic data).
Benchmark Score: d=5 p=0.003: Gain vs PyMatching=1.8x, d=9 p=0.003: Gain vs PyMatching=5.5x, d=11 p=0.003: Gain vs PyMatching=10x, d=13 p=0.003: Gain vs PyMatching=16x, d=19 p=0.004: Gain vs PyMatching=23x, d=13 p=0.003: Gain vs correlated PyMatching=2.2x, d=19 p=0.004: Gain vs correlated PyMatching=1.4x
| d | p | PyMatching alone | Correlated PyMatching alone | SurfaceCode-1-Accurate + PyMatching | Ultra + PyMatching | Gain vs PyMatching | Gain vs correlated PyMatching | Ultra vs Accurate |
|---|---|---|---|---|---|---|---|---|
| 5 | 0.002 | 1.49e-3 | 9.08e-4 | 8.17e-4 | 7.71e-4 | 1.9x | 1.2x | 1.06x |
| 5 | 0.003 | 4.72e-3 | 3.05e-3 | 2.79e-3 | 2.56e-3 | 1.8x | 1.2x | 1.09x |
| 5 | 0.004 | 1.03e-2 | 6.92e-3 | 6.62e-3 | 5.95e-3 | 1.7x | 1.2x | 1.11x |
| 5 | 0.005 | 1.88e-2 | 1.31e-2 | 1.26e-2 | 1.15e-2 | 1.6x | 1.1x | 1.10x |
| 7 | 0.002 | 5.06e-4 | 2.00e-4 | 2.36e-4 | 1.27e-4 | 4.0x | 1.6x | 1.85x |
| 7 | 0.003 | 2.50e-3 | 1.08e-3 | 1.23e-3 | 7.74e-4 | 3.2x | 1.4x | 1.59x |
| 7 | 0.004 | 7.24e-3 | 3.58e-3 | 3.92e-3 | 2.59e-3 | 2.8x | 1.4x | 1.51x |
| 7 | 0.005 | 1.62e-2 | 8.63e-3 | 9.41e-3 | 6.41e-3 | 2.5x | 1.3x | 1.47x |
| 9 | 0.002 | 1.55e-4 | 3.65e-5 | 8.96e-5 | 2.36e-5 | 6.6x | 1.5x | 3.8x |
| 9 | 0.003 | 1.16e-3 | 3.67e-4 | 6.51e-4 | 2.13e-4 | 5.5x | 1.7x | 3.1x |
| 9 | 0.004 | 4.58e-3 | 1.58e-3 | 2.52e-3 | 9.30e-4 | 4.9x | 1.7x | 2.7x |
| 9 | 0.005 | 1.24e-2 | 5.12e-3 | 7.27e-3 | 3.16e-3 | 3.9x | 1.6x | 2.3x |
| 11 | 0.002 | 4.56e-5 | 7.58e-6 | 3.43e-5 | 3.81e-6 | 12x | 2.0x | 9.0x |
| 11 | 0.003 | 5.18e-4 | 1.05e-4 | 3.23e-4 | 5.02e-5 | 10x | 2.1x | 6.4x |
| 11 | 0.004 | 2.66e-3 | 6.66e-4 | 1.61e-3 | 3.56e-4 | 7.5x | 1.9x | 4.5x |
| 11 | 0.005 | 9.27e-3 | 2.91e-3 | 5.46e-3 | 1.59e-3 | 5.8x | 1.8x | 3.4x |
| 13 | 0.002 | 1.22e-5 | 1.27e-6 | 1.10e-5 | 4.77e-7 | 26x | 2.7x | 23x |
| 13 | 0.003 | 2.10e-4 | 2.86e-5 | 1.58e-4 | 1.33e-5 | 16x | 2.2x | 12x |
| 13 | 0.004 | 1.57e-3 | 2.91e-4 | 9.45e-4 | 1.41e-4 | 11x | 2.1x | 6.7x |
| 13 | 0.005 | 6.79e-3 | 1.57e-3 | 3.86e-3 | 7.84e-4 | 8.7x | 2.0x | 4.9x |
| 15 | 0.004 | 8.77e-4 | 1.10e-4 | 5.44e-4 | 5.34e-5 | 16x | 2.1x | 10x |
| 15 | 0.005 | 5.00e-3 | 8.75e-4 | 2.67e-3 | 4.35e-4 | 11x | 2.0x | 6.1x |
| 15 | 0.006 | 1.82e-2 | 4.34e-3 | 9.88e-3 | 2.22e-3 | 8.2x | 2.0x | 4.5x |
| 17 | 0.004 | 4.91e-4 | 4.69e-5 | 2.80e-4 | 2.31e-5 | 21x | 2.0x | 12x |
| 17 | 0.005 | 3.50e-3 | 4.68e-4 | 1.79e-3 | 2.46e-4 | 14x | 1.9x | 7.3x |
| 17 | 0.006 | 1.57e-2 | 2.98e-3 | 8.06e-3 | 1.60e-3 | 9.8x | 1.9x | 5.0x |
| 19 | 0.004 | 2.74e-4 | 1.73e-5 | 1.62e-4 | 1.20e-5 | 23x | 1.4x | 14x |
| 19 | 0.005 | 2.51e-3 | 2.27e-4 | 1.18e-3 | 1.53e-4 | 16x | 1.5x | 7.7x |
| 19 | 0.006 | 1.34e-2 | 2.01e-3 | 6.44e-3 | 1.19e-3 | 11x | 1.7x | 5.4x |
Logical error rate per shot (n_rounds = d), average of X and Z bases. The baseline and the decoder that follows the pre-decoder are PyMatching without correlated matching; PyMatching with correlated matching alone is a stronger baseline (see Scope of Validity). The columns "PyMatching alone", "Correlated PyMatching alone" and "Ultra + PyMatching" come from one evaluation in which all decoders decode the same shots, so the two gain columns are ratios taken on identical data. "Gain vs PyMatching" and "Gain vs correlated PyMatching" are the ratios of those two baseline columns to the Ultra + PyMatching column. The "SurfaceCode-1-Accurate + PyMatching" column was measured separately on the same circuits with 1,048,576 to 10,485,760 shots per basis; "Ultra vs Accurate" is the ratio of that column to the Ultra + PyMatching column.
Statistical uncertainty: the point with the fewest events is d = 13, p = 0.002, with 30 Ultra + PyMatching events over both bases (±18% on the rate; gain vs correlated PyMatching 2.7 ± 0.4). d = 11, p = 0.002 has 80 events (gain vs correlated PyMatching 2.0 ± 0.2); every other point has at least 198. At d = 13, p = 0.003 the gain vs correlated PyMatching is 2.16 ± 0.12 (278 events), and at d = 19, p = 0.004 it is 1.44 ± 0.08 (402 events). The d = 15 to 19 rows cover p = 0.004 to 0.006 because lower error rates need more shots at these distances. Earlier evaluations of the same checkpoint on independent shots agree with these values within statistics. End-to-end runtime versus LER has not been measured for this checkpoint.
Inference:
Acceleration Engine: PyTorch, TensorRT
Test Hardware: NVIDIA Blackwell GB200
Hardware Requirements (GPU Architecture, Model): NVIDIA GPU, CUDA-capable (compute capability >= 7.0). Trained and evaluated on NVIDIA GB200 (Grace-Blackwell).
Ethical Considerations:
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
For more detailed information on ethical considerations for this model, please see the Bias, Explainability, Safety & Security, and Privacy Subcards.
Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns here.
Generated by NVIDIA Model Card Generator Toolkit.
- Downloads last month
- -