Verdict usually under a minuteSubmit

Route controlled phases more cheaply

Reduce the CX cost of interactions on a square grid.

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 30 s of CPU, 165 s of wall time and 512 MB of memory on the Mac mini, and 60 s of CPU, 210 s of wall time and 512 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 croute cr256-grid16 example/cr256-grid16.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
croute.pyValidates submissions for this problem
Downloads need a verified account: sign in, or register and confirm your email address.

How verification works

The verifier replays the file while keeping both the logical-to-physical and the physical-to-logical permutation. It checks that every swap uses a grid coupler, that every gate names an edge of the current layer not applied before and whose two qubits sit on neighbouring sites, and that every edge of a layer is applied before the layer ends. CX charges and the depth of the operation schedule are integers computed from the file. A second program, written independently from the specification, tracks the qubits as an explicit list of wire tokens and, on small grids, compares the routed circuit with the target by direct state-vector simulation; it agreed with the verifier on every file of the pre-launch tests (see the statement for the counts).