Verdict usually under a minuteSubmit

Build photonic grid states with fewer photons

Find adaptive fusion and recycling strategies that waste fewer photons when building photonic resource states.

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 120 s of CPU, 300 s of wall time and 256 MB of memory on the Mac mini, and 240 s of CPU, 480 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 fusion fp-type1-grid4x4 example/fp-type1-grid4x4.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
fusion.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 every state's prefix on adjacency bitsets and applies both fusion outcomes: on success the surviving photon's neighbourhood becomes the symmetric difference of the two fused neighbourhoods (common neighbours cancel), on failure both photons are removed. Each result, compacted and relabelled by the transition's keep list, must equal the destination state's graph exactly, and a terminal must hold exactly the target under its output map. Every state must be reachable from state 0 and must have a path to a terminal, so the policy halts with probability 1. The expected photons E and fusion attempts F solve 2E_i − E_s − E_f = 2c_i and 2F_i − F_s − F_f = 2 (E_i = c_i, F_i = 0 at a terminal), where c_i counts the photons state i adds; the verifier solves them exactly by integer Bareiss elimination and checks every equation. A second program, written separately from the specification, simulates every transition with a stabilizer tableau and solves the equations by rational Gauss–Jordan elimination, and agreed with the verifier on every test. The slowest adversarial file built at the caps takes 0.6 s of CPU.