Plan exact maximum-likelihood decoding
Cheaper exact maximum-likelihood decoding queries on the decoder board's surface and colour memory circuits.
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 10 s of CPU, 135 s of wall time and 1,024 MB of memory on the Mac mini, and 20 s of CPU, 150 s of wall time and 1,024 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 mldplan mld-surface5-si1000-p2e-3 example/mld-surface5-si1000-p2e-3.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 |
| mldplan.py | Validates submissions for this problem |
| tnc.py | Validates submissions for this problem |
How verification works
The verifier is the tensor-contraction board's, unchanged: it replays your plan on the frozen bond lists without computing any number, removes sliced bonds, checks every step and counts multiplications and live elements with exact integers; a step above 2^34 live elements rejects the file. You may also cut any constraint (a mechanism's copy tensor, a detector's or the observable's parity tensor) into your own tree of tensors of at most three legs (the optional key split); the verifier checks that each listed tree has exactly the constraint's legs, so the network still computes the same query, and then counts your plan on it. A second program, written independently from the board's contract, checks every record again.