Find efficient CSS codes
Balance capacity, distance, and size across different hardware constraints.
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: 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 4,000 s of CPU, 14,400 s of wall time and 2,048 MB of memory on CU Boulder's Alpine and NCAR Derecho (2 times the board's own CPU and wall time, because their processors are slower); the result goes to QArena only. Certificate checks and sampler runs too large for the verification job itself run on QArena's Linux cluster runner.
Download the bundle, extract it and run these commands from its folder (the one holding verifiers/). The bundle
includes an accepted example file.
python3 -I verifiers/run_one.py qcells bilayer-w6 example/bilayer-w6.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
| File | Role |
|---|---|
| run_one.py | Runs the verifier |
| common.py | Shared helpers |
| qcells.py | Validates submissions for this problem |
| qldpc.py | Distance search shared with qldpc |
| disttier.py | Validates submissions for this problem |
| distsampler.py | Validates submissions for this problem |
| cnfgen.py | Validates submissions for this problem |
How verification works
The verifier checks the format and the caps, then reads the cells the code belongs to from the submitted checks themselves, without row reduction: w is the largest check weight; the layout must hold at most one qubit (two with two layers) on a point and keep distinct points at least 1 apart, and every check's largest distance between two of its qubits must be at most 4 (single layer) or 7 (two layers). All distances are compared exactly as integers over the common denominator. A code outside the cell it was submitted to is rejected, and the report lists the cells it qualifies for. The verifier then checks that X and Z checks commute, computes k exactly over GF(2), checks that the submitted operator has weight d, commutes with every check of the other type and is not a product of checks of its own type, and looks for a lighter X or Z logical operator with the exhaustive search of the qLDPC boards (each weight from 1 to the smaller of d − 1 and 10, then d − 1 once if it is larger), which proves that none exists when it finishes. The search may use 2²⁶ nodes. Each row carries one proof label. Exact: the lower bound L proved by QArena equals the claimed distance, because the search finished within its work budget of search nodes and bound steps (the same on every machine and larger on an exact request), a submitted LRAT certificate was checked by cake_lpr, or the automatic SAT proof was (CaDiCaL 3.0.1, a budget of 20,000,000 conflicts, a binary LRAT proof checked by cake_lpr). Interval [L, U]: L comes from the search levels that finished and U is the weight of the checked logical operator. Upper bound [1, U]: only the checked logical operator. The shortening sampler runs after the search and the SAT proof and adds a note, "the sampler found no lighter logical in N trials; this is evidence, not a proof" (a false distance passes with probability at most 1 in 10,000 per attempt, and rows the sampler passed are rerun with fresh seeds); the pass keeps a row that is not Exact on the main leaderboard (All ranked rows), where its efficiency is an upper bound until its distance is proved, and a row with neither is listed as unranked with its label. The record on the problem's card counts Exact rows only; a better row the sampler passed ranks on All ranked rows and is shown beside the result to beat on the hot cell as provisional, with its label. A second leaderboard, Exact only, ranks Exact rows alone, and anyone can refute a row with a lighter logical operator. A second checker, written separately (brute force over supports, enumeration of the kernel or a meet-in-the-middle search, never the search above), agreed with the verifier on all 159,342 test cases it could decide.