Mutually unbiased bases in dimensions 12 and 36
How many pairwise unbiased measurement bases does a 12- or 36-dimensional quantum system have?
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 60 s of CPU, 210 s of wall time and 512 MB of memory on the Mac mini, and 120 s of CPU, 300 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 -m pip install -r requirements.txt python3 -I verifiers/run_one.py mub mub-d12 example/mub-d12.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 |
| mub.py | Validates submissions for this problem |
How verification works
The verifier works in the ring of cyclotomic integers Z[ζ_m], where every entry of the Gram matrices H_r†H_s is a sum of d roots of unity. It checks that every matrix has orthogonal columns (H†H = dI) and that every entry g of H_r†H_s for r < s has g·ḡ = d. It maps the ring onto the integers modulo a prime p ≡ 1 (mod m) above d² in all φ(m) possible ways and requires each quantity to vanish in all of them. That is exact: a nonzero cyclotomic integer that vanished in all of them would have a norm divisible by p^φ(m), yet its norm is smaller than that. No floating-point number enters a decision. A second program, written separately from the specification, reduces each quantity modulo the cyclotomic polynomial Φ_m with exact integers; the statement gives the count of test files on which the two agreed.