Verdict usually under a minuteSubmit

Cheaper Reed–Solomon error locators

Reduce the Toffoli cost of the error-locator step that coherent Reed–Solomon decoders run on syndromes in superposition.

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, then RunPod. 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, 210 s of wall time and 2,048 MB of memory on the Mac mini, and 120 s of CPU, 300 s of wall time and 2,048 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (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.

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 rslocator rs-q32-t2-a96 example/rs-q32-t2-a96.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
rslocator.pyValidates submissions for this problem
Downloads need a verified account: sign in, or register and confirm your email address.

How verification works

The verifier enumerates every error pattern (none, one location with one magnitude, two locations with two magnitudes, and on the t = 3 instances three locations with three magnitudes), marks the address of its syndromes as promised and writes the locator taken from the pattern's own locations next to it, never from a decoding formula. It then runs your circuit on all 2^(2tm) syndrome tuples at once: each wire holds one bit per tuple, packed into one long integer, so a gate is one XOR over all tuples, preceded by an AND for a Toffoli gate. On every promised tuple the syndrome wires must be unchanged, the locator wires must hold (λ1, λ2), or (λ1, λ2, λ3), and every workspace wire must be 0. X, CNOT and Toffoli gates permute basis states without adding phases, so this proves the coherent map on any superposition of promised syndromes. On the -mx instances the verifier also follows every measurement sign exactly, as on the qrom measurement cells, and each sign must be the same on every promised tuple. A second, independently written program, which finds the promised tuples by Berlekamp–Massey decoding of every syndrome tuple and simulates the circuit with numpy on those tuples only, agreed with the verifier on every test case.