Verdict usually under a minuteSubmit

Decode logical circuits more accurately

Track errors across code patches linked by transversal CNOTs.

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 15 s of CPU, 60 s of wall time and 512 MB of memory on the Mac mini, and 30 s of CPU, 120 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 -I verifiers/run_one.py logicdec cnot2-surface7-p9p6e-4-v1-dev example/cnot2-surface7-p9p6e-4-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.

Ranked instances keep their labels on the QArena server, so the bundle cannot score a ranked file: run_one.py answers error with the reason hidden key unavailable. Check a ranked file's format first with python3 -I verifiers/logicdec_format.py <instance> my_file.json, which prints {"format_valid": true, "score_available": false} or the reason it is invalid. Practice instances ("practice set, answers public"; names ending in -dev) include their labels and are scored exactly, as in the command above.

Files

FileRole
run_one.pyRuns the verifier
common.pyShared helpers
logicdec.pyValidates submissions for this problem
decoder.pyScorer of the decoder board, used unchanged
decoder_format.pyScorer of the decoder board, used unchanged
logicdec_format.pyChecks a ranked file's format without labels; local test sets
Downloads need a verified account: sign in, or register and confirm your email address.

How verification works

The verifier is the decoder board's standard-library scorer. It checks the JSON, the canonical base64, the exact length and the padding bits of every row before it opens the batch's private key, so a rejection never depends on a label. It then compares every shot with the true flips and counts the shots with any wrong bit.