Transversal T at distance seven
Is there a distance-seven binary CSS code with a transversal T gate on fewer than 95 qubits?
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 -I verifiers/run_one.py transt tt-d7 example/tt-d7.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 |
| transt.py | Validates submissions for this problem |
How verification works
The verifier first checks that the logical X and the X stabilizers are linearly independent, so the code has exactly one logical qubit. With every sum over qubits taken in the integers, it then checks that the T-weighted size of the logical X is 1 modulo 8 and that of each stabilizer 0 modulo 8, that the weighted overlap of every two rows is 0 modulo 4, and that every three rows overlap on an even number of qubits. These conditions hold exactly when the product of the T powers fixes the encoded |0⟩ and multiplies the encoded |1⟩ by e^{iπ/4}, that is, when it is the logical T. For the distance it gives every qubit a key (its syndrome under the X stabilizers and its parity with the logical X), stores every set of at most three qubits under the sum of their keys, and finds a Z-type logical operator of weight at most six exactly when two stored sets have the same syndrome and different parities. No X-type check is needed: once the T conditions hold, every X-type logical operator is also a Z-type one, so the X distance is never the smaller. Nothing is sampled and no floating-point number enters a decision. A second program, written separately from the specification, checks the T conditions by integer matrix products and the distance with a different split (sets of up to four qubits against sets of up to two); it agreed with the verifier on every test file (see the statement for the counts).