Verdict usually under a minuteSubmit

Lightest accessible logical operators of IonQ's memory codes

The block width is a hardware number. Every cat state a memory block consumes has W qubits; the cat factory attached to the block occupies a 4 × 2W rectangle of ion sites and must deliver one cat per error-correction cycle; and the error rate and duration of a logical measurement grow with the weight of the operator measured (IonQ tabulates 3 to 8 cycles between weights 10 and 54). A lower W on Q102 shrinks the factory beside every memory block of the machine. Choosing the basis is part of the problem: a change of basis changes which operators are accessible, and IonQ found its basis by a search over such changes.

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 blockwidth q70-lw6 example/q70-lw6.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
blockwidth.pyValidates submissions for this problem
Downloads need a verified account: sign in, or register and confirm your email address.

How verification works

The verifier works in exact arithmetic over GF(2) and samples nothing. Each row becomes one integer holding an x-bit and a z-bit per qubit, so whether two operators commute is the parity of one bitwise AND. It checks the format; that every basis row commutes with every stabilizer generator; that X_i anticommutes with Z_i while every other pair of basis rows commutes; and that every representative commutes with every stabilizer generator. It then reads each representative's logical operator from its commutation with the 2k basis rows (a_i = 1 when it anticommutes with Z_i, b_i = 1 when it anticommutes with X_i). This is exact, because a logical operator that commutes with the whole basis is a stabilizer. The operator must act on 1 to w logical qubits, and no operator may appear twice. Every accepted file of a cell has the same number of rows of the same length, so the work is fixed: a q102-lw3 file takes about 0.45 s and 32 MB on one core. A second checker, written from the acceptance rules alone and using Gaussian elimination, gives the same verdict, rule and score in all 910 test cases.