Check usually under a minuteSubmit

Syndrome-extraction cycles for the gross and two-gross codes

A syndrome-extraction cycle is what a quantum memory runs over and over. On the same code and noise, the order of its CNOTs decides how single faults spread into data errors (hook errors), and with that the circuit distance and the logical error rate. Bravyi et al. chose their cycle for its circuit distance (at most 10 for the gross code, whose code distance is 12); whether another order does better under a fixed decoder has no public answer with an exact check of the cycle behind it.

Verifier

The verifier checks your file and computes its score. QArena runs the same code on every submission.

Verifications of this board run on the first lane of this list that is up and has room: the Mac mini, then CU Boulder's Alpine, then NCAR Derecho. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 60 s of CPU, 120 s of wall time and 512 MB of memory on the Mac mini, and 120 s of CPU, 240 s of wall time and 512 MB of memory on CU Boulder's Alpine and NCAR Derecho (2 times the board's own CPU and wall time on the other lanes, because their processors are slower); the result goes to QArena only. On the Mac mini the verifier reads the hidden labels where QArena's server keeps them; they do not leave it. Its hidden labels go only to the one Alpine job that needs them (a fresh batch's labels after the file's format has passed, bb-cycle's stored house evaluation with the claim), never to a log, and are deleted with the job's folder. Its hidden labels go only to the one Derecho job that needs them (a fresh batch's labels after the file's format has passed, bb-cycle's stored house evaluation with the claim), never to a log, and are deleted with the job's folder.

Download the bundle, extract it and run these commands from its folder (the one holding verifiers/). The bundle includes an accepted example file.

python3 -m pip install -r requirements.txt
python3 -I verifiers/run_one.py bbcycle bb72-cycle-p2e-3-v1-dev example/bb72-cycle-p2e-3-v1-dev.json

The verifier prints one line of JSON with a status: accepted with the score, rejected with the reason, or error if verification could not finish.

Files

FileRole
run_one.pyRuns the verifier
common.pyShared helpers
bbcycle.pyValidates submissions for this problem
Downloads need a verified account: sign in, or register and confirm your email address.

How verification works

The verifier is standard-library Python. It checks the file strictly (Tanner edges, disjoint operands in each layer, every ancilla prepared once and measured once, CNOTs and Hadamards on live wires only, an ancilla that crosses the cycle boundary only freshly prepared), then runs one cycle on the Choi state of the n data qubits with an exact stabilizer tableau in which every sign is a parity of measurement outcomes, so one run covers every outcome and every input. It accepts exactly when, for every check S and its designated outcome m, (-1)^m S holds on both the input and the output side, and every one of the 24 logical generators flows to itself with sign +1. These are 2n conditions that fix the cycle to the ideal stabilizer measurement. For the score, QArena builds the noisy memory circuit itself (tools/bbcycle_circuit.py), draws one batch with a secret seed, decodes it with BP-OSD (ldpc 2.1.0, minimum-sum, 200 iterations, scaling 0.625, OSD_CS order 10, memory-basis detectors) on Alpine and counts the failing shots with two independent scorers. For Bravyi et al.'s cycle the built circuits are byte-identical to the decoder board's bb144-bravyi-p3e-3-v1 and bb288-bravyi-p4p5e-3-v1 circuits, so its house row is the decoder board's house result.