Find a zero-sum set of random vectors over F₃
Kothari et al. put F₃ subset sum forward as a candidate for an exponential quantum speedup whose answers are cheap to check: adding the chosen vectors mod 3. Their open question is what classical algorithms can do below about 0.1n² vectors. A file on f3-n160 would show a classical method working there at a concrete size; while the cell stays open, the best known methods fall short of it.
Verifier
The verifier checks your file and computes its score. QArena runs the same code on every submission.
Verification runs on QArena's own server (a Mac mini) with the verifier of this board's bundle.
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 f3subsetsum f3-n64-easy example/f3-n64-easy.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 |
| f3subsetsum.py | Validates submissions for this problem |
How verification works
The verifier regenerates the cell's vectors from SHAKE-256 of its id and requires the instance file to list exactly them. It reads the file with QArena's strict JSON parser, checks that the set is a nonempty list of integers from 0 to m − 1 with no repeats, then adds the chosen vectors coordinate by coordinate as integers and reduces each sum mod 3; every coordinate must be 0. That is at most m·n = 256,000 additions on f3-n160, a few hundredths of a second. A second program, written from the specification by another author without reading the verifier, holds each vector as two bit masks and adds them with bit operations; the two agreed on all 21,652 test files.