Summary of findings

This package implements CliNR and its variant CZNR in Stim, and asks four questions of them by simulation. Each answer below is measured on the page it links to. Every rate is a logical error rate per run of the circuit, under circuit-level noise without idle noise. The paper’s rates are \(p_2 = 10^{-3}\) for two-qubit gates and \(p_2/10\) for every other operation, unless another \(p_2\) is named; the Forte-like rates are those of IonQ’s published figures for its Forte Enterprise system, as Uniform or restricted checks sets them out.

Which checks to draw

With room in the budget on the gate overhead, uniform checks win; when the budget binds, the paper’s restricted ones do. At an overhead of 4 and \(n = 25\) under the paper’s rates, the best uniform pair reaches 0.062 and the best restricted one 0.082, against 0.411 for the direct implementation; at an overhead of 2, restricted checks win from \(n = 15\) (Uniform or restricted checks).

What the bounds are worth

The bound on the direct implementation is nearly exact, while the bound on CliNR sits 1.4 to 25.8 times above the measured rate. For restricted checks the largest part of that is detection: the worst-case catch of one check is \(2/(3n)\), far below what drawn checks catch, a factor of 4.9 at \(n = 25\) (How tight the bounds are). So choosing by the bounds loses little with uniform checks, a regret of 1.37 at \(n = 25\), and a factor of 5.0 with restricted ones, for which the bounds never recommend CliNR (What the bounds cost).

When CliNR pays off

On random Clifford circuits under the paper’s rule, CliNR reproduces the shape of the paper’s Fig. 2 and Fig. 4 with larger gains. At matched circuit size the gain is 2.9 against the paper’s 2 at \(p_2 = 10^{-3}\), and 7.7 against its 4 at \(10^{-4}\). The reach of CliNR scales as Theorem 2 predicts once the budget forces several chunks, and nearly as \(1/p\) while one chunk fits. At Forte-like rates CliNR pays off only for circuits of about \(n^2\) gates or more on 10 to 15 qubits, at an overhead of 4, with a gain, the median over the circuits of a size, of at most 1.6 (When CliNR pays off).

CZNR on blocks of CZ gates

At the same parameters, CZNR’s bounds are below CliNR’s on every circuit of CZ gates, and so, averaged over the checks, is its logical error rate to first order (CZNR, for circuits of CZ gates); on complete graphs it stays ahead well past first order. At an overhead of 4 and \(p_2 = 10^{-4}\), CliNR’s rate with uniform checks is 1.13 to 1.72 times CZNR’s. CZNR reproduces the paper’s Fig. 7 at \(p_2 = 10^{-4}\), and at \(10^{-3}\) only between \(n = 15\) and \(25\), with \(|+\rangle\) prepared natively. At Forte-like rates it is the one scheme that pays off on these circuits, by a gain of up to 1.7 at a size, against at most 1.6 for CliNR on random Clifford circuits (When CZNR pays off).