Use less entanglement between modules
Place circuit qubits to reduce Bell-pair consumption between quantum modules.
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 256 MB of memory on the Mac mini, and 60 s of CPU, 210 s of wall time and 256 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 ebit bb144-k36 example/bb144-k36.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 |
| ebit.py | Validates submissions for this problem |
How verification works
The verifier reads the layers and the lists of non-diagonal gates, assigns every gate to the gate-free segments of its two qubits, drops the gates inside one module and groups the others by pair of modules. For every group it computes a maximum matching; by Kőnig's theorem its size equals the fewest stars that cover the group's gates. The score is the sum, computed with integers only. A second program, written independently from the specification, gets each number from a maximum flow and checks it with an explicit matching and vertex cover of the same size; it agreed with the verifier on every test case (see the statement for the counts).