Iceberg Beyond the Tip: Co-Compilation of a Quantum Error Detection Code and a Quantum Algorithm

Yuwei Jin, Zichang He, Tianyi Hao, David Amaro, Swamit Tannu, Ruslan Shaydulin, Marco PistoiaarXiv 2025 · DOI

Abstract: This paper presents a co-compilation pipeline that integrates the Iceberg quantum error detection (QED) code with the Quantum Approximate Optimization Algorithm (QAOA). By optimizing QED gadgets and algorithmic circuits simultaneously, the approach reduces circuit depth by up to 55%, enabling "beyond-break-even" performance on up to 34 algorithmic qubits on trapped-ion hardware. This represents a significant advancement in making near-term quantum computers useful for large-scale optimization tasks.

Addressing the "Memory Error" Bottleneck

Quantum computers are inherently noisy, necessitating Quantum Error Detection (QED) to achieve reliable results. QED involves encoding information into a larger number of physical qubits and discarding runs where an error is detected, a process known as post-selection. However, QED often introduces significant overhead. In trapped-ion systems, qubits that remain idle while others are operated upon accumulate "memory errors."

Figure 3: Illustration of idle regions in a quantum circuit where memory errors accumulate, highlighting the cost of QED overhead.

If the overhead of QED gadgets (extra gates and qubits) is too high, the protected circuit may perform worse than the original, unprotected one. The goal is to reach the "break-even" point, where the benefits of error detection finally outweigh the costs of the extra gates. This paper addresses this by minimizing the "space-time area" (qubits × depth) of the circuit.

Methods: The Co-Compilation Pipeline

The researchers focused on the $[[k+2, k, 2]]$ Iceberg code, optimized for the all-to-all connectivity of trapped-ion processors like the Quantinuum H2-1. Their core innovation is a co-compilation pipeline that treats error detection and algorithms as an integrated unit rather than separate blocks.

  1. Flexible Gadget Design: Highly parallel versions of Iceberg initialization and measurement gadgets were created to use fewer gates and less time.
  2. Gadget Resynthesis: Internal qubit ordering within QED gadgets was reordered "on the fly" to better align with the specific needs of the algorithm.
  3. Symmetry Exploitation: The $Z_2$ symmetry of the MaxCut problem was leveraged to implement the QAOA "mixer" layer more efficiently, halving its depth.
  4. Tree Search Optimization: A tree search algorithm was used to explore valid gate combinations, finding the shortest possible circuit depth while maintaining fault-tolerance properties.

Key Results and Scaling

The co-compilation approach yielded a major leap in hardware performance. For a 22-qubit QAOA instance, the success probability increased from 44% (baseline) to 65%. More importantly, the post-selection rate—the percentage of valid runs kept after error detection—jumped from 4% to 33%.

Figure 1: The proposed co-compilation pipeline vs. baseline, and the resulting improvements in success probability and post-selection rate.

The team demonstrated "better-than-unencoded" performance for up to 34 algorithmic qubits (using 38 physical qubits and 1,140 physical two-qubit gates). This significantly extends the previous state-of-the-art, which struggled beyond 20 qubits. Optimizations reduced circuit depth by up to 54.8% for regular graphs compared to standard Iceberg encoding.

Limitations and Future Outlook

While successful, the Iceberg code is a "distance-2" code, meaning it can detect one error but cannot correct it. At 38 qubits, the performance of the encoded circuit began to converge with the unencoded circuit, suggesting the limits of distance-2 codes on current hardware. Future work will need to explore distance-3 codes for error correction, though these will introduce much higher overhead. Additionally, more scalable optimization algorithms will be required as qubit counts grow toward the hundreds, as the current tree search is computationally expensive.

Summary updated

BibTeX
@misc{jin2025iceberg,
  author = {Yuwei Jin and Zichang He and Tianyi Hao and David Amaro and Swamit Tannu and Ruslan Shaydulin and Marco Pistoia},
  title = {{Iceberg Beyond the Tip: Co-Compilation of a Quantum Error Detection Code and a Quantum Algorithm}},
  year = {2025},
  eprint = {2504.21172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.21172},
}
Figure